Login
Back to Blog
GPT-image-2 で AI アクションフィギュア生成 — 誰でもボックス入りおもちゃに変身

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 Action Figure

リアルに見える理由:

  • 透明ブリスターパック に本物っぽいプラスチック反射がある
  • パッケージテキスト の「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 選#

そのまま使えるテンプレート集です。値を差し替えるだけで使えます。

#職業タイトル服装ボックス下部テキスト
1Product ManagerPRODUCT MANAGERビジネスカジュアル、ホワイトボードマーカーSHIP IT. ITERATE. REPEAT.
2UI DesignerUI/UX DESIGNERタートルネック、Apple PencilPIXEL PERFECT. ALWAYS.
3Data ScientistDATA SCIENTISTカジュアルシャツ、Jupyter notebookTRAIN. VALIDATE. DEPLOY.
4Startup FounderSTARTUP FOUNDERPatagonia ベスト + フーディーMOVE FAST. BREAK THINGS.
5Fitness CoachFITNESS COACHタンクトップ、スニーカーNO PAIN. NO GAIN.
6ChefMASTER CHEF白いシェフコート、コック帽TASTE. SEASON. PERFECT.
7PhotographerPHOTOGRAPHERカーゴベスト、カメラストラップCAPTURE THE MOMENT.
8Music ProducerMUSIC PRODUCERオーバーサイズフーディー、ヘッドホンDROP THE BEAT.
9TeacherTEACHERカーディガン、眼鏡、本INSPIRE. EDUCATE. EMPOWER.
10Cat ParentCAT 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 などに対応。

👉 crazyrouter.com

Related Articles