How to Write Nano Banana JSON Prompts

Use JSON-style prompt blocks to separate subject, scene, reference rules, camera, lighting, constraints, and safety notes before you generate or edit images in Try Banana AI.

Image Generator

Paste a structured prompt into the generator

Start with one of the JSON templates below, replace the bracketed fields with your own subject and constraints, then generate a safe visual draft.

0 / 2000

Try a prompt:

JSON prompts turn a vague idea into a reviewable image brief

A JSON prompt is not magic syntax or an official Nano Banana API requirement. It is a disciplined way to write image instructions so every important choice has a field, a limit, and a review point.

Separate intent from decoration

Keep the job, subject, scene, style, camera, lighting, and output rules in their own fields instead of hiding them inside one long sentence.

Make edits easier

When a result is close, update only the field that failed, such as camera angle, background, reference rule, text zone, or negative constraints.

Keep safety visible

Put brand, identity, NSFW, fake affiliation, and claim boundaries inside explicit constraints so they are not forgotten during reuse.

Reuse across prompt pages

Use the same JSON skeleton for product photos, photo edits, reference prompts, posters, jewelry images, characters, and general Nano Banana prompts.

A safe Nano Banana JSON prompt template

Use this field order when you need a structured prompt that can be copied, reviewed, localized, and adapted without turning into an unsafe prompt dump.

task

Name the real image job: product photo, reference edit, poster concept, character design, thumbnail draft, background swap, or prompt exploration.

subject

Describe the owned, licensed, fictional, or client-approved subject. Avoid celebrities, private people, protected characters, and official-brand clones.

reference_rules

If a reference image is involved, list what to preserve, what may change, and which details must not be inferred or exaggerated.

scene_style_camera

Break visual direction into scene, composition, lens, lighting, material, mood, crop, and channel instead of relying on vague style words.

constraints

State no NSFW, no fake affiliation, no trademark misuse, no counterfeit claims, no misleading badges, no false certification, and no unsupported proof.

output_check

Add a short review checklist so the generated result can be judged before publishing, using, or turning it into a paid asset.

Copy-adapt examples

12 JSON prompt templates for Nano Banana workflows

Each block is written as a structured brief. Replace bracketed values, keep the safety fields, and route the final version into the generator or image-to-image editor.

JSON template 1

Core image generation brief

Turn a general image idea into a structured first draft.

{
  "task": "generate_image",
  "subject": "[original subject or object]",
  "goal": "create a polished visual draft for [channel]",
  "scene": "[setting, background, and context]",
  "composition": "[framing, crop, focal point]",
  "style": "[broad visual direction, not a living artist or protected brand style]",
  "lighting": "[time of day, contrast, shadow softness]",
  "constraints": ["no NSFW", "no protected logo copy", "no fake affiliation", "no public figure likeness"],
  "output_check": ["subject is clear", "scene matches the task", "no misleading claims"]
}

It forces the prompt to name the job, visual choices, and safety boundaries before generation.

Adjust these fields

  • - subject
  • - channel
  • - composition
  • - lighting
  • - constraints
JSON template 2

Product photo JSON prompt

Create ecommerce-safe product imagery for owned or authorized products.

{
  "task": "product_photo",
  "subject": "[owned or authorized product type]",
  "preserve": ["shape", "material", "label area", "key product features"],
  "scene": "clean [studio/lifestyle] background for [store or ad channel]",
  "camera": "three-quarter angle, realistic scale, product centered",
  "lighting": "soft commercial studio light with natural shadow",
  "constraints": ["no fake marketplace badges", "no third-party logos", "no unsupported performance claims", "do not alter product features"],
  "output_check": ["product remains accurate", "background supports the channel", "claims are not invented"]
}

It protects product truth while still giving the model enough direction for a usable product-photo draft.

Adjust these fields

  • - product type
  • - background
  • - store channel
  • - preserve list
  • - claim limits
JSON template 3

Image-to-image edit JSON prompt

Edit an uploaded or referenced image while preserving approved details.

