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

Wan Motion

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

ਮਾਡਲ id wan-motion
# 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-motion?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.75 750 API ਕ੍ਰੈਡਿਟ ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ

ਪੋਜ਼ ਅਨੁਕੂਲਨ ਸਮੇਤ, ਡ੍ਰਾਈਵਿੰਗ ਵੀਡੀਓ ਦੀ ਗਤੀ ਨਾਲ ਰੈਫ਼ਰੈਂਸ ਤਸਵੀਰ ਨੂੰ ਹਿਲਾਉਣ ਵਾਲੀ ਕਿਰਦਾਰ ਐਨੀਮੇਸ਼ਨ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Wan Motion ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 4
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... ਵੀਡੀਓ

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... ਵੀਡੀਓ

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... ਵੀਡੀਓ

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... ਵੀਡੀਓ

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

ਡਿਫ਼ਾਲਟ

ਵਿਕਲਪਿਕ ਪਾਠ ਹਦਾਇਤਾਂ, ਜੋ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦਿੰਦੀਆਂ ਹਨ।

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

ਡਰਾਈਵਿੰਗ ਵੀਡੀਓ URL, ਜੋ ਮੋਸ਼ਨ ਸਰੋਤ ਵਜੋਂ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।

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

ਹਵਾਲਾ ਚਿੱਤਰ URL, ਜੋ ਕਿਰਦਾਰ ਦੀ ਦਿੱਖ ਨਿਰਧਾਰਤ ਕਰਨ ਲਈ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।

ਉੱਨਤ acceleration · seed · adapt_motion · enable_safety_checker
acceleration ਡਿਫ਼ਾਲਟ regular

ਕੈਸ਼ਿੰਗ-ਆਧਾਰਿਤ ਸਿਰਜਣਾ ਐਕਸਲੇਰੇਸ਼ਨ: ਕੈਸ਼ਿੰਗ ਬੰਦ ਕਰਨ ਲਈ 'none' ਜਾਂ ਇਸਨੂੰ ਚਾਲੂ ਕਰਕੇ ਤੇਜ਼ੀ ਨਾਲ ਸਿਰਜਣਾ ਲਈ 'regular' ਚੁਣੋ।

ਦੁਹਰਾਉਣਯੋਗ ਨਤੀਜਿਆਂ ਲਈ ਰੈਂਡਮਨੈੱਸ ਨੂੰ ਨਿਯੰਤਰਿਤ ਕਰਨ ਵਾਲਾ ਸੀਡ।

POST /run/wan-motion?wait=20 ਕੋਟ → $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-motion?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

Wan Motion ਬਾਰੇ

