Bria Video Upscaler
Bria/video_increase_resolution
BriaVideo → videoRESTAsync task
Price$0.05 /sec
EndpointPOST /v2/video/bria-upscale/generate REST
Quick start
This model runs asynchronously: the request returns a task ID, and you poll
GET /v2/tasks/{task_id} or receive a webhook when the result is ready.curl -X POST https://api.widelabs.tr/v2/video/bria-upscale/generate \ -H "Authorization: Bearer $WIDELABS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "video_url": "https://api.widelabs.tr/cdn/content/HuRboa1Lp8rMEVXvAHA5xw", "output_format": "mp4_h264" }'
import os
import requests
resp = requests.post(
"https://api.widelabs.tr/v2/video/bria-upscale/generate",
headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
json={
"video_url": "https://api.widelabs.tr/cdn/content/HuRboa1Lp8rMEVXvAHA5xw",
"output_format": "mp4_h264"
},
)
resp.raise_for_status()
# Video jobs are asynchronous: poll the task until it finishes.
import time
task = resp.json()
while task.get("status") not in ("completed", "failed"):
time.sleep(5)
task = requests.get("https://api.widelabs.tr/v2/tasks/" + task["task_id"], params={"wait": 30}).json()
print(task.get("result"))
const resp = await fetch("https://api.widelabs.tr/v2/video/bria-upscale/generate", { method: "POST", headers: { Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ video_url: "https://api.widelabs.tr/cdn/content/HuRboa1Lp8rMEVXvAHA5xw", output_format: "mp4_h264" }), }); let task = await resp.json(); // Video jobs are asynchronous: poll the task until it finishes. while (!["completed", "failed"].includes(task.status)) { await new Promise(r => setTimeout(r, 5000)); task = await (await fetch(`https://api.widelabs.tr/v2/tasks/${task.task_id}?wait=30`)).json(); } console.log(task.result);
Parameters
| Name | Type | Description |
|---|---|---|
store_output | "provider" | "wl1d" | "wl7d" | "wl30d" default "provider" | Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,… |
video_url required | string | URL of the input video to upscale. Output resolution is 2x the input (e.g. 640x360 -> 1280x720, 1280x720 -> 2560x1440). |
output_format | "mp4_h264" | "mp4_h265" | "webm_vp9" | "mov_h265" | "mov_proresks" | "mkv_h264" default "mp4_h264" | Output container and codec. |
webhook_url | string | HTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification. |
Related
Similar models
KlingNew
Kling v4
KlingTeam/v4
Text → videoAsync task
From$0.16
per sec
ByteDanceNew
Seedance 2.5
ByteDance/doubao-seedance-2-5-260628
Text → videoAsync task
Price$10.90
per 1M video tokens
Google
Veo 3.1 Fast
google/veo-3.1-fast-generate-preview
Text → videoAsync task
From$0.15
per sec
HappyHorseNew
HappyHorse 1.1 T2V
HappyHorse/HappyHorse-1.1-T2V
Text → videoAsync task
From$0.13
per sec
Start building on Wide Labs Compute
Create an account, add credit and send your first request with the SDK you already use.