ᡤᡝᠯᡳ ᡩᡝ ᠵᡠᠸᡝᠨ

Wan · v2.7 · Text to Image

ᠵᡠᠸᡝᠪᡠᠮᠪᡳ

ᠮᠣᡩᡝᠯ id wan/v2.7/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/v2.7/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.03 30 API ᠺᠷᡝᡩᡳᠲ ᡝᡵᡝ ᠵᠠᠯᡳᠨᡩᡝ ᠠᠰᡠᠮᠪᡳ

API ᡩᠠᠮᡠᠨ ᡤᠠᠯᠠ
Alibaba ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ #wan#text-to-image#image-generation

Wan 2.7 ᡳ ᠵᠠᠯᠠᠨ ᡥᡡᠯᠠᠨ ᡩᡝ ᡳᠮᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ, ᡝᠮᡠ ᡳᠯᡤᠠᠨ ᡩᡝ 5 ᡳᠮᠪᡝ ᠪᡳᠮᠪᡳ, ᡝᠯᡝᠮᡝ ᠵᠠᠯᠠᠨ ᡝᠯᡝᠮᡝᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᠪᡳᠮᠪᡳ

Doitong ᡩᡝ ᠪᡠᠶᡝᠮᡝ

Doitong ᡤᡝᠮᡠᠨᡳ Wan 27 ᡩᡝ ᠵᠠᠯᠠᠨ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᡝᠮᡠ ᡤᡳᠯᠠᠨ ᡩᡝ ᡩᠠᡵᠠᠮᡝ

ᡤᡝᠮᡠᠨᡳ ᠵᡠᠯᡤᡝ ᠵᠠᠯᠠᠨ: 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,...

ᡤᡳᠰᡠᠨ ᠪᡠᠶᡝᠮᡝ

ᠵᠠᡴᡠᠨᡳ ᠵᡠᠯᡝ ᡩᡝᡵᡤᡳ ᡩᡝᠪᡝᠰᡠᠮᡝ ᠵᡠᠯᡤᡝ ᠪᡠᠶᡝᠮᡝ᠈ ᡳᠨᡳ ᡤᡳᠰᡠᠨ ᠪᠠᡳ ᡝᠨᡝᠩᡤᡳ ᠠᠮᠪᡳ

•ᡴᠠᠷᠠᡴᡡ 88 / 2000

ᠪᡠᠶᡝᠮᡝᠮᡝ ᠪᡳᠰᡳᡵᡝ ᠪᡠᠶᡝᠮᡝ ᡳ ᡩᠠᠯᠵᡳᠯᠠᠨ, ᠮᠠᠨᠵᡠ ᠠᠮᡠ ᡳᠩᡤᡳᡵᡳ ᡤᡳᠰᡠᠨ ᡳ ᠪᡳᠰᡳᡵᡝ.

image_size ᠵᡠᠯᡝ square_hd

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨ ᡳ ᡤᠠᠯᠠᠨ.

num_images ᠵᡠᠯᡝ 1

ᡤᠠᠳᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᠵᠠᡴᠠᠨ, 1 ᠠᠴᠠ 5 ᠵᡝ.

ᠵᡠᠯᡤᡝ ᠵᡝᡵᡤᡳ negative_prompt · output_format · seed · enable_safety_checker
0 / 500

ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᡤᠠᠳᠠᠨ ᡩᡝ ᠠᠮᡝ ᠪᡳᠮᡝ ᠵᡠᠰᡝ᠈ 500 ᠵᡳᠰᡠᠨ ᡩᡝ ᠠᠴᡠᠮᡝ᠉

output_format ᠵᡠᠯᡝ jpeg

ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᡶᡳᠯᡝ ᡝᠮᡤᡳᠯᡝᠮᡝ.

ᠪᠠᠨᠵᡳᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠮᡝ᠈ 0 ᠴᡳ 2147483647᠉

POST /run/wan/v2.7/text-to-image?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/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 ᡩᡝ ᠵᡝᠯᡤᡳ ᡩᠠᡵᠠᠮᡝ᠈ Remember ᠵᡠᠯᡝᠮᡝ ᡤᡳᠯᠠᠮᡝ localStorage ᡩᡝ ᠰᡠᠯᡝᠮᡝ ᠪᡳᠮᡝ API ᠵᠠᠯᠠᠨ ᠠᠪᠠᠮᡝ

Wan · v2.7 · Text to Image ᡠᡵᡝᠮᡝ

2000 ᡥᡡᠯᠠ ᡩᡝ ᠣᠴᡳᡥᠠ ᡩᡝᠯᡤᡝᠯᡝᠮᡝ `prompt` ᠪᡝ ᡳᠯᡤᠠᠨ ᡳ ᠪᡳᠰᡳᡵᡝᠩᡤᡝ ᡩᡝ ᡳᠮᠪᡝ ᠪᡠᠶᡝᠮᡝ. `image_size` ᡳ 6 ᡝᠯᡝᠮᡝᠨ ᡩᡝ ᡝᠯᡝᠮᡝ, `num_images` ᡩᡝ 1 ᡩᡝ 5 ᡳᠮᠪᡝ ᠵᠠᠯᠠᠨᠠᠮᡝ, `output_format` ᡩᡝ jpeg, png ᠣᠴᡳ webp ᡝᠯᡝᠮᡝ. `negative_prompt` 500 ᡥᡡᠯᠠᠨ ᡩᡝ ᠪᡳᠮᠪᡳ ᠣᠴᡳ `seed` ᠵᠠᡴᠠᠮᡝ ᠪᡳᠮᠪᡳ.

ᠵᠠᡴᡠᠨ

ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ ᠵᡝᠯᡤᡳ ᠠᠪᠠᠮᠪᡳ᠈ ᠨᡝᠮᡝ ᠮᡠᠰᡝ ᡠᠯᠠᠮᠪᡳ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ

ᠵᡝᡵᡤᡳᡠᠯᠠᠮᡝ ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝᠠᠪᠠᠮᡝ ᠵᠠᠪᡠᠨ ᠵᠠᠯᠠᠨᡳ ᡤᡳᠰᡠᠨ
promptᡴᠠᠷᠠᡴᡡ
ᡠᠯᠠᠮᡝstring
≤ 2,000 ᠵᡳᠪᡝᠨ
ᠪᡠᠶᡝᠮᡝᠮᡝ ᠪᡳᠰᡳᡵᡝ ᠪᡠᠶᡝᠮᡝ ᡳ ᡩᠠᠯᠵᡳᠯᠠᠨ, ᠮᠠᠨᠵᡠ ᠠᠮᡠ ᡳᠩᡤᡳᡵᡳ ᡤᡳᠰᡠᠨ ᡳ ᠪᡳᠰᡳᡵᡝ.
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 – 5
ᡤᠠᠳᠠᠨ ᡳ ᠪᡠᠶᡝᠮᡝ ᠵᠠᡴᠠᠨ, 1 ᠠᠴᠠ 5 ᠵᡝ.
seedᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝinteger | null
ᠪᠠᠨᠵᡳᠨᠠᠮᡝ ᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠰᠠᡳᠨ ᠪᡳᠮᡝ᠈ 0 ᠴᡳ 2147483647᠉
enable_safety_checkerᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝboolean
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝtrue
ᡝᡵᡝᠮᡝ ᠪᡠᠮᡝ ᠪᠠ ᠪᡠᠶᡝᠮᡝ ᠠᠰᡠᡵᠠᠮᡝ᠈ ᡤᡝᡪᡳᠯᡝᠨ ᡩᡝ ᠪᡳᠮᡝ᠈ ᠣᠯᡥᠣᠪᡠᡵᡝᠩᡤᡝ ᠠᠮᡝ ᠣᠨᠣᠯᠣᠮᡝ ᠵᡠᠰᡝ ᠠᠮᡝ ᠠᠴᡠᠮᡝ᠉
output_formatᠵᡠᠯᡝ
ᡠᠯᠠᠮᡝenum
ᠵᠠᠯᠠᠨᡳ ᠵᡠᠯᡝjpeg
jpegpngwebp
ᠪᡠᠶᡝᠮᡝ ᡤᠠᠳᠠᠨᡳ ᡶᡳᠯᡝ ᡝᠮᡤᡳᠯᡝᠮᡝ.
ᡴᠠᠷᠠᡴᡡ ᠵᠠᡴᡠᠨᡳ ᡤᡳᠰᡠᠨ᠈ ᠮᡠᠰᡝ ᡝᠮᡠ ᠠᠪᠠᠮᠪᡳ

ᠪᡠᠶᡝᠮᡝ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/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": 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"
  },
  "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
      }
    ],
    "generated_text": "string",
    "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}ᠪᡠᠶᡝᠮᡝ ᠵᡠᠴᡝᠨ ᡳ ᠤᠯᡥᠠᠨ ᠤᠯᡥᠠᠨ᠉
generated_text
string | nullᠵᡠᠯᡝ ᡥᡡᠯᠠᠨ ᠮᠣᠳᡝᠯ ᠪᡠᠶᡝᠮᡝᠮᡝ ᡝᠮᡠ ᠪᡠᠶᡝᠮᡝ ᡳ ᠵᠠᡴᠠᠨᡳ ᡳᠨᡠ.
seed
integerᠪᡠᠶᡝᠮᡝ ᡩᡝ ᠶᠠᠪᡠᡥᠠᠨ ᠪᠠᠨᠵᡳᠨᠠᠮᡝ᠉

ᡝᠯᡤᡳ ᡩᠠᠯᡳᠨ: ᡥᡡᠯᠠᠨ ᡩᡝ ᡤᠠᠳᠠᠨ

AI ᠠᡤᡝᠨᡨᡳ ᡠᠴᡠᠷᡳ᠈ ᡝᡵᡝ ᡩᡝᠪᡝᡵᡳ Markdown ᠰᡳᠨᡩᠠᡵᡳ https://doitong.com/mnc/developers/models/wan/v2.7/text-to-image.md. ᡝᡵᡝ ᠮᠣᡩᡝᠯ ᠵᠠᡴᡠᠨ ᠰᡠᠯᡠᠮᡝ https://doitong.com/developers/llms.txt