mcpField
A
age-transformation

age-transformation

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

age-transformation について

age-transformationはeach::senseを使い、写真の人物の見た目年齢を変えるスキルです。映像制作や創作、可視化に向けて、加齢・若返りや複数年齢の生成に対応し、会話を重ねて結果を調整できます。

主な機能

  1. 01加齢と若返りの変換
  2. 02子ども、ティーン、高齢者の外見
  3. 03微細または大幅な年齢変化
  4. 04複数年齢の連続生成
  5. 05複数ターンで結果を調整

活用シーン

  1. 01映画向けの俳優の若返り画像制作
  2. 02子どもや赤ちゃんの成人後の外見を試す
  3. 03行方不明者の年齢変化を可視化
  4. 04家族や娯楽向けの年齢変換

インストール

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

$npx skills add https://github.com/eachlabs/skills --skill age-transformation

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

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

詳細

年齢変換

each::sense を使って、さまざまな年齢の顔に変換します。このスキルでは、写真にリアルな加齢(エイジング)や若返り(デエイジング)の効果を加えられます。エンターテインメント、映画・動画制作、法医学的な可視化、クリエイティブなプロジェクトに役立ちます。

機能

  • 加齢:人物を年上に見せます(10年、20年、40年以上)
  • 若返り:人物を若く見せます
  • 赤ちゃんから大人へ:赤ちゃんや子どもが大人になったときの姿を予測します
  • ティーンエイジャー版:ティーンエイジャーの姿に変換します
  • シニア/高齢者版:リアルな高齢者の姿を作成します
  • 中年版:中年の姿に変換します
  • 控えめな加齢:わずかな年齢変化を加えます(5~10年)
  • 大幅な加齢:大きな年齢変化を加えます(30~50年)
  • 映画向けの若返り:動画・映画制作向けのプロ仕様の若返りを行います
  • 年齢のタイムライン:複数の年齢の姿を順番に生成します

クイックスタート

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": "Age this person to look 70 years old while maintaining their recognizable features"}],
    "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": "Age this person by 30 years. Add realistic aging features like wrinkles, slight sagging, gray hair, and age spots while keeping their identity clearly recognizable."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/young-adult.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": "De-age this person by 25 years. Make them look younger with smoother skin, fuller hair, tighter facial features, but keep their identity intact. Natural and realistic result."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/middle-aged-person.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": "Transform this baby photo to show how they might look as a 30-year-old adult. Maintain key facial features like eye shape, nose structure, and overall face shape. Make it realistic and believable."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/baby-photo.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 this person to look like a 16-year-old teenager. Adjust facial features to teenage proportions while preserving their recognizable identity. Natural skin, youthful energy."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/adult-portrait.jpg"],
    "mode": "max"
  }'
5. シニア/高齢者版

自然な加齢の特徴を持つ、リアルな高齢者の姿を作成します。

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": "Age this person to 80 years old. Add deep wrinkles, age spots, white/gray hair, thinner skin, and natural elderly features. The result should look like a dignified senior while still being recognizable as the same person."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/young-person.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": "Transform this young adult to appear 45-50 years old. Add subtle wrinkles, slight gray at the temples, mature skin texture, and natural middle-age characteristics while maintaining their identity."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/25-year-old.jpg"],
    "mode": "max"
  }'
7. 控えめな加齢(10年)

10年間の経過に相当する、わずかでリアルな加齢を加えます。

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": "Age this person by exactly 10 years. Apply subtle, realistic aging: fine lines around eyes and mouth, slightly less elastic skin, minimal gray hair starting to show. Keep changes believable and natural."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/current-photo.jpg"],
    "mode": "max"
  }'
8. 大幅な加齢(40年)

40年間にわたる大幅な加齢変化を加えます。

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": "Age this 25-year-old by 40 years to look 65. Apply dramatic but realistic aging: significant wrinkles, sagging skin, gray/white hair, age spots, thinning hair, jowls. Result should be photorealistic and the person should still be recognizable."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/young-adult-25.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": "De-age this actor to look 25 years younger for a film flashback scene. Remove wrinkles, tighten facial features, restore hair color and volume, create smooth youthful skin. Result must be cinematic quality, photorealistic, and maintain perfect identity consistency."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/actor-current.jpg"],
    "mode": "max"
  }'
