ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Wan 3.0 Image to Video

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id alibaba/wan-3.0/image-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

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

ਇਹ ਬੇਨਤੀ: $0.25 250 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਚਿੱਤਰ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓ2–30 s1080p ਤੱਕ #audio#first-last-frame#long-clips

ਪਹਿਲੇ ਫ੍ਰੇਮ ਨੂੰ, ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ਅੰਤਿਮ ਫ੍ਰੇਮ ਵੱਲ, ਆਡੀਓ ਸਮੇਤ 2 ਤੋਂ 30 ਸਕਿੰਟ ਦੀ Wan 3.0 ਕਲਿੱਪ ਵਿੱਚ ਐਨੀਮੇਟ ਕਰਦਾ ਹੈ।

ਉਦਾਹਰਨਾਂ

ਇਨਪੁੱਟ
ਆਉਟਪੁੱਟ · ~187 s

ਪ੍ਰੌਂਪਟThe hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.

5 s480p$0.25 · 250 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

158 / 20000

ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਮੋਸ਼ਨ ਦਾ ਟੈਕਸਟ ਵਰਣਨ।

•ਲੋੜੀਂਦਾ start_image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਵਜੋਂ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ।

resolution

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਪੱਧਰ।

aspect_ratio ਡਿਫ਼ਾਲਟ adaptive

ਆਉਟਪੁੱਟ ਲਈ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ ਅਨੁਕੂਲ ਚੋਣ ਉਪਲਬਧ ਹੈ।

ਆਉਟਪੁੱਟ ਦੀ ਲੰਬਾਈ: null ਪ੍ਰੌਂਪਟ ਅਤੇ ਹਵਾਲਾ ਮੀਡੀਆ ਦੇ ਆਧਾਰ 'ਤੇ ਸਮਾਰਟ ਮਿਆਦ ਚਾਲੂ ਕਰਦਾ ਹੈ; ਨਹੀਂ ਤਾਂ ਦਿੱਤਾ ਮੁੱਲ ਸਕਿੰਟ ਦਰਸਾਉਂਦਾ ਹੈ।

ਉੱਨਤ end_image · seed · enable_prompt_expansion · enable_thinking
end_image_url
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਅੰਤਿਮ ਫ੍ਰੇਮ ਵਜੋਂ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ; start_image_url ਵੀ ਦੇਣਾ ਲਾਜ਼ਮੀ ਹੈ।

POST /run/alibaba/wan-3.0/image-to-video?wait=20 ਕੋਟ → $0.25
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/alibaba/wan-3.0/image-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The hummingbird hovers in place with blurred wings, sips from the flower, then darts out of frame as the camera slowly racks focus to dew drops on the leaves.",
    "resolution": "480p",
    "duration": 5,
    "generate_audio": false,
    "image": "https://content.doitong.com/dev-api/2026/10/21/req_8d2gi6xieif0cf518mbnx752/0-MBac_P_HYvIYfHDIWeUvA_IRELThrq.png"
  }'

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

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Wan 3.0 Image to Video ਬਾਰੇ

