Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Nano Banana JSON Prompting

    1

    Turns plain image requests into structured JSON prompts for Gemini's Nano Banana image models, then generates and files the images by category.

    Free

    2 usesSecurity scanned

    Nano Banana JSON Prompting

    Example session with this skill installed

    Make a luxury cologne ad shot: a dark glass bottle called AQUA NOIR on wet rocks by the sea at twilight.

    • Read your context and instructions
    • Compiled the nano banana json
    • Generated the image

    Category: products. Saved prompts/products/cologne_oceanic_freshness.json:

    {
    "title": "Luxury Cologne Bottle - Oceanic Freshness Campaign",

      "category": "products",
      "model": "gemini-3.1-flash-image",
      "subject": {
    
    "entity": "Heavyweight square glass cologne bottle with dark metallic cap standing on wet dark basalt rock",
    "details": "Crisp micro-droplets of sea mist clinging to the cool glass surface, clear liquid inside casting caustics, clean embossed metallic lettering 'AQUA NOIR' and '100ml 3.4 FL. OZ.' on bottle face",
    "wardrobe_or_material": "Flint glass, gunmetal brushed aluminum cap, rugged volcanic basalt stone"
    
      },
      "composition": { "framing": "Three-quarters hero product shot", "camera_angle": "Low angle looking slightly upward", "lens": "90mm f/4.0 macro lens", "focus_point": "Front logo label and water beads on glass" },
      "lighting": { "type": "Moody coastal twilight mixed with a focused 5600K studio strobe kicker", "direction": "Backlit rim light with subtle front fill bounce", "shadows": "Deep moody shadows on dark wet stone" },
      "environment": { "location": "Rugged coastal shoreline at twilight", "background_elements": "Dark crashing waves with white foam spray frozen in motion" },
      "style": { "aesthetic": "High-end luxury fragrance advertising campaign", "film_stock_or_sensor": "Hasselblad H6D-100c medium format camera" },
      "technical": { "aspect_ratio": "4:5", "image_size": "2K" },
    

    "negative_prompt": "cartoon, 3d render, plastic bottle, fake water splashes, blurred branding, illegible text"
    }

    Generated with Nano Banana 2 and saved to images/products/cologne_oceanic_freshness.png: a 4:5 hero shot of the square bottle on black basalt, crisp 'AQUA NOIR' lettering, waves breaking behind it under a stormy blue sky (see the first screenshot).

    cologne_oceanic_freshness.png

    PNG · 1536×1024

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Turn a one-line image idea into a structured JSON prompt that Google's Nano Banana image models (Nano Banana 2 / Gemini 3.1 Flash Image and Nano Banana Pro / Gemini 3 Pro Image) follow closely, then generate the image and file it by category.

    Why JSON prompting: plain-text prompts leave lens, light, materials and framing up to chance, which is where the waxy skin, mushy text and random compositions come from. This skill makes your agent spell all of that out field by field, so results are realistic and repeatable across a whole shoot.

    What it does

    • Reads your request and routes it to one of 5 categories: people, products, photography, infographics, miscellaneous
    • Writes a JSON prompt with subject and micro-details, composition (framing, angle, lens, depth of field, focus point), lighting (type, direction, color temperature, shadows), environment, style (aesthetic, film stock or sensor, grading), technical settings (aspect ratio, 1K/2K/4K) and a negative prompt
    • Saves it to prompts/<category>/<name>.json and generates the image to images/<category>/<name>.png with the bundled generate.py
    • Applies domain rules: real skin texture for portraits, materials and hero lighting for products, exact labels and optional Google Search grounding for infographics

    What's included: SKILL.md with the schema and rules, generate.py, a master reference guide (lenses, apertures, lighting setups, material tokens, aspect ratios, negative-prompt bank) and 4 example prompts (luxury cologne ad, photosynthesis infographic, two skincare portraits).

    How it runs: your agent can generate through Agensi's built-in Nano Banana tools (no API key needed, pay per image), or run generate.py locally with your own Gemini API key.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.

    Does not edit, retouch or upscale existing images; it creates new ones from prompts (reference images are supported as guidance only). Realistic people and hands can still come out imperfect and may need a re-roll. Every image is a paid generation, either through Agensi tools or your own Gemini API usage.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    2 uses

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Accounts
    Google AI
    Gemini API key
    orAgensi balance
    Software
    Python 3.9+ (local generation only)

    Permissions

    Allowed Hosts

    generativelanguage.googleapis.com

    File Scopes

    prompts/
    images/
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    No. Describe the image in plain language and your agent writes the JSON and generates it. You only touch Python if you want to run generate.py yourself.

    Nano Banana 2 (gemini-3.1-flash-image) is the default: fast, cheaper and strong at text and diagrams. Switch to Pro (gemini-3-pro-image) for the most demanding hero shots, via the model field or the --model flag.

    Yes. Add file paths under technical.reference_images in the JSON and generate.py sends them with the prompt.

    Prompts go to prompts/<category>/<name>.json and images to images/<category>/<name>.png, so every image keeps the exact prompt that made it.

    New in Image & Video

    Free