{
  "task": "image_to_image_edit",
  "reference_use": "use my authorized image as the visual reference",
  "keep": ["main subject identity if fictional or authorized", "pose", "key colors", "important object details"],
  "change": ["background to [new setting]", "lighting to [direction]", "crop to [format]"],
  "do_not_change": ["body shape", "private identity", "product facts", "logos or labels unless provided and authorized"],
  "constraints": ["no adult edits", "no deceptive before-after proof", "no public figure imitation", "no fake endorsement"],
  "output_check": ["kept fields stayed stable", "changes are limited", "no private or misleading transformation"]
}

The keep/change split makes the edit brief auditable and reduces accidental identity, product, or claim drift.

Adjust these fields

  • - keep fields
  • - change fields
  • - reference rights
  • - crop
  • - do_not_change list
JSON template 4

Reference consistency JSON prompt

Use references for visual control without promising pixel-perfect consistency.

{
  "task": "reference_guided_image",
  "reference_rights": "owned, licensed, client-approved, or fictional reference",
  "stable_anchors": ["silhouette", "color palette", "material texture", "key accessory", "overall mood"],
  "allowed_changes": ["background", "lighting", "camera angle", "layout format"],
  "scene": "[new scene] while preserving the stable anchors",
  "constraints": ["no private person imitation", "no celebrity likeness", "no protected trade dress copying", "no consistency guarantee"],
  "output_check": ["anchors are recognizable", "changes are allowed", "result is not presented as proof"]
}

It frames reference use as controlled guidance, not identity cloning or official model behavior.

Adjust these fields

  • - stable anchors
  • - allowed changes
  • - scene
  • - rights statement
  • - review checklist
JSON template 5

Poster layout JSON prompt

Draft layout-aware poster visuals before adding verified copy.

{
  "task": "poster_concept",
  "event_or_offer": "[verified event, launch, or campaign topic]",
  "visual_theme": "[original theme and mood]",
  "layout": {"format": "[square/portrait/landscape]", "text_zone": "leave [area] clean for approved copy"},
  "elements": ["original shapes", "non-branded props", "safe background motif"],
  "constraints": ["no fake sponsor logos", "no false organizer approval", "no ticketing proof", "no mature or unsafe content"],
  "output_check": ["copy area is usable", "claims are verified separately", "no invented badges"]
}

It separates visual ideation from factual copy, sponsors, and approval claims.

Adjust these fields

  • - format
  • - text zone
  • - campaign topic
  • - visual motif
  • - claim constraints
JSON template 6

Character concept JSON prompt

Create original character or mascot prompts safely.

{
  "task": "character_concept",
  "character_type": "original [mascot/avatar/game NPC]",
  "personality": "[friendly, calm, bold, curious]",
  "visual_traits": ["[shape language]", "[color palette]", "[outfit or prop]"],
  "pose_scene": "[pose] in [fictional setting]",
  "constraints": ["fictional character only", "no celebrity or private person likeness", "no protected IP copy", "no adult/NSFW character framing"],
  "output_check": ["character is original", "traits match the brief", "no recognizable protected character"]
}

It keeps the character brief original and reusable without leaning on protected IP or identity imitation.

Adjust these fields

  • - character type
  • - personality
  • - traits
  • - pose
  • - IP boundary
JSON template 7

Jewelry product JSON prompt

Structure high-detail jewelry prompts without fake appraisal or authenticity claims.

{
  "task": "jewelry_product_image",
  "item": "[ring/necklace/earrings/bracelet]",
  "material_finish": "[approved metal color, finish, texture]",
  "stone_detail": "[stone color, cut, setting] if known; otherwise describe visual color only",
  "scene": "macro product photo on [surface] with controlled reflections",
  "camera_lighting": "close-up lens, crisp highlights, soft shadows",
  "constraints": ["no counterfeit luxury styling", "no fake certificate", "no carat or purity claim unless verified", "no official designer affiliation"],
  "output_check": ["visual draft only", "materials are not overclaimed", "no fake authenticity proof"]
}

It captures jewelry detail while keeping the output inside visual drafting boundaries.

Adjust these fields

  • - item type
  • - material finish
  • - stone detail
  • - surface
  • - verified claim limits
