Back to Blog
日本語Tutorial

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

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

C
Crazyrouter Team
2026年5月2日 / 671 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://ai.crazyrouter.us/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://ai.crazyrouter.us/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://ai.crazyrouter.us/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.04〜0.08。1回0.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

Related Articles

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

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

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

1月23日
GPT-image-2 で AI ミーム生成 & ぬりえブック制作 — 楽しくて本当に稼げるプロジェクトチュートリアル

GPT-image-2 で AI ミーム生成 & ぬりえブック制作 — 楽しくて本当に稼げるプロジェクト

Crazyrouter API 経由の GPT-image-2 で AI ミームジェネレーターとぬりえページ制作ツールを構築。楽しく収益化しやすい2つのプロジェクトを完全コード付きで解説。

5月2日
GPT-image-2 で AI 手相占い — 1枚の写真からプロ仕様の手相分析を生成チュートリアル

GPT-image-2 で AI 手相占い — 1枚の写真からプロ仕様の手相分析を生成

Crazyrouter API 経由で GPT-image-2 を使い、美しい手相占いインフォグラフィックを生成する方法。Python、curl、Node.js の完全コード付き。

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

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

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

5月2日
GPT-image-2 で AI アクションフィギュア生成 — 誰でもボックス入りおもちゃに変身チュートリアル

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

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

5月2日
Text-Embedding-3-Small API チュートリアル - OpenAI 埋め込みモデルガイドチュートリアル

Text-Embedding-3-Small API チュートリアル - OpenAI 埋め込みモデルガイド

OpenAI の text-embedding-3-small API を用いたセマンティック検索、RAG システム、類似度マッチングの完全ガイド。Python・Node.js のサンプルコードや料金比較を含む。

1月26日