本文へスキップ
Qwen確認中

Qwen Image 2.0 / Image Edit

qwen-image-2-0-image-edit

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

できること

Edit images with text instructions.

Image editing · 1–6 images

入力パラメーター

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

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

Input images (1-3). Supports single image editing and multi-image fusion. Images are numbered in array order, output aspect ratio follows the last image. Recommended resolution: 384-3072px, max 10MB.

≤ 3 items · HTTPS image URL or media:<uuid>

prompt
string必須—

Positive prompt describing desired image content, style and composition. Supports Chinese and English, max 800 characters. Only one text instruction is allowed.

≤ 800 chars

negativePrompt
string任意—

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

≤ 500 chars

size
string任意—

Output resolution (width*height). Total pixels must be between 512*512 and 2048*2048. Default: same as input image (last image for multi-image input).

選択肢: "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"

制限と動作

  • 非同期のみ:タスクを送信してから結果をポーリングします。
  • imageUrls: ≤ 3 items
  • prompt: ≤ 800 chars
  • negativePrompt: ≤ 500 chars
  • メディア入力には、公開 HTTPS URL または POST /api/v1/media で取得した media:<uuid> 参照を指定できます。