---
title: Photorealistic Mirror Selfie with Copper Hair — nano-banana-pro Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for nano-banana-pro.
url: https://runapi.ai/prompts/prm_Lr2jVOdY4x16IBrqyEmbA5Pl.md
canonical: https://runapi.ai/prompts/prm_Lr2jVOdY4x16IBrqyEmbA5Pl
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 41156
model: nano-banana-pro
modality: image
endpoint: "/api/v1/nano_banana/text_to_image"
---

> HTML version: https://runapi.ai/prompts/prm_Lr2jVOdY4x16IBrqyEmbA5Pl
> Site index for agents: https://runapi.ai/llms.txt


# Photorealistic Mirror Selfie with Copper Hair

Copy this RunAPI prompt, view agent setup steps, and use API code for nano-banana-pro.

**Prompts** · Image

![Photorealistic Mirror Selfie with Copper Hair preview](https://cdn.runapi.ai/public/prompts/previews/15f5ccf9b51c1241f468ac89607eddce9e2351c22eef066df13dfe8fb2232752-runapi-ai.jpg)

## Prompt

```text
{
  "image_type": "photorealistic selfie",
  "subject": {
    "type": "human",
    "gender_presentation": "female",
    "age_range": "young adult",
    "pose": "mirror selfie",
    "expression": "soft, relaxed smile",
    "gaze": "looking at phone screen",
    "framing": "upper torso and head",
    "skin": {
      "tone": "fair with warm undertones",
      "features": "light freckles visible across cheeks and nose"
    }
  },
  "hair": {
    "color": "copper / auburn",
    "length": "long",
    "style": "loose waves",
    "parting": "center part with curtain bangs",
    "texture": "soft, glossy"
  },
  "face_details": {
    "eyes": {
      "color": "light brown / hazel",
      "makeup": "minimal, natural-looking lashes"
    },
    "eyebrows": "natural shape, light brown",
    "lips": {
      "color": "muted rose / coral",
      "finish": "soft satin"
    },
    "nose": "small with natural shape",
    "overall_makeup": "natural, clean, understated"
  },
  "clothing": {
    "top": {
      "type": "strapless or low-cut inner top",
      "color": "black",
      "fit": "fitted"
    },
    "outerwear": {
      "type": "knitted cardigan",
      "color": "olive green",
      "texture": "thick, cozy knit",
      "style": "off-shoulder, slightly loose"
    }
  },
  "accessories": {
    "jewelry": {
      "necklace": {
        "type": "thin silver chain",
        "pendant": "small cross"
      },
      "rings": [
        {
          "hand": "right",
          "finger": "index",
          "design": "oval green stone set in silver"
        },
        {
          "hand": "right",
          "finger": "middle",
          "design": "silver band with engraved or raised detailing"
        }
      ]
    }
  },
  "phone": {
    "brand_style": "iPhone Pro-style",
    "camera": "triple-lens rear camera",
    "case": {
      "color": "clear with dark abstract or camouflage-like pattern",
      "finish": "glossy"
    },
    "held_in": "right hand"
  },
  "environment": {
    "location_type": "outdoor covered area",
    "structure": {
      "roof": "wooden beams with semi-transparent mesh or netting",
      "materials": "wood and fabric/mesh"
    },
    "background": {
      "elements": [
        "wooden posts",
        "shaded interior area",
        "green foliage and trees"
      ],
      "depth": "slightly blurred background"
    }
  },
  "lighting": {
    "type": "natural sunlight",
    "direction": "side/front lighting",
    "effects": [
      "soft shadows on face",
      "sunlit highlights on hair",
      "dappled light pattern from overhead structure"
    ],
    "mood": "warm, golden, calm"
  },
  "color_palette": {
    "dominant_colors": [
      "copper",
      "olive green",
      "warm beige",
      "black",
      "natural wood brown"
    ],
    "accent_colors": [
      "silver",
      "green gemstone",
      "soft coral lip tone"
    ]
  },
  "camera_characteristics": {
    "angle": "eye-level",
    "lens_effect": "natural per"
  }
}
```

<!-- prompt-detail-slot: generation-parameters -->
<!-- /prompt-detail-slot: generation-parameters -->

<!-- prompt-detail-slot: generate-cta -->

### Generate this prompt

| Model | Nano Banana pro |
|---|---|
| Estimated cost | $0.11 / call |
| Endpoint | `/api/v1/nano_banana/text_to_image` |

[Sign in to generate](https://runapi.ai/login)

Your generated image will appear here
<!-- /prompt-detail-slot: generate-cta -->

<!-- prompt-detail-slot: prompt-breakdown -->

## Prompt Breakdown

### Subject

Photorealistic Mirror Selfie with Copper Hair

### Atmosphere

fashion / Image

### Technical

nano-banana-pro / Nano Banana / Text To Image / /api/v1/nano_banana/text_to_image

### Style

curtain-bangs, dappled-light, knitted-cardigan, light-freckles, loose-waves, mirror-selfie, photorealistic, young-adult

<!-- /prompt-detail-slot: prompt-breakdown -->

<!-- prompt-detail-slot: supported-models -->
## Models That Support This Prompt

| Modality | Model | Price | Try |
|---|---|---|---|
| Image | Qwen 2/qwen-2-text-to-image | $0.04 / image | [Try](https://runapi.ai/models/qwen-2/text-to-image.md) |
| Image | Qwen 3/qwen-3-pro-text-to-image | $0.04-$0.08 / image | [Try](https://runapi.ai/models/qwen-3/pro-text-to-image.md) |
| Image | Qwen 3/qwen-3-text-to-image | $0.03 / image | [Try](https://runapi.ai/models/qwen-3/text-to-image.md) |
| Image | Qwen Image/qwen-image-text-to-image | $0.03 / image | [Try](https://runapi.ai/models/qwen-image/text-to-image.md) |
| Image | Wan/wan-2.7-image | $0.03 / image | [Try](https://runapi.ai/models/wan/2.7-image.md) |

<!-- /prompt-detail-slot: supported-models -->

## RUN DETAILS

| Field | Value |
|---|---|
| Model | `nano-banana-pro` |
| Modality | Image |
| Category | fashion |
| Tags | curtain-bangs, dappled-light, knitted-cardigan, light-freckles, loose-waves, mirror-selfie, photorealistic, young-adult |

## Use with an agent

### Claude Code

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. Restart Claude Code
3. Paste this prompt: Generate an image: "{
  "image_type": "photorealistic selfie",
  "subject": {
    "type": "human",
    "gender_presentation": "female",
    "age_range": "young adult",
    "pose": "mirror selfie",
    "expression": "soft, relaxed smile",
    "gaze": "looking at phone screen",
    "framing": "upper torso and head",
    "skin": {
      "tone": "fair with warm undertones",
      "features": "light freckles visible across cheeks and nose"
    }
  },
  "hair": {
    "color": "copper / auburn",
    "length": "long",
    "style": "loose waves",
    "parting": "center part with curtain bangs",
    "texture": "soft, glossy"
  },
  "face_details": {
    "eyes": {
      "color": "light brown / hazel",
      "makeup": "minimal, natural-looking lashes"
    },
    "eyebrows": "natural shape, light brown",
    "lips": {
      "color": "muted rose / coral",
      "finish": "soft satin"
    },
    "nose": "small with natural shape",
    "overall_makeup": "natural, clean, understated"
  },
  "clothing": {
    "top": {
      "type": "strapless or low-cut inner top",
      "color": "black",
      "fit": "fitted"
    },
    "outerwear": {
      "type": "knitted cardigan",
      "color": "olive green",
      "texture": "thick, cozy knit",
      "style": "off-shoulder, slightly loose"
    }
  },
  "accessories": {
    "jewelry": {
      "necklace": {
        "type": "thin silver chain",
        "pendant": "small cross"
      },
      "rings": [
        {
          "hand": "right",
          "finger": "index",
          "design": "oval green stone set in silver"
        },
        {
          "hand": "right",
          "finger": "middle",
          "design": "silver band with engraved or raised detailing"
        }
      ]
    }
  },
  "phone": {
    "brand_style": "iPhone Pro-style",
    "camera": "triple-lens rear camera",
    "case": {
      "color": "clear with dark abstract or camouflage-like pattern",
      "finish": "glossy"
    },
    "held_in": "right hand"
  },
  "environment": {
    "location_type": "outdoor covered area",
    "structure": {
      "roof": "wooden beams with semi-transparent mesh or netting",
      "materials": "wood and fabric/mesh"
    },
    "background": {
      "elements": [
        "wooden posts",
        "shaded interior area",
        "green foliage and trees"
      ],
      "depth": "slightly blurred background"
    }
  },
  "lighting": {
    "type": "natural sunlight",
    "direction": "side/front lighting",
    "effects": [
      "soft shadows on face",
      "sunlit highlights on hair",
      "dappled light pattern from overhead structure"
    ],
    "mood": "warm, golden, calm"
  },
  "color_palette": {
    "dominant_colors": [
      "copper",
      "olive green",
      "warm beige",
      "black",
      "natural wood brown"
    ],
    "accent_colors": [
      "silver",
      "green gemstone",
      "soft coral lip tone"
    ]
  },
  "camera_characteristics": {
    "angle": "eye-level",
    "lens_effect": "natural per"
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "image_type": "photorealistic selfie",
  "subject": {
    "type": "human",
    "gender_presentation": "female",
    "age_range": "young adult",
    "pose": "mirror selfie",
    "expression": "soft, relaxed smile",
    "gaze": "looking at phone screen",
    "framing": "upper torso and head",
    "skin": {
      "tone": "fair with warm undertones",
      "features": "light freckles visible across cheeks and nose"
    }
  },
  "hair": {
    "color": "copper / auburn",
    "length": "long",
    "style": "loose waves",
    "parting": "center part with curtain bangs",
    "texture": "soft, glossy"
  },
  "face_details": {
    "eyes": {
      "color": "light brown / hazel",
      "makeup": "minimal, natural-looking lashes"
    },
    "eyebrows": "natural shape, light brown",
    "lips": {
      "color": "muted rose / coral",
      "finish": "soft satin"
    },
    "nose": "small with natural shape",
    "overall_makeup": "natural, clean, understated"
  },
  "clothing": {
    "top": {
      "type": "strapless or low-cut inner top",
      "color": "black",
      "fit": "fitted"
    },
    "outerwear": {
      "type": "knitted cardigan",
      "color": "olive green",
      "texture": "thick, cozy knit",
      "style": "off-shoulder, slightly loose"
    }
  },
  "accessories": {
    "jewelry": {
      "necklace": {
        "type": "thin silver chain",
        "pendant": "small cross"
      },
      "rings": [
        {
          "hand": "right",
          "finger": "index",
          "design": "oval green stone set in silver"
        },
        {
          "hand": "right",
          "finger": "middle",
          "design": "silver band with engraved or raised detailing"
        }
      ]
    }
  },
  "phone": {
    "brand_style": "iPhone Pro-style",
    "camera": "triple-lens rear camera",
    "case": {
      "color": "clear with dark abstract or camouflage-like pattern",
      "finish": "glossy"
    },
    "held_in": "right hand"
  },
  "environment": {
    "location_type": "outdoor covered area",
    "structure": {
      "roof": "wooden beams with semi-transparent mesh or netting",
      "materials": "wood and fabric/mesh"
    },
    "background": {
      "elements": [
        "wooden posts",
        "shaded interior area",
        "green foliage and trees"
      ],
      "depth": "slightly blurred background"
    }
  },
  "lighting": {
    "type": "natural sunlight",
    "direction": "side/front lighting",
    "effects": [
      "soft shadows on face",
      "sunlit highlights on hair",
      "dappled light pattern from overhead structure"
    ],
    "mood": "warm, golden, calm"
  },
  "color_palette": {
    "dominant_colors": [
      "copper",
      "olive green",
      "warm beige",
      "black",
      "natural wood brown"
    ],
    "accent_colors": [
      "silver",
      "green gemstone",
      "soft coral lip tone"
    ]
  },
  "camera_characteristics": {
    "angle": "eye-level",
    "lens_effect": "natural per"
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "image_type": "photorealistic selfie",
  "subject": {
    "type": "human",
    "gender_presentation": "female",
    "age_range": "young adult",
    "pose": "mirror selfie",
    "expression": "soft, relaxed smile",
    "gaze": "looking at phone screen",
    "framing": "upper torso and head",
    "skin": {
      "tone": "fair with warm undertones",
      "features": "light freckles visible across cheeks and nose"
    }
  },
  "hair": {
    "color": "copper / auburn",
    "length": "long",
    "style": "loose waves",
    "parting": "center part with curtain bangs",
    "texture": "soft, glossy"
  },
  "face_details": {
    "eyes": {
      "color": "light brown / hazel",
      "makeup": "minimal, natural-looking lashes"
    },
    "eyebrows": "natural shape, light brown",
    "lips": {
      "color": "muted rose / coral",
      "finish": "soft satin"
    },
    "nose": "small with natural shape",
    "overall_makeup": "natural, clean, understated"
  },
  "clothing": {
    "top": {
      "type": "strapless or low-cut inner top",
      "color": "black",
      "fit": "fitted"
    },
    "outerwear": {
      "type": "knitted cardigan",
      "color": "olive green",
      "texture": "thick, cozy knit",
      "style": "off-shoulder, slightly loose"
    }
  },
  "accessories": {
    "jewelry": {
      "necklace": {
        "type": "thin silver chain",
        "pendant": "small cross"
      },
      "rings": [
        {
          "hand": "right",
          "finger": "index",
          "design": "oval green stone set in silver"
        },
        {
          "hand": "right",
          "finger": "middle",
          "design": "silver band with engraved or raised detailing"
        }
      ]
    }
  },
  "phone": {
    "brand_style": "iPhone Pro-style",
    "camera": "triple-lens rear camera",
    "case": {
      "color": "clear with dark abstract or camouflage-like pattern",
      "finish": "glossy"
    },
    "held_in": "right hand"
  },
  "environment": {
    "location_type": "outdoor covered area",
    "structure": {
      "roof": "wooden beams with semi-transparent mesh or netting",
      "materials": "wood and fabric/mesh"
    },
    "background": {
      "elements": [
        "wooden posts",
        "shaded interior area",
        "green foliage and trees"
      ],
      "depth": "slightly blurred background"
    }
  },
  "lighting": {
    "type": "natural sunlight",
    "direction": "side/front lighting",
    "effects": [
      "soft shadows on face",
      "sunlit highlights on hair",
      "dappled light pattern from overhead structure"
    ],
    "mood": "warm, golden, calm"
  },
  "color_palette": {
    "dominant_colors": [
      "copper",
      "olive green",
      "warm beige",
      "black",
      "natural wood brown"
    ],
    "accent_colors": [
      "silver",
      "green gemstone",
      "soft coral lip tone"
    ]
  },
  "camera_characteristics": {
    "angle": "eye-level",
    "lens_effect": "natural per"
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "image_type": "photorealistic selfie",
  "subject": {
    "type": "human",
    "gender_presentation": "female",
    "age_range": "young adult",
    "pose": "mirror selfie",
    "expression": "soft, relaxed smile",
    "gaze": "looking at phone screen",
    "framing": "upper torso and head",
    "skin": {
      "tone": "fair with warm undertones",
      "features": "light freckles visible across cheeks and nose"
    }
  },
  "hair": {
    "color": "copper / auburn",
    "length": "long",
    "style": "loose waves",
    "parting": "center part with curtain bangs",
    "texture": "soft, glossy"
  },
  "face_details": {
    "eyes": {
      "color": "light brown / hazel",
      "makeup": "minimal, natural-looking lashes"
    },
    "eyebrows": "natural shape, light brown",
    "lips": {
      "color": "muted rose / coral",
      "finish": "soft satin"
    },
    "nose": "small with natural shape",
    "overall_makeup": "natural, clean, understated"
  },
  "clothing": {
    "top": {
      "type": "strapless or low-cut inner top",
      "color": "black",
      "fit": "fitted"
    },
    "outerwear": {
      "type": "knitted cardigan",
      "color": "olive green",
      "texture": "thick, cozy knit",
      "style": "off-shoulder, slightly loose"
    }
  },
  "accessories": {
    "jewelry": {
      "necklace": {
        "type": "thin silver chain",
        "pendant": "small cross"
      },
      "rings": [
        {
          "hand": "right",
          "finger": "index",
          "design": "oval green stone set in silver"
        },
        {
          "hand": "right",
          "finger": "middle",
          "design": "silver band with engraved or raised detailing"
        }
      ]
    }
  },
  "phone": {
    "brand_style": "iPhone Pro-style",
    "camera": "triple-lens rear camera",
    "case": {
      "color": "clear with dark abstract or camouflage-like pattern",
      "finish": "glossy"
    },
    "held_in": "right hand"
  },
  "environment": {
    "location_type": "outdoor covered area",
    "structure": {
      "roof": "wooden beams with semi-transparent mesh or netting",
      "materials": "wood and fabric/mesh"
    },
    "background": {
      "elements": [
        "wooden posts",
        "shaded interior area",
        "green foliage and trees"
      ],
      "depth": "slightly blurred background"
    }
  },
  "lighting": {
    "type": "natural sunlight",
    "direction": "side/front lighting",
    "effects": [
      "soft shadows on face",
      "sunlit highlights on hair",
      "dappled light pattern from overhead structure"
    ],
    "mood": "warm, golden, calm"
  },
  "color_palette": {
    "dominant_colors": [
      "copper",
      "olive green",
      "warm beige",
      "black",
      "natural wood brown"
    ],
    "accent_colors": [
      "silver",
      "green gemstone",
      "soft coral lip tone"
    ]
  },
  "camera_characteristics": {
    "angle": "eye-level",
    "lens_effect": "natural per"
  }
}"

<!-- api-example-tabs-slot -->

<!-- ## API examples -->
## Generate via API

### curl

```curl
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"image_type\": \"photorealistic selfie\",\n  \"subject\": {\n    \"type\": \"human\",\n    \"gender_presentation\": \"female\",\n    \"age_range\": \"young adult\",\n    \"pose\": \"mirror selfie\",\n    \"expression\": \"soft, relaxed smile\",\n    \"gaze\": \"looking at phone screen\",\n    \"framing\": \"upper torso and head\",\n    \"skin\": {\n      \"tone\": \"fair with warm undertones\",\n      \"features\": \"light freckles visible across cheeks and nose\"\n    }\n  },\n  \"hair\": {\n    \"color\": \"copper / auburn\",\n    \"length\": \"long\",\n    \"style\": \"loose waves\",\n    \"parting\": \"center part with curtain bangs\",\n    \"texture\": \"soft, glossy\"\n  },\n  \"face_details\": {\n    \"eyes\": {\n      \"color\": \"light brown / hazel\",\n      \"makeup\": \"minimal, natural-looking lashes\"\n    },\n    \"eyebrows\": \"natural shape, light brown\",\n    \"lips\": {\n      \"color\": \"muted rose / coral\",\n      \"finish\": \"soft satin\"\n    },\n    \"nose\": \"small with natural shape\",\n    \"overall_makeup\": \"natural, clean, understated\"\n  },\n  \"clothing\": {\n    \"top\": {\n      \"type\": \"strapless or low-cut inner top\",\n      \"color\": \"black\",\n      \"fit\": \"fitted\"\n    },\n    \"outerwear\": {\n      \"type\": \"knitted cardigan\",\n      \"color\": \"olive green\",\n      \"texture\": \"thick, cozy knit\",\n      \"style\": \"off-shoulder, slightly loose\"\n    }\n  },\n  \"accessories\": {\n    \"jewelry\": {\n      \"necklace\": {\n        \"type\": \"thin silver chain\",\n        \"pendant\": \"small cross\"\n      },\n      \"rings\": [\n        {\n          \"hand\": \"right\",\n          \"finger\": \"index\",\n          \"design\": \"oval green stone set in silver\"\n        },\n        {\n          \"hand\": \"right\",\n          \"finger\": \"middle\",\n          \"design\": \"silver band with engraved or raised detailing\"\n        }\n      ]\n    }\n  },\n  \"phone\": {\n    \"brand_style\": \"iPhone Pro-style\",\n    \"camera\": \"triple-lens rear camera\",\n    \"case\": {\n      \"color\": \"clear with dark abstract or camouflage-like pattern\",\n      \"finish\": \"glossy\"\n    },\n    \"held_in\": \"right hand\"\n  },\n  \"environment\": {\n    \"location_type\": \"outdoor covered area\",\n    \"structure\": {\n      \"roof\": \"wooden beams with semi-transparent mesh or netting\",\n      \"materials\": \"wood and fabric/mesh\"\n    },\n    \"background\": {\n      \"elements\": [\n        \"wooden posts\",\n        \"shaded interior area\",\n        \"green foliage and trees\"\n      ],\n      \"depth\": \"slightly blurred background\"\n    }\n  },\n  \"lighting\": {\n    \"type\": \"natural sunlight\",\n    \"direction\": \"side/front lighting\",\n    \"effects\": [\n      \"soft shadows on face\",\n      \"sunlit highlights on hair\",\n      \"dappled light pattern from overhead structure\"\n    ],\n    \"mood\": \"warm, golden, calm\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"copper\",\n      \"olive green\",\n      \"warm beige\",\n      \"black\",\n      \"natural wood brown\"\n    ],\n    \"accent_colors\": [\n      \"silver\",\n      \"green gemstone\",\n      \"soft coral lip tone\"\n    ]\n  },\n  \"camera_characteristics\": {\n    \"angle\": \"eye-level\",\n    \"lens_effect\": \"natural per\"\n  }\n}"
}
JSON
```

### Node.js

```javascript
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-pro",
  "prompt": "{\n  \"image_type\": \"photorealistic selfie\",\n  \"subject\": {\n    \"type\": \"human\",\n    \"gender_presentation\": \"female\",\n    \"age_range\": \"young adult\",\n    \"pose\": \"mirror selfie\",\n    \"expression\": \"soft, relaxed smile\",\n    \"gaze\": \"looking at phone screen\",\n    \"framing\": \"upper torso and head\",\n    \"skin\": {\n      \"tone\": \"fair with warm undertones\",\n      \"features\": \"light freckles visible across cheeks and nose\"\n    }\n  },\n  \"hair\": {\n    \"color\": \"copper / auburn\",\n    \"length\": \"long\",\n    \"style\": \"loose waves\",\n    \"parting\": \"center part with curtain bangs\",\n    \"texture\": \"soft, glossy\"\n  },\n  \"face_details\": {\n    \"eyes\": {\n      \"color\": \"light brown / hazel\",\n      \"makeup\": \"minimal, natural-looking lashes\"\n    },\n    \"eyebrows\": \"natural shape, light brown\",\n    \"lips\": {\n      \"color\": \"muted rose / coral\",\n      \"finish\": \"soft satin\"\n    },\n    \"nose\": \"small with natural shape\",\n    \"overall_makeup\": \"natural, clean, understated\"\n  },\n  \"clothing\": {\n    \"top\": {\n      \"type\": \"strapless or low-cut inner top\",\n      \"color\": \"black\",\n      \"fit\": \"fitted\"\n    },\n    \"outerwear\": {\n      \"type\": \"knitted cardigan\",\n      \"color\": \"olive green\",\n      \"texture\": \"thick, cozy knit\",\n      \"style\": \"off-shoulder, slightly loose\"\n    }\n  },\n  \"accessories\": {\n    \"jewelry\": {\n      \"necklace\": {\n        \"type\": \"thin silver chain\",\n        \"pendant\": \"small cross\"\n      },\n      \"rings\": [\n        {\n          \"hand\": \"right\",\n          \"finger\": \"index\",\n          \"design\": \"oval green stone set in silver\"\n        },\n        {\n          \"hand\": \"right\",\n          \"finger\": \"middle\",\n          \"design\": \"silver band with engraved or raised detailing\"\n        }\n      ]\n    }\n  },\n  \"phone\": {\n    \"brand_style\": \"iPhone Pro-style\",\n    \"camera\": \"triple-lens rear camera\",\n    \"case\": {\n      \"color\": \"clear with dark abstract or camouflage-like pattern\",\n      \"finish\": \"glossy\"\n    },\n    \"held_in\": \"right hand\"\n  },\n  \"environment\": {\n    \"location_type\": \"outdoor covered area\",\n    \"structure\": {\n      \"roof\": \"wooden beams with semi-transparent mesh or netting\",\n      \"materials\": \"wood and fabric/mesh\"\n    },\n    \"background\": {\n      \"elements\": [\n        \"wooden posts\",\n        \"shaded interior area\",\n        \"green foliage and trees\"\n      ],\n      \"depth\": \"slightly blurred background\"\n    }\n  },\n  \"lighting\": {\n    \"type\": \"natural sunlight\",\n    \"direction\": \"side/front lighting\",\n    \"effects\": [\n      \"soft shadows on face\",\n      \"sunlit highlights on hair\",\n      \"dappled light pattern from overhead structure\"\n    ],\n    \"mood\": \"warm, golden, calm\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"copper\",\n      \"olive green\",\n      \"warm beige\",\n      \"black\",\n      \"natural wood brown\"\n    ],\n    \"accent_colors\": [\n      \"silver\",\n      \"green gemstone\",\n      \"soft coral lip tone\"\n    ]\n  },\n  \"camera_characteristics\": {\n    \"angle\": \"eye-level\",\n    \"lens_effect\": \"natural per\"\n  }\n}"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/nano_banana/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"model\": \"nano-banana-pro\",\n  \"prompt\": \"{\\n  \\\"image_type\\\": \\\"photorealistic selfie\\\",\\n  \\\"subject\\\": {\\n    \\\"type\\\": \\\"human\\\",\\n    \\\"gender_presentation\\\": \\\"female\\\",\\n    \\\"age_range\\\": \\\"young adult\\\",\\n    \\\"pose\\\": \\\"mirror selfie\\\",\\n    \\\"expression\\\": \\\"soft, relaxed smile\\\",\\n    \\\"gaze\\\": \\\"looking at phone screen\\\",\\n    \\\"framing\\\": \\\"upper torso and head\\\",\\n    \\\"skin\\\": {\\n      \\\"tone\\\": \\\"fair with warm undertones\\\",\\n      \\\"features\\\": \\\"light freckles visible across cheeks and nose\\\"\\n    }\\n  },\\n  \\\"hair\\\": {\\n    \\\"color\\\": \\\"copper / auburn\\\",\\n    \\\"length\\\": \\\"long\\\",\\n    \\\"style\\\": \\\"loose waves\\\",\\n    \\\"parting\\\": \\\"center part with curtain bangs\\\",\\n    \\\"texture\\\": \\\"soft, glossy\\\"\\n  },\\n  \\\"face_details\\\": {\\n    \\\"eyes\\\": {\\n      \\\"color\\\": \\\"light brown / hazel\\\",\\n      \\\"makeup\\\": \\\"minimal, natural-looking lashes\\\"\\n    },\\n    \\\"eyebrows\\\": \\\"natural shape, light brown\\\",\\n    \\\"lips\\\": {\\n      \\\"color\\\": \\\"muted rose / coral\\\",\\n      \\\"finish\\\": \\\"soft satin\\\"\\n    },\\n    \\\"nose\\\": \\\"small with natural shape\\\",\\n    \\\"overall_makeup\\\": \\\"natural, clean, understated\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"top\\\": {\\n      \\\"type\\\": \\\"strapless or low-cut inner top\\\",\\n      \\\"color\\\": \\\"black\\\",\\n      \\\"fit\\\": \\\"fitted\\\"\\n    },\\n    \\\"outerwear\\\": {\\n      \\\"type\\\": \\\"knitted cardigan\\\",\\n      \\\"color\\\": \\\"olive green\\\",\\n      \\\"texture\\\": \\\"thick, cozy knit\\\",\\n      \\\"style\\\": \\\"off-shoulder, slightly loose\\\"\\n    }\\n  },\\n  \\\"accessories\\\": {\\n    \\\"jewelry\\\": {\\n      \\\"necklace\\\": {\\n        \\\"type\\\": \\\"thin silver chain\\\",\\n        \\\"pendant\\\": \\\"small cross\\\"\\n      },\\n      \\\"rings\\\": [\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"index\\\",\\n          \\\"design\\\": \\\"oval green stone set in silver\\\"\\n        },\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"middle\\\",\\n          \\\"design\\\": \\\"silver band with engraved or raised detailing\\\"\\n        }\\n      ]\\n    }\\n  },\\n  \\\"phone\\\": {\\n    \\\"brand_style\\\": \\\"iPhone Pro-style\\\",\\n    \\\"camera\\\": \\\"triple-lens rear camera\\\",\\n    \\\"case\\\": {\\n      \\\"color\\\": \\\"clear with dark abstract or camouflage-like pattern\\\",\\n      \\\"finish\\\": \\\"glossy\\\"\\n    },\\n    \\\"held_in\\\": \\\"right hand\\\"\\n  },\\n  \\\"environment\\\": {\\n    \\\"location_type\\\": \\\"outdoor covered area\\\",\\n    \\\"structure\\\": {\\n      \\\"roof\\\": \\\"wooden beams with semi-transparent mesh or netting\\\",\\n      \\\"materials\\\": \\\"wood and fabric/mesh\\\"\\n    },\\n    \\\"background\\\": {\\n      \\\"elements\\\": [\\n        \\\"wooden posts\\\",\\n        \\\"shaded interior area\\\",\\n        \\\"green foliage and trees\\\"\\n      ],\\n      \\\"depth\\\": \\\"slightly blurred background\\\"\\n    }\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"natural sunlight\\\",\\n    \\\"direction\\\": \\\"side/front lighting\\\",\\n    \\\"effects\\\": [\\n      \\\"soft shadows on face\\\",\\n      \\\"sunlit highlights on hair\\\",\\n      \\\"dappled light pattern from overhead structure\\\"\\n    ],\\n    \\\"mood\\\": \\\"warm, golden, calm\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"copper\\\",\\n      \\\"olive green\\\",\\n      \\\"warm beige\\\",\\n      \\\"black\\\",\\n      \\\"natural wood brown\\\"\\n    ],\\n    \\\"accent_colors\\\": [\\n      \\\"silver\\\",\\n      \\\"green gemstone\\\",\\n      \\\"soft coral lip tone\\\"\\n    ]\\n  },\\n  \\\"camera_characteristics\\\": {\\n    \\\"angle\\\": \\\"eye-level\\\",\\n    \\\"lens_effect\\\": \\\"natural per\\\"\\n  }\\n}\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/nano_banana/text_to_image");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("RUNAPI_API_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => "{\n  \"model\": \"nano-banana-pro\",\n  \"prompt\": \"{\\n  \\\"image_type\\\": \\\"photorealistic selfie\\\",\\n  \\\"subject\\\": {\\n    \\\"type\\\": \\\"human\\\",\\n    \\\"gender_presentation\\\": \\\"female\\\",\\n    \\\"age_range\\\": \\\"young adult\\\",\\n    \\\"pose\\\": \\\"mirror selfie\\\",\\n    \\\"expression\\\": \\\"soft, relaxed smile\\\",\\n    \\\"gaze\\\": \\\"looking at phone screen\\\",\\n    \\\"framing\\\": \\\"upper torso and head\\\",\\n    \\\"skin\\\": {\\n      \\\"tone\\\": \\\"fair with warm undertones\\\",\\n      \\\"features\\\": \\\"light freckles visible across cheeks and nose\\\"\\n    }\\n  },\\n  \\\"hair\\\": {\\n    \\\"color\\\": \\\"copper / auburn\\\",\\n    \\\"length\\\": \\\"long\\\",\\n    \\\"style\\\": \\\"loose waves\\\",\\n    \\\"parting\\\": \\\"center part with curtain bangs\\\",\\n    \\\"texture\\\": \\\"soft, glossy\\\"\\n  },\\n  \\\"face_details\\\": {\\n    \\\"eyes\\\": {\\n      \\\"color\\\": \\\"light brown / hazel\\\",\\n      \\\"makeup\\\": \\\"minimal, natural-looking lashes\\\"\\n    },\\n    \\\"eyebrows\\\": \\\"natural shape, light brown\\\",\\n    \\\"lips\\\": {\\n      \\\"color\\\": \\\"muted rose / coral\\\",\\n      \\\"finish\\\": \\\"soft satin\\\"\\n    },\\n    \\\"nose\\\": \\\"small with natural shape\\\",\\n    \\\"overall_makeup\\\": \\\"natural, clean, understated\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"top\\\": {\\n      \\\"type\\\": \\\"strapless or low-cut inner top\\\",\\n      \\\"color\\\": \\\"black\\\",\\n      \\\"fit\\\": \\\"fitted\\\"\\n    },\\n    \\\"outerwear\\\": {\\n      \\\"type\\\": \\\"knitted cardigan\\\",\\n      \\\"color\\\": \\\"olive green\\\",\\n      \\\"texture\\\": \\\"thick, cozy knit\\\",\\n      \\\"style\\\": \\\"off-shoulder, slightly loose\\\"\\n    }\\n  },\\n  \\\"accessories\\\": {\\n    \\\"jewelry\\\": {\\n      \\\"necklace\\\": {\\n        \\\"type\\\": \\\"thin silver chain\\\",\\n        \\\"pendant\\\": \\\"small cross\\\"\\n      },\\n      \\\"rings\\\": [\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"index\\\",\\n          \\\"design\\\": \\\"oval green stone set in silver\\\"\\n        },\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"middle\\\",\\n          \\\"design\\\": \\\"silver band with engraved or raised detailing\\\"\\n        }\\n      ]\\n    }\\n  },\\n  \\\"phone\\\": {\\n    \\\"brand_style\\\": \\\"iPhone Pro-style\\\",\\n    \\\"camera\\\": \\\"triple-lens rear camera\\\",\\n    \\\"case\\\": {\\n      \\\"color\\\": \\\"clear with dark abstract or camouflage-like pattern\\\",\\n      \\\"finish\\\": \\\"glossy\\\"\\n    },\\n    \\\"held_in\\\": \\\"right hand\\\"\\n  },\\n  \\\"environment\\\": {\\n    \\\"location_type\\\": \\\"outdoor covered area\\\",\\n    \\\"structure\\\": {\\n      \\\"roof\\\": \\\"wooden beams with semi-transparent mesh or netting\\\",\\n      \\\"materials\\\": \\\"wood and fabric/mesh\\\"\\n    },\\n    \\\"background\\\": {\\n      \\\"elements\\\": [\\n        \\\"wooden posts\\\",\\n        \\\"shaded interior area\\\",\\n        \\\"green foliage and trees\\\"\\n      ],\\n      \\\"depth\\\": \\\"slightly blurred background\\\"\\n    }\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"natural sunlight\\\",\\n    \\\"direction\\\": \\\"side/front lighting\\\",\\n    \\\"effects\\\": [\\n      \\\"soft shadows on face\\\",\\n      \\\"sunlit highlights on hair\\\",\\n      \\\"dappled light pattern from overhead structure\\\"\\n    ],\\n    \\\"mood\\\": \\\"warm, golden, calm\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"copper\\\",\\n      \\\"olive green\\\",\\n      \\\"warm beige\\\",\\n      \\\"black\\\",\\n      \\\"natural wood brown\\\"\\n    ],\\n    \\\"accent_colors\\\": [\\n      \\\"silver\\\",\\n      \\\"green gemstone\\\",\\n      \\\"soft coral lip tone\\\"\\n    ]\\n  },\\n  \\\"camera_characteristics\\\": {\\n    \\\"angle\\\": \\\"eye-level\\\",\\n    \\\"lens_effect\\\": \\\"natural per\\\"\\n  }\\n}\"\n}",
    CURLOPT_RETURNTRANSFER => true,
]);

$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response["id"] . PHP_EOL;
```

### Java

```java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder(URI.create("https://runapi.ai/api/v1/nano_banana/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"model\": \"nano-banana-pro\",\n  \"prompt\": \"{\\n  \\\"image_type\\\": \\\"photorealistic selfie\\\",\\n  \\\"subject\\\": {\\n    \\\"type\\\": \\\"human\\\",\\n    \\\"gender_presentation\\\": \\\"female\\\",\\n    \\\"age_range\\\": \\\"young adult\\\",\\n    \\\"pose\\\": \\\"mirror selfie\\\",\\n    \\\"expression\\\": \\\"soft, relaxed smile\\\",\\n    \\\"gaze\\\": \\\"looking at phone screen\\\",\\n    \\\"framing\\\": \\\"upper torso and head\\\",\\n    \\\"skin\\\": {\\n      \\\"tone\\\": \\\"fair with warm undertones\\\",\\n      \\\"features\\\": \\\"light freckles visible across cheeks and nose\\\"\\n    }\\n  },\\n  \\\"hair\\\": {\\n    \\\"color\\\": \\\"copper / auburn\\\",\\n    \\\"length\\\": \\\"long\\\",\\n    \\\"style\\\": \\\"loose waves\\\",\\n    \\\"parting\\\": \\\"center part with curtain bangs\\\",\\n    \\\"texture\\\": \\\"soft, glossy\\\"\\n  },\\n  \\\"face_details\\\": {\\n    \\\"eyes\\\": {\\n      \\\"color\\\": \\\"light brown / hazel\\\",\\n      \\\"makeup\\\": \\\"minimal, natural-looking lashes\\\"\\n    },\\n    \\\"eyebrows\\\": \\\"natural shape, light brown\\\",\\n    \\\"lips\\\": {\\n      \\\"color\\\": \\\"muted rose / coral\\\",\\n      \\\"finish\\\": \\\"soft satin\\\"\\n    },\\n    \\\"nose\\\": \\\"small with natural shape\\\",\\n    \\\"overall_makeup\\\": \\\"natural, clean, understated\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"top\\\": {\\n      \\\"type\\\": \\\"strapless or low-cut inner top\\\",\\n      \\\"color\\\": \\\"black\\\",\\n      \\\"fit\\\": \\\"fitted\\\"\\n    },\\n    \\\"outerwear\\\": {\\n      \\\"type\\\": \\\"knitted cardigan\\\",\\n      \\\"color\\\": \\\"olive green\\\",\\n      \\\"texture\\\": \\\"thick, cozy knit\\\",\\n      \\\"style\\\": \\\"off-shoulder, slightly loose\\\"\\n    }\\n  },\\n  \\\"accessories\\\": {\\n    \\\"jewelry\\\": {\\n      \\\"necklace\\\": {\\n        \\\"type\\\": \\\"thin silver chain\\\",\\n        \\\"pendant\\\": \\\"small cross\\\"\\n      },\\n      \\\"rings\\\": [\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"index\\\",\\n          \\\"design\\\": \\\"oval green stone set in silver\\\"\\n        },\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"middle\\\",\\n          \\\"design\\\": \\\"silver band with engraved or raised detailing\\\"\\n        }\\n      ]\\n    }\\n  },\\n  \\\"phone\\\": {\\n    \\\"brand_style\\\": \\\"iPhone Pro-style\\\",\\n    \\\"camera\\\": \\\"triple-lens rear camera\\\",\\n    \\\"case\\\": {\\n      \\\"color\\\": \\\"clear with dark abstract or camouflage-like pattern\\\",\\n      \\\"finish\\\": \\\"glossy\\\"\\n    },\\n    \\\"held_in\\\": \\\"right hand\\\"\\n  },\\n  \\\"environment\\\": {\\n    \\\"location_type\\\": \\\"outdoor covered area\\\",\\n    \\\"structure\\\": {\\n      \\\"roof\\\": \\\"wooden beams with semi-transparent mesh or netting\\\",\\n      \\\"materials\\\": \\\"wood and fabric/mesh\\\"\\n    },\\n    \\\"background\\\": {\\n      \\\"elements\\\": [\\n        \\\"wooden posts\\\",\\n        \\\"shaded interior area\\\",\\n        \\\"green foliage and trees\\\"\\n      ],\\n      \\\"depth\\\": \\\"slightly blurred background\\\"\\n    }\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"natural sunlight\\\",\\n    \\\"direction\\\": \\\"side/front lighting\\\",\\n    \\\"effects\\\": [\\n      \\\"soft shadows on face\\\",\\n      \\\"sunlit highlights on hair\\\",\\n      \\\"dappled light pattern from overhead structure\\\"\\n    ],\\n    \\\"mood\\\": \\\"warm, golden, calm\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"copper\\\",\\n      \\\"olive green\\\",\\n      \\\"warm beige\\\",\\n      \\\"black\\\",\\n      \\\"natural wood brown\\\"\\n    ],\\n    \\\"accent_colors\\\": [\\n      \\\"silver\\\",\\n      \\\"green gemstone\\\",\\n      \\\"soft coral lip tone\\\"\\n    ]\\n  },\\n  \\\"camera_characteristics\\\": {\\n    \\\"angle\\\": \\\"eye-level\\\",\\n    \\\"lens_effect\\\": \\\"natural per\\\"\\n  }\\n}\"\n}"))
    .build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

### Ruby

```ruby
require "json"
require "net/http"

uri = URI("https://runapi.ai/api/v1/nano_banana/text_to_image")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer " + ENV.fetch("RUNAPI_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"model\": \"nano-banana-pro\",\n  \"prompt\": \"{\\n  \\\"image_type\\\": \\\"photorealistic selfie\\\",\\n  \\\"subject\\\": {\\n    \\\"type\\\": \\\"human\\\",\\n    \\\"gender_presentation\\\": \\\"female\\\",\\n    \\\"age_range\\\": \\\"young adult\\\",\\n    \\\"pose\\\": \\\"mirror selfie\\\",\\n    \\\"expression\\\": \\\"soft, relaxed smile\\\",\\n    \\\"gaze\\\": \\\"looking at phone screen\\\",\\n    \\\"framing\\\": \\\"upper torso and head\\\",\\n    \\\"skin\\\": {\\n      \\\"tone\\\": \\\"fair with warm undertones\\\",\\n      \\\"features\\\": \\\"light freckles visible across cheeks and nose\\\"\\n    }\\n  },\\n  \\\"hair\\\": {\\n    \\\"color\\\": \\\"copper / auburn\\\",\\n    \\\"length\\\": \\\"long\\\",\\n    \\\"style\\\": \\\"loose waves\\\",\\n    \\\"parting\\\": \\\"center part with curtain bangs\\\",\\n    \\\"texture\\\": \\\"soft, glossy\\\"\\n  },\\n  \\\"face_details\\\": {\\n    \\\"eyes\\\": {\\n      \\\"color\\\": \\\"light brown / hazel\\\",\\n      \\\"makeup\\\": \\\"minimal, natural-looking lashes\\\"\\n    },\\n    \\\"eyebrows\\\": \\\"natural shape, light brown\\\",\\n    \\\"lips\\\": {\\n      \\\"color\\\": \\\"muted rose / coral\\\",\\n      \\\"finish\\\": \\\"soft satin\\\"\\n    },\\n    \\\"nose\\\": \\\"small with natural shape\\\",\\n    \\\"overall_makeup\\\": \\\"natural, clean, understated\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"top\\\": {\\n      \\\"type\\\": \\\"strapless or low-cut inner top\\\",\\n      \\\"color\\\": \\\"black\\\",\\n      \\\"fit\\\": \\\"fitted\\\"\\n    },\\n    \\\"outerwear\\\": {\\n      \\\"type\\\": \\\"knitted cardigan\\\",\\n      \\\"color\\\": \\\"olive green\\\",\\n      \\\"texture\\\": \\\"thick, cozy knit\\\",\\n      \\\"style\\\": \\\"off-shoulder, slightly loose\\\"\\n    }\\n  },\\n  \\\"accessories\\\": {\\n    \\\"jewelry\\\": {\\n      \\\"necklace\\\": {\\n        \\\"type\\\": \\\"thin silver chain\\\",\\n        \\\"pendant\\\": \\\"small cross\\\"\\n      },\\n      \\\"rings\\\": [\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"index\\\",\\n          \\\"design\\\": \\\"oval green stone set in silver\\\"\\n        },\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"middle\\\",\\n          \\\"design\\\": \\\"silver band with engraved or raised detailing\\\"\\n        }\\n      ]\\n    }\\n  },\\n  \\\"phone\\\": {\\n    \\\"brand_style\\\": \\\"iPhone Pro-style\\\",\\n    \\\"camera\\\": \\\"triple-lens rear camera\\\",\\n    \\\"case\\\": {\\n      \\\"color\\\": \\\"clear with dark abstract or camouflage-like pattern\\\",\\n      \\\"finish\\\": \\\"glossy\\\"\\n    },\\n    \\\"held_in\\\": \\\"right hand\\\"\\n  },\\n  \\\"environment\\\": {\\n    \\\"location_type\\\": \\\"outdoor covered area\\\",\\n    \\\"structure\\\": {\\n      \\\"roof\\\": \\\"wooden beams with semi-transparent mesh or netting\\\",\\n      \\\"materials\\\": \\\"wood and fabric/mesh\\\"\\n    },\\n    \\\"background\\\": {\\n      \\\"elements\\\": [\\n        \\\"wooden posts\\\",\\n        \\\"shaded interior area\\\",\\n        \\\"green foliage and trees\\\"\\n      ],\\n      \\\"depth\\\": \\\"slightly blurred background\\\"\\n    }\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"natural sunlight\\\",\\n    \\\"direction\\\": \\\"side/front lighting\\\",\\n    \\\"effects\\\": [\\n      \\\"soft shadows on face\\\",\\n      \\\"sunlit highlights on hair\\\",\\n      \\\"dappled light pattern from overhead structure\\\"\\n    ],\\n    \\\"mood\\\": \\\"warm, golden, calm\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"copper\\\",\\n      \\\"olive green\\\",\\n      \\\"warm beige\\\",\\n      \\\"black\\\",\\n      \\\"natural wood brown\\\"\\n    ],\\n    \\\"accent_colors\\\": [\\n      \\\"silver\\\",\\n      \\\"green gemstone\\\",\\n      \\\"soft coral lip tone\\\"\\n    ]\\n  },\\n  \\\"camera_characteristics\\\": {\\n    \\\"angle\\\": \\\"eye-level\\\",\\n    \\\"lens_effect\\\": \\\"natural per\\\"\\n  }\\n}\"\n}"

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(request) }
puts JSON.parse(response.body).fetch("id")
```

### Go

```go
package main

import (
  "context"
  "fmt"
  "log"
  "net/http"
  "os"
  "strings"
)

func main() {
  body := strings.NewReader("{\"model\":\"nano-banana-pro\",\"prompt\":\"{\\n  \\\"image_type\\\": \\\"photorealistic selfie\\\",\\n  \\\"subject\\\": {\\n    \\\"type\\\": \\\"human\\\",\\n    \\\"gender_presentation\\\": \\\"female\\\",\\n    \\\"age_range\\\": \\\"young adult\\\",\\n    \\\"pose\\\": \\\"mirror selfie\\\",\\n    \\\"expression\\\": \\\"soft, relaxed smile\\\",\\n    \\\"gaze\\\": \\\"looking at phone screen\\\",\\n    \\\"framing\\\": \\\"upper torso and head\\\",\\n    \\\"skin\\\": {\\n      \\\"tone\\\": \\\"fair with warm undertones\\\",\\n      \\\"features\\\": \\\"light freckles visible across cheeks and nose\\\"\\n    }\\n  },\\n  \\\"hair\\\": {\\n    \\\"color\\\": \\\"copper / auburn\\\",\\n    \\\"length\\\": \\\"long\\\",\\n    \\\"style\\\": \\\"loose waves\\\",\\n    \\\"parting\\\": \\\"center part with curtain bangs\\\",\\n    \\\"texture\\\": \\\"soft, glossy\\\"\\n  },\\n  \\\"face_details\\\": {\\n    \\\"eyes\\\": {\\n      \\\"color\\\": \\\"light brown / hazel\\\",\\n      \\\"makeup\\\": \\\"minimal, natural-looking lashes\\\"\\n    },\\n    \\\"eyebrows\\\": \\\"natural shape, light brown\\\",\\n    \\\"lips\\\": {\\n      \\\"color\\\": \\\"muted rose / coral\\\",\\n      \\\"finish\\\": \\\"soft satin\\\"\\n    },\\n    \\\"nose\\\": \\\"small with natural shape\\\",\\n    \\\"overall_makeup\\\": \\\"natural, clean, understated\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"top\\\": {\\n      \\\"type\\\": \\\"strapless or low-cut inner top\\\",\\n      \\\"color\\\": \\\"black\\\",\\n      \\\"fit\\\": \\\"fitted\\\"\\n    },\\n    \\\"outerwear\\\": {\\n      \\\"type\\\": \\\"knitted cardigan\\\",\\n      \\\"color\\\": \\\"olive green\\\",\\n      \\\"texture\\\": \\\"thick, cozy knit\\\",\\n      \\\"style\\\": \\\"off-shoulder, slightly loose\\\"\\n    }\\n  },\\n  \\\"accessories\\\": {\\n    \\\"jewelry\\\": {\\n      \\\"necklace\\\": {\\n        \\\"type\\\": \\\"thin silver chain\\\",\\n        \\\"pendant\\\": \\\"small cross\\\"\\n      },\\n      \\\"rings\\\": [\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"index\\\",\\n          \\\"design\\\": \\\"oval green stone set in silver\\\"\\n        },\\n        {\\n          \\\"hand\\\": \\\"right\\\",\\n          \\\"finger\\\": \\\"middle\\\",\\n          \\\"design\\\": \\\"silver band with engraved or raised detailing\\\"\\n        }\\n      ]\\n    }\\n  },\\n  \\\"phone\\\": {\\n    \\\"brand_style\\\": \\\"iPhone Pro-style\\\",\\n    \\\"camera\\\": \\\"triple-lens rear camera\\\",\\n    \\\"case\\\": {\\n      \\\"color\\\": \\\"clear with dark abstract or camouflage-like pattern\\\",\\n      \\\"finish\\\": \\\"glossy\\\"\\n    },\\n    \\\"held_in\\\": \\\"right hand\\\"\\n  },\\n  \\\"environment\\\": {\\n    \\\"location_type\\\": \\\"outdoor covered area\\\",\\n    \\\"structure\\\": {\\n      \\\"roof\\\": \\\"wooden beams with semi-transparent mesh or netting\\\",\\n      \\\"materials\\\": \\\"wood and fabric/mesh\\\"\\n    },\\n    \\\"background\\\": {\\n      \\\"elements\\\": [\\n        \\\"wooden posts\\\",\\n        \\\"shaded interior area\\\",\\n        \\\"green foliage and trees\\\"\\n      ],\\n      \\\"depth\\\": \\\"slightly blurred background\\\"\\n    }\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"natural sunlight\\\",\\n    \\\"direction\\\": \\\"side/front lighting\\\",\\n    \\\"effects\\\": [\\n      \\\"soft shadows on face\\\",\\n      \\\"sunlit highlights on hair\\\",\\n      \\\"dappled light pattern from overhead structure\\\"\\n    ],\\n    \\\"mood\\\": \\\"warm, golden, calm\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"copper\\\",\\n      \\\"olive green\\\",\\n      \\\"warm beige\\\",\\n      \\\"black\\\",\\n      \\\"natural wood brown\\\"\\n    ],\\n    \\\"accent_colors\\\": [\\n      \\\"silver\\\",\\n      \\\"green gemstone\\\",\\n      \\\"soft coral lip tone\\\"\\n    ]\\n  },\\n  \\\"camera_characteristics\\\": {\\n    \\\"angle\\\": \\\"eye-level\\\",\\n    \\\"lens_effect\\\": \\\"natural per\\\"\\n  }\\n}\"}")
  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)
}
```

### CLI

```cli
$ runapi generate \
    --model nano-banana-pro \
    --prompt "{\n  \"image_type\": \"photorealistic selfie\",\n  \"subject\": {\n    \"type\": \"human\",\n    \"gender_presentation\": \"female\",\n    \"age_range\": \"young adult\",\n    \"pose\": \"mirror selfie\",\n    \"expression\": \"soft, relaxed smile\",\n    \"gaze\": \"looking at phone screen\",\n    \"framing\": \"upper torso and head\",\n    \"skin\": {\n      \"tone\": \"fair with warm undertones\",\n      \"features\": \"light freckles visible across cheeks and nose\"\n    }\n  },\n  \"hair\": {\n    \"color\": \"copper / auburn\",\n    \"length\": \"long\",\n    \"style\": \"loose waves\",\n    \"parting\": \"center part with curtain bangs\",\n    \"texture\": \"soft, glossy\"\n  },\n  \"face_details\": {\n    \"eyes\": {\n      \"color\": \"light brown / hazel\",\n      \"makeup\": \"minimal, natural-looking lashes\"\n    },\n    \"eyebrows\": \"natural shape, light brown\",\n    \"lips\": {\n      \"color\": \"muted rose / coral\",\n      \"finish\": \"soft satin\"\n    },\n    \"nose\": \"small with natural shape\",\n    \"overall_makeup\": \"natural, clean, understated\"\n  },\n  \"clothing\": {\n    \"top\": {\n      \"type\": \"strapless or low-cut inner top\",\n      \"color\": \"black\",\n      \"fit\": \"fitted\"\n    },\n    \"outerwear\": {\n      \"type\": \"knitted cardigan\",\n      \"color\": \"olive green\",\n      \"texture\": \"thick, cozy knit\",\n      \"style\": \"off-shoulder, slightly loose\"\n    }\n  },\n  \"accessories\": {\n    \"jewelry\": {\n      \"necklace\": {\n        \"type\": \"thin silver chain\",\n        \"pendant\": \"small cross\"\n      },\n      \"rings\": [\n        {\n          \"hand\": \"right\",\n          \"finger\": \"index\",\n          \"design\": \"oval green stone set in silver\"\n        },\n        {\n          \"hand\": \"right\",\n          \"finger\": \"middle\",\n          \"design\": \"silver band with engraved or raised detailing\"\n        }\n      ]\n    }\n  },\n  \"phone\": {\n    \"brand_style\": \"iPhone Pro-style\",\n    \"camera\": \"triple-lens rear camera\",\n    \"case\": {\n      \"color\": \"clear with dark abstract or camouflage-like pattern\",\n      \"finish\": \"glossy\"\n    },\n    \"held_in\": \"right hand\"\n  },\n  \"environment\": {\n    \"location_type\": \"outdoor covered area\",\n    \"structure\": {\n      \"roof\": \"wooden beams with semi-transparent mesh or netting\",\n      \"materials\": \"wood and fabric/mesh\"\n    },\n    \"background\": {\n      \"elements\": [\n        \"wooden posts\",\n        \"shaded interior area\",\n        \"green foliage and trees\"\n      ],\n      \"depth\": \"slightly blurred background\"\n    }\n  },\n  \"lighting\": {\n    \"type\": \"natural sunlight\",\n    \"direction\": \"side/front lighting\",\n    \"effects\": [\n      \"soft shadows on face\",\n      \"sunlit highlights on hair\",\n      \"dappled light pattern from overhead structure\"\n    ],\n    \"mood\": \"warm, golden, calm\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"copper\",\n      \"olive green\",\n      \"warm beige\",\n      \"black\",\n      \"natural wood brown\"\n    ],\n    \"accent_colors\": [\n      \"silver\",\n      \"green gemstone\",\n      \"soft coral lip tone\"\n    ]\n  },\n  \"camera_characteristics\": {\n    \"angle\": \"eye-level\",\n    \"lens_effect\": \"natural per\"\n  }\n}" \
    --wait
```

<!-- /api-example-tabs-slot -->

## More prompts like this

- [Realistic Group Selfie with Smartphone Flash Effect](https://runapi.ai/prompts/prm_pexzREbkyNPQuZ7w8dMo5lZn.md) — `nano-banana-pro`
- [Four Seasons Portrait Collage](https://runapi.ai/prompts/prm_YNKpk5gVDan9iVGO8X6E9Qze.md) — `nano-banana-pro`
- [Minimalist Dog Sketch Clipart](https://runapi.ai/prompts/prm_wRZLNo0a4PPVuaax4XnGk3xJ.md) — `nano-banana-pro`

## Prompt questions

### Can I modify this prompt?

Yes. Use it as a starting point and adjust parameters, add details, or combine it with your own ideas.

### Which model should I choose?

Each model has different strengths. Compare the available models and choose the one that best matches the output you need.

### How much does it cost?

Pricing varies by model. See the estimated cost above the Generate button.

## Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

[Contact Us](https://runapi.ai/contact.md)


---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
- [Prompt Gallery](https://runapi.ai/prompts.md)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Prompts",
        "item": "https://runapi.ai/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Image",
        "item": "https://runapi.ai/prompts/image"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Photorealistic Mirror Selfie with Copper Hair",
        "item": "https://runapi.ai/prompts/prm_Lr2jVOdY4x16IBrqyEmbA5Pl"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Can I modify this prompt?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Yes. Use it as a starting point and adjust parameters, add details, or combine it with your own ideas."
        }
      },
      {
        "@type": "Question",
        "name": "Which model should I choose?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Each model has different strengths. Compare the available models and choose the one that best matches the output you need."
        }
      },
      {
        "@type": "Question",
        "name": "How much does it cost?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Pricing varies by model. See the estimated cost above the Generate button."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "CreativeWork",
    "name": "Photorealistic Mirror Selfie with Copper Hair",
    "text": "{\n  \"image_type\": \"photorealistic selfie\",\n  \"subject\": {\n    \"type\": \"human\",\n    \"gender_presentation\": \"female\",\n    \"age_range\": \"young adult\",\n    \"pose\": \"mirror selfie\",\n    \"expression\": \"soft, relaxed smile\",\n    \"gaze\": \"looking at phone screen\",\n    \"framing\": \"upper torso and head\",\n    \"skin\": {\n      \"tone\": \"fair with warm undertones\",\n      \"features\": \"light freckles visible across cheeks and nose\"\n    }\n  },\n  \"hair\": {\n    \"color\": \"copper / auburn\",\n    \"length\": \"long\",\n    \"style\": \"loose waves\",\n    \"parting\": \"center part with curtain bangs\",\n    \"texture\": \"soft, glossy\"\n  },\n  \"face_details\": {\n    \"eyes\": {\n      \"color\": \"light brown / hazel\",\n      \"makeup\": \"minimal, natural-looking lashes\"\n    },\n    \"eyebrows\": \"natural shape, light brown\",\n    \"lips\": {\n      \"color\": \"muted rose / coral\",\n      \"finish\": \"soft satin\"\n    },\n    \"nose\": \"small with natural shape\",\n    \"overall_makeup\": \"natural, clean, understated\"\n  },\n  \"clothing\": {\n    \"top\": {\n      \"type\": \"strapless or low-cut inner top\",\n      \"color\": \"black\",\n      \"fit\": \"fitted\"\n    },\n    \"outerwear\": {\n      \"type\": \"knitted cardigan\",\n      \"color\": \"olive green\",\n      \"texture\": \"thick, cozy knit\",\n      \"style\": \"off-shoulder, slightly loose\"\n    }\n  },\n  \"accessories\": {\n    \"jewelry\": {\n      \"necklace\": {\n        \"type\": \"thin silver chain\",\n        \"pendant\": \"small cross\"\n      },\n      \"rings\": [\n        {\n          \"hand\": \"right\",\n          \"finger\": \"index\",\n          \"design\": \"oval green stone set in silver\"\n        },\n        {\n          \"hand\": \"right\",\n          \"finger\": \"middle\",\n          \"design\": \"silver band with engraved or raised detailing\"\n        }\n      ]\n    }\n  },\n  \"phone\": {\n    \"brand_style\": \"iPhone Pro-style\",\n    \"camera\": \"triple-lens rear camera\",\n    \"case\": {\n      \"color\": \"clear with dark abstract or camouflage-like pattern\",\n      \"finish\": \"glossy\"\n    },\n    \"held_in\": \"right hand\"\n  },\n  \"environment\": {\n    \"location_type\": \"outdoor covered area\",\n    \"structure\": {\n      \"roof\": \"wooden beams with semi-transparent mesh or netting\",\n      \"materials\": \"wood and fabric/mesh\"\n    },\n    \"background\": {\n      \"elements\": [\n        \"wooden posts\",\n        \"shaded interior area\",\n        \"green foliage and trees\"\n      ],\n      \"depth\": \"slightly blurred background\"\n    }\n  },\n  \"lighting\": {\n    \"type\": \"natural sunlight\",\n    \"direction\": \"side/front lighting\",\n    \"effects\": [\n      \"soft shadows on face\",\n      \"sunlit highlights on hair\",\n      \"dappled light pattern from overhead structure\"\n    ],\n    \"mood\": \"warm, golden, calm\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"copper\",\n      \"olive green\",\n      \"warm beige\",\n      \"black\",\n      \"natural wood brown\"\n    ],\n    \"accent_colors\": [\n      \"silver\",\n      \"green gemstone\",\n      \"soft coral lip tone\"\n    ]\n  },\n  \"camera_characteristics\": {\n    \"angle\": \"eye-level\",\n    \"lens_effect\": \"natural per\"\n  }\n}",
    "image": "https://cdn.runapi.ai/public/prompts/previews/15f5ccf9b51c1241f468ac89607eddce9e2351c22eef066df13dfe8fb2232752-runapi-ai.jpg",
    "about": [
      "image",
      "nano-banana-pro",
      "fashion"
    ]
  }
]
```
