Wide LabsCompute

Wan 2.5 I2V

Wan-AI/Wan2.5-I2V Alibaba WanImage → videoRESTAsync task
Price$0.05 /seclowest tier
EndpointPOST /v2/video/wan-25/i2vREST
First frame
First frame
Output
Example output

Made with Wan 2.5 I2V

“The red tram glides past the café, rain drips from the awning, warm light flickers in the windows, passers-by walk with umbrellas”

The first frame is the GPT Image 2 example.

resolution: 720pduration: 5enable_prompt_expansion: false

One request to this model through the API, at list price; compressed for the web.

Try this prompt

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/wan-25/i2v \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A cat turning its head",
  "first_frame_url": "https://api.widelabs.tr/cdn/content/Usw6wp8ht34vuLTPh6XHWA"
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/video/wan-25/i2v",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "prompt": "A cat turning its head",
        "first_frame_url": "https://api.widelabs.tr/cdn/content/Usw6wp8ht34vuLTPh6XHWA"
    },
)
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/wan-25/i2v", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "A cat turning its head",
    first_frame_url: "https://api.widelabs.tr/cdn/content/Usw6wp8ht34vuLTPh6XHWA"
  }),
});
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,…
prompt requiredstringText description to guide video generation
first_frame_url requiredstringURL of the first frame image
resolution"480p" | "720p" | "1080p"
default "720p"
Video resolution: '480p', '720p', '1080p'
duration5 | 10
default 5
Video duration in seconds: 5 or 10
negative_promptstringThings to avoid in the video
audio_urlstringURL of audio file to include in the video
enable_prompt_expansionboolean
default false
Enable AI-powered prompt enhancement for better results
seedintegerRandom seed for reproducible results
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.