Universal JSON Template for Editorial Product Ads

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" } }

Funciona con 20 modelos

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +8 Más

Lo que produce este prompt

Split-Page Coffee Shop Travel Journal No especificado gpt-image-2
Cute Chibi Characters in a Sweet Playful Moment No especificado gpt-image-2
Underground Train Yard Clash Anime Development Board No especificado gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect No especificado nano-banana-pro
Exploded-View Structural Cutaway for Food Photography No especificado nano-banana-pro
Four Seasons Portrait Collage No especificado nano-banana-pro

Run este prompt con el API

La siguiente solicitud envía este mensaje, con sus valores predeterminados completados, al primer modelo en el que se ejecuta. Cambie el nombre del modelo por cualquier otro modelo enumerado anteriormente.

Documentación de la API de prompts
/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

Probar a prompt

Estimado: $0.04 / imagen

Inicia sesión para generar con RunAPI.

Inicia sesión para generar

Inicia sesión para comenzar a generar con tus modelos de lenguaje disponibles.