HiAPI
ブログ

使用ガイド

qwen-image-2.0 プロンプトレシピ:そのままコピペできる6つのプロンプトと実際の出力

hiapi 上で実測済みの qwen-image-2.0 プロンプト6選——バイリンガル看板、水墨山水、モダンポスター、Pixar キャラクター、エディトリアルイラスト、製品フラットレイ。すべての画像はモデル自身が生成したものです。

Jun 22, 2026
qwen-image-2.0 プロンプトレシピ:そのままコピペできる6つのプロンプトと実際の出力

世に出回る画像生成プロンプト集のほとんどは拡散モデル向けに書かれています。拡散モデルは画像内の文字をすべて絵の一部として扱います——アルファベットそのものも含めて。そのため、ごく一部のモデルを除けば、結果は「open」が「opne」に、「Promo」が「Promn」になり、バイリンガルポスターはノイズの塊と化します。

qwen-image-2.0 は、文字の再現力を本当に信頼できる数少ないモデルのひとつです。複数文字からなる中国語の看板をきれいに描画し、短い英語の見出しを組んでも文字を落としません。そして hiapi 上では1枚 $0.025 という価格で、プラットフォーム上で最も安価な文字対応のテキスト・トゥ・イメージモデルとなっています。デフォルト出力は2Kなので、以下の結果はポスターのモックアップや製品ページにそのまま入れられる十分な大きさです。拡大は不要です。

本記事は、すぐに使えるプロンプトのセットです。文中のすべての画像は、この記事の執筆中に qwen-image-2.0 が hiapi のタスクエンドポイント経由で生成したものです——以下に示すプロンプトと同じ、パラメータも同じ、レタッチなし。コピーして被写体を差し替えれば、同じように機能します。

クイックリファレンス

設定項目 値
モデル名 qwen-image-2.0
エンドポイント POST https://api.hiapi.ai/v1/tasks(非同期)
価格 1枚 $0.025、定額
デフォルト解像度 2K(長辺約 2048–2688 px)
対応サイズ 2688*1536(16:9)、2368*1728(4:3)、2048*2048(1:1)、1728*2368(3:4)、1536*2688(9:16)
最も得意なこと 中国語の文字、バイリンガルポスター、多様なスタイル——フラッグシップの強みは文字描画
苦手なこと 厳密な同一性が求められるフォトリアルな実在人物——拡散的な同一性の揺らぎは依然として存在

リクエスト構造について一言:qwen-image-2.0 のタスクの input ブロックは size フィールド(上記5つの列挙文字列のいずれか、区切り文字は *)を受け付けます。一部の他の hiapi モデルで使われる汎用的な aspect_ratio + resolution の組み合わせは受け付けません。送信すると 400 が返り、additional properties not allowed と表示されます。対応している5つのサイズを使うようにしてください。

このエンドポイントは非同期です(/v1/tasks):プロンプトを送信し、タスク ID をポーリングし、ステータスが success になったら出力 URL をダウンロードします。実際のエンドツーエンドの遅延はおおよそ1枚あたり60〜120秒です。出力 URL には expireAt タイムスタンプが付いています——一時的なものとして扱い、すぐに自分のストレージへコピーしてください。記事の最後に動作する Python ラッパーを掲載しています。

6つのレシピ

レシピ 1——バイリンガルの店頭看板

このレシピが示すもの。 フォトリアルなシーンの中で中国語の文字をきれいに描画し、英語と並べます。汎用画像モデルのほとんどは 面 や 福 の画を間違えますが、qwen は一発で正しく配置します。このレシピはその証です。

サイズ。 1728*2368(3:4 縦——街並みの縦位置)。

プロンプト:

A small Tokyo-style ramen shop at night, photoreal, soft drizzle on the pavement,
warm interior light spilling out, customers visible through a frosted window.
Above the door, a hand-painted wooden sign with two clean lines of text:
the top line in large Chinese characters reads "幸福拉面", the bottom line in
smaller English reads "Lucky Noodles · Since 2019". A small red paper lantern
hangs to the left. 35mm street photography, shallow depth of field,
cinematic colour grade.

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "1728*2368" } }

レシピ 2——題詩付きの伝統的な水墨山水

このレシピが示すもの。 国風(伝統的な中国の美意識)に、構図の一等要素としての書道を加えます。詩句はテクスチャではなく、読める字形として配置される——まさにここが、このカテゴリーで qwen が他と一線を画す点です。

