דילוג לתוכן

Wan 2.5 Text to Image

שילוב

מזהה מודל wan-25-preview/text-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/text-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"
  }'

# 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 text-to-image עם הנחיות בסינית ובאנגלית ועד ארבע תמונות לקריאה

נוצר ב-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_size ברירת מחדל square

ממדי התמונה שנוצרה, בכפוף לספירת פיקסלים כוללת של 768×768 עד 1440×1440 וליחס גובה-רוחב מ-1:4 עד 4:1. יש לציין ממדים ישירות או לבחור הגדרה מראש בשם, כגון 'square' או 'landscape_16_9'.

num_images ברירת מחדל 1

מספר התמונות ליצירה, בטווח 1 עד 4.

מתקדם negative_prompt · seed · enable_prompt_expansion · enable_safety_checker

הנחיה שלילית המציינת תוכן לא רצוי, מוגבלת ל-500 תווים.

Seed שהופך את היצירה לניתנת לשחזור. הגדרתו ל-None בוחרת Seed באקראי.

POST /run/wan-25-preview/text-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/text-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"
  }'

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

הרצת הבקשה הזו

המפתח שלך נשאר בדפדפן הזה: הוא נשלח רק אל Doitong API ונשמר ב-localStorage רק אם מסמנים זכור. קבל מפתח API

מידע על Wan 2.5 Text to Image

יוצר תמונות מ־`prompt` טקסטואלי באורך של עד 2000 תווים בסינית או באנגלית. `num_images` נע בין 1 ל־4 ו־`image_size` מקבל הגדרות מוכנות או מידות מפורשות, עם מספר פיקסלים כולל בין 768x768 ל־1440x1440. הרחבת הנחיה, שמשכתבת את ההנחיה באמצעות LLM, מופעלת כברירת מחדל. זמינים גם `negative_prompt` ו־`seed`.

פרמטרים

שלח את השם הקנוני או את השם המקומי, לא את שניהם. שמות קנוניים

שםסוג ברירת מחדלמותר תיאור
promptחובה
סוגstring
הוראות ליצירת תמונה, מוגבלות ל-2000 תווים ונכתבות בסינית או באנגלית.
negative_promptאופציונלי
סוגstring | null
הנחיה שלילית המציינת תוכן לא רצוי, מוגבלת ל-500 תווים.
num_imagesאופציונלי num_outputs
סוגinteger
ברירת מחדל1
1 – 4
מספר התמונות ליצירה, בטווח 1 עד 4.
image_sizeאופציונלי
סוגobject
ברירת מחדלsquare
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ממדי התמונה שנוצרה, בכפוף לספירת פיקסלים כוללת של 768×768 עד 1440×1440 וליחס גובה-רוחב מ-1:4 עד 4:1. יש לציין ממדים ישירות או לבחור הגדרה מראש בשם, כגון 'square' או 'landscape_16_9'.
enable_prompt_expansionאופציונלי
סוגboolean
ברירת מחדלtrue
שכתוב הנחיה מבוסס LLM, המחליף זמן עיבוד נוסף בתוצאות טובות יותר עבור הנחיות קצרות.
seedאופציונלי
סוגinteger | null
Seed שהופך את היצירה לניתנת לשחזור. הגדרתו ל-None בוחרת Seed באקראי.
enable_safety_checkerאופציונלי
סוגboolean
ברירת מחדלtrue
מתג בדיקת בטיחות, שמצב הכיבוי שלו דורש הרשאת חשבון. ללא הרשאה זו, כל בקשה נבדקת ללא קשר להגדרה; true מפעיל את הבודק.
חובה שם קנוני, מתקבל גם הוא

פלט

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-25-preview/text-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"
  },
  "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": "A lone samurai standing on the edge of a cliff at twilight, overlooking a vast valley shrouded in mist. The sky burns with deep orange and purple hues from the setting sun, casting long, dramatic shadows. The samurai’s silhouette glows against the horizon, with their sword reflecting a glint of fading light. The overall style is hyper-realistic, cinematic, and moody, with dramatic contrast and atmospheric depth."
  },
  "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 integerערכי Seed המשמשים ליצירת התמונות הנפרדות.
actual_prompt
string | nullההנחיה ששימשה בפועל בעת הפעלת השכתוב.

מודלים נוספים: טקסט לתמונה

לסוכני AI: דף זה בפורמט Markdown נמצא בכתובת https://doitong.com/he/developers/models/wan-25-preview/text-to-image.md. כל המודלים והמדריכים: https://doitong.com/developers/llms.txt