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

Wan VACE Video Edit

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

ਮਾਡਲ id wan-vace-apps/video-edit
# 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-vace-apps/video-edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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"

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

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਵੀਡੀਓ ਤੋਂ ਵੀਡੀਓ 720p ਤੱਕ #video-edit#wan-vace

ਸਧਾਰਣ ਭਾਸ਼ਾ ਵਿੱਚ ਦਿੱਤੀ ਹਦਾਇਤ ਅਤੇ ਵਿਕਲਪਿਕ ਰੈਫਰੈਂਸ ਚਿੱਤਰਾਂ ਨਾਲ ਮੌਜੂਦਾ ਵੀਡੀਓ ਨੂੰ ਸੰਪਾਦਿਤ ਕਰਦਾ ਹੈ

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

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

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

resolution ਡਿਫ਼ਾਲਟ auto

ਸੰਪਾਦਨ ਤੋਂ ਬਾਅਦ ਆਉਟਪੁੱਟ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।

aspect_ratio ਡਿਫ਼ਾਲਟ auto

ਸੰਪਾਦਿਤ ਵੀਡੀਓ ਦਾ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।

ਉੱਨਤ images · video_type · acceleration · auto_downsample_min_fps · enable_auto_downsample · enable_safety_checker · return_frames_zip
image_urls ਡਿਫ਼ਾਲਟ []
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਸਿਰਜਣਾ ਲਈ ਦ੍ਰਿਸ਼ ਹਵਾਲੇ ਦੇਣ ਵਾਲੇ ਇਨਪੁੱਟ ਚਿੱਤਰਾਂ ਦੇ URL।

video_type ਡਿਫ਼ਾਲਟ auto

ਸੰਪਾਦਨ ਲਈ ਵੀਡੀਓ ਸ਼੍ਰੇਣੀ, ਜੋ ਪੂਰਵ-ਨਿਰਧਾਰਤ 'auto' 'ਤੇ ਛੱਡਣ 'ਤੇ ਪਹਿਲੇ ਫ੍ਰੇਮ ਤੋਂ ਅਨੁਮਾਨੀ ਜਾਂਦੀ ਹੈ। ਲੋਕਾਂ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀਆਂ ਹਰਕਤਾਂ 'ਤੇ ਧਿਆਨ ਲਈ 'human', ਜਾਂ ਜ਼ਿਆਦਾਤਰ ਹੋਰ ਵੀਡੀਓ ਲਈ 'general' ਚੁਣੋ।

acceleration ਡਿਫ਼ਾਲਟ regular

Inference acceleration ਸੈਟਿੰਗ, ਜਿਸ ਵਿੱਚ 'none' ਜਾਂ 'regular' ਵਿੱਚੋਂ ਚੋਣ ਹੁੰਦੀ ਹੈ: accelerated processing ਬਹੁਤ ਵੱਧ ਗਤੀ ਸੁਧਾਰ ਦਿੰਦੀ ਹੈ, ਪਰ ਆਉਟਪੁੱਟ ਵਿੱਚ ਬਹੁਤ ਛੋਟਾ ਬਦਲਾਅ ਹੋ ਸਕਦਾ ਹੈ।

ਡਿਫ਼ਾਲਟ 15

ਵੀਡੀਓ ਡਾਊਨਸੈਂਪਲਿੰਗ ਲਈ ਸਭ ਤੋਂ ਘੱਟ ਟਾਰਗੇਟ ਫ੍ਰੇਮ ਦਰ, ਪ੍ਰਤੀ ਸਕਿੰਟ ਫ੍ਰੇਮਾਂ ਵਿੱਚ।

POST /run/wan-vace-apps/video-edit?wait=20 ਕੋਟ → $1.875
# 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-vace-apps/video-edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 VACE Video Edit ਬਾਰੇ

