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
48k Hyper-realistic, A cinematic portrait of a young man(keep the facial features unchanged as uploaded image), his hair is messy manbun over the eye ,in a long dark trench coat, surrounded by pigeons flying dramatically around him. Some pigeons fly very close to the camera, wings blurred in motion, others perch on his shoulder. His expression is serious and enigmatic, half of his face obscured by a pigeon in the foreground. Moody lighting with strong shadows and highlights.
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": "48k Hyper-realistic, A cinematic portrait of a young man(keep the facial features unchanged as uploaded image), his hair is messy manbun over the eye ,in a long dark trench coat, surrounded by pigeons flying dramatically around him. Some pigeons fly very close to the camera, wings blurred in motion, others perch on his shoulder. His expression is serious and enigmatic, half of his face obscured by a pigeon in the foreground. Moody lighting with strong shadows and highlights."
}
JSON
Luxury fashion advertisement poster, deep green background with a soft circular gradient behind the model, two stylish female models standing full body. First model wearing a long elegant green dress with waist belt, white sneakers, sunglasses, holding a red handbag, confident pose with one hand on waist looking sideways. Second female model standing beside her in a different pose, slightly angled stance with relaxed arms, wearing a similar elegant fashion outfit matching the luxury theme. Studio lighting, minimal shadows, ultra-clean composition, premium fashion campaign style. At the top place large bold luxury serif text “BRAND NAME” (same placement and style as luxury fashion brands). At the bottom add text: “LUXURY THAT DEFINES YOU” Below it smaller text: Add a small side section titled “AVAILABLE COLORS” with three small circular color indicators: Green, Black, Red. Highly detailed, fashion catalog quality, DSLR photography style, 8k resolution, symmetrical layout, luxury branding aesthetic, professional advertising poster.
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": "Luxury fashion advertisement poster, deep green background with a soft circular gradient behind the model, two stylish female models standing full body. First model wearing a long elegant green dress with waist belt, white sneakers, sunglasses, holding a red handbag, confident pose with one hand on waist looking sideways. Second female model standing beside her in a different pose, slightly angled stance with relaxed arms, wearing a similar elegant fashion outfit matching the luxury theme. Studio lighting, minimal shadows, ultra-clean composition, premium fashion campaign style. At the top place large bold luxury serif text “BRAND NAME” (same placement and style as luxury fashion brands). At the bottom add text: “LUXURY THAT DEFINES YOU” Below it smaller text: Add a small side section titled “AVAILABLE COLORS” with three small circular color indicators: Green, Black, Red. Highly detailed, fashion catalog quality, DSLR photography style, 8k resolution, symmetrical layout, luxury branding aesthetic, professional advertising poster."
}
JSON
[BRAND NAME] [PRODUCT TYPE] (Clothing / Food / Automotive / Tech). Goal: Generate a professional "scrapbook" style collage poster for [BRAND NAME] centered around a [PRODUCT TYPE]. 1. HERO PRODUCT (BOTTOM FOCUS) - Object: A high-definition, realistic 3D render of a [PRODUCT TYPE] by [BRAND NAME] at the bottom center. - Placement: Slightly angled to show depth, with soft realistic contact shadows on a plain off-white floor. 2. THE MULTI-LAYERED COLLAGE STACK - Photos: A vertical stack of overlapping photos with RAGGED, TORN paper edges rising above the product. - Content: Photos should show [PRODUCT TYPE] in use, lifestyle shots related to [BRAND NAME], and close-ups of specific details. - Materials: Physical swatches of textures related to [PRODUCT TYPE] (e.g., leather/fabric for clothing, metal/carbon for cars, organic ingredients for food). Include visible raw edges and stitching. - Fasteners: Use strips of semi-transparent masking tape and black duct tape with the "[BRAND NAME]" logo printed in white to "hold" the pieces together. 3. GRAPHIC OVERLAYS & STAMPS - Stamp: A black, distressed ink stamp or seal near the hero product with text: "AUTHENTIC QUALITY // SUSTAINABLE CHOICE". - Typography: Small, clean sans-serif and typewriter-style text blocks describing the heritage of [BRAND NAME] placed at the bottom. - Logo: The primary "[BRAND NAME]" logo centered at the very bottom in a minimalist font. 4. STYLE & ATMOSPHERE - Aesthetic: Industrial DIY, workshop moodboard, high-end editorial collage. - Lighting: Bright, studio high-key lighting with soft, multi-layered shadows between the paper scraps and textures. - Quality: 8K resolution, macro detail on paper grain, fabric fibers, and tape adhesive.
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] [PRODUCT TYPE] (Clothing / Food / Automotive / Tech). Goal: Generate a professional \"scrapbook\" style collage poster for [BRAND NAME] centered around a [PRODUCT TYPE]. 1. HERO PRODUCT (BOTTOM FOCUS) - Object: A high-definition, realistic 3D render of a [PRODUCT TYPE] by [BRAND NAME] at the bottom center. - Placement: Slightly angled to show depth, with soft realistic contact shadows on a plain off-white floor. 2. THE MULTI-LAYERED COLLAGE STACK - Photos: A vertical stack of overlapping photos with RAGGED, TORN paper edges rising above the product. - Content: Photos should show [PRODUCT TYPE] in use, lifestyle shots related to [BRAND NAME], and close-ups of specific details. - Materials: Physical swatches of textures related to [PRODUCT TYPE] (e.g., leather/fabric for clothing, metal/carbon for cars, organic ingredients for food). Include visible raw edges and stitching. - Fasteners: Use strips of semi-transparent masking tape and black duct tape with the \"[BRAND NAME]\" logo printed in white to \"hold\" the pieces together. 3. GRAPHIC OVERLAYS & STAMPS - Stamp: A black, distressed ink stamp or seal near the hero product with text: \"AUTHENTIC QUALITY // SUSTAINABLE CHOICE\". - Typography: Small, clean sans-serif and typewriter-style text blocks describing the heritage of [BRAND NAME] placed at the bottom. - Logo: The primary \"[BRAND NAME]\" logo centered at the very bottom in a minimalist font. 4. STYLE & ATMOSPHERE - Aesthetic: Industrial DIY, workshop moodboard, high-end editorial collage. - Lighting: Bright, studio high-key lighting with soft, multi-layered shadows between the paper scraps and textures. - Quality: 8K resolution, macro detail on paper grain, fabric fibers, and tape adhesive."
}
JSON
Create a hyper-realistic, high-detail studio photoshoot featuring the same person from the reference photo with the exact facial features, skin tone, hairstyle, proportions, and identity fully preserved (no changes to face or structure). She is wearing stylish Gen-Z fashion attire trendy, minimal, modern streetwear. She is leaning casually on a realistic, fluffy, life-sized Labubu character, rendered in soft fur texture with playful expression. A British Shorthair cat sits or poses nearby, also hyperrealistic with detailed fur and natural posture. The entire scene is set against a smooth, seamless, vibrant orange studio backdrop with professional studio lighting, crisp shadows, clean highlights, and a premium fashion editorial vibe. Ultra-photorealistic, flawless skin texture (but unchanged identity), high-end photography style, full-body or mid-shot 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 hyper-realistic, high-detail studio photoshoot featuring the same person from the reference photo with the exact facial features, skin tone, hairstyle, proportions, and identity fully preserved (no changes to face or structure). She is wearing stylish Gen-Z fashion attire trendy, minimal, modern streetwear. She is leaning casually on a realistic, fluffy, life-sized Labubu character, rendered in soft fur texture with playful expression. A British Shorthair cat sits or poses nearby, also hyperrealistic with detailed fur and natural posture. The entire scene is set against a smooth, seamless, vibrant orange studio backdrop with professional studio lighting, crisp shadows, clean highlights, and a premium fashion editorial vibe. Ultra-photorealistic, flawless skin texture (but unchanged identity), high-end photography style, full-body or mid-shot composition."
}
JSON
LEGO mountain flood rescue scene, torrential rain causing river overflow in a LEGO mountain village, rescue boats and ropes used by LEGO firefighters, houses perched on slopes surrounded by muddy floodwater, misty mountains in background, dramatic cinematic lighting, intense LEGO disaster realism --ar 3:4
Create a hyper-realistic underwater close-range portrait captured with a wide-angle action camera in a waterproof housing. The camera is very close to the Subject (≈0.5–1 m), positioned slightly below face level and angled upward, with wide-angle distortion emphasizing depth while keeping the Subject dominant. Mid-shot to ¾ body framing. The Subject fills most of the frame, with face and upper body clearly visible. Schools of tropical fish swim closely around, some passing near the lens to create layered depth, with mild motion blur on fish closest to the camera. Natural sunlight enters from above, producing bright caustic patterns on the Subject and surrounding water, strong highlights near the surface, and soft blue gradients below. Floating water particles are visible between the camera and Subject, with slight refraction distortion around mask edges and hands. The Subject appears calm and relaxed, floating effortlessly with subtle body movement suggesting buoyancy and breathing through the snorkel. A shallow coral reef is visible below, slightly softened by depth, while nearby fish remain sharper. The water surface shimmers above with gentle ripples. Color behavior reflects natural underwater absorption: dominant blues and aquas, vibrant yellow and black fish patterns retained, and skin tones realistic with a slightly cool cast. The image should feel like a real close-distance snorkeling travel photo intimate, immersive, and authentic. Do not alter facial structure or identity. The Subject must remain 1000% identical to the reference image.
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 underwater close-range portrait captured with a wide-angle action camera in a waterproof housing. The camera is very close to the Subject (≈0.5–1 m), positioned slightly below face level and angled upward, with wide-angle distortion emphasizing depth while keeping the Subject dominant. Mid-shot to ¾ body framing. The Subject fills most of the frame, with face and upper body clearly visible. Schools of tropical fish swim closely around, some passing near the lens to create layered depth, with mild motion blur on fish closest to the camera. Natural sunlight enters from above, producing bright caustic patterns on the Subject and surrounding water, strong highlights near the surface, and soft blue gradients below. Floating water particles are visible between the camera and Subject, with slight refraction distortion around mask edges and hands. The Subject appears calm and relaxed, floating effortlessly with subtle body movement suggesting buoyancy and breathing through the snorkel. A shallow coral reef is visible below, slightly softened by depth, while nearby fish remain sharper. The water surface shimmers above with gentle ripples. Color behavior reflects natural underwater absorption: dominant blues and aquas, vibrant yellow and black fish patterns retained, and skin tones realistic with a slightly cool cast. The image should feel like a real close-distance snorkeling travel photo intimate, immersive, and authentic. Do not alter facial structure or identity. The Subject must remain 1000% identical to the reference image."
}
JSON
Ultra realistic cinematic portrait of a 32-year-old young woman standing in heavy rain at night, arms open wide and face lifted toward the sky, eyes closed, feeling the rain. Dramatic warm orange backlight illuminating the falling raindrops, creating glowing rain particles around her. Wet black t-shirt tightly fitting on the body, water droplets on her skin. Strong contrast lighting with a dark background, orange and golden light shining from the left side like fire or a spotlight. Emotional expression of freedom and peace, cinematic photography style, ultra-detailed, 8K resolution, shallow depth of field, professional studio lighting, rain splash effects, high-contrast shadows, dramatic atmosphere, vertical portrait composition, 85mm lens photography.
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 portrait of a 32-year-old young woman standing in heavy rain at night, arms open wide and face lifted toward the sky, eyes closed, feeling the rain. Dramatic warm orange backlight illuminating the falling raindrops, creating glowing rain particles around her. Wet black t-shirt tightly fitting on the body, water droplets on her skin. Strong contrast lighting with a dark background, orange and golden light shining from the left side like fire or a spotlight. Emotional expression of freedom and peace, cinematic photography style, ultra-detailed, 8K resolution, shallow depth of field, professional studio lighting, rain splash effects, high-contrast shadows, dramatic atmosphere, vertical portrait composition, 85mm lens photography."
}
JSON
Cinematic close-up portrait of a young man standing in heavy rain at night, wearing round metal glasses and a dark coat, wet hair falling across his forehead, light stubble beard. Raindrops clinging to his glasses and skin, dramatic moody lighting with warm orange streetlight bokeh in the background, shallow depth of field, intense contemplative expression, gritty noir atmosphere, ultra-realistic, high contrast, detailed skin texture, cinematic color grading, 85mm lens, f/1.8,photorealistic, dark urban aesthetic, film still look.
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 close-up portrait of a young man standing in heavy rain at night, wearing round metal glasses and a dark coat, wet hair falling across his forehead, light stubble beard. Raindrops clinging to his glasses and skin, dramatic moody lighting with warm orange streetlight bokeh in the background, shallow depth of field, intense contemplative expression, gritty noir atmosphere, ultra-realistic, high contrast, detailed skin texture, cinematic color grading, 85mm lens, f/1.8,photorealistic, dark urban aesthetic, film still look."
}
JSON
A cute young girl with short black hair and bangs smiling while holding a red KitKat Dark chocolate bar covering one eye, resting her cheek on her hand, wearing a cozy red and beige patterned winter sweater. The background and table are solid bright red. Several KitKat chocolate bars are placed on the table in front of her. Soft studio lighting, vibrant colors, commercial food advertisement style, ultra-realistic photography, sharp focus, high detail, 50mm lens, shallow depth of field, professional product photography, centered 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": "A cute young girl with short black hair and bangs smiling while holding a red KitKat Dark chocolate bar covering one eye, resting her cheek on her hand, wearing a cozy red and beige patterned winter sweater. The background and table are solid bright red. Several KitKat chocolate bars are placed on the table in front of her. Soft studio lighting, vibrant colors, commercial food advertisement style, ultra-realistic photography, sharp focus, high detail, 50mm lens, shallow depth of field, professional product photography, centered composition."
}
JSON
[BRAND NAME]. Act as a Creative Director and Fashion Photographer creating a high-end editorial lookbook image with a UI overlay layer. 1. THE SUBJECT (AVANT-GARDE STREETWEAR & NATURAL POSE): A fashion model stands centrally in a clean studio. Fashion Style: The outfit is a striking, conceptual "Modern Avant-Garde Streetwear" look that interprets the aesthetic and color palette of [BRAND NAME]. Think high-fashion meets street culture: experimental silhouettes, deconstructed layering, oversized proportions, unique material combinations, and bold details. It should feel innovative and editorial, but still grounded in streetwear, avoiding basic casual clothes. Pose: The model adopts a natural, relaxed, and effortless editorial pose (e.g., hands casually in pockets, a slight lean, looking off-camera or gently at the camera). Absolutely NO robotic, stiff, or "T-pose" stances. 2. THE UI OVERLAY (FROSTED GLASS RECTANGLE): Superimposed directly in front of the model's torso is a large, vertical Floating UI Element. Shape & Outline: A simple vertical rectangle with rounded corners, framed by a clean 2px solid White Stroke. Material (Glassmorphism): The interior of this rectangle is "Frosted Glass". The part of the model's outfit behind this glass must be heavily blurred (high Gaussian Blur), creating a translucent depth effect, while the rest of the model remains razor-sharp. 3. UI CONTENT (MINIMALIST & SMALL): Inside the frosted glass pane, place two elements in pure Monochrome White: Center: The official [BRAND NAME] logo, perfectly centered. Below Logo: Positioned significantly higher than the bottom edge, place two VERY SMALL, minimalist white navigation arrows (one pointing Left "<", one pointing Right ">"). They should be subtle and approximately 50% smaller than standard UI icons. 4. PHOTOGRAPHY STYLE & COMPOSITION (STRICT FRAMING): Style: High-End Editorial Fashion Photography. Real film grain, sophisticated soft studio lighting that emphasizes fabric textures. It must look like a real photograph, not a CGI render. Background: Infinite, pure White Studio Cyclorama. Framing (STRICT CONSTRAINT): The shot is a Wide Full-Body Photograph. The entire model (from top of head to bottom of feet) AND the entire UI overlay must be COMPLETELY CONTAINED within the image boundaries. There must be absolutely ZERO CROPPING of the subject or UI. There must be a very large, generous amount of empty negative space ("air") surrounding the subject on all four sides.
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 Creative Director and Fashion Photographer creating a high-end editorial lookbook image with a UI overlay layer. 1. THE SUBJECT (AVANT-GARDE STREETWEAR & NATURAL POSE): A fashion model stands centrally in a clean studio. Fashion Style: The outfit is a striking, conceptual \"Modern Avant-Garde Streetwear\" look that interprets the aesthetic and color palette of [BRAND NAME]. Think high-fashion meets street culture: experimental silhouettes, deconstructed layering, oversized proportions, unique material combinations, and bold details. It should feel innovative and editorial, but still grounded in streetwear, avoiding basic casual clothes. Pose: The model adopts a natural, relaxed, and effortless editorial pose (e.g., hands casually in pockets, a slight lean, looking off-camera or gently at the camera). Absolutely NO robotic, stiff, or \"T-pose\" stances. 2. THE UI OVERLAY (FROSTED GLASS RECTANGLE): Superimposed directly in front of the model's torso is a large, vertical Floating UI Element. Shape & Outline: A simple vertical rectangle with rounded corners, framed by a clean 2px solid White Stroke. Material (Glassmorphism): The interior of this rectangle is \"Frosted Glass\". The part of the model's outfit behind this glass must be heavily blurred (high Gaussian Blur), creating a translucent depth effect, while the rest of the model remains razor-sharp. 3. UI CONTENT (MINIMALIST & SMALL): Inside the frosted glass pane, place two elements in pure Monochrome White: Center: The official [BRAND NAME] logo, perfectly centered. Below Logo: Positioned significantly higher than the bottom edge, place two VERY SMALL, minimalist white navigation arrows (one pointing Left \"<\", one pointing Right \">\"). They should be subtle and approximately 50% smaller than standard UI icons. 4. PHOTOGRAPHY STYLE & COMPOSITION (STRICT FRAMING): Style: High-End Editorial Fashion Photography. Real film grain, sophisticated soft studio lighting that emphasizes fabric textures. It must look like a real photograph, not a CGI render. Background: Infinite, pure White Studio Cyclorama. Framing (STRICT CONSTRAINT): The shot is a Wide Full-Body Photograph. The entire model (from top of head to bottom of feet) AND the entire UI overlay must be COMPLETELY CONTAINED within the image boundaries. There must be absolutely ZERO CROPPING of the subject or UI. There must be a very large, generous amount of empty negative space (\"air\") surrounding the subject on all four sides."
}
JSON
A professional commercial fashion advertisement featuring [a young male model] in the uploaded image, sitting on a minimalist white matte cube. He has a neutral, confident expression and is looking directly at the camera. Attire & Styling: Hoodie: A high-quality, [heavyweight forest green (British Racing Green) hoodie]. It features a relaxed fit, a spacious kangaroo pocket, and metal-tipped drawstrings. Bottoms: Clean, slim-fit white trousers with visible seams. Footwear: Stylish low-top sneakers in a color-blocked design of forest green, navy blue, and white, with off-white midsoles and white laces. Accessories: Simple silver bands/rings on his fingers. Graphic Design & Layout: Typography: The word [HOODIE] is written in a massive, elegant high-contrast serif font across the top. A small, four-pointed yellow spark icon is centered inside the "O". Above this, [K A I R O P R E M I U M] is printed in a wide-spaced sans-serif font. Branding Elements: A dark green diagonal "caution tape" style ribbon crosses the bottom third of the frame, with the words [PREMIUM HOODIE] repeating in white uppercase text. UI Accents: * A yellow pill-shaped size selector labeled "S M L XL" on the left. A small thumbnail of the hoodie floating on the mid-left. Three circular color swatches (Green, Yellow, Black) on the right side. Two blocks of justified serif body text describing the product's comfort and eco-friendly materials. The URL [www.meigen.ai] in the bottom left corner. Environment & Lighting: Setting: A clean, bright, white-on-white minimalist studio cove. Lighting: Soft, diffused studio lighting creates gentle shadows under the model and the cube, emphasizing the rich texture of the green fabric and the crispness of the white pants. Color Palette: Deep forest green, bright white, and golden yellow accents.
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 professional commercial fashion advertisement featuring [a young male model] in the uploaded image, sitting on a minimalist white matte cube. He has a neutral, confident expression and is looking directly at the camera. Attire & Styling: Hoodie: A high-quality, [heavyweight forest green (British Racing Green) hoodie]. It features a relaxed fit, a spacious kangaroo pocket, and metal-tipped drawstrings. Bottoms: Clean, slim-fit white trousers with visible seams. Footwear: Stylish low-top sneakers in a color-blocked design of forest green, navy blue, and white, with off-white midsoles and white laces. Accessories: Simple silver bands/rings on his fingers. Graphic Design & Layout: Typography: The word [HOODIE] is written in a massive, elegant high-contrast serif font across the top. A small, four-pointed yellow spark icon is centered inside the \"O\". Above this, [K A I R O P R E M I U M] is printed in a wide-spaced sans-serif font. Branding Elements: A dark green diagonal \"caution tape\" style ribbon crosses the bottom third of the frame, with the words [PREMIUM HOODIE] repeating in white uppercase text. UI Accents: * A yellow pill-shaped size selector labeled \"S M L XL\" on the left. A small thumbnail of the hoodie floating on the mid-left. Three circular color swatches (Green, Yellow, Black) on the right side. Two blocks of justified serif body text describing the product's comfort and eco-friendly materials. The URL [www.meigen.ai] in the bottom left corner. Environment & Lighting: Setting: A clean, bright, white-on-white minimalist studio cove. Lighting: Soft, diffused studio lighting creates gentle shadows under the model and the cube, emphasizing the rich texture of the green fabric and the crispness of the white pants. Color Palette: Deep forest green, bright white, and golden yellow accents."
}
JSON
High-quality professional product photography of a chilled Pepsi can with condensation water droplets and a refreshing, icy look. The aluminum can appears crisp and glossy with realistic highlights, subtle reflections, and visible cold texture. Shot in a minimalist commercial beverage advertising style against a pure white background with soft natural shadows. Sharp focus, ultra-clean composition, modern 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": "High-quality professional product photography of a chilled Pepsi can with condensation water droplets and a refreshing, icy look. The aluminum can appears crisp and glossy with realistic highlights, subtle reflections, and visible cold texture. Shot in a minimalist commercial beverage advertising style against a pure white background with soft natural shadows. Sharp focus, ultra-clean composition, modern aesthetic."
}
JSON
{ "campaign_metadata": { "brand_identity": "Quantum Horizon Tech", "product_focus": "Titanium Luxury Smartwatch", "aspect_ratio": "3:4", "aesthetic": "Cyber-Luxury | Technical Minimalism" }, "visual_dna": { "materials": ["Brushed Aerospace Titanium", "Sapphire Crystal", "Fluorocarbon Strap"], "color_scheme": ["Space Grey", "Electric Cyan", "Matte Black"], "lighting": "Top-down Rim Lighting | Neon Accents | Cold Studio Tones" }, "grid_layout_execution": { "row_1_precision": { "cell_1_1": "Hero: Watch floating vertically, illuminated by a single beam of light.", "cell_1_2": "Macro: The digital crown's knurled texture and the red action button detail.", "cell_1_3": "Dynamic: Liquid metal ripples splashing against the titanium casing." }, "row_2_lifestyle": { "cell_2_1": "Minimal: Watch resting on a raw piece of jagged obsidian rock.", "cell_2_2": "Innovation: Holographic UI elements projecting from the watch face into the air.", "cell_2_3": "Sensory: Close-up of the strap clicking into the magnetic lug with precision." }, "row_3_surreal": { "cell_3_1": "Color: A gradient of deep blues and purples with light-trail long exposure.", "cell_3_2": "Abstraction: Deconstructed internal gears and chips floating like a nebula.", "cell_3_3": "Fusion: The watch submerged in a digital 'data' ocean with glowing currents." } } }
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": "{ \"campaign_metadata\": { \"brand_identity\": \"Quantum Horizon Tech\", \"product_focus\": \"Titanium Luxury Smartwatch\", \"aspect_ratio\": \"3:4\", \"aesthetic\": \"Cyber-Luxury | Technical Minimalism\" }, \"visual_dna\": { \"materials\": [\"Brushed Aerospace Titanium\", \"Sapphire Crystal\", \"Fluorocarbon Strap\"], \"color_scheme\": [\"Space Grey\", \"Electric Cyan\", \"Matte Black\"], \"lighting\": \"Top-down Rim Lighting | Neon Accents | Cold Studio Tones\" }, \"grid_layout_execution\": { \"row_1_precision\": { \"cell_1_1\": \"Hero: Watch floating vertically, illuminated by a single beam of light.\", \"cell_1_2\": \"Macro: The digital crown's knurled texture and the red action button detail.\", \"cell_1_3\": \"Dynamic: Liquid metal ripples splashing against the titanium casing.\" }, \"row_2_lifestyle\": { \"cell_2_1\": \"Minimal: Watch resting on a raw piece of jagged obsidian rock.\", \"cell_2_2\": \"Innovation: Holographic UI elements projecting from the watch face into the air.\", \"cell_2_3\": \"Sensory: Close-up of the strap clicking into the magnetic lug with precision.\" }, \"row_3_surreal\": { \"cell_3_1\": \"Color: A gradient of deep blues and purples with light-trail long exposure.\", \"cell_3_2\": \"Abstraction: Deconstructed internal gears and chips floating like a nebula.\", \"cell_3_3\": \"Fusion: The watch submerged in a digital 'data' ocean with glowing currents.\" } } }"
}
JSON
Cute, innocent young adult blonde woman sitting comfortably on a neatly made bed, relaxed natural posture with legs gently bent, shoulders soft and at ease. Long, soft, flowing blonde hair styled in loose natural waves, silky texture, subtle shine, a few delicate strands framing her face. Clear blue eyes with a gentle sparkle, long natural lashes, delicate eyebrows, smooth fair complexion with a soft healthy glow, subtle blush on cheeks, light pink lips, minimal natural makeup enhancing her youthful features. Calm, sweet, peaceful expression conveying warmth and innocence. Wearing a clean white short-sleeve cotton shirt, lightweight fabric, neatly tied at the waist with natural folds and creases, paired with light-wash high-waisted jeans, casual fit, realistic denim texture, visible stitching and seams, effortlessly stylish yet simple. Bright, cozy bedroom interior filled with soft natural light, white and cream color palette, minimal modern decor, neatly arranged pillows, soft linen bedsheets, light wooden bed frame and furniture, a large window nearby with sheer curtains gently diffusing the sunlight. Warm morning or late-afternoon sunlight streaming in, creating soft highlights on her hair and skin, gentle shadows for depth, peaceful and intimate atmosphere, calm lifestyle mood. Photorealistic, ultra-high detail, hyper-detailed skin texture with visible natural pores and softness, realistic hair strands with depth and volume, accurate fabric textures, lifelike color tones. Shot on Canon DSLR, 50mm f/1.8 lens, shallow depth of field, creamy natural bokeh background, sharp focus on eyes and face, natural lighting only, no artificial flash. Soft cinematic yet true-to-life color grading, lifestyle editorial photography style, clean balanced composition, vertical framing, realistic perspective, professional photography quality. --ar 3:4 --stylize 250 --v 6 --q 2
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": "Cute, innocent young adult blonde woman sitting comfortably on a neatly made bed, relaxed natural posture with legs gently bent, shoulders soft and at ease. Long, soft, flowing blonde hair styled in loose natural waves, silky texture, subtle shine, a few delicate strands framing her face. Clear blue eyes with a gentle sparkle, long natural lashes, delicate eyebrows, smooth fair complexion with a soft healthy glow, subtle blush on cheeks, light pink lips, minimal natural makeup enhancing her youthful features. Calm, sweet, peaceful expression conveying warmth and innocence. Wearing a clean white short-sleeve cotton shirt, lightweight fabric, neatly tied at the waist with natural folds and creases, paired with light-wash high-waisted jeans, casual fit, realistic denim texture, visible stitching and seams, effortlessly stylish yet simple. Bright, cozy bedroom interior filled with soft natural light, white and cream color palette, minimal modern decor, neatly arranged pillows, soft linen bedsheets, light wooden bed frame and furniture, a large window nearby with sheer curtains gently diffusing the sunlight. Warm morning or late-afternoon sunlight streaming in, creating soft highlights on her hair and skin, gentle shadows for depth, peaceful and intimate atmosphere, calm lifestyle mood. Photorealistic, ultra-high detail, hyper-detailed skin texture with visible natural pores and softness, realistic hair strands with depth and volume, accurate fabric textures, lifelike color tones. Shot on Canon DSLR, 50mm f/1.8 lens, shallow depth of field, creamy natural bokeh background, sharp focus on eyes and face, natural lighting only, no artificial flash. Soft cinematic yet true-to-life color grading, lifestyle editorial photography style, clean balanced composition, vertical framing, realistic perspective, professional photography quality. --ar 3:4 --stylize 250 --v 6 --q 2"
}
JSON
A dreamy, cinematic 3D animated girl with big expressive eyes and soft freckles, warm golden backlighting, long wavy strawberry-blonde hair in a loose braid glowing in the sunlight, standing inside a magical cave with turquoise water, surrounded by floating glowing golden flower petals and light particles, soft bokeh background, gentle smile looking upward in wonder, warm pastel color palette, volumetric lighting, shallow depth of field, ultra-detailed, high quality, pixar / disney inspired style, fantasy atmosphere, soft focus, glowing rim light, cinematic composition, 8k, highly detailed, whimsical, ethereal lighting.
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 dreamy, cinematic 3D animated girl with big expressive eyes and soft freckles, warm golden backlighting, long wavy strawberry-blonde hair in a loose braid glowing in the sunlight, standing inside a magical cave with turquoise water, surrounded by floating glowing golden flower petals and light particles, soft bokeh background, gentle smile looking upward in wonder, warm pastel color palette, volumetric lighting, shallow depth of field, ultra-detailed, high quality, pixar / disney inspired style, fantasy atmosphere, soft focus, glowing rim light, cinematic composition, 8k, highly detailed, whimsical, ethereal lighting."
}
JSON
A cinematic 4-panel photo collage showing a quiet, introspective city walk with smoking as a character detail. • Frame 1: Sitting briefly on wide stone stairs, cigarette lit, city lights behind • Frame 2: Standing still under a warm streetlamp, slow smoke drifting upward • Frame 3: Walking past old European buildings, cigarette between fingers • Frame 4: Pausing near a closed shop window, reflection visible with smoke haze Consistent outfit — minimalist black outfit, ankle boots. Low-key lighting, soft bokeh, cinematic shadows, film-still realism, editorial mood, 1:1 aspect ratio.
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 cinematic 4-panel photo collage showing a quiet, introspective city walk with smoking as a character detail. • Frame 1: Sitting briefly on wide stone stairs, cigarette lit, city lights behind • Frame 2: Standing still under a warm streetlamp, slow smoke drifting upward • Frame 3: Walking past old European buildings, cigarette between fingers • Frame 4: Pausing near a closed shop window, reflection visible with smoke haze Consistent outfit — minimalist black outfit, ankle boots. Low-key lighting, soft bokeh, cinematic shadows, film-still realism, editorial mood, 1:1 aspect ratio."
}
JSON
Ultra-realistic cinematic portrait of a stylish man in a black suit, captured from behind with his head turned over his shoulder, giving a sharp, intense look toward the camera. Short textured hair with subtle highlights, well-groomed beard. Dramatic spotlight from above creating a warm golden halo effect on his hair and face, fading into a dark background. Strong chiaroscuro lighting with deep shadows and soft highlights.
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 portrait of a stylish man in a black suit, captured from behind with his head turned over his shoulder, giving a sharp, intense look toward the camera. Short textured hair with subtle highlights, well-groomed beard. Dramatic spotlight from above creating a warm golden halo effect on his hair and face, fading into a dark background. Strong chiaroscuro lighting with deep shadows and soft highlights."
}
JSON
[BRAND NAME]. Act as a Senior AI Visual Strategist & Creative Director. Goal: Generate a high-motion triptych editorial where every visual element (color, text, props) is a direct semantic derivative of the brand name. PHASE 1: SEMANTIC BRAND ANALYSIS (AUTONOMOUS) [INSTRUCTIONS FOR IMAGEN]: Core Identity: Analyze "[BRAND NAME]". Define its industry, soul, and "vibe" (e.g., Kinetic, Organic, Brutalist, Ethereal). Color Psychology: Select a triadic palette based on brand associations: - BACKGROUND: The "Mood" color (e.g., Deep Forest for 'GAIA', Neon Amber for 'FUSE'). - ACCENTS/TYPOGRAPHY: The "Energy" color. Must have high contrast/readability against the background. - APPAREL: The "Statement" color. Completes the brand's visual signature. Copywriting: Generate 2-3 short, punchy slogans or keywords that resonate with the brand's mission to be used as background micro-text. PHASE 2: COMPOSITION (THE DYNAMIC TRIPTYCH) Layout: A single horizontal image split into three vertical editorial panels. - PANEL 1 (The Portrait): Extreme close-up. Bold [BRAND NAME] wordmark inside a geometric frame (circle or rectangle) overlapping the model's face or neck. - PANEL 2 (The Elevate): Medium shot. A model (gender determined by brand target audience) holds a primary brand-representative object above their head in a triumphant or symbolic gesture. - PANEL 3 (The Kinetic): Full-body shot. High-speed motion blur or an aggressive "power pose" interacting with the brand's core element. PHASE 3: GRAPHIC OVERLAYS & TEXTURES - Main Typography: Large, slanted (italic) heavy sans-serif in [ACCENT COLOR]. - Dynamic Ribbons: Vertical yellow or contrast tapes crossing the panels with repeating text: "[BRAND NAME] // [ASSOCIATED KEYWORD] // [BRAND NAME]". - Micro-Copy: Scattered small text in corners like "DESIGNED FOR [TARGET AUDIENCE]" or "EST. 2026 // GLOBAL IDENTITY". PHASE 4: LIGHTING & ESTHETIC STANDARDS - High-End Editorial (Vogue/Hypebeast style). - Global Illumination with crisp, sharp edges. - Realistic skin textures (pores, subtle sweat/shine) and high-fidelity fabric weaves. - No "AI-plastic" artifacts. PHASE 5: TECH SPECS 8K Resolution. Render: Octane. Subtle film grain. Ray-traced reflections on eyes and surfaces.
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 Senior AI Visual Strategist & Creative Director. Goal: Generate a high-motion triptych editorial where every visual element (color, text, props) is a direct semantic derivative of the brand name. PHASE 1: SEMANTIC BRAND ANALYSIS (AUTONOMOUS) [INSTRUCTIONS FOR IMAGEN]: Core Identity: Analyze \"[BRAND NAME]\". Define its industry, soul, and \"vibe\" (e.g., Kinetic, Organic, Brutalist, Ethereal). Color Psychology: Select a triadic palette based on brand associations: - BACKGROUND: The \"Mood\" color (e.g., Deep Forest for 'GAIA', Neon Amber for 'FUSE'). - ACCENTS/TYPOGRAPHY: The \"Energy\" color. Must have high contrast/readability against the background. - APPAREL: The \"Statement\" color. Completes the brand's visual signature. Copywriting: Generate 2-3 short, punchy slogans or keywords that resonate with the brand's mission to be used as background micro-text. PHASE 2: COMPOSITION (THE DYNAMIC TRIPTYCH) Layout: A single horizontal image split into three vertical editorial panels. - PANEL 1 (The Portrait): Extreme close-up. Bold [BRAND NAME] wordmark inside a geometric frame (circle or rectangle) overlapping the model's face or neck. - PANEL 2 (The Elevate): Medium shot. A model (gender determined by brand target audience) holds a primary brand-representative object above their head in a triumphant or symbolic gesture. - PANEL 3 (The Kinetic): Full-body shot. High-speed motion blur or an aggressive \"power pose\" interacting with the brand's core element. PHASE 3: GRAPHIC OVERLAYS & TEXTURES - Main Typography: Large, slanted (italic) heavy sans-serif in [ACCENT COLOR]. - Dynamic Ribbons: Vertical yellow or contrast tapes crossing the panels with repeating text: \"[BRAND NAME] // [ASSOCIATED KEYWORD] // [BRAND NAME]\". - Micro-Copy: Scattered small text in corners like \"DESIGNED FOR [TARGET AUDIENCE]\" or \"EST. 2026 // GLOBAL IDENTITY\". PHASE 4: LIGHTING & ESTHETIC STANDARDS - High-End Editorial (Vogue/Hypebeast style). - Global Illumination with crisp, sharp edges. - Realistic skin textures (pores, subtle sweat/shine) and high-fidelity fabric weaves. - No \"AI-plastic\" artifacts. PHASE 5: TECH SPECS 8K Resolution. Render: Octane. Subtle film grain. Ray-traced reflections on eyes and surfaces."
}
JSON