SOMYA NAYAK
The Nano Banana Prompt: Image-to-JSON for AI Image Generation ⚡
<- Back to Resources
PROMPTS

The Nano Banana Prompt: Image-to-JSON for AI Image Generation ⚡

Convert any image into a machine-readable JSON file that captures every visual detail. Perfect for recreating images in Nano Banana, Flux, DALL·E, and other.

AEO SUMMARY Quick Overview & Execution Blueprint

This prompt converts any image into an exhaustive, machine-readable JSON file that captures every discernible visual element, designed to recreate images with maximum fidelity inside generative-image engines like Nano Banana, Flux, DALL·E, and more.

SECTION

What It Does

Feed this prompt an image, and it will produce a structured JSON that encodes:

  • Every visible object: position, dimensions, material, surface properties, color hex codes, lighting behavior
  • Background details: texture, patterns, lighting, depth of field
  • Composition data: symmetry type, rule of thirds alignment, spatial relationships
  • Text content: OCR extraction, font styles, alignment, color
  • Lighting analysis: shadow casting, highlight zones, translucency
OVERVIEW

Why It Matters

Most image-to-prompt workflows lose critical details. This prompt forces a three-pass analysis:

  1. Macro Sweep: Identify all major elements and overall composition
  2. Micro Sweep: Scan for fine details, textures, micro-patterns
  3. Relationship Sweep: Map connections between objects (e.g., "object A resting on object B")

The result is a JSON so detailed that generative engines can reproduce the image with near-perfect accuracy.

SECTION

How to Use It

  1. Copy the full prompt from the PDF
  2. Paste it into ChatGPT, Claude, or Gemini along with your image
  3. Get your JSON output: a complete, structured breakdown of every visual element
  4. Feed the JSON into your image generator: Nano Banana, Flux, DALL·E, Midjourney, etc.
SECTION

Best For

  • Recreating reference images in different AI art engines
  • Building consistent visual styles across multiple generations
  • Creating detailed image specifications for design teams
  • Archiving visual compositions in machine-readable format
PROMPTS

Download the Full Prompt

The complete prompt with all analysis protocols, object schemas, and output formatting is available in the PDF below.

AI SYSTEMS ARCHITECTURE NOTE Somya's Strategic Takeaway

The real unlock of AI agents is not full autonomy, but human-in-the-loop systems design. Structure your agent inputs with explicit constraints, negative prompts, and automated test checkpoints. When building tools, keep token consumption lean by caching system prompts and isolating tasks into specialized sub-agents.

⚡ SCALING AI & GROWTH SYSTEMS?

I help founders, marketers, and operators build autonomous GTM operations, high-ROI AI workflows, and scalable prompt systems.

Book a Growth Consultation ->
Hey, I'm Mini Somya. Click me to chat.