explaingit

dharani2201-mini/nano-banana-prompting

Analysis updated 2026-05-18

1Audience · vibe coderComplexity · 1/5LicenseSetup · easy

TLDR

A collection of JSON prompt templates and techniques for keeping AI-generated character images consistent and photorealistic in Nano Banana.

Mindmap

mindmap
  root((Nano Banana Prompting))
    What it does
      Identity lock prompts
      Anti AI realism rules
      Ready made templates
    Tech stack
      JSON
      Nano Banana
      Claude Code skill
    Use cases
      Consistent character images
      Photorealistic portraits
      Video reference stills
    Audience
      Vibe coders
      Content creators
    License
      MIT

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Keep a character's face and appearance consistent across many AI image generations.

USE CASE 2

Reduce the plastic, overly smooth look common in AI-generated portraits.

USE CASE 3

Generate a consistent still image to use as a reference for video generation tools.

USE CASE 4

Copy a ready-made JSON template as a starting point for a new character or scene prompt.

What is it built with?

JSONGeminiClaude Code

How does it compare?

dharani2201-mini/nano-banana-prompting0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScript
Setup difficultyeasyhardeasy
Complexity1/54/52/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Just JSON templates to copy and edit, requires access to Nano Banana or a similar image generation model to use them.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

Nano Banana Prompting is a collection of JSON prompt templates for Nano Banana, Google's Gemini based image generation model, and other structured image generators. It is not code you install and run, it is a set of prompt patterns and guides meant to solve two common problems people run into with AI generated images: the same character's face changing between different generations, and images having a plastic, overly smoothed, obviously AI-made look. The repository is organized into a few folders. A SKILL.md file explains the full method and is written so it also works as a Claude Code skill. An examples folder has several complete, ready to copy prompts, including a before and after comparison showing a normal prompt next to one built with this project's approach. A templates folder has starter JSON files with placeholders a user fills in for their own character or scene, and a guides folder explains the two main techniques in more detail. The first technique is an identity_lock block inside the JSON prompt, which describes a character's specific features, such as hair, skin, and any small distinguishing details, along with a list of things to preserve and a list of rules like no face swap or no beautify. The idea is that vague descriptions produce a different looking person every time, while specific, repeated details keep the same character recognizable across many generations. The second technique combines positive realism_rules describing imperfections a real photo would have, such as visible skin texture or harsh sunlight, with a negative_prompt list explicitly banning things like porcelain skin or a beauty filter look. The README notes that this format is for still images only, and suggests generating a still first, then feeding it into a video model like Veo 3, Sora, or Kling as a reference image, since those tools tend to work better with prose prompts rather than JSON. The project can also be installed directly as a Claude Code skill by cloning it into the user's skills folder. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me fill in the character-locked-template.json from nano-banana-prompting for my own character description.
Prompt 2
Explain how the identity_lock block in these templates keeps a character's face consistent across generations.
Prompt 3
Show me how to combine realism_rules and negative_prompt to make a Nano Banana image look less AI-generated.
Prompt 4
Walk me through turning a still image made with these templates into a Veo 3 video reference.

Frequently asked questions

What is nano-banana-prompting?

A collection of JSON prompt templates and techniques for keeping AI-generated character images consistent and photorealistic in Nano Banana.

What license does nano-banana-prompting use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is nano-banana-prompting to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is nano-banana-prompting for?

Mainly vibe coder.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.