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

Wan · v2.7 · Edit

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

ਮਾਡਲ id wan/v2.7/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/v2.7/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",
    "images": [
      "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.03 30 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਚਿੱਤਰ ਸੰਪਾਦਨ #wan#image-to-image#image-editing

1-4 ਹਵਾਲਾ ਚਿੱਤਰਾਂ ਅਤੇ ਚੁਣਨਯੋਗ jpeg, png ਜਾਂ webp ਆਉਟਪੁੱਟ ਵਾਲਾ ਹਦਾਇਤ-ਅਧਾਰਿਤ ਚਿੱਤਰ ਸੰਪਾਦਨ

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

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ 88 / 2000

ਚੀਨੀ ਜਾਂ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਲਿਖਿਆ, ਬੇਨਤੀ ਕੀਤੇ ਚਿੱਤਰ ਸੰਪਾਦਨ ਦਾ ਵੇਰਵਾ।

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

ਸੰਪਾਦਨ ਹਵਾਲਾ ਚਿੱਤਰ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ 1–4 ਲੋੜੀਂਦੇ ਹਨ। ਪ੍ਰੌਂਪਟ ਹਵਾਲੇ ਦਿੱਤੇ ਕ੍ਰਮ ਅਨੁਸਾਰ ਹਨ: image 1 ਪਹਿਲਾ, image 2 ਦੂਜਾ, image 3 ਤੀਜਾ ਅਤੇ image 4 ਚੌਥਾ।

image_size ਡਿਫ਼ਾਲਟ square_hd

ਆਉਟਪੁੱਟ ਚਿੱਤਰ ਦੇ ਮਾਪ।

num_images ਡਿਫ਼ਾਲਟ 1

ਸਿਰਜਣਾ ਲਈ ਚਿੱਤਰਾਂ ਦੀ ਗਿਣਤੀ, 1 ਤੋਂ 4 ਤੱਕ।

ਉੱਨਤ negative_prompt · output_format · seed · enable_prompt_expansion · enable_safety_checker
0 / 500

ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਤੋਂ ਬਾਹਰ ਰੱਖਣ ਵਾਲੀ ਸਮੱਗਰੀ, 500 ਅੱਖਰਾਂ ਤੱਕ ਸੀਮਿਤ।

output_format ਡਿਫ਼ਾਲਟ jpeg

ਆਉਟਪੁੱਟ ਚਿੱਤਰਾਂ ਲਈ ਫ਼ਾਈਲ ਫਾਰਮੈਟ।

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

POST /run/wan/v2.7/edit?wait=20 ਕੋਟ → $0.03
# 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/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",
    "images": [
      "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 · v2.7 · Edit ਬਾਰੇ

ਚੀਨੀ ਜਾਂ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ 2000 ਅੱਖਰਾਂ ਤੱਕ ਦੀ ਟੈਕਸਟ ਹਦਾਇਤ ਤੋਂ ਚਿੱਤਰ ਸੰਪਾਦਿਤ ਕਰਦਾ ਹੈ। `image_urls` ਵਿੱਚ 1 ਤੋਂ 4 ਚਿੱਤਰ ਦਿਓ ਅਤੇ ਪ੍ਰੌਂਪਟ ਵਿੱਚ ਉਨ੍ਹਾਂ ਨੂੰ image 1 ਤੋਂ image 4 ਵਜੋਂ ਦਰਸਾਓ। ਛੇ `image_size` ਪ੍ਰੀਸੈੱਟ ਹਨ ਅਤੇ `num_images` 1-4 ਹੈ। 500 ਅੱਖਰਾਂ ਤੱਕ ਦਾ `negative_prompt` ਅਤੇ jpeg, png ਜਾਂ webp ਵਾਲਾ `output_format` ਸਮਰਥਿਤ ਹਨ।

ਪੈਰਾਮੀਟਰ

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

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 2,000 ਅੱਖਰ
ਚੀਨੀ ਜਾਂ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਲਿਖਿਆ, ਬੇਨਤੀ ਕੀਤੇ ਚਿੱਤਰ ਸੰਪਾਦਨ ਦਾ ਵੇਰਵਾ।
image_urlsਲੋੜੀਂਦਾ images
ਕਿਸਮurl[] · image
ਸੰਪਾਦਨ ਹਵਾਲਾ ਚਿੱਤਰ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ 1–4 ਲੋੜੀਂਦੇ ਹਨ। ਪ੍ਰੌਂਪਟ ਹਵਾਲੇ ਦਿੱਤੇ ਕ੍ਰਮ ਅਨੁਸਾਰ ਹਨ: image 1 ਪਹਿਲਾ, image 2 ਦੂਜਾ, image 3 ਤੀਜਾ ਅਤੇ image 4 ਚੌਥਾ।
negative_promptਵਿਕਲਪਿਕ
ਕਿਸਮstring | null
ਡਿਫ਼ਾਲਟ
≤ 500 ਅੱਖਰ
ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਤੋਂ ਬਾਹਰ ਰੱਖਣ ਵਾਲੀ ਸਮੱਗਰੀ, 500 ਅੱਖਰਾਂ ਤੱਕ ਸੀਮਿਤ।
image_sizeਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਡਿਫ਼ਾਲਟsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ਆਉਟਪੁੱਟ ਚਿੱਤਰ ਦੇ ਮਾਪ।
num_imagesਵਿਕਲਪਿਕ num_outputs
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ1
1 – 4
ਸਿਰਜਣਾ ਲਈ ਚਿੱਤਰਾਂ ਦੀ ਗਿਣਤੀ, 1 ਤੋਂ 4 ਤੱਕ।
enable_prompt_expansionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
DashScope ਪ੍ਰੌਂਪਟ ਵਿਸਤਾਰ ਨੂੰ ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ, ਜੋ ਸਿਰਫ਼ ਚਿੱਤਰ ਸੰਪਾਦਨ ਮੋਡ ਵਿੱਚ ਉਪਲਬਧ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਦੁਹਰਾਏ ਜਾ ਸਕਣ ਵਾਲੇ ਨਤੀਜਿਆਂ ਲਈ ਬੇਤਰਤੀਬਾ ਸੀਡ, 0 ਤੋਂ 2147483647 ਤੱਕ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਹਰ ਬੇਨਤੀ 'ਤੇ ਲਾਗੂ ਕੀਤੀ ਜਾਣ ਵਾਲੀ ਇਨਪੁੱਟ ਅਤੇ ਆਉਟਪੁੱਟ ਦੋਵਾਂ ਦੀ ਮਾਡਰੇਸ਼ਨ, ਜਦੋਂ ਤੱਕ ਖਾਤਾ ਇਸਨੂੰ ਬੰਦ ਕਰਨ ਲਈ ਅਧਿਕਾਰਤ ਨਾ ਹੋਵੇ ਅਤੇ ਵਿਕਲਪ ਬੰਦ ਨਾ ਕੀਤਾ ਗਿਆ ਹੋਵੇ।
output_formatਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟjpeg
jpegpngwebp
ਆਉਟਪੁੱਟ ਚਿੱਤਰਾਂ ਲਈ ਫ਼ਾਈਲ ਫਾਰਮੈਟ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

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

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/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": 30,
    "usd": "0.03",
    "charged": 30,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    ],
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
images
array of object {url, content_type, file_name, file_size}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੇ ਚਿੱਤਰ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।

ਹੋਰ ਮਾਡਲ: ਚਿੱਤਰ ਸੰਪਾਦਨ

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