Examples for using nano-banana-2 through RunAPI from agent tools or API calls. Copy a prompt, then use it in Claude Code, Codex, Cursor, Windsurf, or your backend.
1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. Restart Claude Code
3. Paste this prompt: Generate an image: "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. Restart Codex
3. Paste this prompt: Generate an image: "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. Restart Cursor
3. Paste this prompt: Generate an image: "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. Restart Windsurf
3. Paste this prompt: Generate an image: "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_imageGet API Key
A high-detail photograph of a defiant woman posing nonchalantly. She has a messy aesthetic, wearing oversized grunge clothing. The background is a cluttered, dimly lit urban environment. Technical details: 85mm focal length, sharp focus on eyes, cinematic lighting, photorealistic textures, 8k resolution, gritty atmosphere
{ "scene_description": "Three young women lying down on a textured surface. The bodies are intertwined in a triangular composition.", "background": "Plush, high-pile bright pink faux fur rug or fabric.", "subject_details": { "demographics": "Three young Asian women (K-pop idol aesthetic), pale skin tones.", "styling_theme": "Gothic Lolita / Dark Coquette / Black on Pink.", "makeup": "Consistent across all three: dark red gradient lips, soft smoky eye makeup, defined brows.", "subject_1_top": { "position": "Lying horizontally at the top.", "hair": "Blonde, long wavy hair.", "outfit": "Black corset top with ruffled straps, black velvet opera gloves, crystal choker necklace." }, "subject_2_middle_right": { "position": "Lying diagonally below Subject 1, head resting near Subject 1's shoulder.", "hair": "Black, long straight hair.", "outfit": "Black leather/latex bustier top with sheer mesh panel, crystal collar necklace." }, "subject_3_bottom_center": { "position": "Lying vertically in the foreground, head resting near Subject 2's chest.", "hair": "Black, long wavy hair.", "outfit": "Black brocade corset with lace trim, black opera gloves, black satin skirt, crystal choker.", "pose": "Arms extended upwards and outwards, framing the composition." } }, "exact_pose_anatomical": { "viewpoint": "Bird's-eye view (Directly overhead).", "heads": "All three faces are angled upwards towards the camera lens.", "eyes": "Direct eye contact from all subjects.", "limbs": "Arms are positioned to create leading lines; Subject 3's gloved arms reach up towards the other two." }, "camera_technical_values": { "angle": "90-degree Top Down.", "focal_length": "50mm (Standard lens to capture the group without wide-angle distortion).", "aperture": "f/5.6 (To ensure all three faces, which are on slightly different planes, are in sharp focus).", "shutter_speed": "1/125s (Studio setting).", "iso": "ISO 100 (Clean image quality).", "framing": "Tight framing, filling the canvas with the subjects and the pink texture." }, "lighting_setup": { "type": "Soft Studio Lighting (Beauty Dish or Softbox).", "direction": "Frontal/Overhead (relative to the camera).", "quality": "Even, shadowless illumination on the faces ('Butterfly lighting').", "contrast": "High contrast between the jet-black outfits and the bright pink background/pale skin.", "highlights": "Soft specular highlights on the black leather and latex textures." } }
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": "{ \"scene_description\": \"Three young women lying down on a textured surface. The bodies are intertwined in a triangular composition.\", \"background\": \"Plush, high-pile bright pink faux fur rug or fabric.\", \"subject_details\": { \"demographics\": \"Three young Asian women (K-pop idol aesthetic), pale skin tones.\", \"styling_theme\": \"Gothic Lolita / Dark Coquette / Black on Pink.\", \"makeup\": \"Consistent across all three: dark red gradient lips, soft smoky eye makeup, defined brows.\", \"subject_1_top\": { \"position\": \"Lying horizontally at the top.\", \"hair\": \"Blonde, long wavy hair.\", \"outfit\": \"Black corset top with ruffled straps, black velvet opera gloves, crystal choker necklace.\" }, \"subject_2_middle_right\": { \"position\": \"Lying diagonally below Subject 1, head resting near Subject 1's shoulder.\", \"hair\": \"Black, long straight hair.\", \"outfit\": \"Black leather/latex bustier top with sheer mesh panel, crystal collar necklace.\" }, \"subject_3_bottom_center\": { \"position\": \"Lying vertically in the foreground, head resting near Subject 2's chest.\", \"hair\": \"Black, long wavy hair.\", \"outfit\": \"Black brocade corset with lace trim, black opera gloves, black satin skirt, crystal choker.\", \"pose\": \"Arms extended upwards and outwards, framing the composition.\" } }, \"exact_pose_anatomical\": { \"viewpoint\": \"Bird's-eye view (Directly overhead).\", \"heads\": \"All three faces are angled upwards towards the camera lens.\", \"eyes\": \"Direct eye contact from all subjects.\", \"limbs\": \"Arms are positioned to create leading lines; Subject 3's gloved arms reach up towards the other two.\" }, \"camera_technical_values\": { \"angle\": \"90-degree Top Down.\", \"focal_length\": \"50mm (Standard lens to capture the group without wide-angle distortion).\", \"aperture\": \"f/5.6 (To ensure all three faces, which are on slightly different planes, are in sharp focus).\", \"shutter_speed\": \"1/125s (Studio setting).\", \"iso\": \"ISO 100 (Clean image quality).\", \"framing\": \"Tight framing, filling the canvas with the subjects and the pink texture.\" }, \"lighting_setup\": { \"type\": \"Soft Studio Lighting (Beauty Dish or Softbox).\", \"direction\": \"Frontal/Overhead (relative to the camera).\", \"quality\": \"Even, shadowless illumination on the faces ('Butterfly lighting').\", \"contrast\": \"High contrast between the jet-black outfits and the bright pink background/pale skin.\", \"highlights\": \"Soft specular highlights on the black leather and latex textures.\" } }"
}
JSON
Cinematic double exposure portrait of a woman in side profile, two overlapping faces slightly offset, teal and orange moody lighting, soft motion blur, dark minimal background, high contrast, studio photography, dreamy atmosphere, ultra-realistic skin texture, shallow depth of field, 85mm lens, dramatic fine art portrait, volumetric lighting. 🎨
Ultra-realistic cinematic fashion photograph of a stylish blonde woman standing confidently between two moving escalators inside a luxury shopping mall, wearing a sheer black lace long-sleeve top and flowing skirt, holding a small white designer handbag, her hair dramatically blowing sideways as if caught in motion, blurred crowd moving up and down the escalators creating dynamic motion streaks around her, she remains sharp and perfectly focused in the center, dramatic fashion editorial lighting, shallow depth of field, high contrast, Vogue magazine style, motion blur photography, symmetrical escalator composition, luxury mall interior, 85mm lens, f/1.8, ultra detailed, film grain, cinematic color grading.
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 fashion photograph of a stylish blonde woman standing confidently between two moving escalators inside a luxury shopping mall, wearing a sheer black lace long-sleeve top and flowing skirt, holding a small white designer handbag, her hair dramatically blowing sideways as if caught in motion, blurred crowd moving up and down the escalators creating dynamic motion streaks around her, she remains sharp and perfectly focused in the center, dramatic fashion editorial lighting, shallow depth of field, high contrast, Vogue magazine style, motion blur photography, symmetrical escalator composition, luxury mall interior, 85mm lens, f/1.8, ultra detailed, film grain, cinematic color grading."
}
JSON
Cinematic street portrait of a young woman walking through a busy shopping street at golden hour, holding bright yellow shopping bags, wind-blown wavy hair, soft natural makeup, intense eye contact with camera, shot from a slightly low angle close-up, dynamic motion blur in the background crowd, sharp focus on face, warm sunlight casting dramatic highlights and shadows, urban European architecture, shallow depth of field, 35mm lens, f/1.8, high contrast, rich warm tones, editorial fashion photography style, ultra-realistic, 8k.
Hyper-realistic low-angle closeup front shot of a young man use image uploaded leaning against a Land Rover Defender in a dim basement garage. Wearing oversized Nike wind cheater, baggy basketball pants, Adidas chunky sneakers, basketball cap. Hands crossed, attitude gaze. Luxury SUVs softly blurred with cinematic bokeh, shallow depth of field, strong subject separation, and 8K cinematic color grading.
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": "Hyper-realistic low-angle closeup front shot of a young man use image uploaded leaning against a Land Rover Defender in a dim basement garage. Wearing oversized Nike wind cheater, baggy basketball pants, Adidas chunky sneakers, basketball cap. Hands crossed, attitude gaze. Luxury SUVs softly blurred with cinematic bokeh, shallow depth of field, strong subject separation, and 8K cinematic color grading."
}
JSON
A high-resolution 2x2 grid collage of four individual portraits. In each square, a different young man peeks through a jagged, ripped hole in bright yellow seamless paper. The subjects have a 1990s indie-pop aesthetic with diverse hairstyles, including messy curls and dreadlocks. The lighting is soft and even, typical of a professional studio photoshoot. The color palette is dominated by the vibrant yellow paper against a neutral beige background visible through the tears. Cinematic quality, sharp focus, 8k resolution, editorial photography style. Key Elements Breakdown If you want to tweak the result, here are the specific descriptors that make this style work: Composition: 2x2 grid collage, quad split screen, peeking through a hole. Main Prop: torn yellow construction paper, jagged ripped edges, seamless paper background. Subject Style: Gen Z fashion, indie band aesthetic, 90s grunge-lite, youthful expressive faces. Technical Specs: flat lighting, low depth of field, clean studio photography, vibrant saturation.
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 high-resolution 2x2 grid collage of four individual portraits. In each square, a different young man peeks through a jagged, ripped hole in bright yellow seamless paper. The subjects have a 1990s indie-pop aesthetic with diverse hairstyles, including messy curls and dreadlocks. The lighting is soft and even, typical of a professional studio photoshoot. The color palette is dominated by the vibrant yellow paper against a neutral beige background visible through the tears. Cinematic quality, sharp focus, 8k resolution, editorial photography style. Key Elements Breakdown If you want to tweak the result, here are the specific descriptors that make this style work: Composition: 2x2 grid collage, quad split screen, peeking through a hole. Main Prop: torn yellow construction paper, jagged ripped edges, seamless paper background. Subject Style: Gen Z fashion, indie band aesthetic, 90s grunge-lite, youthful expressive faces. Technical Specs: flat lighting, low depth of field, clean studio photography, vibrant saturation."
}
JSON
Create a A high-fashion editorial image of a young man, of the person from the uploaded character reference photo. KEEP FACE FEATURES AS ORIGINAL at all times. A high-fashion editorial image captured in an exaggerated fisheye lens close-up. The camera is angled slightly from below, and the man is crouching or squatting forward with both hands resting on his knees, leaning his upper body toward the lens. His face is looking downward into the camera, exaggerated by fisheye distortion so it appears large and rounded, with cartoonish proportions. He has a neutral smile, relaxed and completely smile, expression confident but emotionless. He wears a trendy, summery knitted shirt in a pastel green shade light, breathable, with visible texture, reflecting Gen Z summer fashion. He also wears oversized black-framed sunglasses, with lenses tinted in light green. The background is a clean, solid orange color with soft, realistic studio lighting, creating gentle shadows cast from his head, shoulders, and arms. No direct sunlight light is controlled and evenly diffused, like a fashion set. The overall style is playful, surreal, and modern, inspired by 2025 Gen Z fashion culture and bold editorial covers. Ultra-clean details, slight grain, bold composition.
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 A high-fashion editorial image of a young man, of the person from the uploaded character reference photo. KEEP FACE FEATURES AS ORIGINAL at all times. A high-fashion editorial image captured in an exaggerated fisheye lens close-up. The camera is angled slightly from below, and the man is crouching or squatting forward with both hands resting on his knees, leaning his upper body toward the lens. His face is looking downward into the camera, exaggerated by fisheye distortion so it appears large and rounded, with cartoonish proportions. He has a neutral smile, relaxed and completely smile, expression confident but emotionless. He wears a trendy, summery knitted shirt in a pastel green shade light, breathable, with visible texture, reflecting Gen Z summer fashion. He also wears oversized black-framed sunglasses, with lenses tinted in light green. The background is a clean, solid orange color with soft, realistic studio lighting, creating gentle shadows cast from his head, shoulders, and arms. No direct sunlight light is controlled and evenly diffused, like a fashion set. The overall style is playful, surreal, and modern, inspired by 2025 Gen Z fashion culture and bold editorial covers. Ultra-clean details, slight grain, bold composition."
}
JSON
Subject & Pose Full-body studio fashion photography of a young East Asian man with styled, dark, textured hair. He is leaning against a tall, slender black metal barstool, posing with one foot resting on the floor and the other leg bent at the knee. His expression is calm and neutral, looking directly at the camera. Outfit & Styling Top: A light dusty blue oversized crewneck sweatshirt layered over a crisp white collared button-down shirt, with the collar and hem visible.Bottoms: Matching light dusty blue jogger-style sweatpants.Footwear: Chunky cream and white athletic sneakers with black laces and subtle grey accents. Technical Specifications Lighting: Soft, even studio lighting with minimal shadows to create a clean, high-end commercial look.Background: A solid, minimalist light grey or off-white seamless studio backdrop.Composition: Vertical full-body shot, eye-level perspective, sharp focus, 8k https://t.co/rmgp3uk67G: Contemporary K-fashion editorial, soft color palette, polished and airy 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": "Subject & Pose Full-body studio fashion photography of a young East Asian man with styled, dark, textured hair. He is leaning against a tall, slender black metal barstool, posing with one foot resting on the floor and the other leg bent at the knee. His expression is calm and neutral, looking directly at the camera. Outfit & Styling Top: A light dusty blue oversized crewneck sweatshirt layered over a crisp white collared button-down shirt, with the collar and hem visible.Bottoms: Matching light dusty blue jogger-style sweatpants.Footwear: Chunky cream and white athletic sneakers with black laces and subtle grey accents. Technical Specifications Lighting: Soft, even studio lighting with minimal shadows to create a clean, high-end commercial look.Background: A solid, minimalist light grey or off-white seamless studio backdrop.Composition: Vertical full-body shot, eye-level perspective, sharp focus, 8k https://t.co/rmgp3uk67G: Contemporary K-fashion editorial, soft color palette, polished and airy aesthetic."
}
JSON
Create a creative photo of a person using the face from the uploaded image. The person is standing in a simple environment while surrounded by hand-drawn doodle elements. Around them are sketch-style drawings like arrows, lightning, stars, scribbles, and abstract shapes, as if drawn with a marker. Some doodles interact with the person, like wings on their back, a crown above their head, or energy lines around their body. The style is a mix of real photo and doodle art. The person is wearing casual modern clothes like a t-shirt, jacket, jeans, and sneakers. The background is clean so the doodles stand out. High contrast, creative composition, slightly messy sketch style, fun and expressive, ultra detailed, modern social media 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 creative photo of a person using the face from the uploaded image. The person is standing in a simple environment while surrounded by hand-drawn doodle elements. Around them are sketch-style drawings like arrows, lightning, stars, scribbles, and abstract shapes, as if drawn with a marker. Some doodles interact with the person, like wings on their back, a crown above their head, or energy lines around their body. The style is a mix of real photo and doodle art. The person is wearing casual modern clothes like a t-shirt, jacket, jeans, and sneakers. The background is clean so the doodles stand out. High contrast, creative composition, slightly messy sketch style, fun and expressive, ultra detailed, modern social media aesthetic."
}
JSON
A high-angle, wide-composition Impressionist oil painting of a rainy urban intersection. The scene is primarily monochrome with deep charcoal blacks and silvery grays, but features vibrant, colorful glowing lights at the footsteps of pedestrians crossing the street and beneath their umbrellas. A lone motorcyclist in the center leaves a trail of soft, colorful light, and car headlights emit small, brilliant pops of color. The style is heavily blurred and painterly, with loose, expressive brushstrokes and vague silhouettes, prioritizing mood and 'urban solitude' over sharp detail. The pavement is rain-soaked, reflecting both the gray sky and the neon-like colorful glows in shimmering, broken patterns. Misty atmosphere with distant buildings fading into soft tonal washes.
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 high-angle, wide-composition Impressionist oil painting of a rainy urban intersection. The scene is primarily monochrome with deep charcoal blacks and silvery grays, but features vibrant, colorful glowing lights at the footsteps of pedestrians crossing the street and beneath their umbrellas. A lone motorcyclist in the center leaves a trail of soft, colorful light, and car headlights emit small, brilliant pops of color. The style is heavily blurred and painterly, with loose, expressive brushstrokes and vague silhouettes, prioritizing mood and 'urban solitude' over sharp detail. The pavement is rain-soaked, reflecting both the gray sky and the neon-like colorful glows in shimmering, broken patterns. Misty atmosphere with distant buildings fading into soft tonal washes."
}
JSON
Create a Portrait Master Object: Two passport-sized photo prints held side-by-side by a person's thumb and index finger. **Passport Photo Background:** Use a solid blue background (the standard official passport photo color for Indonesian marriage books for certain even/odd birth years). **Clothing:** Both subjects in the photo wear formal and neat white collared shirts. **Male Subject (Left Photo):** Make his face and hair 100% similar to the given reference. He poses as if talking into a white paper cup, with a cheerful laughing expression. **Female Subject (Right Photo):** Make her face and hair 100% similar to the given reference. She poses as if holding a white paper cup to her ear, listening. Her expression is funny with a wide smile and a slightly stuck-out tongue. **Interactive Prop:** There is a white string coming out from under the male's paper cup and connecting to the female's paper cup. Because the two photos are placed next to each other, this prop creates the illusion of a "string phone" connecting the two photos.
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 Portrait Master Object: Two passport-sized photo prints held side-by-side by a person's thumb and index finger. **Passport Photo Background:** Use a solid blue background (the standard official passport photo color for Indonesian marriage books for certain even/odd birth years). **Clothing:** Both subjects in the photo wear formal and neat white collared shirts. **Male Subject (Left Photo):** Make his face and hair 100% similar to the given reference. He poses as if talking into a white paper cup, with a cheerful laughing expression. **Female Subject (Right Photo):** Make her face and hair 100% similar to the given reference. She poses as if holding a white paper cup to her ear, listening. Her expression is funny with a wide smile and a slightly stuck-out tongue. **Interactive Prop:** There is a white string coming out from under the male's paper cup and connecting to the female's paper cup. Because the two photos are placed next to each other, this prop creates the illusion of a \"string phone\" connecting the two photos."
}
JSON
Creative fashion photography with distorted perspective (wide-angle lens/fisheye effect). The frame features a young, handsome European-looking man with dark hair. He is seated at a table, resting his left hand on his head (a relaxed, pensive pose), and looking directly into the lens with a confident, slightly arrogant expression. Key element (foreground): His right arm is extended strongly forward toward the camera, palm facing down. In extreme close-up. He holds a large, glossy black chess piece (the Queen), making a move. Due to the perspective, the hand and piece appear enormous compared to the head. Setting: The table is a stylized chessboard: alternating glossy black squares and squares of textured gold leaf, with strong reflections on the surface. In the background, a black chess piece lies overturned on the table. Clothing: A loose white shirt with an open collar, a gold chain around the neck. Background: Dark, almost black, with large white abstract geometric shapes (reminiscent of the silhouettes of a chess rook's battlements) at the edges of the frame. Lighting and Style: Studio lighting, contrasting light, high detail in the leather texture and gold, glossy magazine style, unusual angle.
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": "Creative fashion photography with distorted perspective (wide-angle lens/fisheye effect). The frame features a young, handsome European-looking man with dark hair. He is seated at a table, resting his left hand on his head (a relaxed, pensive pose), and looking directly into the lens with a confident, slightly arrogant expression. Key element (foreground): His right arm is extended strongly forward toward the camera, palm facing down. In extreme close-up. He holds a large, glossy black chess piece (the Queen), making a move. Due to the perspective, the hand and piece appear enormous compared to the head. Setting: The table is a stylized chessboard: alternating glossy black squares and squares of textured gold leaf, with strong reflections on the surface. In the background, a black chess piece lies overturned on the table. Clothing: A loose white shirt with an open collar, a gold chain around the neck. Background: Dark, almost black, with large white abstract geometric shapes (reminiscent of the silhouettes of a chess rook's battlements) at the edges of the frame. Lighting and Style: Studio lighting, contrasting light, high detail in the leather texture and gold, glossy magazine style, unusual angle."
}
JSON
Create a hyper-realistic three-panel vertical cinematic collage in 9:16 aspect ratio, editorial fashion photography style. The collage consists of three distinct vertical frames stacked seamlessly, each featuring the exact same man with consistent face, skin tone, short black hair, sharp jawline, and intense gaze directly at the viewer, as if from the same reference photo. Top panel: The man stands confidently on a misty mountain ridge at sunrise, dramatic Himalayan peaks in the background with golden light piercing through low clouds. He wears a rugged dark olive green tactical field jacket with rolled sleeves, black cargo pants, and sturdy hiking boots. Cool blue-gray color grading with subtle film grain. Middle panel: The man leans against an ancient stone pillar inside a grand abandoned temple in a dense tropical jungle, soft diffused sunlight filtering through overgrown vines and carved arches. He wears a lightweight white linen button-up shirt (slightly unbuttoned at the top) tucked into slim khaki trousers, with brown leather loafers. Warm earthy tones with teal shadows and cinematic haze. Bottom panel: The man walks along a serene lakeside at golden hour, crystal-clear water reflecting snow-capped mountains in the distance, surrounded by pine trees. He wears a black merino wool turtleneck sweater layered under a tailored charcoal wool overcoat, dark jeans, and polished Chelsea boots. Moody teal-orange cinematic grading with soft bokeh and gentle film grain. Maintain perfect facial consistency across all three panels — same man, same reference face, no variations in features. Ultra-detailed skin texture, realistic fabric details, natural lighting per environment. Cinematic color grading, subtle film grain, editorial composition, high-end fashion photography aesthetic, shot on 35mm film, 4k resolution, photorealistic, masterpiece.
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 hyper-realistic three-panel vertical cinematic collage in 9:16 aspect ratio, editorial fashion photography style. The collage consists of three distinct vertical frames stacked seamlessly, each featuring the exact same man with consistent face, skin tone, short black hair, sharp jawline, and intense gaze directly at the viewer, as if from the same reference photo. Top panel: The man stands confidently on a misty mountain ridge at sunrise, dramatic Himalayan peaks in the background with golden light piercing through low clouds. He wears a rugged dark olive green tactical field jacket with rolled sleeves, black cargo pants, and sturdy hiking boots. Cool blue-gray color grading with subtle film grain. Middle panel: The man leans against an ancient stone pillar inside a grand abandoned temple in a dense tropical jungle, soft diffused sunlight filtering through overgrown vines and carved arches. He wears a lightweight white linen button-up shirt (slightly unbuttoned at the top) tucked into slim khaki trousers, with brown leather loafers. Warm earthy tones with teal shadows and cinematic haze. Bottom panel: The man walks along a serene lakeside at golden hour, crystal-clear water reflecting snow-capped mountains in the distance, surrounded by pine trees. He wears a black merino wool turtleneck sweater layered under a tailored charcoal wool overcoat, dark jeans, and polished Chelsea boots. Moody teal-orange cinematic grading with soft bokeh and gentle film grain. Maintain perfect facial consistency across all three panels — same man, same reference face, no variations in features. Ultra-detailed skin texture, realistic fabric details, natural lighting per environment. Cinematic color grading, subtle film grain, editorial composition, high-end fashion photography aesthetic, shot on 35mm film, 4k resolution, photorealistic, masterpiece."
}
JSON
A stylish young man wearing a black leather jacket and aviator sunglasses leans out of the window of a vintage blue car on an empty desert highway. He casually holds a cigarette, looking confidently at the camera. Beside him, a 3D cartoon coyote character (in the style of classic animation, exaggerated features, expressive face) is sitting on the car door, interacting naturally with the real-world environment. In the background, a cartoon roadrunner is sprinting fast along the road, kicking up dust. The scene blends hyper-realistic photography with high-quality 3D animated characters seamlessly. Desert landscape with cacti, warm golden hour lighting, long shadows, cinematic depth of field, ultra-detailed textures, reflections in sunglasses, motion blur on running character, 35mm lens, f/2.0, high contrast, 8K, film still 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": "A stylish young man wearing a black leather jacket and aviator sunglasses leans out of the window of a vintage blue car on an empty desert highway. He casually holds a cigarette, looking confidently at the camera. Beside him, a 3D cartoon coyote character (in the style of classic animation, exaggerated features, expressive face) is sitting on the car door, interacting naturally with the real-world environment. In the background, a cartoon roadrunner is sprinting fast along the road, kicking up dust. The scene blends hyper-realistic photography with high-quality 3D animated characters seamlessly. Desert landscape with cacti, warm golden hour lighting, long shadows, cinematic depth of field, ultra-detailed textures, reflections in sunglasses, motion blur on running character, 35mm lens, f/2.0, high contrast, 8K, film still aesthetic."
}
JSON
{ "description": "A colossal woman standing in a city street, appearing to be 'under construction' with scaffolding surrounding her body.", "aesthetic": "Hyper-realistic composite, cinematic, urban fantasy.", "subject_details": { "celebrity_likeness": "Taylor Swift.", "features": { "face": "Blue eyes, signature red lipstick, distinct facial structure.", "hair": "Golden blonde, long, wavy texture cascading over shoulders." }, "apparel": { "dress": "Black satin slip dress with a deep V-neck and a high slit on the right thigh.", "accessories": "Holding a standard white disposable coffee cup in the right hand. Carrying a brown leather luxury handbag in the left hand.", "footwear": "Bare feet or heels (obscured by street debris/cracks)." } }, "surreal_elements": { "scaffolding": "Intricate metal construction scaffolding structures built around her arms, torso, and legs, following the contour of her body.", "miniatures": "Tiny construction workers in yellow hard hats and high-vis vests climbing the scaffolding on her body.", "destruction": "The asphalt street beneath her feet is cracking and shattering under the immense weight, creating a crater pattern." }, "exact_pose_anatomical": { "posture": "Standing tall with a slight contrapposto (weight shifted to one hip).", "orientation": "Front-facing, towering over the viewer/city.", "right_arm": "Bent at the elbow, raised to hold the coffee cup at chest level.", "left_arm": "Extended downwards holding the handbag.", "gaze": "Direct, calm eye contact with the camera.", "scale": "Subject appears to be approximately 50 stories tall, matching the height of surrounding skyscrapers." }, "environment": { "location": "Avenue in a major metropolis (resembling Chicago or NYC).", "elements": "Skyscrapers flanking both sides, busy traffic with miniature yellow taxis and buses way below.", "perspective": "Aerial view relative to the city, but eye-level relative to the subject." }, "camera_technical_values": { "lens": "35mm (Wide angle to capture the full scale of the subject against the skyline).", "aperture": "f/11 (Deep depth of field to keep both the giant subject and the city background relatively sharp).", "shutter_speed": "1/500s.", "iso": "ISO 100.", "resolution": "8k, high fidelity textures." }, "lighting_setup": { "source": "Natural Daylight.", "quality": "Soft, diffused sunlight (slightly overcast).", "direction": "Overhead/Frontal.", "shadows": "Subject casts a massive, long shadow onto the city streets below." } }
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": "{ \"description\": \"A colossal woman standing in a city street, appearing to be 'under construction' with scaffolding surrounding her body.\", \"aesthetic\": \"Hyper-realistic composite, cinematic, urban fantasy.\", \"subject_details\": { \"celebrity_likeness\": \"Taylor Swift.\", \"features\": { \"face\": \"Blue eyes, signature red lipstick, distinct facial structure.\", \"hair\": \"Golden blonde, long, wavy texture cascading over shoulders.\" }, \"apparel\": { \"dress\": \"Black satin slip dress with a deep V-neck and a high slit on the right thigh.\", \"accessories\": \"Holding a standard white disposable coffee cup in the right hand. Carrying a brown leather luxury handbag in the left hand.\", \"footwear\": \"Bare feet or heels (obscured by street debris/cracks).\" } }, \"surreal_elements\": { \"scaffolding\": \"Intricate metal construction scaffolding structures built around her arms, torso, and legs, following the contour of her body.\", \"miniatures\": \"Tiny construction workers in yellow hard hats and high-vis vests climbing the scaffolding on her body.\", \"destruction\": \"The asphalt street beneath her feet is cracking and shattering under the immense weight, creating a crater pattern.\" }, \"exact_pose_anatomical\": { \"posture\": \"Standing tall with a slight contrapposto (weight shifted to one hip).\", \"orientation\": \"Front-facing, towering over the viewer/city.\", \"right_arm\": \"Bent at the elbow, raised to hold the coffee cup at chest level.\", \"left_arm\": \"Extended downwards holding the handbag.\", \"gaze\": \"Direct, calm eye contact with the camera.\", \"scale\": \"Subject appears to be approximately 50 stories tall, matching the height of surrounding skyscrapers.\" }, \"environment\": { \"location\": \"Avenue in a major metropolis (resembling Chicago or NYC).\", \"elements\": \"Skyscrapers flanking both sides, busy traffic with miniature yellow taxis and buses way below.\", \"perspective\": \"Aerial view relative to the city, but eye-level relative to the subject.\" }, \"camera_technical_values\": { \"lens\": \"35mm (Wide angle to capture the full scale of the subject against the skyline).\", \"aperture\": \"f/11 (Deep depth of field to keep both the giant subject and the city background relatively sharp).\", \"shutter_speed\": \"1/500s.\", \"iso\": \"ISO 100.\", \"resolution\": \"8k, high fidelity textures.\" }, \"lighting_setup\": { \"source\": \"Natural Daylight.\", \"quality\": \"Soft, diffused sunlight (slightly overcast).\", \"direction\": \"Overhead/Frontal.\", \"shadows\": \"Subject casts a massive, long shadow onto the city streets below.\" } }"
}
JSON
Ultra-realistic fashion studio portrait of a confident man and woman standing with arms crossed, wearing matching white sweatshirts with blue sleeves, dramatic sunlight streaming through window blinds casting striped shadows across their faces and clothing, clean minimal studio background, strong facial features, natural skin texture, cinematic lighting, high contrast shadow patterns, editorial fashion photography style, 85mm lens, shallow depth of field, ultra-detailed skin and fabric texture, professional studio lighting, 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": "Ultra-realistic fashion studio portrait of a confident man and woman standing with arms crossed, wearing matching white sweatshirts with blue sleeves, dramatic sunlight streaming through window blinds casting striped shadows across their faces and clothing, clean minimal studio background, strong facial features, natural skin texture, cinematic lighting, high contrast shadow patterns, editorial fashion photography style, 85mm lens, shallow depth of field, ultra-detailed skin and fabric texture, professional studio lighting, 8K."
}
JSON
Calm eyes, simple elegance. A high-fashion close-up portrait of a woman with relaxed shoulders and a gentle, composed smile. She wears a soft ivory couture top with a clean neckline, set in a warm-lit studio with delicate, translucent dust particles floating softly around her face.
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": "Calm eyes, simple elegance. A high-fashion close-up portrait of a woman with relaxed shoulders and a gentle, composed smile. She wears a soft ivory couture top with a clean neckline, set in a warm-lit studio with delicate, translucent dust particles floating softly around her face."
}
JSON
FAQ
Using nano-banana-2 prompts
What is %{model}?
%{model} is available through RunAPI as part of the unified model catalog. These prompts show practical input patterns that agents and backend services can reuse.
How do I use these prompts?
Copy any prompt and paste it into Claude Code, Codex, Cursor, or Windsurf after installing the RunAPI MCP Server. Developers can also copy the API example and send the prompt directly.
Do these prompts cost money to browse?
Browsing and copying prompt examples is free. Generation requests only cost money when you call a RunAPI model with your API key.
Can I adapt the prompts for production?
Yes. Treat each prompt as a starting point, then add your brand rules, output dimensions, safety constraints, and application-specific context before using it in production.