1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成一张图像:"Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一张图像:"Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一张图像:"Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一张图像:"Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
}
JSON
import { NanoBananaClient } from "@runapi.ai/nano-banana";
const client = new NanoBananaClient({
apiKey: process.env.RUNAPI_API_KEY,
});
const result = await client.textToImage.run({
"model": "nano-banana-2",
"prompt": "Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
});
console.log(result.id);
require "runapi/nano_banana"
client = RunApi::NanoBanana::Client.new
result = client.text_to_image.run(
model: "nano-banana-2",
prompt: "Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”"
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"nano-banana-2\",\"prompt\":\"Ultra-realistic 8K full body portrait of [PERSON’S FULL NAME], wearing a clean and pressed white social shirt with folded collar and a small lapel microphone, dark navy-blue dress pants and polished brown social shoes. Casually and unpretentiously leaning against a smooth light gray studio wall; hands are in pockets and one leg is crossed over the other, with relaxed and confident body language. Add to the wall next to them a prominent vector portrait in black and white of their face and bust - with sharp lines and angles, overlapping polygonal shapes and a minimalist modern graphic style, right below the information: “[PERSON’S FULL NAME]”, and below the name: “[PROFESSION]”\"}")
req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/nano_banana/text_to_image", body)
if err != nil {
log.Fatal(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
fmt.Println(resp.Status)
}
nano-banana-2/api/v1/nano_banana/text_to_image获取 API Key
[BRAND]. A high fashion campaign poster. A model with a strong expressive face as the centerpiece, wearing a signature outfit in the brand's exact official color palette. Dramatic surreal atmospheric background. Layered collage of torn-edge material swatches surrounding the model. Brand's iconic symbol woven into the scene. Logo overlaid in the center in clean serif font. Macro detail on fabric texture and stitching. Cinematic lighting, rich contrast, 8K
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "[BRAND]. A high fashion campaign poster. A model with a strong expressive face as the centerpiece, wearing a signature outfit in the brand's exact official color palette. Dramatic surreal atmospheric background. Layered collage of torn-edge material swatches surrounding the model. Brand's iconic symbol woven into the scene. Logo overlaid in the center in clean serif font. Macro detail on fabric texture and stitching. Cinematic lighting, rich contrast, 8K"
}
JSON
8K Ultra-Realistic Promotional Present a clear, 45° top-down isometric miniature 3D scene of the [SUBWAY SYSTEM / LINE NAME]. The scene includes stylized diorama elements such as platforms, miniature trains, stairwells, signage, tiled walls, vending machines, and people waiting. Use soft, refined textures, realistic PBR materials, and lifelike lighting with subtle shadows to enhance dimensional clarity. At the top center, place the title “[LINE NAME]” in bold sans-serif text. Below it, add a train icon followed by “Service Status” (small text) and “[STATUS MESSAGE]” red medium text for delays or green for on-time service. Use a soft, solid tile white background for clarity. Clean, centered, editorial infographic style. Square format 1080×1080, ultra-detailed 3D render, miniature realism, 8K look, image size 1: 1
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "8K Ultra-Realistic Promotional Present a clear, 45° top-down isometric miniature 3D scene of the [SUBWAY SYSTEM / LINE NAME]. The scene includes stylized diorama elements such as platforms, miniature trains, stairwells, signage, tiled walls, vending machines, and people waiting. Use soft, refined textures, realistic PBR materials, and lifelike lighting with subtle shadows to enhance dimensional clarity. At the top center, place the title “[LINE NAME]” in bold sans-serif text. Below it, add a train icon followed by “Service Status” (small text) and “[STATUS MESSAGE]” red medium text for delays or green for on-time service. Use a soft, solid tile white background for clarity. Clean, centered, editorial infographic style. Square format 1080×1080, ultra-detailed 3D render, miniature realism, 8K look, image size 1: 1"
}
JSON
Cinematic ultra-high-end product photography of an official Monster Energy drink can a standard vertical black aluminum energy drink can featuring the iconic neon reen claw logo of Monster Energy - standing on a dark, rough, textured surface. The can is being engulfed and seemingly possessed by a thick, glossy, jet-black symbiotic liquid inspired by the organic alien symbiote from the 2018 film Venom, directed by Ruben Fleischer. The viscous substance behaves like a living entity - muscular,predatory, and semi-sentient— forming elongated, sinewy tendrils that stretch upward and wrap tightly around the can as if claiming it. The texture must closely resemble Venom's cinematic symbiote: dense, oily, hyper-glossy, elastic, with visible surface tension, micro ripples, sharp blade-like protrusions, and subtle vein-like striations. It should feel alive, aggressive, and biomechanical _ not random liquid splashes.The black symbiote appears to be merging with the Monster can's aluminum surface crawling over it, partially fusing into the metal, as if infecting or possessing the product. Some tendrils anchor to the ground while others rise dynamically into the air, creating tension and controlled chaos. The green claw logo remains clearly visible and becomes the focal contrast element against the dark mass. Camera angle: dramatic low-angle hero shot, slightly tilted (Dutch angle) for cinematicintensity, captured with a macro cinema lens at close range. Shallow depth of field, razor-sharp focus on the logo and the liquid interaction, extreme macro detail. Lighting: moody, high-contrast lighting with strong cold blue rim light sculpting the wet reflective contours of the symbiote and enhancing the metallic sheen of the blackaluminum can. Subtle green light spill from the neon logo reflecting onto nearbyglossy tendrils. Deep shadows with controlled specular highlights for a premium cinematic look.Atmosphere: floating micro-particles, dust, and fine mist suspended in the air,catching the rim light to create depth. Subtle volumetric haze and cinematic diffusion.Background: deep dark void with faint cool blue bokeh and minimal gradient separation, reinforcing a mysterious, powerful, almost supernatural atmosphere. Ultra-realistic, photorealistic, hyper-detailed textures, HDR, 8K resolution, cinematic color grading, dramatic tension, premium commercial advertising aesthetic. IMAGE 2 High-quality commercial photograph of a sleek,thin aluminum Del Valle peach juice can suspended diagonally in a dynamic, gravity-defying composition. The scene conveys a sense of freshness, featuring hyper-realistic slices of juicy peaches and vibrant green leaves spiraling around the can along with splashes of crystal-clear water and delicate droplets. The lighting is bright and airy, creating a soft, refreshing glow throughout the image. The color palette consists of warm peach tones, soft corals and vibrant greens on a minimalist back ground with a peach-toned gradient and shallow depth of field, showing blurred peaches in the background. Commercial aesthetic, macro detail, refreshing and vibrant atmosphere. IMAGE 3 A close-up product photograph of a dark blue glass bottle for "SAUVAGE ELIXIR Dior" perfume, nestled within dark, textured,wet-looking tree bark and small dried botanical sprigs with glowing orange tips. Thelighting is low moody warm orange and deep blue highlights across the wet wood and the glossy bottle. The background is dark and natural. IMAGE 4 A dynamic, high-speed photograph cap- tures a bottle of Jack Daniel's Tennessee Apple whiskey, with its signature green label and square glass shape, splashing of green liquid. Water droplets and fresh green apples with leaves explode outwards around the bottle. The scene is illuminated by vibrant green light from background, highlighting the texture of the glass, liquid, and fruit against a dark green, gradient background green and black green ratio 4:5
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Cinematic ultra-high-end product photography of an official Monster Energy drink can a standard vertical black aluminum energy drink can featuring the iconic neon reen claw logo of Monster Energy - standing on a dark, rough, textured surface. The can is being engulfed and seemingly possessed by a thick, glossy, jet-black symbiotic liquid inspired by the organic alien symbiote from the 2018 film Venom, directed by Ruben Fleischer. The viscous substance behaves like a living entity - muscular,predatory, and semi-sentient— forming elongated, sinewy tendrils that stretch upward and wrap tightly around the can as if claiming it. The texture must closely resemble Venom's cinematic symbiote: dense, oily, hyper-glossy, elastic, with visible surface tension, micro ripples, sharp blade-like protrusions, and subtle vein-like striations. It should feel alive, aggressive, and biomechanical _ not random liquid splashes.The black symbiote appears to be merging with the Monster can's aluminum surface crawling over it, partially fusing into the metal, as if infecting or possessing the product. Some tendrils anchor to the ground while others rise dynamically into the air, creating tension and controlled chaos. The green claw logo remains clearly visible and becomes the focal contrast element against the dark mass. Camera angle: dramatic low-angle hero shot, slightly tilted (Dutch angle) for cinematicintensity, captured with a macro cinema lens at close range. Shallow depth of field, razor-sharp focus on the logo and the liquid interaction, extreme macro detail. Lighting: moody, high-contrast lighting with strong cold blue rim light sculpting the wet reflective contours of the symbiote and enhancing the metallic sheen of the blackaluminum can. Subtle green light spill from the neon logo reflecting onto nearbyglossy tendrils. Deep shadows with controlled specular highlights for a premium cinematic look.Atmosphere: floating micro-particles, dust, and fine mist suspended in the air,catching the rim light to create depth. Subtle volumetric haze and cinematic diffusion.Background: deep dark void with faint cool blue bokeh and minimal gradient separation, reinforcing a mysterious, powerful, almost supernatural atmosphere. Ultra-realistic, photorealistic, hyper-detailed textures, HDR, 8K resolution, cinematic color grading, dramatic tension, premium commercial advertising aesthetic. IMAGE 2 High-quality commercial photograph of a sleek,thin aluminum Del Valle peach juice can suspended diagonally in a dynamic, gravity-defying composition. The scene conveys a sense of freshness, featuring hyper-realistic slices of juicy peaches and vibrant green leaves spiraling around the can along with splashes of crystal-clear water and delicate droplets. The lighting is bright and airy, creating a soft, refreshing glow throughout the image. The color palette consists of warm peach tones, soft corals and vibrant greens on a minimalist back ground with a peach-toned gradient and shallow depth of field, showing blurred peaches in the background. Commercial aesthetic, macro detail, refreshing and vibrant atmosphere. IMAGE 3 A close-up product photograph of a dark blue glass bottle for \"SAUVAGE ELIXIR Dior\" perfume, nestled within dark, textured,wet-looking tree bark and small dried botanical sprigs with glowing orange tips. Thelighting is low moody warm orange and deep blue highlights across the wet wood and the glossy bottle. The background is dark and natural. IMAGE 4 A dynamic, high-speed photograph cap- tures a bottle of Jack Daniel's Tennessee Apple whiskey, with its signature green label and square glass shape, splashing of green liquid. Water droplets and fresh green apples with leaves explode outwards around the bottle. The scene is illuminated by vibrant green light from background, highlighting the texture of the glass, liquid, and fruit against a dark green, gradient background green and black green ratio 4:5"
}
JSON
A premium studio product photograph of a tall, slim red aluminum sparkling water can standing upright and centered against a seamless vivid red background, the can covered in fine condensation droplets with crisp white typography reading “GOOD IDEA” and smaller flavor text beneath, positioned on a matte red surface with subtle reflections, surrounded symmetrically by fresh ripe strawberries with glossy seeds and deep red flesh, some resting directly on the surface and others placed on small red rectangular blocks to the left and right, delicate white elderflower blossoms scattered between the fruit for contrast, the lighting soft yet directional from the upper left creating gentle highlights on the can's metallic texture and soft shadows beneath the fruit, the color palette dominated by saturated reds with clean white accents and natural green stems, the composition minimal and perfectly balanced with generous negative space above the product, shallow depth of field, ultra-sharp focus on the can, high-end commercial aesthetic, photorealistic, studio-grade, cinematic realism.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A premium studio product photograph of a tall, slim red aluminum sparkling water can standing upright and centered against a seamless vivid red background, the can covered in fine condensation droplets with crisp white typography reading “GOOD IDEA” and smaller flavor text beneath, positioned on a matte red surface with subtle reflections, surrounded symmetrically by fresh ripe strawberries with glossy seeds and deep red flesh, some resting directly on the surface and others placed on small red rectangular blocks to the left and right, delicate white elderflower blossoms scattered between the fruit for contrast, the lighting soft yet directional from the upper left creating gentle highlights on the can's metallic texture and soft shadows beneath the fruit, the color palette dominated by saturated reds with clean white accents and natural green stems, the composition minimal and perfectly balanced with generous negative space above the product, shallow depth of field, ultra-sharp focus on the can, high-end commercial aesthetic, photorealistic, studio-grade, cinematic realism."
}
JSON
{ "art_style_description": { "type": "Digital Scrapbook / Fan-Edit Collage.", "aesthetic": "Y2K, Coquette, K-pop Idol Fan Art.", "visual_structure": "Multiple photographic cutouts of the same subject arranged in a chaotic but cohesive layout on top of a vintage textured background. Each cutout has a thick white stroke/outline to resemble a sticker." }, "subject_details": { "demographics": "Young Asian woman (K-pop idol aesthetic), fair skin, delicate features.", "hair": "Long, voluminous, dark wavy hair with air bangs. In one panel, she wears a small white ribbon clip.", "outfit": "Black sequined/embellished crop top (bralette style), dark denim jeans.", "makeup": "Peach-toned blush, glossy lips, soft eyeliner." }, "pose_breakdown_panels": { "panel_1_top_center": "Portrait shot. Subject looking straight ahead/slightly down with hand in hair, elbows raised. Background shows a blurred cityscape.", "panel_2_bottom_right": "Seated/Reclining pose. Subject leaning back, one arm supporting weight, looking coolly at the camera. Wearing jeans.", "panel_3_middle_right": "Over-the-shoulder shot. Subject looking back at the camera with a soft gaze, arm raised touching head.", "panel_4_bottom_left": "Close-up portrait. Subject looking to the side, wearing a white bow hair clip.", "panel_5_top_left": "Bust-up shot. Subject gazing off-camera with a dreamy expression." }, "graphic_elements_and_overlays": { "background_texture": "Vintage newspaper print text (sepia/beige toned).", "stickers": { "text": "Ransom-note style text blocks reading 'iqrasaifiii', 'i swear she's an angel', and 'beyoutiful'.", "objects": "A brown plush teddy bear sticker in the bottom left corner.", "decor": "White daisy flower graphics, jagged torn paper edges." } }, "camera_technical_values": { "source_photo_style": "High-end fashion editorial photography.", "lens": "85mm (Portrait telephoto).", "lighting": "Natural Window Light (Soft, directional sunlight coming from the side).", "color_grading": "Slightly desaturated source photos contrasted against the warm beige newspaper background.", "resolution": "High fidelity cutouts." }, "composition": "Overlapping layers. The center and right photos are larger, while smaller details fill the corners."
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "{ \"art_style_description\": { \"type\": \"Digital Scrapbook / Fan-Edit Collage.\", \"aesthetic\": \"Y2K, Coquette, K-pop Idol Fan Art.\", \"visual_structure\": \"Multiple photographic cutouts of the same subject arranged in a chaotic but cohesive layout on top of a vintage textured background. Each cutout has a thick white stroke/outline to resemble a sticker.\" }, \"subject_details\": { \"demographics\": \"Young Asian woman (K-pop idol aesthetic), fair skin, delicate features.\", \"hair\": \"Long, voluminous, dark wavy hair with air bangs. In one panel, she wears a small white ribbon clip.\", \"outfit\": \"Black sequined/embellished crop top (bralette style), dark denim jeans.\", \"makeup\": \"Peach-toned blush, glossy lips, soft eyeliner.\" }, \"pose_breakdown_panels\": { \"panel_1_top_center\": \"Portrait shot. Subject looking straight ahead/slightly down with hand in hair, elbows raised. Background shows a blurred cityscape.\", \"panel_2_bottom_right\": \"Seated/Reclining pose. Subject leaning back, one arm supporting weight, looking coolly at the camera. Wearing jeans.\", \"panel_3_middle_right\": \"Over-the-shoulder shot. Subject looking back at the camera with a soft gaze, arm raised touching head.\", \"panel_4_bottom_left\": \"Close-up portrait. Subject looking to the side, wearing a white bow hair clip.\", \"panel_5_top_left\": \"Bust-up shot. Subject gazing off-camera with a dreamy expression.\" }, \"graphic_elements_and_overlays\": { \"background_texture\": \"Vintage newspaper print text (sepia/beige toned).\", \"stickers\": { \"text\": \"Ransom-note style text blocks reading 'iqrasaifiii', 'i swear she's an angel', and 'beyoutiful'.\", \"objects\": \"A brown plush teddy bear sticker in the bottom left corner.\", \"decor\": \"White daisy flower graphics, jagged torn paper edges.\" } }, \"camera_technical_values\": { \"source_photo_style\": \"High-end fashion editorial photography.\", \"lens\": \"85mm (Portrait telephoto).\", \"lighting\": \"Natural Window Light (Soft, directional sunlight coming from the side).\", \"color_grading\": \"Slightly desaturated source photos contrasted against the warm beige newspaper background.\", \"resolution\": \"High fidelity cutouts.\" }, \"composition\": \"Overlapping layers. The center and right photos are larger, while smaller details fill the corners.\""
}
JSON
A soft-focus, cinematic portrait of a young woman with delicate facial features and light golden hair, caught in motion. Her face appears partially blurred and ghosted, with flowing strands of hair captured mid-sway, creating a dreamy, ethereal motion effect. Her expression is serene and slightly distant, with parted lips and eyes softly open. The entire frame is bathed in golden beige and sepia tones, evoking a nostalgic, painterly atmosphere. The lighting is natural and diffused, coming from a nearby window, casting a warm glow on her skin and illuminating the strands of hair that dance across the frame. Photographed with a Canon EOS R5 using an 85mm lens at f/1.2, ISO 320, shutter speed 1/8s with intentional slow exposure and handheld movement to create the artistic motion blur. The focus is soft, with a shallow depth of field that isolates the subject from the pale, creamy background. Post-processed in Adobe Lightroom and Photoshop: cinematic LUTs applied, warmth enhanced through split-toning (shadows in soft amber, highlights in cream), clarity reduced, and motion streaks refined with displacement layers and radial blur filters. A very subtle fine grain adds a filmic texture. Final mood: emotional, hazy, poetic. Style references: fine art portraiture, vintage editorial, and analog dream sequences. 4K ultra-resolution, no harsh contrasts, smooth gradients preserved.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A soft-focus, cinematic portrait of a young woman with delicate facial features and light golden hair, caught in motion. Her face appears partially blurred and ghosted, with flowing strands of hair captured mid-sway, creating a dreamy, ethereal motion effect. Her expression is serene and slightly distant, with parted lips and eyes softly open. The entire frame is bathed in golden beige and sepia tones, evoking a nostalgic, painterly atmosphere. The lighting is natural and diffused, coming from a nearby window, casting a warm glow on her skin and illuminating the strands of hair that dance across the frame. Photographed with a Canon EOS R5 using an 85mm lens at f/1.2, ISO 320, shutter speed 1/8s with intentional slow exposure and handheld movement to create the artistic motion blur. The focus is soft, with a shallow depth of field that isolates the subject from the pale, creamy background. Post-processed in Adobe Lightroom and Photoshop: cinematic LUTs applied, warmth enhanced through split-toning (shadows in soft amber, highlights in cream), clarity reduced, and motion streaks refined with displacement layers and radial blur filters. A very subtle fine grain adds a filmic texture. Final mood: emotional, hazy, poetic. Style references: fine art portraiture, vintage editorial, and analog dream sequences. 4K ultra-resolution, no harsh contrasts, smooth gradients preserved."
}
JSON
Ultra-clean modern recipe infographic. Showcase Roast chicken in a visually appealing finished form—sliced, plated, or portioned—floating slightly in perspective or angled view. Arrange ingredients, steps, and tips around the dish in a dynamic editorial layout, not restricted to top-down. Ingredients Section: Include icons or mini illustrations for each ingredient with quantities. Arrange them in clusters, lists, or circular flows connected visually to the dish. Steps Section: Show preparation steps with numbered panels, arrows, or lines, forming a logical flow around the main dish. Include small cooking icons (knife, pan, oven, timer) where helpful. Additional Info (optional): Total calories, prep/cook time, servings, spice level—displayed as clean bubbles or badges near the dish. Visual Style: Editorial infographic meets lifestyle food photography. Vibrant, natural food colors, subtle drop shadows, clean vector icons, modern typography, soft gradients or glassmorphism for step panels. Accent colors can highlight key info (calories, prep time). Composition Guidelines: Finished meal as hero visual (perspective or angled) Ingredients and steps flow dynamically around the dish Clear visual hierarchy: dish > steps > ingredients > optional stats Enough negative space to keep design airy and readable Lighting & Background: Soft, natural studio lighting, minimal textured or gradient background for premium editorial feel. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark.”
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Ultra-clean modern recipe infographic. Showcase Roast chicken in a visually appealing finished form—sliced, plated, or portioned—floating slightly in perspective or angled view. Arrange ingredients, steps, and tips around the dish in a dynamic editorial layout, not restricted to top-down. Ingredients Section: Include icons or mini illustrations for each ingredient with quantities. Arrange them in clusters, lists, or circular flows connected visually to the dish. Steps Section: Show preparation steps with numbered panels, arrows, or lines, forming a logical flow around the main dish. Include small cooking icons (knife, pan, oven, timer) where helpful. Additional Info (optional): Total calories, prep/cook time, servings, spice level—displayed as clean bubbles or badges near the dish. Visual Style: Editorial infographic meets lifestyle food photography. Vibrant, natural food colors, subtle drop shadows, clean vector icons, modern typography, soft gradients or glassmorphism for step panels. Accent colors can highlight key info (calories, prep time). Composition Guidelines: Finished meal as hero visual (perspective or angled) Ingredients and steps flow dynamically around the dish Clear visual hierarchy: dish > steps > ingredients > optional stats Enough negative space to keep design airy and readable Lighting & Background: Soft, natural studio lighting, minimal textured or gradient background for premium editorial feel. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark.”"
}
JSON
A hyper-realistic macro shot of a paintbrush creating a thick textured paint stroke on a clean white background. The paint forms the shape and colors of the [COUNTRY FLAG], flowing dynamically like a wave. Inside the paint stroke, a highly detailed miniature cityscape of [COUNTRY NAME] emerges, including iconic landmarks such as [LANDMARK 1], [LANDMARK 2], [LANDMARK 3]. The paint has visible brush textures, glossy acrylic finish, rich vibrant colors.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A hyper-realistic macro shot of a paintbrush creating a thick textured paint stroke on a clean white background. The paint forms the shape and colors of the [COUNTRY FLAG], flowing dynamically like a wave. Inside the paint stroke, a highly detailed miniature cityscape of [COUNTRY NAME] emerges, including iconic landmarks such as [LANDMARK 1], [LANDMARK 2], [LANDMARK 3]. The paint has visible brush textures, glossy acrylic finish, rich vibrant colors."
}
JSON
Ultra-realistic cinematic food photography of a traditional Indonesian dish, presented as a floating ingredients composition. Main dish placed at the bottom in a rustic ceramic bowl or banana leaf plate. Key ingredients suspended in mid-air above the dish, perfectly separated and labeled with clean minimalist typography and thin pointer lines. Dynamic splashes of sauce and spices frozen in motion, high-speed food photography. Natural tropical setting with banana leaves, palm trees, warm sunlight, shallow depth of field. Hyper-detailed textures, glossy sauces, steam and smoke effects, editorial food poster style, premium commercial quality, 8K resolution, soft cinematic lighting, realistic shadows, depth and realism.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Ultra-realistic cinematic food photography of a traditional Indonesian dish, presented as a floating ingredients composition. Main dish placed at the bottom in a rustic ceramic bowl or banana leaf plate. Key ingredients suspended in mid-air above the dish, perfectly separated and labeled with clean minimalist typography and thin pointer lines. Dynamic splashes of sauce and spices frozen in motion, high-speed food photography. Natural tropical setting with banana leaves, palm trees, warm sunlight, shallow depth of field. Hyper-detailed textures, glossy sauces, steam and smoke effects, editorial food poster style, premium commercial quality, 8K resolution, soft cinematic lighting, realistic shadows, depth and realism."
}
JSON
[BRAND NAME]. Act as a graphic design creative director constructing a highly structured "Campaign Visual Identity Grid." COMPOSITION (SPECIFIC 2-COLUMN ASYMMETRICAL LAYOUT): The image must follow a strict 2-column grid structure, exactly like the layout seen in professional campaign boards. LAYOUT STRUCTURE (TOP TO BOTTOM): ROW 1: One single, full-width rectangular block (e.g., a wide photo). ROW 2: Two equal-sized square blocks side-by-side. ROW 3: One single, full-width rectangular block ROW 4: Two equal-sized square blocks side-by-side. ROW 5: One single, full-width rectangular block at the bottom. The grid must be perfectly stable, with all blocks forming this exact pattern. CRITICAL CONSTRAINTS: FULL BLEED (100% COVERAGE): The grid must occupy the ENTIRE canvas area from edge to edge. There are absolutely NO margins, NO borders, and NO background space visible. ZERO SPACING (NO GAPS): The grid tiles must be seamlessly abutted. There should be absolutely NO gutters, white lines, or spacing between the blocks. They must touch perfectly to form a solid wall. GLOBAL RULES: Typography: Use ONLY ONE font. Uniqueness: Every photo cell must be UNIQUE. No duplicates. THE GRID CONTENT & SPECIFIC TEXTURES (3 TYPES): Distribute these three block types rhythmically throughout the specific 2-column layout defined above: TYPE A: THE LOGO BLOCK (PRINT GRUNGE): A solid block in the brand's primary color containing ONLY the official [BRAND NAME] logomark centered. Texture: Distressed screen-print texture with slight ink bleed and grunge noise. TYPE B: THE SLOGAN BLOCK (PRINT GRUNGE): A solid block in a contrasting brand color containing ONLY the official [BRAND NAME] slogan. Texture: Heavy distressed ink texture and grunge print effects on typography and fill. TYPE C: CAMPAIGN PHOTOGRAPHY (HALFTONE): High-contrast B&W action shots or portraits relevant to the brand. Texture: Apply strong halftone dot patterns (raster dots) and heavy film grain. Use "Multiply" color blending to wash the photos in the brand's specific color palette (duotone effect).
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "[BRAND NAME]. Act as a graphic design creative director constructing a highly structured \"Campaign Visual Identity Grid.\" COMPOSITION (SPECIFIC 2-COLUMN ASYMMETRICAL LAYOUT): The image must follow a strict 2-column grid structure, exactly like the layout seen in professional campaign boards. LAYOUT STRUCTURE (TOP TO BOTTOM): ROW 1: One single, full-width rectangular block (e.g., a wide photo). ROW 2: Two equal-sized square blocks side-by-side. ROW 3: One single, full-width rectangular block ROW 4: Two equal-sized square blocks side-by-side. ROW 5: One single, full-width rectangular block at the bottom. The grid must be perfectly stable, with all blocks forming this exact pattern. CRITICAL CONSTRAINTS: FULL BLEED (100% COVERAGE): The grid must occupy the ENTIRE canvas area from edge to edge. There are absolutely NO margins, NO borders, and NO background space visible. ZERO SPACING (NO GAPS): The grid tiles must be seamlessly abutted. There should be absolutely NO gutters, white lines, or spacing between the blocks. They must touch perfectly to form a solid wall. GLOBAL RULES: Typography: Use ONLY ONE font. Uniqueness: Every photo cell must be UNIQUE. No duplicates. THE GRID CONTENT & SPECIFIC TEXTURES (3 TYPES): Distribute these three block types rhythmically throughout the specific 2-column layout defined above: TYPE A: THE LOGO BLOCK (PRINT GRUNGE): A solid block in the brand's primary color containing ONLY the official [BRAND NAME] logomark centered. Texture: Distressed screen-print texture with slight ink bleed and grunge noise. TYPE B: THE SLOGAN BLOCK (PRINT GRUNGE): A solid block in a contrasting brand color containing ONLY the official [BRAND NAME] slogan. Texture: Heavy distressed ink texture and grunge print effects on typography and fill. TYPE C: CAMPAIGN PHOTOGRAPHY (HALFTONE): High-contrast B&W action shots or portraits relevant to the brand. Texture: Apply strong halftone dot patterns (raster dots) and heavy film grain. Use \"Multiply\" color blending to wash the photos in the brand's specific color palette (duotone effect)."
}
JSON
A sharp, top-down macro photograph of a single, heavily crumpled circular vinyl sticker featuring the official [BRAND NAME] logo. MATERIAL & TEXTURE (VINYL): The sticker is made of durable, slight-gloss vinyl material, not paper. It is severely crinkled with sharp, defined ridges and deep stress folds across its entire surface. Unlike soft paper creases, these vinyl wrinkles show plastic stress and catch the light with subtle specular highlights on the peaks of the folds. The edges are slightly curled from wear. COLOR PALETTE (BRAND DYNAMIC): The background color of the circular sticker itself is the dominant primary color associated with [BRAND NAME]'s official brand palette (e.g., if Ferrari, red; if John Deere, green). The logo is printed clearly in its standard contrasting color (e.g., white or black). LIGHTING (STUDIO BRIGHT): Bright, clean, high-key overhead white studio lighting. This intense lighting creates strong, clean highlights on the vinyl's crumpled ridges and defined, crisp shadows in the valleys, dramatically emphasizing the 3D topography of the damage. BACKGROUND & COMPOSITION: The camera is locked in a strict, perfectly parallel top-down flat lay view. The sticker is adhered flat onto a pure white plastic surface which has a subtle, fine granular texture (like bead-blasted plastic) to provide tactile contrast to the smooth vinyl. The entire sticker is in sharp focus.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A sharp, top-down macro photograph of a single, heavily crumpled circular vinyl sticker featuring the official [BRAND NAME] logo. MATERIAL & TEXTURE (VINYL): The sticker is made of durable, slight-gloss vinyl material, not paper. It is severely crinkled with sharp, defined ridges and deep stress folds across its entire surface. Unlike soft paper creases, these vinyl wrinkles show plastic stress and catch the light with subtle specular highlights on the peaks of the folds. The edges are slightly curled from wear. COLOR PALETTE (BRAND DYNAMIC): The background color of the circular sticker itself is the dominant primary color associated with [BRAND NAME]'s official brand palette (e.g., if Ferrari, red; if John Deere, green). The logo is printed clearly in its standard contrasting color (e.g., white or black). LIGHTING (STUDIO BRIGHT): Bright, clean, high-key overhead white studio lighting. This intense lighting creates strong, clean highlights on the vinyl's crumpled ridges and defined, crisp shadows in the valleys, dramatically emphasizing the 3D topography of the damage. BACKGROUND & COMPOSITION: The camera is locked in a strict, perfectly parallel top-down flat lay view. The sticker is adhered flat onto a pure white plastic surface which has a subtle, fine granular texture (like bead-blasted plastic) to provide tactile contrast to the smooth vinyl. The entire sticker is in sharp focus."
}
JSON
Cinematic portrait of a young person standing still in the middle of a busy crowd, sharp focus on the subject while people move rapidly around them creating strong motion blur. The subject looks directly at the camera with a calm, introspective expression. Soft natural lighting, shallow depth of field, dreamy atmosphere. Crowd blurred using long exposure effect, dynamic movement streaks surrounding the subject. Neutral pastel background tones, subtle color grading, emotional storytelling composition. Shot on 85mm lens, f/1.8, long shutter speed, ultra-realistic skin texture, cinematic photography, 8K resolution.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Cinematic portrait of a young person standing still in the middle of a busy crowd, sharp focus on the subject while people move rapidly around them creating strong motion blur. The subject looks directly at the camera with a calm, introspective expression. Soft natural lighting, shallow depth of field, dreamy atmosphere. Crowd blurred using long exposure effect, dynamic movement streaks surrounding the subject. Neutral pastel background tones, subtle color grading, emotional storytelling composition. Shot on 85mm lens, f/1.8, long shutter speed, ultra-realistic skin texture, cinematic photography, 8K resolution."
}
JSON
A hyper-realistic commercial product photography shot of a condensation-covered beverage can labeled "MANGO TANGO JUICE" bursting dynamically out of crystal clear turquoise ocean water. The can is surrounded by a splash of golden mango juice and water. Levitating around the can are fresh whole mangoes, diced mango cubes, and crystal clear ice cubes. The foreground includes vibrant tropical flowers and green palm leaves framing the shot. The background features a blurred sunny tropical beach with palm trees. Bright cinematic backlighting with a sun flare, sparkling water reflections, high contrast, 8k resolution, vibrant colors.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A hyper-realistic commercial product photography shot of a condensation-covered beverage can labeled \"MANGO TANGO JUICE\" bursting dynamically out of crystal clear turquoise ocean water. The can is surrounded by a splash of golden mango juice and water. Levitating around the can are fresh whole mangoes, diced mango cubes, and crystal clear ice cubes. The foreground includes vibrant tropical flowers and green palm leaves framing the shot. The background features a blurred sunny tropical beach with palm trees. Bright cinematic backlighting with a sun flare, sparkling water reflections, high contrast, 8k resolution, vibrant colors."
}
JSON
Use the uploaded image as the exact visual reference for composition, jar design, orange slices, whole oranges, cinnamon sticks, lighting, and orange background. Maintain the same top-down perspective and color palette. Camera: Top-down camera angle (exactly as in the image). Camera slowly zooms in toward the jar. Very smooth and controlled movement. No rotation. No camera shake. Action: The jar remains perfectly still in the center of the frame.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Use the uploaded image as the exact visual reference for composition, jar design, orange slices, whole oranges, cinnamon sticks, lighting, and orange background. Maintain the same top-down perspective and color palette. Camera: Top-down camera angle (exactly as in the image). Camera slowly zooms in toward the jar. Very smooth and controlled movement. No rotation. No camera shake. Action: The jar remains perfectly still in the center of the frame."
}
JSON
A stylized Pixar-style 3D portrait of a young person with smooth skin, large expressive blue eyes, soft facial features, wearing round transparent glasses, modern hairstyle (short styled hair / soft bob cut), casual outfit (hoodie or minimal sweater), slight head tilt and warm smile, friendly and approachable expression, ultra-clean character design, vibrant orange-to-pink gradient background, soft studio lighting with subtle rim light, cinematic depth of field, ultra-detailed, 8K render, octane render style.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "A stylized Pixar-style 3D portrait of a young person with smooth skin, large expressive blue eyes, soft facial features, wearing round transparent glasses, modern hairstyle (short styled hair / soft bob cut), casual outfit (hoodie or minimal sweater), slight head tilt and warm smile, friendly and approachable expression, ultra-clean character design, vibrant orange-to-pink gradient background, soft studio lighting with subtle rim light, cinematic depth of field, ultra-detailed, 8K render, octane render style."
}
JSON
{ "objective": "Create a side-by-side comparison image featuring a technical sketch and real photograph of the Great Wall of China", "image_specifications": { "style": "Mixed media (Technical drawing + Real photograph)", "layout": "Horizontal split - Left side: Sketch with measurements, Right side: Real photo", "aspect_ratio": "3:2" }, "left_side": { "content_type": "Technical sketch of the Great Wall of China", "features": [ "Detailed architectural lines showing wall segments, watchtowers, and defensive structures", "Numerical measurements for wall height, width, and tower spacing", "Elevation labels for wall sections and towers", "Side elevation and top-down layout illustrating wall curvature along terrain" ], "text_annotations": { "units": "Metric (meters)", "language": "English", "font_style": "Blueprint or engineering-style typography" }, "positioning": "Take up the left half of the image" }, "right_side": { "content_type": "High-resolution real photo of the Great Wall of China", "features": [ "Wide panoramic view of the wall stretching across mountains", "Natural daylight with clear or lightly clouded sky", "Realistic colors with visible stone texture and surrounding landscape" ], "positioning": "Take up the right half of the image" }, "visual_elements": { "border_division": "Vertical line or subtle transition between left (sketch) and right (photo)", "color_palette": { "left": "Monochrome or blueprint blue for sketch", "right": "Natural realistic colors" } }, "output_format": { "type": "Image", "use_case": [ "Educational poster", "Architectural comparison", "Historical visualization", "Tourism visual aid" ], "high_resolution": true } }
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "{ \"objective\": \"Create a side-by-side comparison image featuring a technical sketch and real photograph of the Great Wall of China\", \"image_specifications\": { \"style\": \"Mixed media (Technical drawing + Real photograph)\", \"layout\": \"Horizontal split - Left side: Sketch with measurements, Right side: Real photo\", \"aspect_ratio\": \"3:2\" }, \"left_side\": { \"content_type\": \"Technical sketch of the Great Wall of China\", \"features\": [ \"Detailed architectural lines showing wall segments, watchtowers, and defensive structures\", \"Numerical measurements for wall height, width, and tower spacing\", \"Elevation labels for wall sections and towers\", \"Side elevation and top-down layout illustrating wall curvature along terrain\" ], \"text_annotations\": { \"units\": \"Metric (meters)\", \"language\": \"English\", \"font_style\": \"Blueprint or engineering-style typography\" }, \"positioning\": \"Take up the left half of the image\" }, \"right_side\": { \"content_type\": \"High-resolution real photo of the Great Wall of China\", \"features\": [ \"Wide panoramic view of the wall stretching across mountains\", \"Natural daylight with clear or lightly clouded sky\", \"Realistic colors with visible stone texture and surrounding landscape\" ], \"positioning\": \"Take up the right half of the image\" }, \"visual_elements\": { \"border_division\": \"Vertical line or subtle transition between left (sketch) and right (photo)\", \"color_palette\": { \"left\": \"Monochrome or blueprint blue for sketch\", \"right\": \"Natural realistic colors\" } }, \"output_format\": { \"type\": \"Image\", \"use_case\": [ \"Educational poster\", \"Architectural comparison\", \"Historical visualization\", \"Tourism visual aid\" ], \"high_resolution\": true } }"
}
JSON
{ "presentation": "Deconstructed exploded view floating in mid-air above a finished burger on a plate", "burger_paddy": "Grilled quinoa and black bean patty with visible char marks, split in half with steam rising", "floating_ingredients": [ "Grains of cooked quinoa", "Whole black beans", "Roasted sweet potato cubes", "Fresh spinach and arugula leaves", "Slices of ripe avocado", "Drips of creamy tahini-lemon dressing", "Diced red onion" ], "plated_item": "A complete burger on a seeded whole-grain bun with fresh greens and dressing, served on a ceramic plate with a side salad" }, "style": { "aesthetic": "Professional commercial food photography", "lighting": "Warm, cinematic, moody lighting with soft highlights on the textures of the food", "background": "Dark, rustic, textured stone or clay oven-like background with a shallow depth of field (bokeh)", "color_palette": "Earthy tones, deep browns, vibrant greens, and warm oranges" }, "composition": { "angle": "Eye-level, straight-on shot", "dynamic_elements": "Floating gravity-defying arrangement, wisps of steam, droplets of sauce", "text_overlay_optional": "Clean gold serif typography at the top reading 'HEALTHY QUINOA BURGER'" }, "technical_specs": { "focus": "Sharp focus on the floating patty and ingredients", "lens": "Macro lens for high detail texture on grains and vegetables", "quality": "8k resolution, photorealistic, commercial advertising quality" } }
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "{ \"presentation\": \"Deconstructed exploded view floating in mid-air above a finished burger on a plate\", \"burger_paddy\": \"Grilled quinoa and black bean patty with visible char marks, split in half with steam rising\", \"floating_ingredients\": [ \"Grains of cooked quinoa\", \"Whole black beans\", \"Roasted sweet potato cubes\", \"Fresh spinach and arugula leaves\", \"Slices of ripe avocado\", \"Drips of creamy tahini-lemon dressing\", \"Diced red onion\" ], \"plated_item\": \"A complete burger on a seeded whole-grain bun with fresh greens and dressing, served on a ceramic plate with a side salad\" }, \"style\": { \"aesthetic\": \"Professional commercial food photography\", \"lighting\": \"Warm, cinematic, moody lighting with soft highlights on the textures of the food\", \"background\": \"Dark, rustic, textured stone or clay oven-like background with a shallow depth of field (bokeh)\", \"color_palette\": \"Earthy tones, deep browns, vibrant greens, and warm oranges\" }, \"composition\": { \"angle\": \"Eye-level, straight-on shot\", \"dynamic_elements\": \"Floating gravity-defying arrangement, wisps of steam, droplets of sauce\", \"text_overlay_optional\": \"Clean gold serif typography at the top reading 'HEALTHY QUINOA BURGER'\" }, \"technical_specs\": { \"focus\": \"Sharp focus on the floating patty and ingredients\", \"lens\": \"Macro lens for high detail texture on grains and vegetables\", \"quality\": \"8k resolution, photorealistic, commercial advertising quality\" } }"
}
JSON
Create a 9-image Instagram feed for this product in [the same aesthetic]. Use different locations, angles, and compositions, incorporating people, animals, nature, and various environments while maintaining a cohesive visual style. with/without "same aesthetic"
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Create a 9-image Instagram feed for this product in [the same aesthetic]. Use different locations, angles, and compositions, incorporating people, animals, nature, and various environments while maintaining a cohesive visual style. with/without \"same aesthetic\""
}
JSON
Cinematic motion-blur photography shot on a Leica SL3 with a 50mm Summilux at f/2.8, captured from a chest-level frontal angle using slow shutter panning. Lighting setup: flat overcast daylight acting as soft diffusion, allowing long blur trails without harsh contrast. Color tone: muted concrete greys and pale skin neutrals inspired by A24 films. Subject: a Gen-Z female model standing completely still, sharp eyes, symmetrical face, real skin pores visible, wearing understated fashion. Crowd action: hundreds of commuters rushing past in all directions, bodies stretched into smooth horizontal and diagonal blur. Emotion: quiet rebellion through stillness. Aesthetic: editorial calm vs chaos. Post: clean motion physics, fine grain, no glitches, no face distortion, no warped anatomy.
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Cinematic motion-blur photography shot on a Leica SL3 with a 50mm Summilux at f/2.8, captured from a chest-level frontal angle using slow shutter panning. Lighting setup: flat overcast daylight acting as soft diffusion, allowing long blur trails without harsh contrast. Color tone: muted concrete greys and pale skin neutrals inspired by A24 films. Subject: a Gen-Z female model standing completely still, sharp eyes, symmetrical face, real skin pores visible, wearing understated fashion. Crowd action: hundreds of commuters rushing past in all directions, bodies stretched into smooth horizontal and diagonal blur. Emotion: quiet rebellion through stillness. Aesthetic: editorial calm vs chaos. Post: clean motion physics, fine grain, no glitches, no face distortion, no warped anatomy."
}
JSON
{ "prompt": "A premium minimalist skincare product photography scene featuring an open white cosmetic jar labeled 'Sealine Serum'. The jar is placed on a smooth, pale stone partially submerged in crystal-clear shallow water. The cream inside the jar has a soft, glossy swirl with a pristine, silky texture. Gentle water ripples surround the stone, creating natural light refractions and caustic patterns on the surface below. Small water droplets and subtle splashes add freshness and motion. The environment feels serene, clean, and natural, evoking purity, hydration, and calm luxury. The color palette is cool and airy, dominated by soft whites, light blues, and stone neutrals. Lighting is bright, diffused daylight with soft highlights and minimal shadows, emphasizing texture, moisture, and realism. The composition is centered and balanced, with shallow depth of field and a softly blurred background for a high-end cosmetic advertising look. Ultra-realistic, photoreal, editorial-quality product shot.", "negative_prompt": "harsh shadows, dirty water, cluttered background, plastic texture, low resolution, oversharpening, unrealistic reflections, strong color cast, text artifacts, watermark, logo distortion, messy cream surface", "style": "luxury skincare advertising", "camera": { "type": "DSLR", "lens": "90mm macro", "aperture": "f/5.6", "iso": 100, "shutter_speed": "1/250" }, "lighting": { "type": "natural diffused daylight", "direction": "top and side", "contrast": "low to medium", "temperature": "cool-neutral" }, "composition": { "framing": "centered product focus", "angle": "slightly elevated", "orientation": "portrait", "depth_of_field": "shallow with soft background blur" }, "quality": { "resolution": "8K", "detail": "ultra-fine texture detail", "sharpness": "high", "realism": "photorealistic" } }
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "{ \"prompt\": \"A premium minimalist skincare product photography scene featuring an open white cosmetic jar labeled 'Sealine Serum'. The jar is placed on a smooth, pale stone partially submerged in crystal-clear shallow water. The cream inside the jar has a soft, glossy swirl with a pristine, silky texture. Gentle water ripples surround the stone, creating natural light refractions and caustic patterns on the surface below. Small water droplets and subtle splashes add freshness and motion. The environment feels serene, clean, and natural, evoking purity, hydration, and calm luxury. The color palette is cool and airy, dominated by soft whites, light blues, and stone neutrals. Lighting is bright, diffused daylight with soft highlights and minimal shadows, emphasizing texture, moisture, and realism. The composition is centered and balanced, with shallow depth of field and a softly blurred background for a high-end cosmetic advertising look. Ultra-realistic, photoreal, editorial-quality product shot.\", \"negative_prompt\": \"harsh shadows, dirty water, cluttered background, plastic texture, low resolution, oversharpening, unrealistic reflections, strong color cast, text artifacts, watermark, logo distortion, messy cream surface\", \"style\": \"luxury skincare advertising\", \"camera\": { \"type\": \"DSLR\", \"lens\": \"90mm macro\", \"aperture\": \"f/5.6\", \"iso\": 100, \"shutter_speed\": \"1/250\" }, \"lighting\": { \"type\": \"natural diffused daylight\", \"direction\": \"top and side\", \"contrast\": \"low to medium\", \"temperature\": \"cool-neutral\" }, \"composition\": { \"framing\": \"centered product focus\", \"angle\": \"slightly elevated\", \"orientation\": \"portrait\", \"depth_of_field\": \"shallow with soft background blur\" }, \"quality\": { \"resolution\": \"8K\", \"detail\": \"ultra-fine texture detail\", \"sharpness\": \"high\", \"realism\": \"photorealistic\" } }"
}
JSON