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

翻译: Runs on 20 models

  • 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 more

此 prompt 的输出

Split-Page Coffee Shop Travel Journal 未指定 gpt-image-2
Cute Chibi Characters in a Sweet Playful Moment 未指定 gpt-image-2
Underground Train Yard Clash Anime Development Board 未指定 gpt-image-2
Realistic Group Selfie with Smartphone Flash Effect 未指定 nano-banana-pro
Exploded-View Structural Cutaway for Food Photography 未指定 nano-banana-pro
Four Seasons Portrait Collage 未指定 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

预计: $0.04 / 张图片

登录后即可使用 RunAPI 生成。

登录后生成

登录后即可使用可用语言模型开始生成。