Wan 3.0 image-to-video ਤੁਹਾਡੇ ਚਿੱਤਰ ਤੋਂ ਸ਼ੁਰੂ ਹੁੰਦਾ ਹੈ ਅਤੇ ਦੂਜੇ ਚਿੱਤਰ 'ਤੇ ਸਮਾਪਤ ਹੋ ਸਕਦਾ ਹੈ, ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ ਤਿਆਰ ਕੀਤੇ ਆਡੀਓ ਸਮੇਤ। ਪ੍ਰੌਂਪਟ ਵਿਕਲਪਿਕ ਹੈ। 480p, 720p ਜਾਂ 1080p 'ਤੇ 2 ਤੋਂ 30 ਸਕਿੰਟ ਦੀਆਂ ਕਲਿੱਪਾਂ, ਅਡੈਪਟਿਵ ਜਾਂ ਸਥਿਰ ਆਸਪੈਕਟ ਰੇਸ਼ੋ ਅਤੇ ਜਟਿਲ ਹਿਲਚਲ ਲਈ ਵਿਕਲਪਿਕ ਰੀਜ਼ਨਿੰਗ ਸਟੈਪ ਸਮੇਤ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
≤ 20,000 ਅੱਖਰ
ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਮੋਸ਼ਨ ਦਾ ਟੈਕਸਟ ਵਰਣਨ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ1080p
480p720p1080p
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਪੱਧਰ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟadaptive
adaptive16:94:31:13:49:16
ਆਉਟਪੁੱਟ ਲਈ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ ਅਨੁਕੂਲ ਚੋਣ ਉਪਲਬਧ ਹੈ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਡਿਫ਼ਾਲਟ5
2 – 30
ਆਉਟਪੁੱਟ ਦੀ ਲੰਬਾਈ: null ਪ੍ਰੌਂਪਟ ਅਤੇ ਹਵਾਲਾ ਮੀਡੀਆ ਦੇ ਆਧਾਰ 'ਤੇ ਸਮਾਰਟ ਮਿਆਦ ਚਾਲੂ ਕਰਦਾ ਹੈ; ਨਹੀਂ ਤਾਂ ਦਿੱਤਾ ਮੁੱਲ ਸਕਿੰਟ ਦਰਸਾਉਂਦਾ ਹੈ।
audioਵਿਕਲਪਿਕ generate_audio
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸਿਰਜਿਆ ਗਿਆ ਆਡੀਓ ਸ਼ਾਮਲ ਕੀਤਾ ਜਾਵੇ ਜਾਂ ਨਹੀਂ।
enable_prompt_expansionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸਿਰਜਣਾ ਤੋਂ ਪਹਿਲਾਂ ਪ੍ਰੌਂਪਟ ਨੂੰ ਬੁੱਧਿਮਾਨੀ ਨਾਲ ਦੁਬਾਰਾ ਲਿਖਿਆ ਜਾਵੇ ਜਾਂ ਨਹੀਂ। ਦੁਬਾਰਾ ਲਿਖਣਾ ਬੰਦ ਕਰਨ 'ਤੇ ਲਗਭਗ 20–60 ਸਕਿੰਟ ਘੱਟ ਲੇਟੈਂਸੀ ਦੇ ਬਦਲੇ ਗੁਣਵੱਤਾ ਘਟਣ ਦੀ ਸੰਭਾਵਨਾ ਰਹਿੰਦੀ ਹੈ।
enable_thinkingਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸਿਰਜਣਾ ਸ਼ੁਰੂ ਹੋਣ ਤੋਂ ਪਹਿਲਾਂ ਵਾਧੂ ਤਰਕ-ਵਿਚਾਰ ਚਾਲੂ ਕਰਦਾ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
0 – 2,14,74,83,647
start_image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਸ਼ੁਰੂਆਤੀ ਫ੍ਰੇਮ ਵਜੋਂ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ।
end_image_urlਵਿਕਲਪਿਕ end_image
ਕਿਸਮurl · image
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦੇ ਅੰਤਿਮ ਫ੍ਰੇਮ ਵਜੋਂ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਚਿੱਤਰ; start_image_url ਵੀ ਦੇਣਾ ਲਾਜ਼ਮੀ ਹੈ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਫ਼ਾਈਲ ਪੈਰਾਮੀਟਰ ਜਨਤਕ https:// URL, 10 MB ਤੱਕ ਦਾ data: URI, ਜਾਂ ਅੱਪਲੋਡ ਦੇ file_url ਨੂੰ ਸਵੀਕਾਰਦੇ ਹਨ। ਫ਼ਾਈਲਾਂ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/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": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox leaps toward the fireflies and lands softly on the grass",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "duration": 5,
    "resolution": "720p"
  },
  "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,
    "duration": 5,
    "actual_prompt": "string"
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ ਫ਼ਾਈਲ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।
duration
numberਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਗਈ।
actual_prompt
string | null

ਹੋਰ ਮਾਡਲ: ਚਿੱਤਰ ਤੋਂ ਵੀਡੀਓ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/alibaba/wan-3.0/image-to-video.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt