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

Wan Effects

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

ਮਾਡਲ id wan-effects
# 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-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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.35 350 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ

Wan 2.1 ਇਫੈਕਟਸ ਮਾਡਲ, ਜੋ ਕਿਸੇ ਚਿੱਤਰ 'ਤੇ cakeify ਜਾਂ hulk ਵਰਗਾ ਚੁਣਿਆ ਹੋਇਆ ਵਿਜ਼ੂਅਲ ਇਫੈਕਟ ਲਾਗੂ ਕਰਦਾ ਹੈ

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

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

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

ਇਨਪੁੱਟ ਚਿੱਤਰ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL।

aspect_ratio ਡਿਫ਼ਾਲਟ 16:9

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।

•ਲੋੜੀਂਦਾ

ਪ੍ਰਭਾਵ ਲਈ ਵਿਸ਼ਾ-ਪਾਠ: ਇਸ ਦਾ ਪਹਿਲਾਂ ਤੋਂ ਨਿਰਧਾਰਤ ਪ੍ਰੌਂਪਟ ਟੈਂਪਲੇਟ ਇਸ ਮੁੱਲ ਨਾਲ ਭਰਿਆ ਜਾਂਦਾ ਹੈ।

ਉੱਨਤ effect_type · num_frames · frames_per_second · num_inference_steps · lora_scale · seed · turbo_mode · enable_safety_checker
ਡਿਫ਼ਾਲਟ cakeify

ਵੀਡੀਓ 'ਤੇ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਪ੍ਰਭਾਵ ਕਿਸਮ।

ਡਿਫ਼ਾਲਟ 81

ਸਿਰਜਣਾ ਲਈ ਫ੍ਰੇਮ ਗਿਣਤੀ।

ਡਿਫ਼ਾਲਟ 16

ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਫ੍ਰੇਮ ਰੇਟ, ਫ੍ਰੇਮ per ਸਕਿੰਟ ਵਿੱਚ ਮਾਪਿਆ ਜਾਂਦਾ ਹੈ।

ਡਿਫ਼ਾਲਟ 30

Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।

ਡਿਫ਼ਾਲਟ 1

LoRA ਵਜ਼ਨ ਸਕੇਲਿੰਗ ਗੁਣਾਂਕ, ਜੋ ਇਸ ਦੇ ਪ੍ਰਭਾਵ ਦੀ ਤੀਬਰਤਾ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ।

ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/wan-effects?wait=20 ਕੋਟ → $0.35
# 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-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "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 Effects ਬਾਰੇ

`effect_type` ਰਾਹੀਂ ਚੁਣੇ ਇਫੈਕਟ ਨਾਲ `image_url` ਨੂੰ ਐਨੀਮੇਟ ਕਰਦਾ ਹੈ (ਡਿਫੌਲਟ cakeify, 43 ਵਿਕਲਪ), ਅਤੇ ਤੁਹਾਡੇ `subject` ਨੂੰ ਇਫੈਕਟ ਦੇ ਪ੍ਰੌਮਪਟ ਟੈਂਪਲੇਟ ਵਿੱਚ ਸ਼ਾਮਲ ਕਰਦਾ ਹੈ। `num_frames` 81-100, `frames_per_second` 5-24, ਅਤੇ `aspect_ratio` 16:9, 9:16 ਜਾਂ 1:1 ਹੁੰਦਾ ਹੈ। `lora_scale` (0.1-2) ਤੀਬਰਤਾ ਸੈੱਟ ਕਰਦਾ ਹੈ ਅਤੇ `turbo_mode` ਗੁਣਵੱਤਾ ਦੇ ਬਦਲੇ ਗਤੀ ਦਿੰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
subjectਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਪ੍ਰਭਾਵ ਲਈ ਵਿਸ਼ਾ-ਪਾਠ: ਇਸ ਦਾ ਪਹਿਲਾਂ ਤੋਂ ਨਿਰਧਾਰਤ ਪ੍ਰੌਂਪਟ ਟੈਂਪਲੇਟ ਇਸ ਮੁੱਲ ਨਾਲ ਭਰਿਆ ਜਾਂਦਾ ਹੈ।
image_urlਲੋੜੀਂਦਾ image
ਕਿਸਮurl · image
ਇਨਪੁੱਟ ਚਿੱਤਰ ਵੱਲ ਇਸ਼ਾਰਾ ਕਰਨ ਵਾਲਾ URL।
effect_typeਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟcakeify
squishmuscleinflatecrushrotategun-shootingdeflatecakeifyhulkbabybrideclassypuppysnow-whitedisney-princessmona-lisa
+27 ਹੋਰpaintingpirate-captainprincessjunglesamuraivipwarriorzenassassintimelapsetsunamifirezoom-calldoom-fpsfus-ro-dahhug-jesusrobot-face-revealsuper-saiyanjumpscarelaughingcartoon-jaw-dropcryingkissingangry-faceselfie-younger-selfanimeifyblast
ਵੀਡੀਓ 'ਤੇ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਪ੍ਰਭਾਵ ਕਿਸਮ।
num_framesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ81
81 – 100
ਸਿਰਜਣਾ ਲਈ ਫ੍ਰੇਮ ਗਿਣਤੀ।
frames_per_secondਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ16
5 – 24
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਫ੍ਰੇਮ ਰੇਟ, ਫ੍ਰੇਮ per ਸਕਿੰਟ ਵਿੱਚ ਮਾਪਿਆ ਜਾਂਦਾ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਸਿਰਜਣਾ ਨੂੰ ਦੁਹਰਾਉਣਯੋਗ ਬਣਾਉਣ ਵਾਲਾ ਸੀਡ। ਇਸਨੂੰ None ਸੈੱਟ ਕਰਨ ਨਾਲ ਸੀਡ ਬੇਤਰਤੀਬੇ ਢੰਗ ਨਾਲ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ16:9
16:99:161:1
ਆਉਟਪੁੱਟ ਵੀਡੀਓ ਦਾ ਚੌੜਾਈ-ਤੋਂ-ਉਚਾਈ ਅਨੁਪਾਤ।
num_inference_stepsਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ30
2 – 40
Sampling ਕਦਮਾਂ ਦੀ ਗਿਣਤੀ; ਗਿਣਤੀ ਵਧਣ ਨਾਲ ਵੱਧ ਪ੍ਰੋਸੈਸਿੰਗ ਸਮੇਂ ਦੇ ਬਦਲੇ ਬਿਹਤਰ ਗੁਣਵੱਤਾ ਮਿਲਦੀ ਹੈ।
lora_scaleਵਿਕਲਪਿਕ
ਕਿਸਮnumber
ਡਿਫ਼ਾਲਟ1
0.1 – 2
LoRA ਵਜ਼ਨ ਸਕੇਲਿੰਗ ਗੁਣਾਂਕ, ਜੋ ਇਸ ਦੇ ਪ੍ਰਭਾਵ ਦੀ ਤੀਬਰਤਾ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ।
turbo_modeਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
Turbo ਮੋਡ, ਜੋ ਚਾਲੂ ਹੋਣ 'ਤੇ ਤੇਜ਼ ਸਿਰਜਣਾ ਲਈ ਵੀਡੀਓ ਗੁਣਵੱਤਾ ਨਾਲ ਸਮਝੌਤਾ ਕਰਦਾ ਹੈ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
false ਸੈੱਟ ਕਰਕੇ ਸਕ੍ਰੀਨਿੰਗ ਨੂੰ ਢਿੱਲਾ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ, ਜੇ ਕਾਲਰ ਅਧਿਕਾਰਤ ਹੋਵੇ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-effects",
  "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": 350,
    "usd": "0.35",
    "charged": 350,
    "refunded": 0
  },
  "input": {
    "subject": "fox",
    "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
    },
    "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}ਮਾਡਲ ਵੱਲੋਂ ਤਿਆਰ ਕੀਤਾ ਵੀਡੀਓ।
seed
integer

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

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