サイズ。 2688*1536(16:9 横——対応する最もワイドな形式で、巻物の雰囲気に適しています)。

プロンプト:

Traditional Chinese ink-wash landscape painting (山水画), distant misty mountains
fading into pale wash, a small wooden bridge in the foreground, a single robed
scholar walking across, sparse pine trees on a rocky outcrop. Upper-right corner
has a vertical calligraphic inscription in semi-cursive script reading
"远山如黛 江雪初晴", with a small red seal stamp directly below it.
Aged silk paper texture, restrained palette (ink grey, faint ochre, one touch
of red from the seal). Hand-painted, no digital artifacts.

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "2688*1536" } }

レシピ 3——モダンなバイリンガル製品ポスター

このレシピが示すもの。 マルチブロックのレイアウト:大きなバイリンガル見出し、中サイズの本文、小さなフッター行——すべてが背景の模様ではなく、タイポグラフィとして組まれています。まさに qwen-image-2.0 が得意とするフォーマットです。

サイズ。 1728*2368(3:4 縦——クラシックな Instagram ポスターに最も近い対応サイズ)。

プロンプト:

A modern minimalist promotional poster for a specialty coffee shop, cream
background with a subtle paper grain. Centred composition:
- Top half: a large flat-illustration espresso cup with steam, terracotta-and-cream palette.
- Middle: large bilingual headline. Chinese line on top reads "夏日新品", English line directly below reads "SUMMER MENU 2026". Both lines are perfectly centred.
- Lower third: a short body line in smaller Chinese reads "全场买二赠一", and an English line beneath reads "Buy two, get one free".
- Bottom footer: a single small line of English reads "Through August 31".
Clean geometric sans-serif typography, generous whitespace, magazine-quality layout.

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "1728*2368" } }

レシピ 4——Pixar 風の3Dキャラクター

このレシピが示すもの。 qwen-image-2.0 はポスター生成エンジンにとどまりません——フル3Dのカートゥーンレンダリング、柔らかなグローバルイルミネーション、毛並みのサブサーフェススキャタリングもこなします。このレシピはモデルの公式サンプルを元に構成しており、被写体を差し替える前に検証済みのベースラインとして使えます。

サイズ。 2048*2048(1:1——すっきりしたキャラクターポートレート)。

プロンプト:

A cute 3D cartoon panda chef wearing a small white toque blanche, standing
behind a butcher-block counter in a cozy modern kitchen, focused expression,
carefully ladling noodles into a deep ceramic bowl. Steam rising in soft volumetric
light. Warm window light from the upper-left, copper pots blurred in the background.
Pixar-grade rendering, soft global illumination, subsurface scattering on the fur,
shallow depth of field, square composition.

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "2048*2048" } }

レシピ 5——エディトリアルイラスト

このレシピが示すもの。 まったく異なるスタイルの領域:ベクター調のエディトリアルイラストで、配色は抑制されています。ブログのアイキャッチや、フォトリアルでは重すぎる章区切りの画像に適しています。

サイズ。 2368*1728(4:3 横——記事アイキャッチの形状)。

プロンプト:

A flat editorial illustration in the style of a modern tech magazine. A young
woman with shoulder-length hair is sitting at a small round cafe table next to
a large arched window, working on a slim silver laptop. A ceramic latte cup
sits next to the laptop. Outside the window, a stylised cityscape of soft
geometric buildings. Restrained palette: warm cream background, terracotta
accent, two shades of muted teal, off-black line work. Limited shading
(two values per shape), thick consistent outlines. Composition heavy on the
left third, generous negative space on the right where headline text could
later be placed (no text in the image itself).

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "2368*1728" } }

レシピ 6——フォトリアルな製品フラットレイ

このレシピが示すもの。 俯瞰の製品写真——少数のオブジェクト、意図的な余白、単一の素材へのフォーカス(ここでは濃い色の石材)。この種の画像はレタッチなしでそのまま Shopify の製品ページに置けます。

サイズ。 2048*2048(1:1——カタログ用の正方形クロップ)。

プロンプト:

A photoreal top-down flat-lay shot on a single piece of dark slate stone.
Arranged on the slate: one small unglazed ceramic teapot in pale celadon green
with steam rising, two matching tea cups (one empty, one half full of amber
oolong tea), a small woven bamboo strainer, three loose oolong leaves casually
scattered nearby, one dried osmanthus flower. Soft daylight from the upper-left,
gentle shadows, perfectly orthogonal top-down angle, deep negative space in
the upper-right quadrant. Macro food-photography lens, slight depth-of-field
fall-off at the corners, no on-image text.

