İçeriğe geç

Wan · v2.2 5b · Text to Image

Entegre et

Model kimliği wan/v2.2-5b/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-5b/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"

Bu istek: $0,016 16 API kredisi Bu sayfada çalıştır

API anahtarı al

Altı hazır boyut, PNG veya JPEG çıktısı ve ayarlanabilir örnekleme adımları sunan kompakt 5B text-to-image modeli

Doitong'ta oluşturuldu

Doitong topluluğunun Wan v22 ile oluşturduğu herkese açık çalışmalar. Bir istemi tek tıklamayla yeniden kullanın.

Gösterilen herkese açık çalışma sayısı: 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,...

İstek oluştur

Kontroller model şemasından oluşturulur. Değerleri değiştirdikçe kod ve fiyat güncellenir.

•gerekli

Üretilen görseli yönlendiren metin talimatları.

image_size varsayılan square_hd

Üretilen görselin boyutları.

Gelişmiş negative_prompt · image_format · num_inference_steps · guidance_scale · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
varsayılan

Video üretilirken uygulanan negatif istem.

image_format varsayılan jpeg

Ortaya çıkan görselin dosya biçimi.

varsayılan 40

Sayı arttıkça daha uzun işlem süresi karşılığında daha iyi kalite sunan örnekleme adımı sayısı.

varsayılan 3.5

Ölçek arttıkça olası kalite kaybı karşılığında istemle daha yakın eşleşme sağlayan sınıflandırıcısız yönlendirme gücü.

varsayılan 2

1.0–10.0 aralığında izin verilen görsel kaydırma ayarı.

Üretimi tekrarlanabilir kılan seed. None olarak ayarlanması seed'in rastgele seçilmesini sağlar.

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

Bu isteği çalıştır

Anahtarınız bu tarayıcıda kalır: yalnızca Doitong API'ye gönderilir ve yalnızca Hatırla seçeneğini işaretlerseniz localStorage'a kaydedilir. API anahtarı al

Wan · v2.2 5b · Text to Image hakkında

Metin `prompt`undan sabit bir görsel üretir. square_hd, portrait_16_9 veya landscape_4_3 gibi bir `image_size` hazır ayarı seçin ve `image_format` ile png veya jpeg seçin. Örnekleme `num_inference_steps` (2-50), `guidance_scale` (1-10) ve `shift` ile ayarlanabilir; `negative_prompt` ve isteğe bağlı istem genişletme kullanılabilir.

Parametreler

AdTür Varsayılanİzin verilen Açıklama
promptgerekli
Türstring
Üretilen görseli yönlendiren metin talimatları.
negative_promptisteğe bağlı
Türstring
Varsayılan
Video üretilirken uygulanan negatif istem.
seedisteğe bağlı
Türinteger | null
Üretimi tekrarlanabilir kılan seed. None olarak ayarlanması seed'in rastgele seçilmesini sağlar.
num_inference_stepsisteğe bağlı
Türinteger
Varsayılan40
2 – 50
Sayı arttıkça daha uzun işlem süresi karşılığında daha iyi kalite sunan örnekleme adımı sayısı.
enable_safety_checkeristeğe bağlı
Türboolean
Varsayılanfalse
İşleme öncesi girdi güvenlik taraması; yalnızca yetkili hesaplar bunu kapatabilir. Yetkisi olmayan istekler her zaman taranır; aksi halde true taramayı etkinleştirir.
enable_output_safety_checkeristeğe bağlı
Türboolean
Varsayılanfalse
Üretilen videonun güvenlik taramasını denetler; true ayarı üretim sonrası kontrolü etkinleştirir.
enable_prompt_expansionisteğe bağlı
Türboolean
Varsayılanfalse
Büyük dil modelinin istemi ayrıntılarla zenginleştirmesine izin verir. Bu genişletmenin etkinleştirilmesi istemin anlamını değiştirmez.
guidance_scaleisteğe bağlı
Türnumber
Varsayılan3.5
1 – 10
Ölçek arttıkça olası kalite kaybı karşılığında istemle daha yakın eşleşme sağlayan sınıflandırıcısız yönlendirme gücü.
shiftisteğe bağlı
Türnumber
Varsayılan2
1 – 10
1.0–10.0 aralığında izin verilen görsel kaydırma ayarı.
image_sizeisteğe bağlı
Türobject
Varsayılansquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Üretilen görselin boyutları.
image_formatisteğe bağlı
Türenum
Varsayılanjpeg
pngjpeg
Ortaya çıkan görselin dosya biçimi.
gerekli

Çıktı

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-5b/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": 16,
    "usd": "0.016",
    "charged": 16,
    "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"
  }
}
Dosyalarınız, seçiminizHer outputs[].url, depolamamızdaki bir kopyadır: sonsuza kadar (GB-ay başına ücretli) veya ücretsiz olarak 7 gün boyunca, hesap ayarınızla ya da ?storage= ile saklanır.
Her modelde aynı yapıGörüntüler, video ve ses için type, url, content_type, width, height ve duration aynıdır. output, modelin kendi sonuç nesnesidir.
Çıktı alanları
image
object {url, content_type, file_name, file_size}Üretimle oluşturulan görsel dosyası.
seed
integerÜretim sırasında uygulanan seed değeri.

Daha fazla model: Metinden Görsele

AI aracıları için: bu sayfanın Markdown biçimi şurada: https://doitong.com/tr/developers/models/wan/v2.2-5b/text-to-image.md. Tüm modeller ve kılavuzlar: https://doitong.com/developers/llms.txt