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

Wan 2.5 Image to Image

אינטעגרירן

מאָדעל־id wan-25-preview/image-to-image
# 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-25-preview/image-to-image?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.05⁩ 50 API־קרעדיטן לויפֿן עס אויף דער דאָזיקער בלאַט

באַקומען אַן API שליסל

Wan 2.5 בילד־עדיטירונג פֿון אַ טעקסט־אינסטרוקציע, מיט איינס אָדער צוויי רעפֿערענץ־בילדער

געמאַכט אויף Doitong

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

געוויזענע עפֿנטלעכע ווערק: 5
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...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... ווידעא

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

בויען אַ בעטן

קאָנטראָלן ווערן דזשענערירט פֿון דעם מאָדעל־סכעמע. דער קאָד און דער פּרײַז דערהײַנטיקן זיך ווען איר ענדערט זיי.

•פארלאנגט

טעקסט־אינסטרוקציעס פֿאַר רעדאַקטירן דעם בילד, באַגרענעצט צו 2000 אותיות.

•פארלאנגט image_urls
לייגט אַרײַן אַ טעקע, אָדער

בילד־URLs פֿאַר רעדאַקטירן, וווּ נאָר די ערשטע 2 ווערן גענוצט אויב מער ווערן צוגעשטעלט. רעדאַקטירן איין בילד נעמט 1 URL; גענערירונג מיט מערערע רעפֿערענצן נעמט אָן ביז 2 URLs.

image_size סטאַנדאַרט square

שטעלט די דימענסיעס פֿון דעם גענערירטן בילד דורך אַ ברייט און אַ הייך, יעדער צווישן 384–1440 פּיקסעלן.

num_images סטאַנדאַרט 1

צאָל גענערירטע בילדער, פֿון 1 ביז 4.

פֿאָרגעשריטן negative_prompt · seed · enable_safety_checker

נעגאַטיווע פּראָמפּט וואָס ספּעציפיצירט נישט־געוווּנטשן אינהאַלט, באַגרענעצט צו 500 אותיות.

סיד וואָס מאכט גענערירונג רעפּראָדוצירבאַר. אויב מען שטעלט עס אויף None, ווערט אַ סיד ראַנדאָם אויסגעקליבן.

POST /run/wan-25-preview/image-to-image?wait=20 פּרײַז → ⁨$ 0.05⁩
# 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-25-preview/image-to-image?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 2.5 Image to Image

עדיטירט אַ בילד פֿון אַ טעקסט־`prompt` מיט ביז 2000 אותיות. `image_urls` נעמט איין בילד פֿאַר איינציקע עדיטירונגען אָדער צוויי פֿאַר מולטי־רעפֿערענץ גענעראַציע; איבעריקע בילדער ווערן איגנאָרירט. `image_size` אָפפערט זעקס פּרעסעץ, מיט ברייט און הייך צווישן 384 און 1440 פּיקסעלן. עס קען צוריקגעבן 1 ביז 4 בילדער פּער רוף און נעמט אָן אַ `negative_prompt` און אַ `seed`.

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

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

נאָמעןטיפּ סטאַנדאַרטערלויבט באַשרײַבונג
promptפארלאנגט
טיפּstring
טעקסט־אינסטרוקציעס פֿאַר רעדאַקטירן דעם בילד, באַגרענעצט צו 2000 אותיות.
image_urlsפארלאנגט images
טיפּurl[] · image
בילד־URLs פֿאַר רעדאַקטירן, וווּ נאָר די ערשטע 2 ווערן גענוצט אויב מער ווערן צוגעשטעלט. רעדאַקטירן איין בילד נעמט 1 URL; גענערירונג מיט מערערע רעפֿערענצן נעמט אָן ביז 2 URLs.
negative_promptאָפּציאָנעל
טיפּstring | null
נעגאַטיווע פּראָמפּט וואָס ספּעציפיצירט נישט־געוווּנטשן אינהאַלט, באַגרענעצט צו 500 אותיות.
image_sizeאָפּציאָנעל
טיפּobject
סטאַנדאַרטsquare
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
שטעלט די דימענסיעס פֿון דעם גענערירטן בילד דורך אַ ברייט און אַ הייך, יעדער צווישן 384–1440 פּיקסעלן.
num_imagesאָפּציאָנעל num_outputs
טיפּinteger
סטאַנדאַרט1
1 – 4
צאָל גענערירטע בילדער, פֿון 1 ביז 4.
seedאָפּציאָנעל
טיפּinteger | null
סיד וואָס מאכט גענערירונג רעפּראָדוצירבאַר. אויב מען שטעלט עס אויף None, ווערט אַ סיד ראַנדאָם אויסגעקליבן.
enable_safety_checkerאָפּציאָנעל
טיפּboolean
סטאַנדאַרטtrue
זיכערקייט־קאָנטראָל־שאַלטער, וועמענס אויסגעלאָשענע באַשטעטיקונג דאַרף חשבון־אויטאָריזאַציע. אָן דער אויטאָריזאַציע ווערט יעדער בקשה אָפּגעקוקט אומאָפּהענגיק פֿון דער באַשטעטיקונג; true אַקטיוויזירט דעם קאָנטראָלער.
פארלאנגט קאַנאָנישער נאָמען, אויך אַקצעפּטירט

טעקע־פּאַראַמעטערס נעמען אַן עפֿנטלעכע https:// URL, אַ data: URI ביז 10 MB, אָדער דעם file_url פֿון אַן אַרויפֿלאָד. טעקעס

אויסגאַבע

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-25-preview/image-to-image",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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,
        "width": 1024,
        "height": 768
      }
    ],
    "seeds": [
      42
    ],
    "actual_prompt": "Reimagine the scene under a raging thunderstorm at night: lightning forks across the sky, illuminating the samurai in stark flashes of white light."
  },
  "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, width, height}בילדער וואָס קומען אַרויס פֿון רעדאַקטירן.
seeds
array of integerSeed־ווערטס גענוצט צו גענערירן די יחיד בילדער.
actual_prompt
string | nullאָריגינעלער פּראָמפּט־טעקסט; בילד־רעדאַקטירונג שטיצט נישט פּראָמפּט־יקספּאַנשאַן.

מער מאָדעלן: בילד־עדיטירונג

פֿאַר AI־אַגענטן: דער בלאַט ווי Markdown געפֿינט זיך בײַ https://doitong.com/yi/developers/models/wan-25-preview/image-to-image.md. אַלע מאָדעלן און גוידעס: https://doitong.com/developers/llms.txt