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

Wan 2.7 Reference to Video

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

ਮਾਡਲ id wan/v2.7/reference-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.7/reference-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"
  }'

# 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.50 500 API ਕ੍ਰੈਡਿਟ ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਹਵਾਲੇ ਤੋਂ ਵੀਡੀਓ ਹਵਾਲਾ ਇਨਪੁੱਟਲਿਪਸਿੰਕ2–10 s1080p ਤੱਕ #stylized#transform#lipsync

ਰੈਫ਼ਰੈਂਸ ਤਸਵੀਰਾਂ ਜਾਂ ਕਲਿੱਪਾਂ ਦੇ ਵਿਸ਼ਿਆਂ ਨੂੰ ਕਾਇਮ ਰੱਖਦਿਆਂ ਵੀਡੀਓ ਬਣਾਉਂਦਾ ਹੈ, ਮਲਟੀ-ਸਬਜੈਕਟ ਅਤੇ ਮਲਟੀ-ਸ਼ਾਟ ਵਿਕਲਪਾਂ ਸਮੇਤ

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

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

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 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...

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ

ਬਣਾਏ ਜਾਣ ਵਾਲੇ ਵੀਡੀਓ ਦਾ ਵੇਰਵਾ, 5000 ਅੱਖਰਾਂ ਤੱਕ ਸੀਮਿਤ।

duration 5 s

ਬਣਾਈ ਗਈ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ, ਸਕਿੰਟਾਂ ਵਿੱਚ, 2 ਤੋਂ 10 ਤੱਕ।

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।

resolution ਡਿਫ਼ਾਲਟ 1080p

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

ਉੱਨਤ negative_prompt · images · reference_video_urls · seed · multi_shots · enable_safety_checker

ਵੀਡੀਓ ਵਿੱਚ ਸ਼ਾਮਲ ਨਾ ਕੀਤਾ ਜਾਣ ਵਾਲਾ ਸਮੱਗਰੀ, ਵੱਧ ਤੋਂ ਵੱਧ 500 ਅੱਖਰ।

reference_image_urls
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਪਾਤਰਾਂ ਜਾਂ ਵਸਤੂਆਂ ਦੀ ਦਿੱਖ ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ ਚਿੱਤਰ URL; ਹਰੇਕ ਫ਼ਾਈਲ 20 MB ਤੱਕ ਸੀਮਿਤ ਹੈ। ਕਈ ਵਿਸ਼ੇ ਬਣਾਉਣ ਲਈ ਕਈ ਹਵਾਲਾ ਚਿੱਤਰ ਦਿਓ।

ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਪਾਤਰਾਂ ਜਾਂ ਵਸਤੂਆਂ ਦੀ ਦਿੱਖ ਅਤੇ ਹਿਲਚਲ ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ ਵੀਡੀਓ URL; ਕਈ ਵੀਡੀਓ ਦੇਣ ਨਾਲ ਕਈ ਵਿਸ਼ਿਆਂ ਵਾਲੀ ਸਿਰਜਣਾ ਸੰਭਵ ਹੁੰਦੀ ਹੈ। ਹਰੇਕ ਫ਼ਾਈਲ 100 MB ਤੋਂ ਵੱਧ ਅਤੇ 30 ਸਕਿੰਟ ਤੋਂ ਲੰਬੀ ਨਹੀਂ ਹੋਣੀ ਚਾਹੀਦੀ।

ਦੁਹਰਾਏ ਜਾ ਸਕਣ ਵਾਲੇ ਨਤੀਜਿਆਂ ਲਈ ਬੇਤਰਤੀਬਾ ਸੀਡ, 0 ਤੋਂ 2147483647 ਤੱਕ।

POST /run/wan/v2.7/reference-to-video?wait=20 ਕੋਟ → $0.50
# 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.7/reference-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"
  }'

# 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 2.7 Reference to Video ਬਾਰੇ

