> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen-Image テキストから画像生成

Qwen-Image — 次世代のテキストから画像生成向けの 20B MMDiT モデルです。特に、ローカルテキストを含む魅力的なグラフィックポスターの作成に優れています。

<Tip>
  これは**非同期**API であり、非同期タスクの task\_id のみを返します。この task\_id を使用して [タスク結果照会 API](/ja/docs/models/reference-get-async-task-result) をリクエストし、生成結果を取得してください。
</Tip>

## リクエストヘッダー

<ParamField header="Content-Type" type="string" required={true}>
  列挙値: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer 認証形式: Bearer \{\{API Key}}。
</ParamField>

## リクエストボディ

<ParamField body="prompt" type="string" required={true}>
  画像生成のテキストプロンプト。
</ParamField>

<ParamField body="size" type="string" required={false}>
  生成されるメディアのピクセルサイズ（幅\*高さ）。デフォルト値は `1024*1024` です。幅と高さのピクセル範囲: 256 \~ 1536。
</ParamField>

## レスポンス情報パラメータ

<ResponseField name="task_id" type="string" required={true}>
  非同期タスクの task\_id。この task\_id を使用して [タスク結果照会 API](/ja/docs/models/reference-get-async-task-result) をリクエストし、生成結果を取得してください
</ResponseField>
