Leum chun t-susbaint

Wan · v2.7 · Text to Image

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.03 30 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Alibaba Teacsa gu Ìomhaigh #wan#text-to-image#image-generation

Teacsa-gu-ìomhaigh Wan 2.7 àbhaisteach le suas ri còig ìomhaighean gach iarrtas agus cruth toraidh taghte

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Wan 27. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Bhidio

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... Bhidio

**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... Bhidio

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... Bhidio

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... Bhidio

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,...

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach 88 / 2000

Tuairisgeul air an às-chur a tha san amharc, sgrìobhte ann an Sìonais no Beurla.

image_size bun-roghainn square_hd

Meudan na h-ìomhaighe às-chuir.

num_images bun-roghainn 1

Àireamh nan gineadh ìomhaighean, bho 1 gu 5.

Adhartach negative_prompt · output_format · seed · enable_safety_checker
0 / 500

Susbaint ri dùnadh às an ìomhaigh a thig às, cuibhrichte gu 500 caractar.

output_format bun-roghainn jpeg

Cruth faidhle airson ìomhaighean às-chuir.

Sìol air thuaiream airson toraidhean ath-riochdachail, bho 0 gu 2147483647.

POST /run/wan/v2.7/text-to-image?wait=20 tuairmse → $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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Wan · v2.7 · Text to Image

Tionndaidh `prompt` teacsa de suas ri 2000 caractar, ann an Sìonais no Beurla, gu ìomhaighean. Tagh aon de shia ro-shuidheachaidhean `image_size`, cruthaich 1 gu 5 ìomhaighean le `num_images`, agus tagh jpeg, png no webp le `output_format`. Tha `negative_prompt` de suas ri 500 caractar agus `seed` a’ faighinn taic.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
≤ 2,000 caractar
Tuairisgeul air an às-chur a tha san amharc, sgrìobhte ann an Sìonais no Beurla.
negative_promptroghainneil
Seòrsastring | null
Bun-roghainn
≤ 500 caractar
Susbaint ri dùnadh às an ìomhaigh a thig às, cuibhrichte gu 500 caractar.
image_sizeroghainneil
Seòrsaobject
Bun-roghainnsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Meudan na h-ìomhaighe às-chuir.
num_imagesroghainneil num_outputs
Seòrsainteger
Bun-roghainn1
1 – 5
Àireamh nan gineadh ìomhaighean, bho 1 gu 5.
seedroghainneil
Seòrsainteger | null
Sìol air thuaiream airson toraidhean ath-riochdachail, bho 0 gu 2147483647.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Measadh air an in-chur agus an às-chur, air a sparradh air gach iarrtas mura h-eil cead aig a’ chunntas a chur à comas agus mura bheil an roghainn air a cur dheth.
output_formatroghainneil
Seòrsaenum
Bun-roghainnjpeg
jpegpngwebp
Cruth faidhle airson ìomhaighean às-chuir.
riatanach Ainm canonical, gabhar ris cuideachd

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size}Ìomhaighean a chaidh a chruthachadh le gineadh.
generated_text
string | nullTeacsa roghainneil a chruthaich am modail agus a tha air a ghabhail a-steach na fhreagairt.
seed
integerLuach sìl a chaidh a chur an sàs rè gineadh.

Barrachd mhodalan: Teacsa gu Ìomhaigh

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/wan/v2.7/text-to-image.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt