שפּרינגען צו אינהאַלט

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

עפֿנטלעכע ווערק געמאַכט מיט Wan 27 פֿון דער Doitong קהילה. ניצט אַ פּינטלעך מיט איין קליק.

געוויזענע עפֿנטלעכע ווערק: 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) נאָר אויב איר טיקט אָן געדענקען. באַקומען אַן API שליסל

וועגן Wan · v2.7 · Edit

רעדאַקטירט בילדער פֿון אַ טעקסט־אינסטרוקציע פֿון ביז 2000 כאַראַקטערן אויף כינעזיש אָדער ענגליש. צושטעל 1 ביז 4 בילדער אין `image_urls` און דערמאָן זיי ווי image 1 ביז image 4 אינעם פּראָמפּט. עס זענען פֿאַראַן זעקס `image_size` פּריסעטן, און `num_images` איז 1-4. אַ `negative_prompt` פֿון ביז 500 כאַראַקטערן און `output_format` פֿון jpeg, png אָדער webp ווערן געשטיצט.

פּאַראַמעטערס

שיקט אָדער דעם קאַנאָנישן נאָמען אָדער דעם נאַטיוון נאָמען, נישט ביידע. קאַנאָנישע נעמען

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
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, אַ data: URI ביז 10 MB, אָדער דעם 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/yi/developers/models/wan/v2.7/edit.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt