Login
Back to Blog
日本語Tutorial

GPT-image-2 で AI 顔相診断 & パーソナルカラー分析 — 2つのバズ活用法を1本で解説

Crazyrouter API 経由の GPT-image-2 で AI 顔相診断ツールとパーソナルカラー診断ツールを作る方法。Python、curl、Node.js の完全コード付き。

C
Crazyrouter Team
May 2, 2026 / 120 views
Share:
GPT-image-2 で AI 顔相診断 & パーソナルカラー分析 — 2つのバズ活用法を1本で解説

GPT-image-2 で AI 顔相診断 & パーソナルカラー分析#

SNS でかなり伸びている AI 画像の活用法をさらに2つ紹介します。AI 顔相診断パーソナルカラー分析 です。どちらも GPT-image-2 の、文字をきれいに注釈付きで画像に入れられる強みをそのまま活かせます。

本記事は GPT-image-2 シリーズの第2回です。2つのツールをコード付きで作っていきます。

生成結果プレビュー#

AI 顔相診断#

AI Face Reading Analysis

額の形、眉のアーチ、目の間隔、鼻筋、唇の形といった顔の特徴を分析し、それぞれに性格の解釈を添えた診断インフォグラフィックを生成します。

パーソナルカラー分析#

パーソナルカラー分析

自分に似合うカラーシーズンが Spring、Summer、Autumn、Winter のどれかを判定し、服、メイク、小物に向いた配色パレットまで提案してくれます。

顔相診断 — 完全コード#

Python#

python
from openai import OpenAI

client = OpenAI(
    api_key="your-crazyrouter-api-key",
    base_url="https://crazyrouter.com/v1"
)

face_reading_prompt = """
Create a professional AI face reading analysis infographic.
Style: elegant, modern, dark background with golden accent lines.

Analyze and annotate these facial features:
- Forehead shape → Career & wisdom interpretation
- Eyebrow arch → Personality & temperament
- Eye shape & spacing → Emotional intelligence
- Nose bridge & tip → Wealth & determination
- Lip shape → Communication & relationships
- Jawline → Willpower & resilience

Layout:
- Center: a stylized face outline with golden annotation lines
- Sides: interpretation cards for each feature
- Bottom: overall personality summary with strengths

Professional consultation report style. Clean typography.
"""

response = client.images.generate(
    model="gpt-image-2",
    prompt=face_reading_prompt,
    size="1024x1024",
    n=1
)

print(f"Face reading: {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": "Professional AI face reading infographic. Dark background, golden accents. Annotate forehead, eyebrows, eyes, nose, lips, jawline with personality interpretations. Center face outline with annotation lines. Side interpretation cards. Bottom personality summary. Clean modern design.",
    "size": "1024x1024",
    "n": 1
  }'

パーソナルカラー分析 — 完全コード#

Python#

python
color_analysis_prompt = """
Create a personal color season analysis infographic.
Style: clean, elegant, white background with soft color accents.

Show the four color seasons:
- Spring Warm: coral, peach, warm gold, cream
- Summer Cool: lavender, soft blue, rose pink, silver
- Autumn Warm: burnt orange, olive, mustard, chocolate
- Winter Cool: pure white, black, royal blue, true red

Layout:
- Top: title "Personal Color Season Analysis"
- Center: four quadrants, each showing a season with:
  - Season name and characteristics
  - 6-8 color swatches
  - Best clothing/makeup colors
  - Colors to avoid
- Bottom: "Your Season: Autumn Warm" with personalized recommendations

Professional style guide aesthetic. Fashion magazine quality.
"""

response = client.images.generate(
    model="gpt-image-2",
    prompt=color_analysis_prompt,
    size="1024x1024",
    n=1
)

print(f"Color analysis: {response.data[0].url}")

Node.js#

javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "your-crazyrouter-api-key",
  baseURL: "https://crazyrouter.com/v1",
});

// Face Reading
const faceResult = await client.images.generate({
  model: "gpt-image-2",
  prompt: `Professional AI face reading infographic. Dark background, golden accents.
Annotate: forehead, eyebrows, eyes, nose, lips, jawline.
Each with personality interpretation. Clean modern consultation report style.`,
  size: "1024x1024",
  n: 1,
});

// Color Analysis
const colorResult = await client.images.generate({
  model: "gpt-image-2",
  prompt: `Personal color season analysis infographic. Four seasons: Spring, Summer, Autumn, Winter.
Each with color swatches and clothing recommendations.
Fashion magazine quality, clean elegant design.`,
  size: "1024x1024",
  n: 1,
});

console.log("Face:", faceResult.data[0].url);
console.log("Color:", colorResult.data[0].url);

マネタイズのアイデア#

どちらのツールもバズりやすく、収益化しやすい特徴があります。

方法仕組み
SNS フィルターユーザーが自撮りをアップし、結果をシェア → 自然流入が増える
有料レポート基本診断は無料、詳細なプレミアムレポートは $1〜3
LINE / Telegram ボット読み取りごとに課金する自動 bot
インフルエンサー向けツール美容系インフルエンサーがコンテンツ制作に活用

コスト#

1回の生成コストは Crazyrouter 経由で約 0.040.0810.04〜0.08。1回 1 の有料診断にできれば、利益率は 90% 以上です。


🚀 Crazyrouter — 1つの API キーで 600 以上のモデル。GPT-image-2、GPT-5.5、Claude Opus 4.7、DeepSeek V4 などに対応。

👉 crazyrouter.com

Implementation Guides

Topics

Tutorial

Related Posts

Claude Code インストールおよび使用ガイド - AI プログラミングアシスタントのセットアップTutorial

Claude Code インストールおよび使用ガイド - AI プログラミングアシスタントのセットアップ

Claude Code(AI プログラミングアシスタント)のインストールと設定を行うための完全ガイド。Node.js のセットアップ方法、API トークンの設定方法、ターミナルで AI と一緒にコーディングを始める手順を解説します。

Jan 24
GPT-5 と GPT-5.2 に API 経由でアクセスする方法 - 完全開発者ガイドTutorial

GPT-5 と GPT-5.2 に API 経由でアクセスする方法 - 完全開発者ガイド

Crazyrouter の統合 API を通じて、OpenAI の最新モデルである GPT-5、GPT-5.2、そして o3-pro にアクセスする方法を解説します。Python、Node.js、curl のステップバイステップ例付き。

Jan 23
Doubao Seed Code:ByteDance の AI コード生成モデル - 完全 API ガイドTutorial

Doubao Seed Code:ByteDance の AI コード生成モデル - 完全 API ガイド

ByteDance の強力な AI コード生成モデル「Doubao Seed Code」の使い方を解説。Python・Node.js のサンプル付き、API 完全チュートリアルと料金比較。

Jan 26
GPT-image-2 で AI 未来の赤ちゃん予測 — 将来の子どもの顔を見てみようTutorial

GPT-image-2 で AI 未来の赤ちゃん予測 — 将来の子どもの顔を見てみよう

Crazyrouter API 経由の GPT-image-2 で、将来の赤ちゃんの顔をリアルに予測生成。Python・curl・Node.js の完全コード付き。

May 2
GPT-image-2 でジブリ風写真変換 — どんな写真もアニメアートにTutorial

GPT-image-2 でジブリ風写真変換 — どんな写真もアニメアートに

Crazyrouter API 経由の GPT-image-2 で写真をスタジオジブリ風アニメスタイルに変換。複数のアニメスタイルを完全コード付きで解説。

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

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

Crazyrouter API 経由の GPT-image-2 で超リアルなボックス入りアクションフィギュア画像を生成。10種類の職業テンプレート付き。Python、curl、Node.js のコードを掲載。

May 2