本文へスキップ
Qwen確認中

Qwen Image 2.0 / Text to Image

qwen-image-2-0-text-to-image

テキストから画像出力: 画像入力: テキスト
料金を読み込み中…
公式定価 · 未確認

できること

Generate images from text.

Text-to-image · 1–6 images

入力パラメーター

このモデルが受け付けるフィールドのみです。必須フィールドは必ず指定してください。

フィールド型必須デフォルト許可される値と制約
prompt
string必須—

Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters.

≤ 800 chars

negativePrompt
string任意—

Negative prompt describing unwanted content. Supports Chinese and English, max 500 characters.

≤ 500 chars

size
string任意"1024*1024"

Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: 1024*1024.

選択肢: "1024*1024", "1536*1536", "768*1152", "1024*1536", "1152*768", "1536*1024", "960*1280", "1080*1440", "1280*960", "1440*1080", "720*1280", "1080*1920", "1280*720", "1920*1080", "1344*576", "2048*872"

imageNum
string任意"1"

Number of output images. Default: 1, max: 6.

選択肢: "1", "2", "3", "4", "5", "6"

promptExtend
boolean任意true

Enable smart prompt enhancement. When enabled, the model optimizes and enriches the prompt for more diverse results.

制限と動作

  • 非同期のみ:タスクを送信してから結果をポーリングします。
  • prompt: ≤ 800 chars
  • negativePrompt: ≤ 500 chars