
GPT-image-2 で AI アクションフィギュア生成 — 誰でもボックス入りおもちゃに変身
C
Crazyrouter Team
May 2, 2026
11 views日本語Tutorial
Share:
GPT-image-2 で AI アクションフィギュア生成 — 誰でもボックス入りおもちゃに変身#
AI アクションフィギュア の流行は SNS を席巻しました。発想はシンプルです。自分自身、あるいは誰かを、ブリスターパックに入ったリアルなおもちゃ風アクションフィギュアとして生成するだけです。付属品もパッケージの文字も全部込みです。
GPT-image-2 は文字描画が得意なので、この用途にかなり向いています。パッケージラベル、キャッチコピー、バーコードまで本物っぽく仕上がります。
これは GPT-image-2 シリーズの第3回です。
生成結果プレビュー#

リアルに見える理由:
- 透明ブリスターパック に本物っぽいプラスチック反射がある
- パッケージテキスト の「AI DEVELOPER — Build the future.」がきれいに描画されている
- 付属品 にコーヒーマグ、ラバーダック、デュアルモニター、メカニカルキーボードが入っている
- バーコード や「Powered by GPT-image-2」の細かい文字まである
- スタジオ照明 でプロの玩具撮影っぽい雰囲気が出ている
完全コード#
Python#
python
from openai import OpenAI
client = OpenAI(
api_key="your-crazyrouter-api-key",
base_url="https://crazyrouter.com/v1"
)
character_name = "AI DEVELOPER"
tagline = "Build the future."
outfit = "black hoodie, glasses, holding a laptop with code on screen"
accessories = [
"a coffee mug with 'CODE COFFEE DEPLOY' text",
"a yellow rubber duck (debugging companion)",
"two monitors showing code editor and neural network diagrams",
"a mechanical keyboard with orange accents"
]
bottom_text = "CODE. TRAIN. AUTOMATE. REPEAT."
prompt = f"""
A hyper-realistic product photo of a boxed action figure toy.
The figure is a young Asian male software engineer: {outfit}.
The box is clear plastic blister pack with cardboard backing.
Top of box reads: "{character_name}" in bold letters.
Subtitle: "{tagline}"
Accessories inside the box: {", ".join(accessories)}.
Bottom of box: "{bottom_text}"
Small text: "Powered by GPT-image-2"
Include a realistic barcode.
Studio lighting, white background, professional toy photography style.
"""
response = client.images.generate(
model="gpt-image-2",
prompt=prompt,
size="1024x1024",
n=1
)
print(f"Generated: {response.data[0].url}")
curl#
bash
curl -X POST https://crazyrouter.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-crazyrouter-api-key" \
-d '{
"model": "gpt-image-2",
"prompt": "Hyper-realistic boxed action figure: AI DEVELOPER. Young engineer in black hoodie and glasses, holding laptop. Clear blister pack with cardboard backing. Accessories: coffee mug, rubber duck, dual monitors, mechanical keyboard. Bottom text: CODE. TRAIN. AUTOMATE. REPEAT. Barcode. Studio lighting, white background, toy photography.",
"size": "1024x1024",
"n": 1
}'
Node.js#
javascript
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "your-crazyrouter-api-key",
baseURL: "https://crazyrouter.com/v1",
});
const response = await client.images.generate({
model: "gpt-image-2",
prompt: `Hyper-realistic boxed action figure: AI DEVELOPER.
Figure wearing black hoodie, glasses, holding laptop.
Accessories: coffee mug, rubber duck, dual monitors, mechanical keyboard.
Clear blister pack, cardboard backing, barcode.
Studio lighting, white background, toy photography.`,
size: "1024x1024",
n: 1,
});
console.log(response.data[0].url);
職業テンプレート 10 選#
そのまま使えるテンプレート集です。値を差し替えるだけで使えます。
| # | 職業 | タイトル | 服装 | ボックス下部テキスト |
|---|---|---|---|---|
| 1 | Product Manager | PRODUCT MANAGER | ビジネスカジュアル、ホワイトボードマーカー | SHIP IT. ITERATE. REPEAT. |
| 2 | UI Designer | UI/UX DESIGNER | タートルネック、Apple Pencil | PIXEL PERFECT. ALWAYS. |
| 3 | Data Scientist | DATA SCIENTIST | カジュアルシャツ、Jupyter notebook | TRAIN. VALIDATE. DEPLOY. |
| 4 | Startup Founder | STARTUP FOUNDER | Patagonia ベスト + フーディー | MOVE FAST. BREAK THINGS. |
| 5 | Fitness Coach | FITNESS COACH | タンクトップ、スニーカー | NO PAIN. NO GAIN. |
| 6 | Chef | MASTER CHEF | 白いシェフコート、コック帽 | TASTE. SEASON. PERFECT. |
| 7 | Photographer | PHOTOGRAPHER | カーゴベスト、カメラストラップ | CAPTURE THE MOMENT. |
| 8 | Music Producer | MUSIC PRODUCER | オーバーサイズフーディー、ヘッドホン | DROP THE BEAT. |
| 9 | Teacher | TEACHER | カーディガン、眼鏡、本 | INSPIRE. EDUCATE. EMPOWER. |
| 10 | Cat Parent | CAT PARENT | 猫の毛だらけのセーター | OWNED BY CATS SINCE 2020. |
バッチ生成#
python
professions = [
("AI DEVELOPER", "black hoodie, glasses, laptop"),
("DESIGNER", "turtleneck, Apple Pencil, iPad"),
("DATA SCIENTIST", "casual shirt, Jupyter notebook"),
]
for title, outfit in professions:
response = client.images.generate(
model="gpt-image-2",
prompt=f"Hyper-realistic boxed action figure: {title}. "
f"Figure wearing {outfit}. Clear blister pack, "
f"cardboard backing, studio lighting, toy photography.",
size="1024x1024",
n=1
)
print(f"{title}: {response.data[0].url}")
プロンプトのコツ#
- 短いテキストのほうが有利 — パッケージ文字は 10 語以内が安定
- 大文字のほうが描画しやすい — 小文字より再現性が高い
- リアリティを上げたいなら
studio lighting, soft shadowsを追加 - 本物のおもちゃっぽさを出すなら
slight plastic reflection on blister packを追加
コスト#
| 項目 | 価格(Crazyrouter 経由) |
|---|---|
| 画像1枚(1024×1024) | 約 $0.04–0.08 |
| 10枚バッチ | 約 $0.50 |
🚀 Crazyrouter — 1つの API キーで 600 以上のモデル。GPT-image-2、GPT-5.5、Claude Opus 4.7、DeepSeek V4 などに対応。