ਦੋ ਇਨਪੁੱਟ ਲੋੜੀਂਦੇ ਹਨ: ਗਤੀ ਲਈ `video_url` ਵਿੱਚ ਡ੍ਰਾਈਵਿੰਗ ਵੀਡੀਓ ਅਤੇ ਕਿਰਦਾਰ ਦੀ ਦਿੱਖ ਲਈ `image_url` ਵਿੱਚ ਰੈਫ਼ਰੈਂਸ ਤਸਵੀਰ। ਵਿਕਲਪਿਕ `prompt` ਨਤੀਜੇ ਨੂੰ ਦਿਸ਼ਾ ਦਿੰਦਾ ਹੈ। `adapt_motion` ਚਾਲੂ ਹੋਣ 'ਤੇ ਵੀਡੀਓ ਦੀ ਪੋਜ਼ ਨੂੰ ਰੈਫ਼ਰੈਂਸ ਕਿਰਦਾਰ ਦੇ ਸਰੀਰਕ ਅਨੁਪਾਤਾਂ ਅਨੁਸਾਰ ਢਾਲਿਆ ਜਾਂਦਾ ਹੈ, ਜੋ ਵੱਖਰੇ ਕੱਦ-ਕਾਠ ਹੋਣ 'ਤੇ ਮਦਦ ਕਰਦਾ ਹੈ। `enhance_identity` ਕਿਰਦਾਰ ਦੀ ਪਛਾਣ ਨੂੰ ਹੋਰ ਇਕਸਾਰ ਰੱਖਣ ਲਈ ਰੈਫ਼ਰੈਂਸ ਤਸਵੀਰ ਨੂੰ ਪਹਿਲਾਂ ਪ੍ਰੋਸੈਸ ਕਰ ਸਕਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
video_urlਲੋੜੀਂਦਾ video
ਕਿਸਮurl · video
ਡਰਾਈਵਿੰਗ ਵੀਡੀਓ URL, ਜੋ ਮੋਸ਼ਨ ਸਰੋਤ ਵਜੋਂ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।
image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਹਵਾਲਾ ਚਿੱਤਰ URL, ਜੋ ਕਿਰਦਾਰ ਦੀ ਦਿੱਖ ਨਿਰਧਾਰਤ ਕਰਨ ਲਈ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ।
promptਵਿਕਲਪਿਕ
ਕਿਸਮstring
ਡਿਫ਼ਾਲਟ
ਵਿਕਲਪਿਕ ਪਾਠ ਹਦਾਇਤਾਂ, ਜੋ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦਿੰਦੀਆਂ ਹਨ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਦੁਹਰਾਉਣਯੋਗ ਨਤੀਜਿਆਂ ਲਈ ਰੈਂਡਮਨੈੱਸ ਨੂੰ ਨਿਯੰਤਰਿਤ ਕਰਨ ਵਾਲਾ ਸੀਡ।
accelerationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟregular
noneregular
ਕੈਸ਼ਿੰਗ-ਆਧਾਰਿਤ ਸਿਰਜਣਾ ਐਕਸਲੇਰੇਸ਼ਨ: ਕੈਸ਼ਿੰਗ ਬੰਦ ਕਰਨ ਲਈ 'none' ਜਾਂ ਇਸਨੂੰ ਚਾਲੂ ਕਰਕੇ ਤੇਜ਼ੀ ਨਾਲ ਸਿਰਜਣਾ ਲਈ 'regular' ਚੁਣੋ।
adapt_motionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਹਵਾਲਾ ਚਿੱਤਰ ਅਤੇ ਡਰਾਈਵਿੰਗ ਵੀਡੀਓ ਦੇ ਵਿਸ਼ੇ ਦੇ ਸਰੀਰਕ ਅਨੁਪਾਤਾਂ ਵਿੱਚ ਅੰਤਰ ਲਈ ਮੋਸ਼ਨ ਅਨੁਕੂਲਨ। ਇਸਨੂੰ ਚਾਲੂ ਕਰਨ ਨਾਲ ਡਰਾਈਵਿੰਗ ਮੋਸ਼ਨ ਨੂੰ ਹਵਾਲਾ ਅਨੁਪਾਤਾਂ ਅਨੁਸਾਰ ਢਾਲਿਆ ਜਾਂਦਾ ਹੈ ਅਤੇ ਸਰੀਰ ਦੇ ਆਕਾਰ ਜਾਂ ਮਾਪ ਵੱਖਰੇ ਹੋਣ 'ਤੇ ਇਸ ਦੀ ਸਿਫ਼ਾਰਸ਼ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
enhance_identityਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
Flux Kontext Edit ਨਾਲ ਹਵਾਲਾ-ਚਿੱਤਰ ਦੀ ਪ੍ਰੀ-ਪ੍ਰੋਸੈਸਿੰਗ, ਜੋ ਐਨੀਮੇਸ਼ਨ ਤੋਂ ਪਹਿਲਾਂ ਪਛਾਣ ਕਾਇਮ ਰੱਖਣ ਲਈ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਇਨਪੁੱਟ ਅਤੇ ਆਉਟਪੁੱਟ ਦੀ ਸੁਰੱਖਿਆ ਜਾਂਚ, ਜਿਸਨੂੰ ਸਿਰਫ਼ ਅਧਿਕਾਰਤ ਖਾਤੇ ਬੰਦ ਕਰ ਸਕਦੇ ਹਨ। true ਮੁੱਲ ਜਾਂਚ ਚਾਲੂ ਕਰਦਾ ਹੈ; ਅਧਿਕਾਰ ਤੋਂ ਬਿਨਾਂ ਬੇਨਤੀਆਂ ਦੀ ਸੈਟਿੰਗ ਤੋਂ ਇਲਾਵਾ ਹਮੇਸ਼ਾ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-motion",
  "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": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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
    },
    "prompt": "woman dancing",
    "seed": 42
  },
  "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ ਫ਼ਾਈਲ।
prompt
stringਆਉਟਪੁੱਟ ਸਿਰਜਣ ਲਈ ਵਰਤਿਆ ਗਿਆ ਪ੍ਰੌਂਪਟ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।

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