Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle
nano-banana-2/api/v1/nano_banana/text_to_image
运行信息
模型
nano-banana-2
提供方
Google
服务
Nano Banana
Endpoint
Text To Image
1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. 重启 Claude Code
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
1. codex plugin install runapi-mcp@agents
2. 重启 Codex
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
1. npx @runapi.ai/mcp init cursor
2. 重启 Cursor
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
1. npx @runapi.ai/mcp init windsurf
2. 重启 Windsurf
3. 粘贴这个 prompt:生成一张图像:"Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every 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": "Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
}
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": "Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
});
console.log(result.id);
require "runapi/nano_banana"
client = RunApi::NanoBanana::Client.new
result = client.text_to_image.run(
model: "nano-banana-2",
prompt: "Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle"
)
puts result.id
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader("{\"model\":\"nano-banana-2\",\"prompt\":\"Create an ultra-realistic, high-end lifestyle portrait of one adult subject, captured in a calm, elegant, modern café environment. The subject is seated casually inside a circular wooden frame embedded with warm LED rim lighting, surrounded by lush green foliage and soft floral decor. The pose is relaxed and natural: one leg crossed over the other, body slightly angled, shoulders relaxed, hands resting naturally while holding a small bouquet of fresh flowers. Overall mood is warm, clean, elegant, youthful, and approachable — pure realism only. No stylization, no fantasy, no cinematic exaggeration. Maintain 100% facial accuracy: exact bone structure, eye shape, eyelid fold, eyebrow shape, nose bridge and tip, lip shape, jawline, chin, cheek volume, hairline, and facial proportions Identity must remain perfectly consistent from all angles (front, 3/4, side, seated pose, slight head tilt) No face blending, no beautification, no symmetry correction No AI face drift Preserve real skin texture: pores, fine lines, natural imperfections Expression: soft, natural smile, relaxed and genuine Soft pastel long-sleeve knit top (dusty pink / muted rose tone) High-waisted, straight-fit beige or cream trousers Clean white chunky sneakers Minimal accessories only (simple earrings, smartwatch or minimal wrist accessory) Hair neatly styled, natural, pulled back or softly tied Natural makeup: realistic skin tones, no heavy retouching Modern café or lifestyle studio interior Circular wooden structure with embedded warm LED light ring Green plants and floral arrangements integrated into the frame Soft bokeh background with warm ambient lighting Clean, uncluttered setting with depth and realism Full-body or 3/4 body vertical portrait Eye-level camera angle 50mm–85mm lens look Natural perspective, no distortion Subject centered within the circular frame Shallow depth of field, background softly blurred Soft, warm, diffused lighting LED rim light gently outlining the circular frame Even facial illumination with natural shadow falloff No harsh highlights, no blown whites Realistic skin reflections and depth Negative prompt: No stylization No cinematic color grading No beauty filters No smooth or plastic skin No exaggerated proportions No painterly or illustrated look No artificial glow No face morphing or identity shift Ultra-photorealistic Editorial lifestyle photography quality Natural colors, true-to-life skin tones Identity remains unchanged and accurate from every angle\"}")
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
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
Ultra-clean modern recipe infographic. Showcase [FOOD] in a visually appealing finished form—sliced, plated, or portioned—floating slightly in perspective or angled view. Arrange ingredients, steps, and tips around the dish in a dynamic editorial layout, not restricted to top-down. Ingredients Section: Include icons or mini illustrations for each ingredient with quantities. Arrange them in clusters, lists, or circular flows connected visually to the dish. Steps Section: Show preparation steps with numbered panels, arrows, or lines, forming a logical flow around the main dish. Include small cooking icons (knife, pan, oven, timer) where helpful. Additional Info (optional): Total calories, prep/cook time, servings, spice level—displayed as clean bubbles or badges near the dish. Visual Style: Editorial infographic meets lifestyle food photography. Vibrant, natural food colors, subtle drop shadows, clean vector icons, modern typography, soft gradients or glassmorphism for step panels. Accent colors can highlight key info (calories, prep time). Composition Guidelines: Finished meal as hero visual (perspective or angled). Ingredients and steps flow dynamically around the dish. Clear visual hierarchy: dish > steps > ingredients > optional stats. Enough negative space to keep design airy and readable. Lighting & Background: Soft, natural studio lighting. Minimal textured or gradient background for premium editorial feel. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Ultra-clean modern recipe infographic. Showcase [FOOD] in a visually appealing finished form—sliced, plated, or portioned—floating slightly in perspective or angled view. Arrange ingredients, steps, and tips around the dish in a dynamic editorial layout, not restricted to top-down. Ingredients Section: Include icons or mini illustrations for each ingredient with quantities. Arrange them in clusters, lists, or circular flows connected visually to the dish. Steps Section: Show preparation steps with numbered panels, arrows, or lines, forming a logical flow around the main dish. Include small cooking icons (knife, pan, oven, timer) where helpful. Additional Info (optional): Total calories, prep/cook time, servings, spice level—displayed as clean bubbles or badges near the dish. Visual Style: Editorial infographic meets lifestyle food photography. Vibrant, natural food colors, subtle drop shadows, clean vector icons, modern typography, soft gradients or glassmorphism for step panels. Accent colors can highlight key info (calories, prep time). Composition Guidelines: Finished meal as hero visual (perspective or angled). Ingredients and steps flow dynamically around the dish. Clear visual hierarchy: dish > steps > ingredients > optional stats. Enough negative space to keep design airy and readable. Lighting & Background: Soft, natural studio lighting. Minimal textured or gradient background for premium editorial feel. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark"
}
JSON
Create a branded technical infographic of a [SNACK], combining a realistic photograph or photoreal render of the product with technical annotation overlays placed directly on top. Use black ink–style line drawings with strategic [BRAND COLOR] accents (architectural sketch look) on a pure white studio background, including: • Key component labels • Internal cross-section showing structure, layering, or internal design • Measurements, dimensions, and specifications • Material callouts with composition and quantities • Arrows indicating function for primary features and structural integrity • Simple schematic or sectional diagram showing key mechanical or design elements • Sustainability callouts Title placement: Inside a hand-drawn technical annotation box with accent border reading the product name in bold font, positioned in upper corner. Style & layout rules: • The realistic product remains clearly visible • Annotations feel sketched, technical, and architectural • Accents used for highlight (20-30% of linework), black for primary technical lines (70-80%) • Clean composition with balanced negative space • Educational, food-engineering vibe with premium branding • Include subtle brand logo mark in corner Visual style: Minimal technical illustration aesthetic, black linework with accents over realistic imagery, precise but slightly hand-drawn feel. Color palette: White background, black annotation lines/text, [BRAND COLOR] for accents and key callouts only. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "nano-banana-2",
"prompt": "Create a branded technical infographic of a [SNACK], combining a realistic photograph or photoreal render of the product with technical annotation overlays placed directly on top. Use black ink–style line drawings with strategic [BRAND COLOR] accents (architectural sketch look) on a pure white studio background, including: • Key component labels • Internal cross-section showing structure, layering, or internal design • Measurements, dimensions, and specifications • Material callouts with composition and quantities • Arrows indicating function for primary features and structural integrity • Simple schematic or sectional diagram showing key mechanical or design elements • Sustainability callouts Title placement: Inside a hand-drawn technical annotation box with accent border reading the product name in bold font, positioned in upper corner. Style & layout rules: • The realistic product remains clearly visible • Annotations feel sketched, technical, and architectural • Accents used for highlight (20-30% of linework), black for primary technical lines (70-80%) • Clean composition with balanced negative space • Educational, food-engineering vibe with premium branding • Include subtle brand logo mark in corner Visual style: Minimal technical illustration aesthetic, black linework with accents over realistic imagery, precise but slightly hand-drawn feel. Color palette: White background, black annotation lines/text, [BRAND COLOR] for accents and key callouts only. Output: 1080×1080, ultra-crisp, social-feed optimized, no watermark"
}
JSON
[product], luxury packaging reveal scene, premium unboxing moment, pristine hands partially visible at the edges, delicate interaction with the packaging, lid slightly lifted to reveal the product inside, crisp folds and precise alignment, tactile materials [ ex: matte paper, soft touch coating, embossed details, foil accents], subtle micro texture and dust free finish, clean white background, soft diffused studio lighting, controlled specular highlights, realistic shadows, macro product photography look, shallow depth of field with sharp focus on the product and branding area, high end editorial commercial style, ultra realistic, 4k, 1:1, no watermark, no extra text
Create a 3×3 grid in 3:4 aspect ratio for a high-end commercial marketing campaign using the uploaded product as the central subject. Each frame must present a distinct visual concept while maintaining perfect product consistency across all nine images. Grid Concepts (one per cell): 1. Iconic hero still life with bold composition 2. Extreme macro detail highlighting material, surface, or texture 3. Dynamic liquid or particle interaction surrounding the product 4. Minimal sculptural arrangement with abstract forms 5. Floating elements composition suggesting lightness and innovation 6. Sensory close-up emphasizing tactility and realism 7. Color-driven conceptual scene inspired by the product palette 8. Ingredient or component abstraction (non-literal, symbolic) 9. Surreal yet elegant fusion scene combining realism and imagination Visual Rules: Product must remain 100% accurate in shape, proportions, label, typography, color, and branding No distortion, deformation, or redesign of the product Clean separation between product and background Lighting & Style: Soft, controlled studio lighting Subtle highlights, realistic shadows High dynamic range, ultra-sharp focus Editorial luxury advertising aesthetic Premium sensory marketing look Overall Feel: Modern, refined, visually cohesive High-end commercial campaign Designed for brand websites, social grids, and digital billboards Hyperreal, cinematic, polished, and aspirational
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 3×3 grid in 3:4 aspect ratio for a high-end commercial marketing campaign using the uploaded product as the central subject. Each frame must present a distinct visual concept while maintaining perfect product consistency across all nine images. Grid Concepts (one per cell): 1. Iconic hero still life with bold composition 2. Extreme macro detail highlighting material, surface, or texture 3. Dynamic liquid or particle interaction surrounding the product 4. Minimal sculptural arrangement with abstract forms 5. Floating elements composition suggesting lightness and innovation 6. Sensory close-up emphasizing tactility and realism 7. Color-driven conceptual scene inspired by the product palette 8. Ingredient or component abstraction (non-literal, symbolic) 9. Surreal yet elegant fusion scene combining realism and imagination Visual Rules: Product must remain 100% accurate in shape, proportions, label, typography, color, and branding No distortion, deformation, or redesign of the product Clean separation between product and background Lighting & Style: Soft, controlled studio lighting Subtle highlights, realistic shadows High dynamic range, ultra-sharp focus Editorial luxury advertising aesthetic Premium sensory marketing look Overall Feel: Modern, refined, visually cohesive High-end commercial campaign Designed for brand websites, social grids, and digital billboards Hyperreal, cinematic, polished, and aspirational"
}
JSON
Create ONE final image. A clean 3×3 [ratio] storyboard grid with nine equal [ratio] sized panels on [4:5] ratio. Use the reference image as the base product reference. Keep the same product, packaging design, branding, materials, colors, proportions and overall identity across all nine panels exactly as the reference. The product must remain clearly recognizable in every frame. The label, logo and proportions must stay exactly the same. This storyboard is a high-end designer mockup presentation for a branding portfolio. The focus is on form, composition, materiality and visual rhythm rather than realism or lifestyle narrative. The overall look should feel curated, editorial and design-driven. FRAME 1: Front-facing hero shot of the product in a clean studio setup. Neutral background, balanced composition, calm and confident presentation of the product. FRAME 2: Close-up shot with the focus centered on the middle of the product. Focusing on surface texture, materials and print details. FRAME 3: Shows the reference product placed in an environment that naturally fits the brand and product category. Studio setting inspired by the product design elements and colours. FRAME 4: Product shown in use or interaction on a neutral studio background. Hands and interaction elements are minimal and restrained, the look matches the style of the package. FRAME 5: Isometric composition showing multiple products arranged in a precise geometric order from the top isometric angle. All products are placed at the same isometric top angle, evenly spaced, clean, structured and graphic. FRAME 6: Product levitating slightly tilted on a neutral background that matches the reference image color palette. Floating position is angled and intentional, the product is floating naturally in space. FRAME 7: is an extreme close-up focusing on a specific detail of the label, edge, texture or material behavior. FRAME 8: The product in an unexpected yet aesthetically strong setting that feels bold, editorial and visually striking. Unexpected but highly stylized setting. Studio-based, and designer-driven. Bold composition that elevates the brand. FRAME 9: Wide composition showing the product in use, placed within a refined designer setup. Clean props, controlled styling, cohesive with the rest of the series. CAMERA & STYLE: Ultra high-quality studio imagery with a real camera look. Different camera angles and framings across frames. Controlled depth of field, precise lighting, accurate materials and reflections. Lighting logic, color palette, mood and visual language must remain consistent across all nine panels as one cohesive series. OUTPUT: A clean 3×3 grid with no borders, no text, no captions and no watermarks.
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 ONE final image. A clean 3×3 [ratio] storyboard grid with nine equal [ratio] sized panels on [4:5] ratio. Use the reference image as the base product reference. Keep the same product, packaging design, branding, materials, colors, proportions and overall identity across all nine panels exactly as the reference. The product must remain clearly recognizable in every frame. The label, logo and proportions must stay exactly the same. This storyboard is a high-end designer mockup presentation for a branding portfolio. The focus is on form, composition, materiality and visual rhythm rather than realism or lifestyle narrative. The overall look should feel curated, editorial and design-driven. FRAME 1: Front-facing hero shot of the product in a clean studio setup. Neutral background, balanced composition, calm and confident presentation of the product. FRAME 2: Close-up shot with the focus centered on the middle of the product. Focusing on surface texture, materials and print details. FRAME 3: Shows the reference product placed in an environment that naturally fits the brand and product category. Studio setting inspired by the product design elements and colours. FRAME 4: Product shown in use or interaction on a neutral studio background. Hands and interaction elements are minimal and restrained, the look matches the style of the package. FRAME 5: Isometric composition showing multiple products arranged in a precise geometric order from the top isometric angle. All products are placed at the same isometric top angle, evenly spaced, clean, structured and graphic. FRAME 6: Product levitating slightly tilted on a neutral background that matches the reference image color palette. Floating position is angled and intentional, the product is floating naturally in space. FRAME 7: is an extreme close-up focusing on a specific detail of the label, edge, texture or material behavior. FRAME 8: The product in an unexpected yet aesthetically strong setting that feels bold, editorial and visually striking. Unexpected but highly stylized setting. Studio-based, and designer-driven. Bold composition that elevates the brand. FRAME 9: Wide composition showing the product in use, placed within a refined designer setup. Clean props, controlled styling, cohesive with the rest of the series. CAMERA & STYLE: Ultra high-quality studio imagery with a real camera look. Different camera angles and framings across frames. Controlled depth of field, precise lighting, accurate materials and reflections. Lighting logic, color palette, mood and visual language must remain consistent across all nine panels as one cohesive series. OUTPUT: A clean 3×3 grid with no borders, no text, no captions and no watermarks."
}
JSON