10. 年齢の変化のタイムライン(複数の年齢)

セッションの連続性を保ちながら、複数の年齢の姿を生成します。

# First request - Age to 40
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": "This is a 20-year-old. Create an age progression showing them at 40 years old. Maintain identity throughout."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/person-age-20.jpg"],
    "session_id": "age-timeline-project-001",
    "mode": "max"
  }'

# Second request - Age to 60 (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 show the same person at 60 years old. Continue the aging progression naturally from the 40-year-old version."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "age-timeline-project-001",
    "mode": "max"
  }'

# Third request - Age to 80 (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": "Finally, show them at 80 years old. Complete the age timeline with realistic elderly features."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "age-timeline-project-001",
    "mode": "max"
  }'

ベストプラクティス

リアルな結果を得るには
  • 高品質な元写真:鮮明で、正面を向き、十分な明るさのポートレートを使用します
  • 年齢を具体的に指定:「年上にする」よりも「65歳にする」と指定するほうが効果的です
  • 同一人物らしさの維持を指定:認識可能な特徴を保つよう、必ず依頼します
  • 加齢の特徴を説明:具体的な詳細を指定して変換の方向性を示します
入力写真のガイドライン
  • 解像度:高解像度の写真ほど、より良い結果が得られます
  • 照明:均一でニュートラルな照明が最適です
  • 角度:正面を向いたポートレートが理想的です
  • 表情:無表情のほうが自然に変換できます
  • 顔を覆うもの:サングラス、濃いメイク、顔を覆うものは避けます
プロンプトのヒント

年齢変換を依頼する際は、以下を含めます。

  1. 現在の年齢(分かる場合):「この30歳の人物を……」
  2. 目標年齢:「……70歳に見えるように」
  3. 加齢の特徴:「しわ、白髪、シミを加えて……」
  4. 本人らしさに関する指定:「……本人と分かる特徴を保ちながら」
  5. 品質要件:「フォトリアルな仕上がり」
プロンプトの構成例
"Transform this [current age]-year-old to look [target age] years old.
Add [specific aging/de-aging features].
Maintain their identity and recognizable features.
[Additional requirements like lighting, style, etc.]"

モードの選択

モード最適な用途速度品質
max最終出力、プロの作業、映画・動画遅い最高
ecoクイックプレビュー、テスト、反復作業速い良好

推奨:eco モードでプロンプトをテストして調整してから、最終的な高品質の出力には max に切り替えてください。

複数ターンでの調整

session_id を使うと、年齢変換を繰り返し調整できます。

# Initial transformation
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": "Age this person to 70 years old"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/portrait.jpg"],
    "session_id": "age-refinement-001"
  }'

# 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": "Add more prominent wrinkles and make the hair completely white"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "age-refinement-001"
  }'

# Further adjustment
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": "Keep the aging but make the expression warmer, add smile lines"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "age-refinement-001"
  }'

一般的なユースケース

ユースケース推奨されるアプローチ
エンターテインメント/お楽しみeco モードで素早く老化・若返りさせます
映画/動画の VFXmax モードと詳細なプロンプトで俳優を若返らせます
行方不明者幼少期からの成長後の姿を予測し、重要な特徴を保持します
家族向けプロジェクト「80歳になったらどんな姿になる?」といった質問
法医学的な視覚化人物の同一性を重視した、専門的な成長後の姿の予測
ビフォー/アフターのコンセプトスキンケアや健康の視覚化向けに、さりげなく老化させます

エラー処理

エラー原因解決策
Failed to create prediction: HTTP 422残高不足eachlabs.ai でチャージします
人物の同一性が十分に保たれないプロンプトが曖昧特徴を維持するよう具体的に指定します
不自然な老化老化の詳細が不足具体的な老化の特徴を説明します
タイムアウト生成が複雑クライアントのタイムアウトを最低 10 分に設定します

関連スキル

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

コメント