Premium Smoothie Ad Generation (Code Style)

A prompt written in a Python class structure, defining parameters for generating an ultra-realistic, cinematic 8K advertisement image of a smoothie explosion, frozen mid-air, featuring specific fruit elements and liquid motion.

Prompt

class PremiumSmoothieAd: def __init__(self): self.composition = { "action": "ultra_realistic_explosion", "state": "frozen_mid_air", "elements": [ "banana_slices", "strawberry_pieces", "blueberry_splash", "chia_seeds" ], "motion": "liquid_swirl" } https://t.co/Oq1q7_settings = { "focus": "shallow_depth_of_field", "clarity": "ultra_sharp", "resolution": "8K_cinematic" } https://t.co/ci6mMG4fGy_vibe = { "style": "bright_studio", "texture": "glossy_liquid", "aesthetic": "premium_health_drink" } def render(self): # Parameters for the generation engine return { "aspect_ratio": "2:3", "version": 6.0, "style": "raw" }

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

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
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait 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": "class PremiumSmoothieAd:\n    def __init__(self):\n        self.composition = {\n            \"action\": \"ultra_realistic_explosion\",\n            \"state\": \"frozen_mid_air\",\n            \"elements\": [\n                \"banana_slices\",\n                \"strawberry_pieces\",\n                \"blueberry_splash\",\n                \"chia_seeds\"\n            ],\n            \"motion\": \"liquid_swirl\"\n        }\n        \n        https://t.co/Oq1q7_settings = {\n            \"focus\": \"shallow_depth_of_field\",\n            \"clarity\": \"ultra_sharp\",\n            \"resolution\": \"8K_cinematic\"\n        }\n        \n        https://t.co/ci6mMG4fGy_vibe = {\n            \"style\": \"bright_studio\",\n            \"texture\": \"glossy_liquid\",\n            \"aesthetic\": \"premium_health_drink\"\n        }\n\n    def render(self):\n        # Parameters for the generation engine\n        return {\n            \"aspect_ratio\": \"2:3\",\n            \"version\": 6.0,\n            \"style\": \"raw\"\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.