Image Generationのロゴ

Image Generation

コミュニティ
sanky369
image-generation

AI画像の生成依頼を、生成にそのまま使える具体的なプロンプト仕様に変換します。FAL.aiの自動化が設定されている場合は、単一モデルfal-ai/nano-banana-proを使って画像ファイルも生成します。「画像を生成して」「Xの画像を作って」「サムネイル/ヒーロー画像/イラスト/インフォグラフィックを作成して」「この画像用のプロンプトを書いて」といった依頼や、商品写真、ソーシャルメディア用画像、ブランドロゴ以外のビジュアル制作に使用します(これらは関連する別のスキルに任せてください)。素材ごとに、被写体、スタイル、構図、照明、ムード、アスペクト比、除外条件を含むプロンプト仕様ブロックを作成します。さらにファイル名やバリエーションの規則を提示し、FAL_API_KEYが利用可能な場合はdocs/creative_cli.pyを実行して生成します。

Add to TypingMind

概要

公開者sanky369
リポジトリvibe-building-skills
スキル名image-generation
スター
31
フォーク
7
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Image Generation

Convert a fuzzy image request into prompt specs precise enough that any competent image model — and specifically fal-ai/nano-banana-pro on FAL.ai, the one model this repo's automation uses — renders what the user actually pictured. The prompt spec is the deliverable; generated files are the bonus when the automation is configured. Prime rule: never generate from a vague prompt. A weak prompt costs a generation credit and teaches you nothing; a sharp spec is reusable forever.

When to use / when not to

Use for general-purpose images: hero images, illustrations, thumbnails, infographics, textures, concept art, any one-off visual. Hand off instead when the request is really:

  • Product shots for commerce/marketing → skills/creative/product-photography
  • Platform-sized social content → skills/creative/social-graphics
  • Logos, icons, patterns, brand marks → skills/creative/brand-asset
  • No visual direction exists yet and consistency matters → run skills/creative/creative-strategist first and consume its style block
  • A whole multi-asset campaign → skills/creative/orchestrator routes it

Intake

Ask in one batch, only what's missing:

  1. Subject — what exactly is in the image? (object, scene, people, text?)
  2. Use — where does it go? (this decides aspect ratio and resolution)
  3. Style anchor — existing style guide / creative-strategist style block, reference images, or 3 adjectives for the mood?
  4. Automation — is FAL_API_KEY set so you can generate, or deliver specs only?

Infer, don't ask: aspect ratio from the stated destination (thumbnail → 16:9, story → 9:16, feed → 1:1 or 4:5); resolution from stakes (2K default, 4K hero/print, 1K drafts). Don't stall: if subject and use are clear, state your assumptions for the rest and proceed.

Workflow

  1. Check for a style block. If the user has run skills/creative/creative-strategist, reuse its style block verbatim in every prompt. If not, and this is a one-off, derive a minimal one (style + palette + mood) from context and label it an assumption.

  2. Draft the prompt with the 5-part formula. Every prompt contains, in order: subject (the main thing, specific: "a luxury leather watch with gold accents", never "a watch") → descriptive detail (materials, colors, text to render) → style ("professional product photography", "flat modern illustration", "photorealistic") → technical treatment (lighting, composition, focus, "4K, highly detailed") → mood ("warm and inviting"). Add negative constraints as plain prohibitions ("no text overlay", "no watermark", "no busy background").

  3. Decide variant strategy. If it's a throwaway draft → 1 image at 1K. If it's a keeper asset → propose 3–4 genuinely distinct prompt specs (different composition or style angle, not synonym swaps), generate 1 of each or num_images 3–4 of the winner, and have the user pick. Never present one option for a hero asset.

  4. Generate or deliver. If FAL_API_KEY (or FAL_KEY) is set:

    bash
    python docs/creative_cli.py custom \
      --category "<category>" --name "<asset-name>" \
      --prompt "<full prompt>" \
      --aspect-ratio 16:9 --resolution 2K --num-images 3

    Use --web-search only when the image must reflect current real-world data (e.g. "2026 trends infographic"). If no key is set, deliver the prompt-spec blocks and the exact command the user can run later — do not fake results or claim images were generated.

  5. Review and iterate. Compare output to the spec's mood/style/negative constraints. Fix misses by editing the prompt (more specific subject, explicit lighting, stronger prohibitions) — there are no other model knobs. One iteration round maximum before checking in with the user.