`prompt` ਹਦਾਇਤ ਅਤੇ `video_url` ਲੈ ਕੇ ਸੰਪਾਦਿਤ ਵੀਡੀਓ ਵਾਪਸ ਕਰਦਾ ਹੈ। `video_type` auto, general ਜਾਂ human ਹੋ ਸਕਦਾ ਹੈ; ਆਖਰੀ ਵਿਕਲਪ ਲੋਕਾਂ ’ਤੇ ਕੇਂਦਰਿਤ ਫੁਟੇਜ ਲਈ ਹੈ। ਰੈਫਰੈਂਸ ਚਿੱਤਰ `image_urls` ਵਿੱਚ ਦਿੱਤੇ ਜਾਂਦੇ ਹਨ। ਆਸਪੈਕਟ ਰੇਸ਼ੋ ਅਤੇ `resolution` (240p ਤੋਂ 720p) ਸੈੱਟ ਕੀਤੇ ਜਾ ਸਕਦੇ ਹਨ, ਅਤੇ ਆਟੋ ਡਾਊਨਸੈਂਪਲਿੰਗ ਲੰਬੇ ਜਾਂ ਉੱਚ-ਫ੍ਰੇਮ-ਰੇਟ ਵਾਲੇ ਇਨਪੁੱਟ ਵਿੱਚ ਮਦਦ ਕਰਦੀ ਹੈ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਵੀਡੀਓ ਸੰਪਾਦਨਾਂ ਨੂੰ ਦਰਸਾਉਂਦਾ ਪ੍ਰੌਂਪਟ।
video_urlਲੋੜੀਂਦਾ video
ਕਿਸਮurl · video
ਇਨਪੁੱਟ ਵੀਡੀਓ ਦਾ URL।
video_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
autogeneralhuman
ਸੰਪਾਦਨ ਲਈ ਵੀਡੀਓ ਸ਼੍ਰੇਣੀ, ਜੋ ਪੂਰਵ-ਨਿਰਧਾਰਤ 'auto' 'ਤੇ ਛੱਡਣ 'ਤੇ ਪਹਿਲੇ ਫ੍ਰੇਮ ਤੋਂ ਅਨੁਮਾਨੀ ਜਾਂਦੀ ਹੈ। ਲੋਕਾਂ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀਆਂ ਹਰਕਤਾਂ 'ਤੇ ਧਿਆਨ ਲਈ 'human', ਜਾਂ ਜ਼ਿਆਦਾਤਰ ਹੋਰ ਵੀਡੀਓ ਲਈ 'general' ਚੁਣੋ।
image_urlsਵਿਕਲਪਿਕ images
ਕਿਸਮurl[] · image
ਡਿਫ਼ਾਲਟ[]
ਸਿਰਜਣਾ ਲਈ ਦ੍ਰਿਸ਼ ਹਵਾਲੇ ਦੇਣ ਵਾਲੇ ਇਨਪੁੱਟ ਚਿੱਤਰਾਂ ਦੇ URL।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto240p360p480p580p720p
ਸੰਪਾਦਨ ਤੋਂ ਬਾਅਦ ਆਉਟਪੁੱਟ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।
accelerationਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟregular
nonelowregular
Inference acceleration ਸੈਟਿੰਗ, ਜਿਸ ਵਿੱਚ 'none' ਜਾਂ 'regular' ਵਿੱਚੋਂ ਚੋਣ ਹੁੰਦੀ ਹੈ: accelerated processing ਬਹੁਤ ਵੱਧ ਗਤੀ ਸੁਧਾਰ ਦਿੰਦੀ ਹੈ, ਪਰ ਆਉਟਪੁੱਟ ਵਿੱਚ ਬਹੁਤ ਛੋਟਾ ਬਦਲਾਅ ਹੋ ਸਕਦਾ ਹੈ।
enable_auto_downsampleਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਲੰਬੀਆਂ ਵੀਡੀਓਆਂ ਜਾਂ ਉੱਚੀ ਫ੍ਰੇਮ ਦਰ ਵਾਲੀਆਂ ਵੀਡੀਓਆਂ ਨੂੰ ਪ੍ਰੋਸੈਸ ਕਰਦੇ ਸਮੇਂ ਲੰਬੀਆਂ ਸਿਰਜੀਆਂ ਲੜੀਆਂ ਦੀ ਆਗਿਆ ਦੇਣ ਲਈ ਡਾਊਨਸੈਂਪਲਿੰਗ ਚਾਲੂ ਕਰੋ। ਘਟਾਅ ਆਟੋਮੈਟਿਕ ਹੁੰਦੀ ਹੈ ਅਤੇ ਸਿਰਜਣਾ ਤੋਂ ਬਾਅਦ ਦੀ ਇੰਟਰਪੋਲੇਸ਼ਨ ਮੂਲ ਫ੍ਰੇਮ ਦਰ ਬਹਾਲ ਕਰਦੀ ਹੈ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟauto
auto16:99:161:1
ਸੰਪਾਦਿਤ ਵੀਡੀਓ ਦਾ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।
auto_downsample_min_fpsਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ15
1 – 60
ਵੀਡੀਓ ਡਾਊਨਸੈਂਪਲਿੰਗ ਲਈ ਸਭ ਤੋਂ ਘੱਟ ਟਾਰਗੇਟ ਫ੍ਰੇਮ ਦਰ, ਪ੍ਰਤੀ ਸਕਿੰਟ ਫ੍ਰੇਮਾਂ ਵਿੱਚ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਇਹ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸੁਰੱਖਿਆ ਜਾਂਚ ਸਮਰੱਥ ਹੈ ਜਾਂ ਨਹੀਂ।
return_frames_zipਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਇਹ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸਾਰੇ ਸਿਰਜੇ ਗਏ ਫ੍ਰੇਮ ZIP ਆਰਕਾਈਵ ਵਿੱਚ ਵੀ ਸ਼ਾਮਲ ਕੀਤੇ ਜਾਣ ਜਾਂ ਨਹੀਂ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-vace-apps/video-edit",
  "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": 1875,
    "usd": "1.875",
    "charged": 1875,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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
    },
    "frames_zip": {
      "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
    }
  },
  "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}ਸੰਪਾਦਨ ਤੋਂ ਪ੍ਰਾਪਤ ਵੀਡੀਓ।
frames_zip
object {url, content_type, file_name, file_size} | nullਸਿਰਜੇ ਗਏ ਫ੍ਰੇਮਾਂ ਵਾਲੀ ZIP ਫ਼ਾਈਲ, ਬੇਨਤੀ ਕਰਨ 'ਤੇ ਵਾਪਸ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।

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

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