Avatar Makerのロゴ

Avatar Maker

コミュニティ
Mikefluff
avatar-maker

Turn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'.

概要

公開者Mikefluff
リポジトリskills
スキル名avatar-maker
スター
26
フォーク
2
同梱ファイル
5
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    MikefluffがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルAvatar MakerをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Mikefluff/skills/tree/main/skills/avatar-maker
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/avatar-maker .claude/skills/avatar-maker
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAvatar Makerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にAvatar Makerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Avatar Makerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Distinct from flyer-maker / carousel-builder:

  • Single subject focus (the face). No event details, no narrative split, no embedded text.
  • Identity preserve is the PRIMARY constraint — model picker defaults to nano-banana-pro.
  • Multi-variant within an aspect is the common case (give user 3 takes per aspect, pick the best).

This skill does NOT:

  • Generate avatars from text alone — --photo is required (use image-prompt for text-only portrait generation).
  • Render text overlays (name / handle / title) — avatars are visual only. Add text in your design tool if needed.
  • Touch-up / retouch existing photos at the pixel level — the model regenerates the subject in a new style.
  • Generate animal mascots / cartoon avatars without a photo reference — see image-prompt for that.
  • Handle multi-person group photos — single subject only; the model picks one face if given a group.

ROLE

Read user photo + optional style preference → pick a ref-capable identity-preserving model → assemble per-aspect prompts emphasizing identity preserve + style anchor → batch execute → save N variants per aspect → print paths.

PIPELINE

  1. Resolve photo (required):

    • --photo <path-or-url>: local file or remote URL.
    • Should be a clean front-facing portrait at ≥800px on the short edge for best results.
  2. Resolve style:

    • --style auto: picks photoreal-friendly styles from carousel library (kinfolk-minimal, photo-editorial-bw, gradient-mesh-modern, dark-academia, …) — avoids illustration / 3D styles where identity gets lost.
    • --style <library-id>: explicit library entry. Uses the Style anchor (carousel) block.
    • --style-mod "<override>": tweak.
  3. Pick model:

    • --model auto: defaults to nano-banana-pro (best identity preserve).
      • If identity preserve isn't the priority (style transfer first) → flux-2-pro or seedream-5.
      • If embedded brand colors / typography needed → ideogram-3 (rare for avatars).
    • --model <slug>: override.
    • ONE model across all aspects + variants.
  4. Build per-aspect prompts:

    <style anchor (carousel)>
    
    Portrait of the person from the reference image. Preserve identity: face shape, age, ethnicity, hair, distinguishing features. Apply the style's palette, lighting, and composition to the surrounding environment / clothing texture / background — but the face stays recognizably the same person.
    
    Framing: <aspect-specific>
    Aspect ratio: <ratio>
    Size: <pixel dimensions>
  5. Estimate cost + confirm — aspects × variants × per-image cost. Default 1 aspect × 3 variants × $0.05 = $0.15. Under budget.

  6. Batch execute — common.runners.batch.run_batch(). Parallelism 3.

  7. Output:

    ./generated/avatar/<slug>/
      square-v1.png ... square-v<N>.png   (1080×1080)
      cover-v1.png ... cover-v<N>.png      (1080×1350, if requested)
      story-v1.png ... story-v<N>.png      (1080×1920, if requested)
      manifest.json
      style-used.md
      prompts.md

MODES

Required

  • avatar-maker --photo <path-or-url>

Style

  • --style auto|<library-id> — visual style (default: auto, picks photoreal-friendly)
  • --style-mod "<override>" — tweak the anchor

Aspect + variants

  • --aspects square,square-tight,cover,story — comma list (default: square)
  • --variants N — variants per aspect (default 3 — sweet spot for picking the best)
  • --slug <name> — output directory slug (default: derived from photo filename)

Execution

  • --model auto|<slug> — image provider (default nano-banana-pro)
  • --execute — actually generate (else returns prompts)
  • --output <dir> — custom output dir
  • --parallelism N — concurrent API calls (default 3)
  • --yes — skip cost confirmation
  • --resume — retry failed variants
  • --prompts-only — dry run, save prompts.md, exit
  • --cost-only — print total cost, exit
  • --strict — exit if --model <slug> can't handle photo refs

REFERENCES (load on demand)

FileWhen to load
references/model-picker.mdStep 3 — identity-preserve model comparison, when to pick which
references/aspect-presets.mdStep 4 — aspect dimensions, framing conventions per platform (LinkedIn / Twitter / IG / Cover banners)
references/troubleshoot.mdWhen face doesn't look like the original / style overpowers identity / variants look identical

EXAMPLES

See examples/before-after.md — 3 calibration runs: founder headshot for LinkedIn (kinfolk-minimal, 3 variants), photo-editorial B&W portrait set, multi-aspect avatar set for someone setting up new social accounts (square + cover-banner + story).

CONSTRAINTS

  • Identity preserve is paramount. Nano Banana Pro is the safest pick. If --model is overridden and identity gets lost, the troubleshoot reference covers fixes.

  • Use a clean source photo. ≥800px on the short edge. Front-facing or 3/4. Even lighting. Avoid heavy shadow / backlight / partial occlusion.

  • No mid-image text. Avatars are visual-only. Don't add --title or similar.

  • Default 3 variants per aspect. Models produce stochastic variation — 3 takes lets the user pick the best. Past 5, diminishing returns.

  • One model across the run. Mixing providers breaks consistency.

  • One style across the run. Same anchor across all aspects + variants.

  • Photoreal-friendly styles win. Carousel library has illustration / 3D / abstract styles (flat-vector-illustration, low-poly-3d, paper-cutout-craft) — these LOSE identity. --style auto filters them out. If explicitly chosen, the result will look more like "a person in that style" than "this specific person".

  • Cost confirm ONCE per batch. Sum across aspects × variants.

  • Output slug derived from photo filename by default. Override via --slug or --output.

  • Manifest updates after every variant. --resume retries failed only.

  • Photo can be local or URL. Provider routes accordingly.

  • Never print API keys. Mask in errors.

  • Output dir is ./generated/avatar/<slug>/ by default.

INVOCATION HINTS

When the user says any of:

  • "make me an avatar / profile pic from this photo"
  • "headshot variants", "portrait variants"
  • "LinkedIn profile picture", "Twitter profile pic", "Instagram avatar"
  • "professional headshot", "business portrait"
  • "branded avatar set" (variants in different aspects for cross-platform consistency)
  • "сделай аватарку / портрет / хедшот"
  • "профиль для LinkedIn / Twitter / IG"
  • "аватарка с моей фоткой"

Defaults: --aspects square --variants 3 --style auto --model nano-banana-pro. Without --execute, returns prompts; with --execute, generates.

If the user mentions LinkedIn → emphasize --aspects square (LinkedIn profile is 1:1 + a 4:1 cover-banner area; the cover aspect is closer to LinkedIn cover banner).

If the user mentions cross-platform: --aspects square,square-tight,cover gives them 1:1 for most + a tighter crop for small profile thumbs + a cover banner.

This skill is distinct from:

  • flyer-maker — that's events with embedded text; this is identity-preserved portraits
  • image-prompt — that's any image; this is specifically photo-input → variant portraits
  • carousel-builder — that's narrative slides; this is variants of one subject

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Avatar Maker」では何ができますか?

Turn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'.

TypingMindでAvatar Makerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Avatar Makerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAvatar Makerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Mikefluff/skills/tree/main/skills/avatar-makerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Avatar Makerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Avatar Makerは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAvatar Makerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Avatar Maker」は無料ですか?

はい。MikefluffがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