Index of every page on this site: llms.txt
All skills
superstone-han avatar

/nanobanana-prompt-writer

@f5f9792
Run it yourself

Nano Banana(Gemini のネイティブ画像生成)向けに、用途(ロゴ/EC物撮り/サムネ/ステッカー/文字入り/ミニマル/差分編集/参照画像固定など)をヒアリングし、 "タグ盛り"ではなく撮影・制作ブリーフ形式で一貫性の高い高品質プロンプトを作るSkill。 ユーザーが「nanobananaで画像生成のプロンプトを作って」「Gemini画像生成の高品質プロンプト」「編集で詰めたい」「参照画像で同一性を保ちたい」等を求めたときに発動する。

Use this Skill: https://skilld.dev/gh/superstone-han/dotfiles/nanobanana-prompt-writer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

resourcesreferences.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Nano Banana 参照情報

公式ドキュメントとベストプラクティスの参照リンク・要点まとめ。


公式ドキュメント

Google AI Developer Docs

  • Image Generation Overview
    • モデル: gemini-2.5-flash-image / gemini-3-pro-image-preview
    • SynthID watermark が全生成画像に入る
    • imageConfig.aspectRatio でアスペクト比指定可能

Nano Banana Pro Prompting Guide


モデル比較

項目 Flash (gemini-2.5-flash-image) Pro (gemini-3-pro-image-preview)
速度 速い 遅め
コスト 低い 高い
文字精度 中程度 高い
複雑な指示 中程度 高い
参照画像枚数 3枚程度 5枚(最大14枚)
推奨用途 ラフ案量産、イテレーション ロゴ、文字入り、最終仕上げ

プロンプティング原則(公式推奨)

1. Describe the Scene(シーンを説明)

タグ羅列ではなく、シーン全体を文章で説明する。

2. Be Hyper-Specific(具体的に)

曖昧な指示は避け、年齢/服/素材感/時間帯など詳細を入れる。

3. Control the Camera(撮影言語で制御)

shot type / angle / lens / DoF などカメラ用語で構図を指定。

4. Provide Context and Intent(文脈と意図)

用途(EC用、サムネ用、ポスター下地)を明示する。

5. Semantic Negative Prompts(意味的な否定)

no xxx ではなく「xxxが存在しない状態」「背景がクリーンで単色」のように書く。

6. Iterate and Refine(会話で微修正)

当たりが出たらリロールせず、差分指示で詰める。


用途別の推奨設定

ロゴ/文字入り

  • モデル: Pro 推奨
  • aspectRatio: 1:1 または 16:9
  • 注意: 文字は引用符で固定、崩れる場合は2段階生成

EC/物撮り

  • モデル: Flash でラフ → Pro で仕上げ
  • aspectRatio: 1:1(正方形)または 4:5(Instagram向け)
  • 注意: 背景は白/グラデ、余白でテキスト領域確保

サムネ/ポスター下地

  • モデル: Flash でラフ → Pro で仕上げ
  • aspectRatio: 16:9(YouTube)または 9:16(縦型)
  • 注意: ネガティブスペースを明示的に指定

ステッカー/アイコン

  • モデル: Flash で十分
  • aspectRatio: 1:1
  • 注意: 背景透明、線の太さ・塗りスタイルを明示

写実/シネマティック

  • モデル: Flash でラフ → Pro で仕上げ
  • aspectRatio: 16:9 または 21:9
  • 注意: レンズ/絞り/被写界深度を撮影言語で指定

編集時の注意事項

権利に関する注意

  • 自分が権利を持つ画像のみを入力すること
  • 他人の著作物、肖像権のある画像は使用しない
  • 生成物の商用利用は利用規約を確認

編集の基本パターン

  1. 追加(Add): 元画像に要素を追加
  2. 削除(Remove): 元画像から要素を削除
  3. 変更(Change): 元画像の一部を変更

編集プロンプトの書き方

Keep everything the same as the input image except:
- Change: [変更内容]
- Add: [追加内容]
- Remove: [削除内容]
Maintain consistent lighting, perspective, and style with the original.

参照画像の活用

Identity Locking(同一性固定)

  • 「Image 1 と同じ顔を維持」と明示
  • Pro モデル推奨
  • 複数枚の同一人物画像で精度向上

Structural Control(構造制御)

  • ワイヤーフレーム/グリッド画像でレイアウト強制
  • 「Image 2 の構図に従う」と明示

Style Transfer(スタイル転送)

  • 「Image 3 のレンダリングスタイルに合わせる」
  • 色味/タッチ/雰囲気を参照画像から継承

トラブルシューティング

文字が崩れる

  1. Pro モデルに切り替える
  2. 文字を引用符で明示: Text to include (exact): "YOUR TEXT"
  3. 2段階生成: 文字のみ → 文字入り画像

同一性が維持されない

  1. Pro モデルに切り替える
  2. 参照画像を複数枚入力(同一人物の異なる角度)
  3. 「keep the face identical to Image 1」と明示

構図が安定しない

  1. 構図を詳細に指定(rule of thirds, centered, etc.)
  2. ワイヤーフレーム参照画像を入力
  3. 「place subject on left third」など位置を明示

背景がごちゃごちゃする

  1. 「simple, clean, low-detail background」と明示
  2. 「solid [color] background」と単色指定
  3. 「negative space on [direction]」と余白を指示

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8mo3 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    This skill is a prompt engineering assistant for Google's image generation tools. It provides templates and guidance for creating prompts but does not run any code or access the internet.

  • Socket8mo

    No alerts

  • Snyk8mo

    Risk: LOW · No issues

Signed by skilld at f5f9792. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 11 months ago

README badge

README badge for superstone-han/dotfiles/nanobanana-prompt-writer