JSON template 8

Social ad creative JSON prompt

Generate campaign-safe visual concepts for owned offers.

{
  "task": "social_ad_visual",
  "offer": "[verified product, service, or creator offer]",
  "audience": "[target viewer]",
  "scene": "[original visual metaphor or lifestyle context]",
  "format": "[platform ratio] with room for approved headline",
  "style": "clean modern ad visual, no protected brand imitation",
  "constraints": ["no fake testimonials", "no false scarcity", "no unverified results", "no misleading platform badges"],
  "output_check": ["offer remains truthful", "space for copy exists", "no deceptive proof elements"]
}

It keeps ad visuals separate from claims that need human review and proof.

Adjust these fields

  • - offer
  • - audience
  • - platform ratio
  • - headline space
  • - claim controls
JSON template 9

Thumbnail JSON prompt

Create safe YouTube or article thumbnail drafts with controlled focal points.

{
  "task": "thumbnail_visual",
  "topic": "[video or article topic]",
  "main_visual": "[original object, scene, or fictional character]",
  "emotion": "[clear but not deceptive expression or mood]",
  "layout": "bold focal point, clean negative space for title overlay",
  "color": "[high contrast palette]",
  "constraints": ["no public figure likeness", "no fake shock event", "no medical or financial proof claims", "no protected character copy"],
  "output_check": ["topic is readable", "title zone is clear", "visual is not misleading"]
}

It creates an attention-focused brief while avoiding deceptive or identity-based thumbnail tactics.

Adjust these fields

  • - topic
  • - main visual
  • - emotion
  • - layout
  • - claim boundaries
JSON template 10

Background replacement JSON prompt

Replace or clean a background without changing the subject facts.

{
  "task": "background_replacement",
  "reference_use": "authorized subject image",
  "keep": ["subject shape", "scale", "key color", "visible details"],
  "replace_background_with": "[new safe background]",
  "lighting_match": "match shadows and reflections to the new scene",
  "constraints": ["do not alter product facts", "do not add third-party logos", "do not create fake location proof", "no adult or unsafe setting"],
  "output_check": ["subject facts unchanged", "background is plausible", "no false context is implied"]
}

It controls the most common edit request without allowing the background to create false context.

Adjust these fields

  • - new background
  • - lighting match
  • - subject details
  • - false-context limits
JSON template 11

Logo concept JSON prompt

Explore original logo directions without copying protected marks.

{
  "task": "logo_concept",
  "brand_use": "original concept exploration for [project/category]",
  "symbol_idea": "[abstract shape or metaphor]",
  "typography_direction": "[broad type personality], not a copied brand wordmark",
  "palette": "[approved colors]",
  "constraints": ["no existing brand clone", "no certification badge", "no fake partnership", "not legal trademark clearance"],
  "output_check": ["mark is original", "no protected logo resemblance", "ready for human designer review"]
}

It treats generated marks as ideation, not trademark-ready assets or official badges.

Adjust these fields

  • - category
  • - symbol idea
  • - typography direction
  • - palette
  • - legal boundary
JSON template 12

Troubleshooting JSON prompt

Improve a weak generation by editing one prompt field at a time.

{
  "task": "prompt_revision",
  "previous_issue": "[blurry subject / wrong crop / extra objects / unsafe brand cue / text zone missing]",
  "keep_from_previous": ["[successful element 1]", "[successful element 2]"],
  "revise_only": "[specific field to change]",
  "new_instruction": "[clear replacement instruction]",
  "constraints": ["do not add unsafe workaround", "do not imitate protected brands", "do not invent proof or approval"],
  "output_check": ["issue improved", "kept fields remained stable", "no new safety risk introduced"]
}

It avoids rewriting the whole prompt after every failed result and makes iteration more measurable.

Adjust these fields

  • - previous issue
  • - keep list
  • - single field revision
  • - new instruction
  • - safety regression check

Risk cleanup

Rewrite risky JSON prompts before you generate

The structure should make unsafe intent easier to catch. These rewrites keep the useful task while removing NSFW, fake affiliation, trademark misuse, and unsupported proof.