ਲਾਜ਼ਮੀ ਟੈਕਸਟ ਪ੍ਰੌਂਪਟ ਨਾਲ ਹਵਾਲਾ ਚਿੱਤਰਾਂ (`reference_image_urls`) ਅਤੇ ਹਵਾਲਾ ਵੀਡੀਓ (`reference_video_urls`) ਤੋਂ ਵੀਡੀਓ ਸਿਰਜਦਾ ਹੈ, ਜੋ ਪਾਤਰ ਜਾਂ ਵਸਤੂ ਦੀ ਦਿੱਖ ਪ੍ਰਦਾਨ ਕਰਦੇ ਹਨ। ਮਲਟੀ-ਸਬਜੈਕਟ ਦ੍ਰਿਸ਼ਾਂ ਲਈ ਕਈ ਹਵਾਲਿਆਂ ਨੂੰ ਜੋੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਪੰਜ ਆਕਾਰ ਅਨੁਪਾਤਾਂ, 720p ਜਾਂ 1080p ਅਤੇ 2 ਤੋਂ 10 ਸਕਿੰਟਾਂ ਵਿੱਚੋਂ ਚੁਣੋ। ਇੱਕ ਲਗਾਤਾਰ ਟੇਕ ਦੀ ਬਜਾਏ ਨਤੀਜੇ ਨੂੰ ਕਈ ਸ਼ਾਟਾਂ ਵਿੱਚ ਵੰਡਣ ਲਈ `multi_shots` ਨੂੰ true ਸੈੱਟ ਕਰੋ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਬਣਾਏ ਜਾਣ ਵਾਲੇ ਵੀਡੀਓ ਦਾ ਵੇਰਵਾ, 5000 ਅੱਖਰਾਂ ਤੱਕ ਸੀਮਿਤ।
reference_image_urlsਵਿਕਲਪਿਕ images
ਕਿਸਮurl[] · image
ਪਾਤਰਾਂ ਜਾਂ ਵਸਤੂਆਂ ਦੀ ਦਿੱਖ ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ ਚਿੱਤਰ URL; ਹਰੇਕ ਫ਼ਾਈਲ 20 MB ਤੱਕ ਸੀਮਿਤ ਹੈ। ਕਈ ਵਿਸ਼ੇ ਬਣਾਉਣ ਲਈ ਕਈ ਹਵਾਲਾ ਚਿੱਤਰ ਦਿਓ।
reference_video_urlsਵਿਕਲਪਿਕ
ਕਿਸਮurl[] · video
ਪਾਤਰਾਂ ਜਾਂ ਵਸਤੂਆਂ ਦੀ ਦਿੱਖ ਅਤੇ ਹਿਲਚਲ ਨਿਰਧਾਰਤ ਕਰਨ ਵਾਲੇ ਵੀਡੀਓ URL; ਕਈ ਵੀਡੀਓ ਦੇਣ ਨਾਲ ਕਈ ਵਿਸ਼ਿਆਂ ਵਾਲੀ ਸਿਰਜਣਾ ਸੰਭਵ ਹੁੰਦੀ ਹੈ। ਹਰੇਕ ਫ਼ਾਈਲ 100 MB ਤੋਂ ਵੱਧ ਅਤੇ 30 ਸਕਿੰਟ ਤੋਂ ਲੰਬੀ ਨਹੀਂ ਹੋਣੀ ਚਾਹੀਦੀ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਵੀਡੀਓ ਵਿੱਚ ਸ਼ਾਮਲ ਨਾ ਕੀਤਾ ਜਾਣ ਵਾਲਾ ਸਮੱਗਰੀ, ਵੱਧ ਤੋਂ ਵੱਧ 500 ਅੱਖਰ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ16:9
16:99:161:14:33:4
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਦਾ ਪੱਖ ਅਨੁਪਾਤ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ1080p
720p1080p
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਪੱਧਰ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ5
2345678910
ਬਣਾਈ ਗਈ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ, ਸਕਿੰਟਾਂ ਵਿੱਚ, 2 ਤੋਂ 10 ਤੱਕ।
multi_shotsਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸ਼ਾਟ ਵਿਭਾਜਨ ਨਿਯੰਤਰਣ: ਪੂਰਵ-ਨਿਰਧਾਰਤ false ਇੱਕ ਲਗਾਤਾਰ ਸ਼ਾਟ ਬਣਾਉਂਦਾ ਹੈ, ਜਦਕਿ true ਬੁੱਧੀਮਾਨ ਢੰਗ ਨਾਲ ਕਈ ਸ਼ਾਟਾਂ ਵਿੱਚ ਵੰਡਦਾ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਦੁਹਰਾਏ ਜਾ ਸਕਣ ਵਾਲੇ ਨਤੀਜਿਆਂ ਲਈ ਬੇਤਰਤੀਬਾ ਸੀਡ, 0 ਤੋਂ 2147483647 ਤੱਕ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਹਰ ਬੇਨਤੀ 'ਤੇ ਲਾਗੂ ਕੀਤੀ ਜਾਣ ਵਾਲੀ ਇਨਪੁੱਟ ਅਤੇ ਆਉਟਪੁੱਟ ਦੋਵਾਂ ਦੀ ਮਾਡਰੇਸ਼ਨ, ਜਦੋਂ ਤੱਕ ਖਾਤਾ ਇਸਨੂੰ ਬੰਦ ਕਰਨ ਲਈ ਅਧਿਕਾਰਤ ਨਾ ਹੋਵੇ ਅਤੇ ਵਿਕਲਪ ਬੰਦ ਨਾ ਕੀਤਾ ਗਿਆ ਹੋਵੇ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/reference-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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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": "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://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, width, height, fps, duration, num_frames}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ ਫ਼ਾਈਲ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।
actual_prompt
string | nullਪ੍ਰੌਂਪਟ ਰੀਰਾਈਟਿੰਗ ਸਮਰੱਥ ਹੋਣ 'ਤੇ ਅਸਲ ਵਿੱਚ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਪ੍ਰੌਂਪਟ।

ਹੋਰ ਮਾਡਲ: ਹਵਾਲੇ ਤੋਂ ਵੀਡੀਓ

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