Read references/automation.md before writing any generation command — it has the full, verified parameter set, CLI flags, Python helpers, and output layout.

Required output format

Deliver one block per asset (this exact structure, whether or not you generate):

## Prompt Spec — [asset name]
- **Use / destination:** [where it will live]
- **Subject:** [the main thing, concretely]
- **Style:** [artistic treatment]
- **Composition:** [framing — centered / rule of thirds / negative space / overhead]
- **Lighting:** [studio / natural golden hour / dramatic rim / high-key]
- **Mood:** [2–3 adjectives]
- **Aspect ratio:** [one of 21:9 16:9 3:2 4:3 5:4 1:1 4:5 3:4 2:3 9:16] · **Resolution:** [1K/2K/4K] · **Format:** [png/jpeg/webp]
- **Negative constraints:** [what must NOT appear]
- **Prompt (final, paste-ready):**
  > [single flowing prompt assembled from the fields above]
- **Variants:** [n] — [what varies between them]
- **File naming:** assets/<category>/<asset-name>/<asset_name>_<n>_<timestamp>.png (automation default)
- **Generate with:** `python docs/creative_cli.py custom --category ... --name ... --prompt "..." --aspect-ratio ... --resolution ... --num-images n`

If images were generated, append the saved paths under Results and say which variant you recommend and why (one line).

Quality bar

Before delivering, verify every spec:

  • Subject is concrete enough that two strangers would picture the same image
  • Style, lighting, composition, and mood are each explicitly stated — none left to model default
  • Aspect ratio matches the stated destination (no 1:1 "because default")
  • Negative constraints listed (at minimum: no watermark; state text policy explicitly — models mangle long text)
  • No invented parameters — only the ones in references/automation.md; the model is always fal-ai/nano-banana-pro
  • Keeper assets got 3+ distinct variants, not one take
  • If automation wasn't run, the deliverable says so and includes runnable commands

Hard don'ts: never claim an image was generated when it wasn't; never put brand color hex codes in quotes and hope — name the colors in words too ("deep navy #004E89"); never render paragraphs of text inside an image.

Integration

  • skills/creative/creative-strategist → feeds this skill its style block (paste into every prompt's style/mood/lighting fields).
  • skills/creative/product-photography, skills/creative/social-graphics, skills/creative/brand-asset → specialized front-ends that produce their own prompt specs and use the same automation; route there when the request fits.
  • skills/creative/product-video and skills/creative/remotion-script-writer → consume generated stills as source frames / assets.
  • references/automation.md — full FAL.ai client, CLI, and Python-helper reference. Read it whenever you're about to run a generation command.

同梱ファイル

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

よくある質問

AIスキル「Image Generation」では何ができますか?

AI画像の生成依頼を、生成にそのまま使える具体的なプロンプト仕様に変換します。FAL.aiの自動化が設定されている場合は、単一モデルfal-ai/nano-banana-proを使って画像ファイルも生成します。「画像を生成して」「Xの画像を作って」「サムネイル/ヒーロー画像/イラスト/インフォグラフィックを作成して」「この画像用のプロンプトを書いて」といった依頼や、商品写真、ソーシャルメディア用画像、ブランドロゴ以外のビジュアル制作に使用します(これらは関連する別のスキルに任せてください)。素材ごとに、被写体、スタイル、構図、照明、ムード、アスペクト比、除外条件を含むプロンプト仕様ブロックを作成します。さらにファイル名やバリエーションの規則を提示し、FAL_API_KEYが利用可能な場合はdocs/creative_cli.pyを実行して生成します。

TypingMindでImage Generationを使うメリットは何ですか?

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

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

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

Image Generationを使えるAIモデルはどれですか?

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

Image Generationで使えるAIモデルの数に制限はありますか?

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

AIスキル「Image Generation」は無料ですか?

はい。sanky369がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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