hiapi 入力:

{ "model": "qwen-image-2.0",
  "input": { "prompt": "<above>", "size": "2048*2048" } }

自分のコードからモデルを呼び出す

これらのレシピはすべて hiapi のタスクエンドポイント経由で実行されています。以下は本記事で使ったフロー——作成 → ポーリング → ダウンロード——を再現する最小限の Python クライアントです:

import json, os, time, urllib.request

API = "https://api.hiapi.ai/v1/tasks"
TOKEN = os.environ["HIAPI_TOKEN"]

def create(prompt: str, size: str = "2048*2048") -> str:
    body = json.dumps({
        "model": "qwen-image-2.0",
        "input": {"prompt": prompt, "size": size},
    }).encode("utf-8")
    req = urllib.request.Request(API, data=body, method="POST", headers={
        "Authorization": f"Bearer {TOKEN}",
        "Content-Type": "application/json",
    })
    with urllib.request.urlopen(req, timeout=60) as r:
        return json.load(r)["data"]["taskId"]

def wait(task_id: str, timeout_s: int = 300) -> str:
    deadline = time.time() + timeout_s
    while time.time() < deadline:
        req = urllib.request.Request(f"{API}/{task_id}", headers={
            "Authorization": f"Bearer {TOKEN}",
        })
        with urllib.request.urlopen(req, timeout=30) as r:
            task = json.load(r)["data"]
        if task["status"] == "success":
            return task["output"][0]["url"]
        if task["status"] == "fail":
            raise RuntimeError(task.get("error"))
        time.sleep(5)
    raise TimeoutError(task_id)

def download(url: str, path: str) -> None:
    with urllib.request.urlopen(url, timeout=120) as r, open(path, "wb") as f:
        f.write(r.read())

if __name__ == "__main__":
    tid = create("一只可爱的3D卡通熊猫戴着厨师帽,在温馨厨房里煮拉面",
                 size="2048*2048")
    url = wait(tid)
    download(url, "out.webp")

あるいは、エンドポイントを一度だけ素早く試したいだけなら curl で:

curl -s https://api.hiapi.ai/v1/tasks \
  -H "Authorization: Bearer $HIAPI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen-image-2.0","input":{"prompt":"夏日新品 SUMMER MENU 2026 minimalist poster","size":"1728*2368"}}'
# → { "data": { "taskId": "..." } }

curl -s "https://api.hiapi.ai/v1/tasks/<taskId>" \
  -H "Authorization: Bearer $HIAPI_TOKEN"
# poll until status: "success", then read .data.output[0].url

本記事の制作コスト

本記事の全7枚の画像——カバー1枚とレシピ6つ——を hiapi の1枚 $0.025 の定額で計算すると、合計$0.175です。記事全体をエンドツーエンドで再現するコストは、ダブルエスプレッソ1杯ほどです。

qwen-image-2.0 が適さない場面

実用的な逆視点:どんなときに他のツールに切り替えるべきでしょうか?

  • 複数の画像間で厳密に一貫したフォトリアルな実在人物の同一性——たとえばブランドアンバサダー、漫画のキャラクター。拡散的な同一性の揺らぎは依然として存在します。参照条件付きのフローか、同一性ロックに対応したモデルを使ってください。
  • 印刷販促物向けの看板級の超リアルなタイポグラフィ。Qwen は画面解像度であれば短いテキストをきれいに組めますが、最終的な印刷原稿では、qwen が生成した背景の上にデザイナーが Figma で文字を組む必要があります。
  • 約5〜6個を超える厳密な物体のカウント。拡散モデルは「ちょうど7個」といった要求に対して依然として気を緩めます。
  • 対応している5つのサイズ以外のアスペクト比——qwen-image-2.0 は上記の列挙値のみを受け付けます。21:9 のウルトラワイドや 4:5 のソーシャル比率が必要な場合は、最も近い対応サイズでレンダリングしてから後でクロップしてください。

本記事で扱ったその他すべて——ポスター、看板、バイリンガルレイアウト、エディトリアルイラスト、製品フラットレイ、キャラクター制作——については、1枚 $0.025 の qwen-image-2.0 を超えるのは難しいでしょう。レシピをコピーし、被写体を差し替えて、納品してください。

永続的なAIアーティファクトで開発を始める

APIキーを取得して、タスクベースの1つのAPIで画像・動画・音声モデルを呼び出せます。

APIドキュメントを読む