mcpField
E
eye-color-changer

eye-color-changer

github.com/eachlabsクリエイティブ・メディア44184 回インストール今日更新
リポジトリ

eye-color-changer について

eye-color-changer は each::sense を使って写真の目を編集するスキルです。写実的な補正やクリエイティブなポートレート向けで、虹彩の質感や反射を保ちながら、自然色・幻想的な色、左右異なる色、特殊効果を加えられます。

主な機能

  1. 01自然色・幻想的な目の色変更
  2. 02左右異なる色と瞳孔の効果
  3. 03発光する目や模様
  4. 04元の目の色を強調
  5. 051枚の写真から複数案を生成
  6. 06虹彩の質感と反射を保持

活用シーン

  1. 01ポートレートの目の色変更
  2. 02ファンタジーやコスプレの演出
  3. 03写真の元の目の色を強調

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/eachlabs/skills --skill eye-color-changer

インストール後、Claude Code で/eye-color-changerを入力して読み込まれたか確認します。

同梱ファイルreferences/SSE-EVENTS.md

詳細

Eye Color Changer

each::sense を使用して、写真の目の色を変えます。このスキルを使うと、自然な見た目と適切な虹彩のディテールを保ちながら、リアルな目の色の変更、ファンタジー風のエフェクト、クリエイティブな目の加工ができます。

特徴

  • 自然な色の変更:青、緑、茶色、ヘーゼル、グレー、アンバー
  • ファンタジーカラー:紫、赤、ゴールド、シルバー、白
  • 虹彩異色症:左右の目を異なる色にする
  • 特殊効果:猫目/縦長の瞳孔、目の発光、催眠術のような模様
  • 色の強調:自然な目の色を鮮やかにする
  • バッチ処理:1枚の写真から複数の色の候補を作成
  • リアルななじませ処理:自然な虹彩の質感と反射を保つ

クイックスタート

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to bright blue in this photo"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

対応する目の色のオプション

カテゴリー色最適な用途
ナチュラル青、緑、茶色、ヘーゼル、グレー、アンバーリアルな変換
ファンタジー紫、バイオレット、赤、ゴールド、シルバークリエイティブ/アーティスティックなポートレート
特殊発光、猫目、虹彩異色症ファンタジーキャラクター、コスプレ
強調自然な色を鮮やかにしたもの写真の中で目を際立たせる

使用例

1. 青い目に変更
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to a natural bright blue. Keep the iris texture and reflections realistic. The blue should look like natural blue eyes, not contact lenses."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
2. 緑の目に変更
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the eye color to emerald green. Maintain natural iris patterns and make sure the color blends realistically with the skin tone around the eyes."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
3. 茶色の目に変更
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eyes to warm brown color. Make it look like natural dark brown eyes with subtle golden flecks in the iris for realism."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
4. ヘーゼルの目に変更
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the eye color to hazel - a natural blend of green and brown with golden undertones. The color should transition from darker near the pupil to lighter at the edges of the iris."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
5. ファンタジーカラー(紫、赤、ゴールド)
# Purple/Violet Eyes
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to a deep violet purple. Make it look otherworldly but still maintain realistic iris texture. Perfect for a fantasy or cosplay character look."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

# Red Eyes
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the eyes to a striking crimson red color. Keep the iris detail and make it look like supernatural red eyes - vampire or demon aesthetic."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'

# Golden Eyes
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to golden yellow, like a wolf or supernatural being. Maintain realistic iris patterns but with a luminous golden color."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
6. 虹彩異色症(左右で色の異なる目)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create heterochromia - make the left eye bright blue and the right eye emerald green. Both eyes should look natural and realistic, just different colors from each other."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
7. 猫目/縦長の瞳孔エフェクト
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Transform the eyes to have cat-like vertical slit pupils with golden yellow iris color. Make it look like feline or reptilian eyes while keeping the overall eye shape natural to the face."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
8. 目の発光エフェクト
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Make the eyes glow with an ethereal blue light. Add a subtle luminous effect that makes the eyes appear to emit light, with a soft glow around the iris. Perfect for a supernatural or magical character effect."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
9. 自然な目の色を強調
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Enhance the natural eye color to make it more vivid and striking. Intensify the existing color, add more depth and clarity to the iris, and make the eyes really pop without changing the base color."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "mode": "max"
  }'
10. 同じ写真から複数の色の候補を作成
# Use session_id to generate multiple variations
# First variation - Blue
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to bright blue. Keep it natural looking."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "session_id": "eye-color-variations-001",
    "mode": "eco"
  }'

# Second variation - Green (same session)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now create another version with emerald green eyes instead."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "eye-color-variations-001",
    "mode": "eco"
  }'

# Third variation - Hazel (same session)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create one more version with hazel eyes."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "eye-color-variations-001",
    "mode": "eco"
  }'

ベストプラクティス

リアルな仕上がりにするには
  • 高品質な元画像:目がはっきり見える、明るく撮影された写真を使用します
  • 正面向きのポートレート:目線がカメラに向いている写真で最良の結果が得られます
  • 虹彩のディテールを説明する:特定の模様、斑点、グラデーションを希望する場合は指定します
  • 自然光の参考情報:反射に一貫性を持たせるため、照明のスタイルを指定します
ファンタジーエフェクトを使うには
  • 美的スタイルを指定する:吸血鬼、エイリアン、アニメ、超自然的な雰囲気など
  • 効果の強さを説明する:ほのかな光か、明るい発光か
  • キャラクターの背景を含める:AI が全体のスタイルを合わせやすくなります
プロンプトのヒント
  1. 色合いを具体的に指定する:「アイスブルー」「オーシャンブルー」「ネイビーブルー」など
  2. なじませ方を指定する:虹彩の縁を自然につなげるよう依頼します
  3. 虹彩の質感を指定する:自然な模様を保つか、変更するかを指定します
  4. 照明を考慮する:反射を維持したい場合は指定します

モードの選択

モード最適な用途速度品質
max最終的な写真、プロ用途、詳細なエフェクト遅い最高
ecoすばやいプレビュー、バッチでのバリエーション、色のテスト速い良好

複数ターンでのクリエイティブな調整

session_id を使って、目の色の変更を調整します。

# Initial change
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Change the eye color to blue"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "session_id": "eye-edit-project"
  }'

# Refine the result
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Make the blue more intense and add a slight ring of darker blue around the edge of the iris"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "eye-edit-project"
  }'

# Add special effect
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now add a subtle glow effect to make the eyes look magical"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "eye-edit-project"
  }'

エラー処理

エラー原因解決策
Failed to create prediction: HTTP 422残高不足eachlabs.ai でチャージします
目が検出されない顔が見えない、または目を閉じている目が開いてはっきり見える写真を使用します
不自然ななじみ方元画像の品質が低い解像度が高く、明るく撮影された写真を使用します
タイムアウト生成が複雑クライアントのタイムアウトを最低 10 分に設定します

関連スキル

  • each-sense - コア API のドキュメント
  • face-swap - 顔の入れ替え機能
  • image-edit - 一般的な画像編集
  • portrait-generation - AI によるポートレート作成

コメント