Skip to content

Wan v2.6 Image to Video

Integrate

Model id wan/v2.6/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan/v2.6/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.75 750 API credits Run it on this page

Get API key
Alibaba Image to Video 5–15 sup to 1080p #image-to-video

Animates a first-frame image into a 5, 10 or 15 second clip at 720p or 1080p, with optional audio

Alibaba · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text instructions specifying the desired motion in the video, limited to 1500 characters.

•required image_url
Drop a file, or

Supply the video's opening image through a publicly reachable URL or a base64 data URI, using dimensions within 240–7680.

duration 5 s

Length of the output video, in seconds; available choices are 5, 10 or 15 seconds.

resolution default 1080p

Output video resolution, either 720p or 1080p.

Advanced negative_prompt · audio · seed · enable_prompt_expansion · multi_shots · enable_safety_checker
default

Negative prompt specifying unwanted content, limited to 500 characters.

audio_url
Drop a file, or

URL of a publicly accessible WAV or MP3 file for background music, lasting 3–30 s and no larger than 15 MB. The selected video duration (5, 10, or 15 seconds) limits playback to the first N seconds, with excess audio discarded; if the audio ends earlier, the remaining video is silent. For example, with 3 seconds of audio and a video lasting 5 seconds, sound plays for the initial 3 seconds, followed by 2 seconds of silence.

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

POST /run/wan/v2.6/image-to-video?wait=20 quote → $0.75
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan/v2.6/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Wan v2.6 Image to Video

Uses `image_url` as the first frame and a prompt of up to 1500 characters to describe the motion. `duration` is 5, 10 or 15 seconds, and `resolution` is 720p or 1080p. An optional `audio_url` supplies background music. Prompt expansion and `multi_shots` segmentation are available, the latter only when expansion is on.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions specifying the desired motion in the video, limited to 1500 characters.
image_urlrequired image
Typeurl · image
Supply the video's opening image through a publicly reachable URL or a base64 data URI, using dimensions within 240–7680.
audio_urloptional audio
Typeurl · audio
URL of a publicly accessible WAV or MP3 file for background music, lasting 3–30 s and no larger than 15 MB. The selected video duration (5, 10, or 15 seconds) limits playback to the first N seconds, with excess audio discarded; if the audio ends earlier, the remaining video is silent. For example, with 3 seconds of audio and a video lasting 5 seconds, sound plays for the initial 3 seconds, followed by 2 seconds of silence.
resolutionoptional
Typeenum
Default1080p
720p1080p
Output video resolution, either 720p or 1080p.
durationoptional
Typeenum
Default5
51015
Length of the output video, in seconds; available choices are 5, 10 or 15 seconds.
negative_promptoptional
Typestring | null
Default
Negative prompt specifying unwanted content, limited to 500 characters.
enable_prompt_expansionoptional
Typeboolean
Defaulttrue
Controls whether an LLM rewrites the prompt.
multi_shotsoptional
Typeboolean
Defaultfalse
Intelligent multi-shot segmentation is enabled when true and produces a single shot when false. It takes effect only if enable_prompt_expansion is True.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety-checking switch whose off setting requires account authorization. Without that authorization, every request is checked regardless of the setting; true enables the checker.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.6/image-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "actual_prompt": "A comedic cinematic scene where the creator interacts with AI-generated reality transformations."
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Resulting video file.
seed
integerSeed value used during generation.
actual_prompt
string | nullPrompt actually used when rewriting is enabled.

More models: Image to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/wan/v2.6/image-to-video.md. All models and guides: https://doitong.com/developers/llms.txt