Universal JSON Template for Editorial Product Ads

A comprehensive JSON template designed for Nano Banana Pro to automatically generate editorial-style advertisements for any product without visible logos. The template defines input requirements, image specifications, creative directives, scene generation parameters (environment, subject, product presentation), and ad copy structure.

Universal JSON Template for Editorial Product Ads

Prompt

{ "project": "Nano Banana - Universal Product Editorial Ad", "version": "1.1", "input_requirements": { "reference_product_image": { "upload_required": true, "usage": "extract visual characteristics, color palette, possible target user, and implied purpose" }, "branding_elements": { "allowed": false, "description": "no visible logos, trademarks, or brand names in the generated result" } }, "image_specification": { "meta": { "clean_generation": true, "distraction_free": true } }, "creative_directive": { "freedom_level": "full_creative_imagination", "Nano_Banana_role": "interpret product essence to design the rest of the scene", "editorial_intent": "produce a visually compelling advertisement based solely on the product reference" }, "scene_generation": { "environment": { "type": "indoor_or_outdoor", "chosen_by": "best_use_case_for_product", "lighting": { "selection_method": "depends_on_product_use_case", "goal": [ "enhance product visibility", "create a clean editorial mood", "support emotional impact" ] } }, "subject_character": { "identity": "derived_from_product_reference", "gender": "male_or_female", "attributes_selection": [ "style_inspired_by_product_color_palette", "personality_inferred_from_product_category", "age_and_vibe_matching_intended_audience" ], "pose": "chosen_by_creative_engine", "interaction_with_product": "natural and meaningful" }, "product_presentation": { "visibility": "clear", "placement": "hero_position", "integration": "harmonized with entire composition" } }, "ad_copy": { "text": { "placement": "editorial_style_overlay", "tone": "clean, modern, descriptive", "content": "short metaphorical line describing the product’s essence and purpose without naming a brand" } }, "render_style": { "aesthetic": "editorial_magazine_ad", "resolution": "high_detail", "color_grading": "optimized_based_on_product_visuals", "medium": "photorealistic" } }

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

咖啡馆旅行手账分栏页 Not specified gpt-image-2
日系 Chibi 互动小插画 Not specified gpt-image-2
动漫动作短片设定分镜板 Not specified gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"project\": \"Nano Banana - Universal Product Editorial Ad\",\n  \"version\": \"1.1\",\n\n  \"input_requirements\": {\n    \"reference_product_image\": {\n      \"upload_required\": true,\n      \"usage\": \"extract visual characteristics, color palette, possible target user, and implied purpose\"\n    },\n    \"branding_elements\": {\n      \"allowed\": false,\n      \"description\": \"no visible logos, trademarks, or brand names in the generated result\"\n    }\n  },\n\n  \"image_specification\": {\n    \"meta\": {\n      \"clean_generation\": true,\n      \"distraction_free\": true\n    }\n  },\n\n  \"creative_directive\": {\n    \"freedom_level\": \"full_creative_imagination\",\n    \"Nano_Banana_role\": \"interpret product essence to design the rest of the scene\",\n    \"editorial_intent\": \"produce a visually compelling advertisement based solely on the product reference\"\n  },\n\n  \"scene_generation\": {\n    \"environment\": {\n      \"type\": \"indoor_or_outdoor\",\n      \"chosen_by\": \"best_use_case_for_product\",\n      \"lighting\": {\n        \"selection_method\": \"depends_on_product_use_case\",\n        \"goal\": [\n          \"enhance product visibility\",\n          \"create a clean editorial mood\",\n          \"support emotional impact\"\n        ]\n      }\n    },\n\n    \"subject_character\": {\n      \"identity\": \"derived_from_product_reference\",\n      \"gender\": \"male_or_female\",\n      \"attributes_selection\": [\n        \"style_inspired_by_product_color_palette\",\n        \"personality_inferred_from_product_category\",\n        \"age_and_vibe_matching_intended_audience\"\n      ],\n      \"pose\": \"chosen_by_creative_engine\",\n      \"interaction_with_product\": \"natural and meaningful\"\n    },\n\n    \"product_presentation\": {\n      \"visibility\": \"clear\",\n      \"placement\": \"hero_position\",\n      \"integration\": \"harmonized with entire composition\"\n    }\n  },\n\n  \"ad_copy\": {\n    \"text\": {\n      \"placement\": \"editorial_style_overlay\",\n      \"tone\": \"clean, modern, descriptive\",\n      \"content\": \"short metaphorical line describing the product’s essence and purpose without naming a brand\"\n    }\n  },\n\n  \"render_style\": {\n    \"aesthetic\": \"editorial_magazine_ad\",\n    \"resolution\": \"high_detail\",\n    \"color_grading\": \"optimized_based_on_product_visuals\",\n    \"medium\": \"photorealistic\"\n  }\n}"
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.