Fake affiliation to independent concept

Do not use

{"task":"poster","style":"official protected phone brand launch poster","include_logos":["protected phone brand logo"],"claim":"sponsored event"}

Safer structured version

{"task":"poster_concept","visual_theme":"minimal tech product launch mood","brand_use":"original fictional campaign","constraints":["no protected logo","no official affiliation","no fake sponsor claim"]}

The safer version keeps the clean launch aesthetic but removes protected logos and false sponsorship.

Trademark copy to original product styling

Do not use

{"task":"product_photo","subject":"famous sports-brand-style sneaker with protected side mark","goal":"make it look official"}

Safer structured version

{"task":"product_photo","subject":"original athletic shoe concept","style":"clean studio footwear photo","constraints":["no protected side mark","no brand clone","no official product claim"]}

It changes the request from protected trade-dress imitation to an original concept brief.

Unsupported proof to visual draft boundary

Do not use

{"task":"jewelry_image","subject":"diamond ring","claim":"certified flawless 2 carat with authenticity card"}

Safer structured version

{"task":"jewelry_product_image","subject":"fictional gemstone ring visual draft","stone_detail":"clear faceted stone appearance only","constraints":["no carat claim","no fake certificate","not appraisal proof"]}

The revised version can still create a useful jewelry visual without inventing certification or material truth.

Keep JSON structure useful, not deceptive

A structured prompt is easier to reuse, so the safety boundary must travel with the template. Keep these limits in every copied version.

Not an official schema

These templates are creator-facing prompt briefs for Try Banana AI. They are not Nano Banana provider API docs, official hidden prompts, or a model-provider schema.

No unsafe prompt dumps

Do not publish or reuse adult, NSFW, public-figure imitation, private-person identity, bypass, jailbreak, or scraped user prompt collections.

No fake affiliation or trademark misuse

Use original concepts and broad directions. Do not ask for official-brand clones, protected logos, counterfeit trade dress, fake sponsors, or implied endorsement.

No unsupported proof

Generated images are drafts. Do not present them as legal clearance, appraisal, authenticity proof, certification, marketplace approval, medical proof, or financial proof.

Workflow

How to write a JSON prompt for Nano Banana

Start broad, fill fields deliberately, generate, then revise one field at a time instead of rewriting the entire prompt.

1

Choose the task field

Pick one job: generate, image-to-image edit, reference-guided image, product photo, poster, character, logo concept, or troubleshooting.

2

Fill the subject and rights fields

Name only owned, licensed, client-approved, or fictional subjects. Keep person, brand, and claim boundaries explicit.

3

Add visual controls

Use scene, composition, camera, lighting, style, crop, and channel fields to turn the idea into an image brief.

4

Keep constraints in the template

Every reusable version should carry safety constraints and output checks, not just the attractive visual instructions.

5

Generate and revise one field

If the result misses, change the failing field and preserve the rest. This makes iteration faster and easier to compare.

Pricing

Start with a subscription or buy credits when you need them.

Sign in first, pay afterCheckout only starts after your account is ready.
Secure Creem checkoutPayment opens on the provider checkout page after sign-in.
Plans or top-upsChoose monthly credits or a one-time pack when a draft needs more.
Credit packs last 90 daysTop-ups stay available for image and video generation.

Starter

$19.90 / month
For light usage and trying things out.

Includes

  • 1,000 credits / month
  • Advanced image + video models
  • Image + Video generation
  • Standard support
Most Popular

Creator

$39.90 / month
Best for creators who generate every day.

Includes

  • 2,500 credits / month
  • Advanced image + video models
  • Image + Video generation
  • Priority support

Agency

$99.90 / month
For teams and heavy usage.

Includes

  • 7,500 credits / month
  • Advanced image + video models
  • Image + Video generation
  • Team-friendly usage

Nano Banana JSON prompts FAQ

Short answers for structured prompt writing, safety, and generator handoff.









Turn your structured prompt into an image draft

Pick a JSON template, replace the fields, keep the safety constraints, and generate a first version in Try Banana AI.