Zum Inhalt springen

Qwen Image 3 Text to Image

Integrieren

Modell-ID alibaba/qwen-image-3/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.ru/v1/run/alibaba/qwen-image-3/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cozy bookstore window at dusk with a hand-painted wooden sign that reads \"Moonlight Books · 月光书店\", stacks of books, warm string lights, light rain on the glass, photorealistic."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Diese Anfrage: 0,04 $ 40 API-Credits · ≈ 4,29 ₽ Auf dieser Seite ausführen

API-Schlüssel abrufen
Alibaba Text zu Bild #typography#bilingual#budget

Alibabas Bildmodell mit hervorragender zweisprachiger Schrift in 1K oder 2K.

Beispiele

Ausgabe · ~125 s
A cozy bookstore window at dusk with a hand-painted wooden sign that reads "Moonlight Books · 月光书店", stacks of books,...

PromptA cozy bookstore window at dusk with a hand-painted wooden sign that reads "Moonlight Books · 月光书店", stacks of books, warm string lights, light rain on the glass, photorealistic.

0,04 $ · 40 API-Credits

Anfrage erstellen

Die Steuerelemente werden aus dem Modellschema generiert. Code und Preis werden aktualisiert, während du sie änderst.

•erforderlich 178 / 5000

Textbeschreibung des zu erstellenden Bilds auf Chinesisch oder Englisch, auf 5000 Zeichen begrenzt.

0 / 500

Aus dem resultierenden Bild auszuschließender Inhalt, auf 500 Zeichen begrenzt.

image_size Standard square_hd

Die Ausgabedimensionen so festlegen, dass die Gesamtpixelanzahl des Bilds zwischen 512 × 512 und 2048 × 2048 liegt.

num_images Standard 1

Für die Generierung angeforderte Bildanzahl.

Erweitert output_format · seed · enable_prompt_expansion
output_format Standard png

Dateiformat des resultierenden Bilds.

Zufälliger Seed für reproduzierbare Ergebnisse, im Bereich von 0 bis 2147483647.

POST /run/alibaba/qwen-image-3/text-to-image?wait=20 Preis → 0,04 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/alibaba/qwen-image-3/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A cozy bookstore window at dusk with a hand-painted wooden sign that reads \"Moonlight Books · 月光书店\", stacks of books, warm string lights, light rain on the glass, photorealistic."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Diese Anfrage ausführen

Dein Schlüssel bleibt in diesem Browser: Er wird nur an die Doitong API gesendet und nur gespeichert (localStorage), wenn du „Merken“ aktivierst. API-Schlüssel abrufen

Über Qwen Image 3 Text to Image

Qwen Image 3 eignet sich besonders gut, um lesbaren englischen und chinesischen Text in Bilder einzufügen: Schilder, Beschriftungen, Folien und Memes. Es akzeptiert einen negativen Prompt, eine optionale automatische Prompt-Erweiterung und einen Seed und rendert von 512x512 bis 2048x2048 Pixel. Bis zu sechs Bilder pro Anfrage in PNG, JPEG oder WebP.

Parameter

Sende entweder den kanonischen Namen oder den nativen Namen, nicht beide. Kanonische Namen

NameTyp StandardZulässig Beschreibung
prompterforderlich
Typstring
≤ 5.000 Zeichen
Textbeschreibung des zu erstellenden Bilds auf Chinesisch oder Englisch, auf 5000 Zeichen begrenzt.
negative_promptoptional
Typstring | null
Standard
≤ 500 Zeichen
Aus dem resultierenden Bild auszuschließender Inhalt, auf 500 Zeichen begrenzt.
image_sizeoptional
Typobject
Standardsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Die Ausgabedimensionen so festlegen, dass die Gesamtpixelanzahl des Bilds zwischen 512 × 512 und 2048 × 2048 liegt.
enable_prompt_expansionoptional
Typboolean
Standardtrue
Steuert die automatische Umschreibung des Prompts durch ein LLM zur Verbesserung der Ergebnisse.
seedoptional
Typinteger | null
Zufälliger Seed für reproduzierbare Ergebnisse, im Bereich von 0 bis 2147483647.
num_imagesoptional num_outputs
Typinteger
Standard1
1 – 6
Für die Generierung angeforderte Bildanzahl.
output_formatoptional
Typenum
Standardpng
jpegpngwebp
Dateiformat des resultierenden Bilds.
erforderlich Kanonischer Name, ebenfalls akzeptiert

Ausgabe

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/qwen-image-3/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": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A cute baby koala on a water slide holding a card that says \"Summer starts now\", bright afternoon light",
    "negative_prompt": "low resolution, blurry, deformed",
    "image_size": "square_hd"
  },
  "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
      }
    ],
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Deine Dateien, deine EntscheidungJede outputs[].url ist eine Kopie in unserem Speicher: dauerhaft aufbewahrt (Abrechnung pro GB-Monat) oder 7 Tage kostenlos – je nach Kontoeinstellung oder ?storage=.
Gleiche Struktur bei jedem Modelltype, url, content_type, width, height und duration – für Bilder, Video und Audio gleichermaßen. output ist das Ergebnisobjekt des Modells.
Ausgabefelder
images
array of object {url, content_type, file_name, file_size}Durch die Generierung erzeugte Bilder.
seed
integerWährend der Generierung angewendeter Seed-Wert.

Weitere Modelle: Text zu Bild

Für KI-Agenten: Diese Seite ist als Markdown verfügbar unter https://doitong.com/de/developers/models/alibaba/qwen-image-3/text-to-image.md. Alle Modelle und Anleitungen: https://doitong.com/developers/llms.txt