Pāriet uz saturu

Wan · v2.2 A14b · Text to Image

Integrēt

Modeļa id wan/v2.2-a14b/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.2-a14b/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"

Šis pieprasījums: 0,025 $ 25 API kredīti Izpildīt šajā lapā

Iegūt API atslēgu

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Wan v22 Large. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... Video

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

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

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

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

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

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts

Teksta norādes, kas vada ģenerēto attēlu.

image_size noklusējums square_hd

Ģenerētā attēla dimensijas.

Papildu negative_prompt · acceleration · num_inference_steps · guidance_scale · guidance_scale_2 · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
noklusējums

Negatīvā uzvedne, kas tiek lietota video ģenerēšanas laikā.

acceleration noklusējums regular

Paātrinājuma iestatījums; ieteicamā izvēle ir 'regular'. Lielāks paātrinājums samazina kvalitāti, lai saīsinātu ģenerēšanas laiku.

noklusējums 27

Semplešanas soļu skaits; lielāks skaits nodrošina labāku kvalitāti, bet paildzina apstrādi.

noklusējums 3.5

Klasifikatora brīvās vadības stiprums; palielinoties mērogam, iespējams kvalitātes zudums tiek mainīts pret precīzāku atbilstību uzvednei.

noklusējums 4

Vadības mērogs, kas nosaka, cik cieši modelis savā otrajā posmā seko uzvednei.

noklusējums 2

Attēla nobīdes iestatījums ar pieļaujamo diapazonu 1.0–10.0.

Sēkla, kas padara ģenerēšanu atkārtojamu. Iestatot None, sēkla tiek izvēlēta nejauši.

POST /run/wan/v2.2-a14b/text-to-image?wait=20 cena → 0,025 $
# 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.2-a14b/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"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Wan · v2.2 A14b · Text to Image

Izveido nekustīgu attēlu no teksta `prompt` ar lielāko A14B modeli. `image_size` piedāvā kvadrāta, portreta un ainavas iestatījumus. Papildus `guidance_scale` pieejams otrā posma `guidance_scale_2`, kā arī `num_inference_steps` (2 līdz 40), `shift`, `negative_prompt` un `acceleration` izvēle none vai regular.

Parametri

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
Teksta norādes, kas vada ģenerēto attēlu.
negative_promptneobligāts
Tipsstring
Noklusējums
Negatīvā uzvedne, kas tiek lietota video ģenerēšanas laikā.
seedneobligāts
Tipsinteger | null
Sēkla, kas padara ģenerēšanu atkārtojamu. Iestatot None, sēkla tiek izvēlēta nejauši.
num_inference_stepsneobligāts
Tipsinteger
Noklusējums27
2 – 40
Semplešanas soļu skaits; lielāks skaits nodrošina labāku kvalitāti, bet paildzina apstrādi.
enable_safety_checkerneobligāts
Tipsboolean
Noklusējumsfalse
Ievades drošības pārbaude pirms apstrādes, ko drīkst atspējot tikai autorizēti konti. Pieprasījumi bez autorizācijas vienmēr tiek pārbaudīti; pretējā gadījumā true iespējo pārbaudi.
enable_output_safety_checkerneobligāts
Tipsboolean
Noklusējumsfalse
Nosaka ģenerētā video drošības pārbaudi; true iespējo pārbaudi pēc ģenerēšanas.
enable_prompt_expansionneobligāts
Tipsboolean
Noklusējumsfalse
Ļauj lielajam valodas modelim papildināt uzvedni ar detalizētu informāciju. Šī paplašināšana nemaina uzvednes nozīmi.
accelerationneobligāts
Tipsenum
Noklusējumsregular
noneregular
Paātrinājuma iestatījums; ieteicamā izvēle ir 'regular'. Lielāks paātrinājums samazina kvalitāti, lai saīsinātu ģenerēšanas laiku.
guidance_scaleneobligāts
Tipsnumber
Noklusējums3.5
1 – 10
Klasifikatora brīvās vadības stiprums; palielinoties mērogam, iespējams kvalitātes zudums tiek mainīts pret precīzāku atbilstību uzvednei.
guidance_scale_2neobligāts
Tipsnumber
Noklusējums4
1 – 10
Vadības mērogs, kas nosaka, cik cieši modelis savā otrajā posmā seko uzvednei.
shiftneobligāts
Tipsnumber
Noklusējums2
1 – 10
Attēla nobīdes iestatījums ar pieļaujamo diapazonu 1.0–10.0.
image_sizeneobligāts
Tipsobject
Noklusējumssquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Ģenerētā attēla dimensijas.
obligāts

Izvade

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/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": 25,
    "usd": "0.025",
    "charged": 25,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
image
object {url, content_type, file_name, file_size}Ģenerēšanas laikā izveidots attēla fails.
seed
integerĢenerēšanas laikā lietotā sēklas vērtība.

Vairāk modeļu: Teksts uz attēlu

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/wan/v2.2-a14b/text-to-image.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt