コンテンツへスキップ

Qwen Image 3 Text to Image

統合

モデル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"

このリクエスト: $0.04 40 APIクレジット · ≈ ₽4.29 このページで実行

APIキーを取得
Alibaba テキストから画像 #typography#bilingual#budget

バイリンガルの文字描画に優れたAlibabaの画像モデル。1Kまたは2Kに対応します。

例

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

プロンプト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.

$0.04 · 40 APIクレジット

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須 178 / 5000

中国語または英語で記述する作成画像の説明テキスト。5000 文字以内。

0 / 500

結果の画像から除外する内容。500 文字以内。

image_size デフォルト square_hd

出力寸法を設定し、画像の総ピクセル数を 512 × 512~2048 × 2048 に収めます。

num_images デフォルト 1

生成する画像の枚数。

詳細設定 output_format · seed · enable_prompt_expansion
output_format デフォルト png

結果の画像のファイル形式。

再現可能な結果を得るためのランダムシード。0~2147483647。

POST /run/alibaba/qwen-image-3/text-to-image?wait=20 見積もり → $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"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Qwen Image 3 Text to Imageについて

Qwen Image 3は、看板、ラベル、スライド、ミームなど、画像内に判読可能な英語と中国語のテキストを配置することに特に優れています。ネガティブプロンプト、任意の自動プロンプト拡張、seedを受け付け、512x512~2048x2048ピクセルで描画します。 1リクエストにつき最大6枚の画像をPNG、JPEG、WebPで返します。

パラメータ

正式名称またはネイティブ名のいずれか一方を送信してください。両方は送信しないでください。 正式名称

名前型 デフォルト許可される値 説明
prompt必須
型string
≤ 5,000文字
中国語または英語で記述する作成画像の説明テキスト。5000 文字以内。
negative_prompt任意
型string | null
デフォルト
≤ 500文字
結果の画像から除外する内容。500 文字以内。
image_size任意
型object
デフォルトsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
出力寸法を設定し、画像の総ピクセル数を 512 × 512~2048 × 2048 に収めます。
enable_prompt_expansion任意
型boolean
デフォルトtrue
結果を改善するために LLM がプロンプトを自動書き換えするかどうかを制御します。
seed任意
型integer | null
再現可能な結果を得るためのランダムシード。0~2147483647。
num_images任意 num_outputs
型integer
デフォルト1
1 – 6
生成する画像の枚数。
output_format任意
型enum
デフォルトpng
jpegpngwebp
結果の画像のファイル形式。
必須 正式名称(こちらも使用可能)

出力

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"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
images
array of object {url, content_type, file_name, file_size}生成された画像。
seed
integer生成時に適用したシード値。

その他のモデル: テキストから画像

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/alibaba/qwen-image-3/text-to-image.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt