Wide LabsCompute

Seedance 2.5 V2V

New
ByteDance/doubao-seedance-2-5-260628-V2V ByteDanceVideo → videoRESTAsync task
Price$6.55 /1M video tokens
EndpointPOST /v2/video/doubao-seedance-2.5-v2v/generateREST

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/doubao-seedance-2.5-v2v/generate \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A hummingbird hovering over a blooming cactus, macro shot, slow motion",
  "reference_video_url": "https://api.widelabs.tr/cdn/content/ql6YyDXnBOnQ4LyopyYMsQ",
  "resolution": "480p",
  "duration": 4
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/video/doubao-seedance-2.5-v2v/generate",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "prompt": "A hummingbird hovering over a blooming cactus, macro shot, slow motion",
        "reference_video_url": "https://api.widelabs.tr/cdn/content/ql6YyDXnBOnQ4LyopyYMsQ",
        "resolution": "480p",
        "duration": 4
    },
)
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/doubao-seedance-2.5-v2v/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "A hummingbird hovering over a blooming cactus, macro shot, slow motion",
    reference_video_url: "https://api.widelabs.tr/cdn/content/ql6YyDXnBOnQ4LyopyYMsQ",
    resolution: "480p",
    duration: 4
  }),
});
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

NameTypeDescription
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,…
promptstringText description (≤500 chars recommended).
first_frame_urlstringURL or base64 data URI of the first frame image.
last_frame_urlstringURL or base64 data URI of the last frame image (requires first_frame_url).
reference_image_urlstringURL or base64 data URI of a reference image (role=reference_image).
reference_image_urlsstring[]Reference image URL/base64 list (1–9 images, role=reference_image); use instead of reference_image_url.
reference_video_url requiredstringURL of the reference video to restyle/edit (required).
reference_audio_urlstringURL of a reference audio (role=reference_audio).
resolution"480p" | "720p"
default "720p"
Video resolution: 480p or 720p. Seedance 2.5 has no 1080p.
ratio"16:9" | "4:3" | "1:1" | "3:4" | "9:16" | "21:9"Not supported for 2.5 video-to-video — the output ratio follows the input video. Omit this field.
duration requiredinteger-1 if the output should follow the input video (Seedance requires this for editing-style prompts), or 4–15 seconds.
generate_audioboolean
default false
Include synchronized audio.
camera_fixedbooleanDeprecated: ignored; Seedance 2.x has no camera lock. `true` is a 422.
watermarkboolean
default false
Include watermark.
seedintegerRandom seed for deterministic output.
execution_expires_afterintegerProvider-side deadline for the generation job, in seconds (≥3600). Not the retention of the result on Wide Labs: task results expire 1 hour after the task finishes.
webhook_urlstringHTTPS 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.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.