
Text to Image
Create AI images from text prompts
Upscale uploaded videos to 720p, 1080p, 2K, or 4K with the Flaq AI Video Upscaler API and transparent resolution-based per-second pricing. Use it on Flaq AI for clearer, production-ready video.
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model_name: 'video-upscaler',
video_url: 'https://example.com/source-video.mp4',
target_resolution: '4k'
})
});
const result = await response.json();
console.log(result.data.task_id);
// Step 2: Poll for results
const taskId = data.task_id;
const pollResult = async (taskId) => {
const res = await fetch(`https://api.flaq.ai/api/v1/video/${taskId}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' }
});
return res.json();
};
while (true) {
const pollResultData = await pollResult(taskId);
const status = pollResultData.data.task_status;
if (status === 'succeed') {
console.log(pollResultData.data.task_result.videos[0].url);
break;
}
if (status === 'failed') {
console.error(pollResultData.data.task_status_msg);
break;
}
await new Promise(resolve => setTimeout(resolve, 10000));
}
import requests
response = requests.post(
'https://api.flaq.ai/api/v1/video/task',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'model_name': 'video-upscaler',
'video_url': 'https://example.com/source-video.mp4',
'target_resolution': '4k',
},
)
response.raise_for_status()
result = response.json()
print(result['data']['task_id'])
# Step 2: Poll for results
task_id = response.json()['data']['task_id']
poll_url = f"https://api.flaq.ai/api/v1/video/{task_id}"
while True:
poll_result = requests.get(poll_url, headers={'Authorization': 'Bearer YOUR_API_KEY'}).json()
status = poll_result['data']['task_status']
if status == 'succeed':
print(poll_result['data']['task_result']['videos'][0]['url'])
break
if status == 'failed':
print(poll_result['data']['task_status_msg'])
break
time.sleep(10)
curl -X POST "https://api.flaq.ai/api/v1/video/task" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "video-upscaler",
"video_url": "https://example.com/source-video.mp4",
"target_resolution": "4k"
}'
# Step 2: Poll for results
# Replace {task_id} with the task_id returned from the submit response
curl -X GET "https://api.flaq.ai/api/v1/video/{task_id}" \
-H "Authorization: Bearer YOUR_API_KEY"
| Parameters | Price | Original Price | Discount |
|---|
Flaq AI Video Upscaler API provides a straightforward way to increase video output resolution through a hosted API workflow. Submit an existing video, select a supported target resolution, and receive an upscaled result that keeps the source aspect ratio. The standard Video Upscaler model is the cost-conscious option for developers and teams that need repeatable video upscaling without managing a local processing stack.
Note Upscaling increases output resolution but cannot guarantee recovery of detail that is absent from the source. Results vary with compression, motion, noise, and source quality, so review important outputs before production use.
Video Upscaler vs. Video Upscaler Pro Both Flaq AI variants accept video input, retain the source aspect ratio, and offer the same target-resolution choices. Video Upscaler is the lower-cost option, while Video Upscaler Pro is positioned for workflows that prioritize the Pro processing tier.
Video Upscaler vs. Desktop Video Editors Desktop editors combine upscaling with timelines and manual post-production tools. Video Upscaler API focuses on programmatic resolution enhancement for applications and automated pipelines.
Video Upscaler vs. Self-Hosted Upscaling Tools Self-hosted tools can provide infrastructure-level customization but require deployment and compute management. Flaq AI provides a hosted task API for teams that prefer not to operate the processing environment themselves.
Video Upscaler vs. AI Video Generators Generative video models create or transform scene content from prompts. Video Upscaler is intended to process an existing clip while preserving its source framing rather than generating a new scene.
Video Upscaler vs. Simple File Re-encoding Re-encoding changes delivery settings and may change frame dimensions, but it does not necessarily provide the same upscaling workflow. Choose based on whether the task is format conversion or resolution enhancement.
Explore several AI creation tools for quick image and video workflows in your browser, then scale successful ideas with Flaq AI's production-ready model APIs. Flaq AI provides a unified API layer for all models, making it easy to use and scale your workflows.

Create AI images from text prompts

Create AI images from images and text prompts

Create AI videos from text prompts

Animate images into AI videos

Create AI images and videos in one unified workspace

Create consistent videos from reference media