---
title: Serene Mirror-Selfie Portrait in Sunlit Bedroom —  Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_9kVBEjebDzxoCZen4wNKY5MZ.md
canonical: https://runapi.ai/prompts/prm_9kVBEjebDzxoCZen4wNKY5MZ
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13692
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Serene Mirror-Selfie Portrait in Sunlit Bedroom

Copy this RunAPI prompt, view agent setup steps, and use API code for .

**Prompts** · Image

## Prompt

```text
{
  "scene_type": "Indoor lifestyle portrait (mirror-selfie aesthetic)",
  "environment": {
    "location": "Sunlit bedroom with gentle, natural daytime illumination",
    "background": {
      "bed": "White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding",
      "decor": "Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches",
      "windows": "Large window with airy sheer curtains that diffuse the light and soften the whole room",
      "color_palette": "Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents"
    },
    "atmosphere": "Quiet, intimate, cozy, breathable, and softly lived-in"
  },
  "subject": {
    "gender_presentation": "Feminine",
    "approximate_age_group": "Adult (21+), young adult",
    "skin_tone": "Fair complexion with realistic, natural skin texture and subtle imperfections",
    "hair": {
      "color": "Cool platinum blonde (slightly icy tone)",
      "style": "Long, straight hair with a clean center part, falling naturally over shoulders"
    },
    "facial_features": {
      "expression": "Gentle, calm, and slightly introspective, relaxed mouth and soft eyes",
      "makeup": "Very light, natural makeup with understated definition, nothing dramatic or heavy"
    },
    "body_details": {
      "build": "Slim to average physique with natural proportions",
      "visible_tattoos": [
        "Fine-line floral and illustrative tattoos along the arms and forearms",
        "A small, subtle tattoo visible on the upper thigh area"
      ]
    }
  },
  "pose": {
    "position": "Seated on the bed near the edge, comfortable and casual",
    "legs": "Knees bent and pulled in close, creating a compact, cozy silhouette",
    "hands": "One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture",
    "orientation": "Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing"
  },
  "clothing": {
    "outfit_type": "Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting",
    "color": "Soft white or ivory (clean, minimal, gentle tone)",
    "material": "Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit",
    "details": "Thin shoulder straps with subtle lace edging and refined trim details"
  },
  "styling": {
    "accessories": [
      "Minimal necklace with a small pendant or simple chain",
      "Small hoop earrings with a clean, understated look"
    ],
    "nails": "Natural nails or lightly manicured in a neutral finish, not flashy",
    "overall_style": "Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial"
  },
  "lighting": {
    "type": "Natural daylight",
    "source": "Window light coming from the side at a slight angle, wrapping gently across the subject",
    "quality": "Diffused, soft, and even illumination with smooth falloff across skin and fabric",
    "shadows": "Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy"
  },
  "mood": {
    "emotional_tone": "Serene, warm, reflective, and quietly intimate",
    "visual_feel": "Peaceful, soft, and realistic, like a candid moment captured in a calm morning"
  },
  "camera_details": {
    "camera_type": "Smartphone camera capture",
    "lens_equivalent": "Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens",
    "perspective": "Mirror-selfie perspective with realistic framing, slight hand-held authenticity",
    "focus": "Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp",
    "aperture_simulation": "Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable",
    "iso_simulation": "Low ISO for a clean image with minimal noise while preserving natural texture",
    "shutter_speed_simulation": "Fast enough to reduce motion blur and keep details sharp even with handheld capture",
    "white_balance": "Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones"
  },
  "rendering_style": {
    "realism_level": "Ultra photorealistic",
    "detail_level": "High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows",
    "post_processing": "Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away",
    "artifacts": "No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin"
  }
}
```

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

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

### Generate this prompt

| Model | Selected model |
|---|---|
| Estimated cost | Pricing pending |
| Endpoint | `/api/v1/runapi/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

Serene Mirror-Selfie Portrait in Sunlit Bedroom

### Atmosphere

lifestyle / Image

### Technical

Runapi / Text To Image / /api/v1/runapi/text_to_image

### Style

bedroom, daylight, mirror-selfie, photorealistic, platinum-blonde, sleepwear, tattoos

<!-- /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 |
|---|---|
| Modality | Image |
| Category | lifestyle |
| Tags | bedroom, daylight, mirror-selfie, photorealistic, platinum-blonde, sleepwear, tattoos |

## 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: "{
  "scene_type": "Indoor lifestyle portrait (mirror-selfie aesthetic)",
  "environment": {
    "location": "Sunlit bedroom with gentle, natural daytime illumination",
    "background": {
      "bed": "White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding",
      "decor": "Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches",
      "windows": "Large window with airy sheer curtains that diffuse the light and soften the whole room",
      "color_palette": "Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents"
    },
    "atmosphere": "Quiet, intimate, cozy, breathable, and softly lived-in"
  },
  "subject": {
    "gender_presentation": "Feminine",
    "approximate_age_group": "Adult (21+), young adult",
    "skin_tone": "Fair complexion with realistic, natural skin texture and subtle imperfections",
    "hair": {
      "color": "Cool platinum blonde (slightly icy tone)",
      "style": "Long, straight hair with a clean center part, falling naturally over shoulders"
    },
    "facial_features": {
      "expression": "Gentle, calm, and slightly introspective, relaxed mouth and soft eyes",
      "makeup": "Very light, natural makeup with understated definition, nothing dramatic or heavy"
    },
    "body_details": {
      "build": "Slim to average physique with natural proportions",
      "visible_tattoos": [
        "Fine-line floral and illustrative tattoos along the arms and forearms",
        "A small, subtle tattoo visible on the upper thigh area"
      ]
    }
  },
  "pose": {
    "position": "Seated on the bed near the edge, comfortable and casual",
    "legs": "Knees bent and pulled in close, creating a compact, cozy silhouette",
    "hands": "One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture",
    "orientation": "Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing"
  },
  "clothing": {
    "outfit_type": "Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting",
    "color": "Soft white or ivory (clean, minimal, gentle tone)",
    "material": "Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit",
    "details": "Thin shoulder straps with subtle lace edging and refined trim details"
  },
  "styling": {
    "accessories": [
      "Minimal necklace with a small pendant or simple chain",
      "Small hoop earrings with a clean, understated look"
    ],
    "nails": "Natural nails or lightly manicured in a neutral finish, not flashy",
    "overall_style": "Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial"
  },
  "lighting": {
    "type": "Natural daylight",
    "source": "Window light coming from the side at a slight angle, wrapping gently across the subject",
    "quality": "Diffused, soft, and even illumination with smooth falloff across skin and fabric",
    "shadows": "Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy"
  },
  "mood": {
    "emotional_tone": "Serene, warm, reflective, and quietly intimate",
    "visual_feel": "Peaceful, soft, and realistic, like a candid moment captured in a calm morning"
  },
  "camera_details": {
    "camera_type": "Smartphone camera capture",
    "lens_equivalent": "Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens",
    "perspective": "Mirror-selfie perspective with realistic framing, slight hand-held authenticity",
    "focus": "Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp",
    "aperture_simulation": "Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable",
    "iso_simulation": "Low ISO for a clean image with minimal noise while preserving natural texture",
    "shutter_speed_simulation": "Fast enough to reduce motion blur and keep details sharp even with handheld capture",
    "white_balance": "Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones"
  },
  "rendering_style": {
    "realism_level": "Ultra photorealistic",
    "detail_level": "High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows",
    "post_processing": "Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away",
    "artifacts": "No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin"
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "scene_type": "Indoor lifestyle portrait (mirror-selfie aesthetic)",
  "environment": {
    "location": "Sunlit bedroom with gentle, natural daytime illumination",
    "background": {
      "bed": "White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding",
      "decor": "Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches",
      "windows": "Large window with airy sheer curtains that diffuse the light and soften the whole room",
      "color_palette": "Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents"
    },
    "atmosphere": "Quiet, intimate, cozy, breathable, and softly lived-in"
  },
  "subject": {
    "gender_presentation": "Feminine",
    "approximate_age_group": "Adult (21+), young adult",
    "skin_tone": "Fair complexion with realistic, natural skin texture and subtle imperfections",
    "hair": {
      "color": "Cool platinum blonde (slightly icy tone)",
      "style": "Long, straight hair with a clean center part, falling naturally over shoulders"
    },
    "facial_features": {
      "expression": "Gentle, calm, and slightly introspective, relaxed mouth and soft eyes",
      "makeup": "Very light, natural makeup with understated definition, nothing dramatic or heavy"
    },
    "body_details": {
      "build": "Slim to average physique with natural proportions",
      "visible_tattoos": [
        "Fine-line floral and illustrative tattoos along the arms and forearms",
        "A small, subtle tattoo visible on the upper thigh area"
      ]
    }
  },
  "pose": {
    "position": "Seated on the bed near the edge, comfortable and casual",
    "legs": "Knees bent and pulled in close, creating a compact, cozy silhouette",
    "hands": "One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture",
    "orientation": "Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing"
  },
  "clothing": {
    "outfit_type": "Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting",
    "color": "Soft white or ivory (clean, minimal, gentle tone)",
    "material": "Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit",
    "details": "Thin shoulder straps with subtle lace edging and refined trim details"
  },
  "styling": {
    "accessories": [
      "Minimal necklace with a small pendant or simple chain",
      "Small hoop earrings with a clean, understated look"
    ],
    "nails": "Natural nails or lightly manicured in a neutral finish, not flashy",
    "overall_style": "Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial"
  },
  "lighting": {
    "type": "Natural daylight",
    "source": "Window light coming from the side at a slight angle, wrapping gently across the subject",
    "quality": "Diffused, soft, and even illumination with smooth falloff across skin and fabric",
    "shadows": "Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy"
  },
  "mood": {
    "emotional_tone": "Serene, warm, reflective, and quietly intimate",
    "visual_feel": "Peaceful, soft, and realistic, like a candid moment captured in a calm morning"
  },
  "camera_details": {
    "camera_type": "Smartphone camera capture",
    "lens_equivalent": "Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens",
    "perspective": "Mirror-selfie perspective with realistic framing, slight hand-held authenticity",
    "focus": "Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp",
    "aperture_simulation": "Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable",
    "iso_simulation": "Low ISO for a clean image with minimal noise while preserving natural texture",
    "shutter_speed_simulation": "Fast enough to reduce motion blur and keep details sharp even with handheld capture",
    "white_balance": "Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones"
  },
  "rendering_style": {
    "realism_level": "Ultra photorealistic",
    "detail_level": "High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows",
    "post_processing": "Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away",
    "artifacts": "No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin"
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "scene_type": "Indoor lifestyle portrait (mirror-selfie aesthetic)",
  "environment": {
    "location": "Sunlit bedroom with gentle, natural daytime illumination",
    "background": {
      "bed": "White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding",
      "decor": "Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches",
      "windows": "Large window with airy sheer curtains that diffuse the light and soften the whole room",
      "color_palette": "Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents"
    },
    "atmosphere": "Quiet, intimate, cozy, breathable, and softly lived-in"
  },
  "subject": {
    "gender_presentation": "Feminine",
    "approximate_age_group": "Adult (21+), young adult",
    "skin_tone": "Fair complexion with realistic, natural skin texture and subtle imperfections",
    "hair": {
      "color": "Cool platinum blonde (slightly icy tone)",
      "style": "Long, straight hair with a clean center part, falling naturally over shoulders"
    },
    "facial_features": {
      "expression": "Gentle, calm, and slightly introspective, relaxed mouth and soft eyes",
      "makeup": "Very light, natural makeup with understated definition, nothing dramatic or heavy"
    },
    "body_details": {
      "build": "Slim to average physique with natural proportions",
      "visible_tattoos": [
        "Fine-line floral and illustrative tattoos along the arms and forearms",
        "A small, subtle tattoo visible on the upper thigh area"
      ]
    }
  },
  "pose": {
    "position": "Seated on the bed near the edge, comfortable and casual",
    "legs": "Knees bent and pulled in close, creating a compact, cozy silhouette",
    "hands": "One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture",
    "orientation": "Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing"
  },
  "clothing": {
    "outfit_type": "Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting",
    "color": "Soft white or ivory (clean, minimal, gentle tone)",
    "material": "Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit",
    "details": "Thin shoulder straps with subtle lace edging and refined trim details"
  },
  "styling": {
    "accessories": [
      "Minimal necklace with a small pendant or simple chain",
      "Small hoop earrings with a clean, understated look"
    ],
    "nails": "Natural nails or lightly manicured in a neutral finish, not flashy",
    "overall_style": "Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial"
  },
  "lighting": {
    "type": "Natural daylight",
    "source": "Window light coming from the side at a slight angle, wrapping gently across the subject",
    "quality": "Diffused, soft, and even illumination with smooth falloff across skin and fabric",
    "shadows": "Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy"
  },
  "mood": {
    "emotional_tone": "Serene, warm, reflective, and quietly intimate",
    "visual_feel": "Peaceful, soft, and realistic, like a candid moment captured in a calm morning"
  },
  "camera_details": {
    "camera_type": "Smartphone camera capture",
    "lens_equivalent": "Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens",
    "perspective": "Mirror-selfie perspective with realistic framing, slight hand-held authenticity",
    "focus": "Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp",
    "aperture_simulation": "Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable",
    "iso_simulation": "Low ISO for a clean image with minimal noise while preserving natural texture",
    "shutter_speed_simulation": "Fast enough to reduce motion blur and keep details sharp even with handheld capture",
    "white_balance": "Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones"
  },
  "rendering_style": {
    "realism_level": "Ultra photorealistic",
    "detail_level": "High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows",
    "post_processing": "Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away",
    "artifacts": "No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin"
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "scene_type": "Indoor lifestyle portrait (mirror-selfie aesthetic)",
  "environment": {
    "location": "Sunlit bedroom with gentle, natural daytime illumination",
    "background": {
      "bed": "White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding",
      "decor": "Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches",
      "windows": "Large window with airy sheer curtains that diffuse the light and soften the whole room",
      "color_palette": "Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents"
    },
    "atmosphere": "Quiet, intimate, cozy, breathable, and softly lived-in"
  },
  "subject": {
    "gender_presentation": "Feminine",
    "approximate_age_group": "Adult (21+), young adult",
    "skin_tone": "Fair complexion with realistic, natural skin texture and subtle imperfections",
    "hair": {
      "color": "Cool platinum blonde (slightly icy tone)",
      "style": "Long, straight hair with a clean center part, falling naturally over shoulders"
    },
    "facial_features": {
      "expression": "Gentle, calm, and slightly introspective, relaxed mouth and soft eyes",
      "makeup": "Very light, natural makeup with understated definition, nothing dramatic or heavy"
    },
    "body_details": {
      "build": "Slim to average physique with natural proportions",
      "visible_tattoos": [
        "Fine-line floral and illustrative tattoos along the arms and forearms",
        "A small, subtle tattoo visible on the upper thigh area"
      ]
    }
  },
  "pose": {
    "position": "Seated on the bed near the edge, comfortable and casual",
    "legs": "Knees bent and pulled in close, creating a compact, cozy silhouette",
    "hands": "One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture",
    "orientation": "Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing"
  },
  "clothing": {
    "outfit_type": "Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting",
    "color": "Soft white or ivory (clean, minimal, gentle tone)",
    "material": "Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit",
    "details": "Thin shoulder straps with subtle lace edging and refined trim details"
  },
  "styling": {
    "accessories": [
      "Minimal necklace with a small pendant or simple chain",
      "Small hoop earrings with a clean, understated look"
    ],
    "nails": "Natural nails or lightly manicured in a neutral finish, not flashy",
    "overall_style": "Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial"
  },
  "lighting": {
    "type": "Natural daylight",
    "source": "Window light coming from the side at a slight angle, wrapping gently across the subject",
    "quality": "Diffused, soft, and even illumination with smooth falloff across skin and fabric",
    "shadows": "Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy"
  },
  "mood": {
    "emotional_tone": "Serene, warm, reflective, and quietly intimate",
    "visual_feel": "Peaceful, soft, and realistic, like a candid moment captured in a calm morning"
  },
  "camera_details": {
    "camera_type": "Smartphone camera capture",
    "lens_equivalent": "Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens",
    "perspective": "Mirror-selfie perspective with realistic framing, slight hand-held authenticity",
    "focus": "Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp",
    "aperture_simulation": "Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable",
    "iso_simulation": "Low ISO for a clean image with minimal noise while preserving natural texture",
    "shutter_speed_simulation": "Fast enough to reduce motion blur and keep details sharp even with handheld capture",
    "white_balance": "Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones"
  },
  "rendering_style": {
    "realism_level": "Ultra photorealistic",
    "detail_level": "High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows",
    "post_processing": "Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away",
    "artifacts": "No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin"
  }
}"

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

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

### curl

```curl
curl -X POST https://runapi.ai/api/v1/runapi/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "prompt": "{\n  \"scene_type\": \"Indoor lifestyle portrait (mirror-selfie aesthetic)\",\n  \"environment\": {\n    \"location\": \"Sunlit bedroom with gentle, natural daytime illumination\",\n    \"background\": {\n      \"bed\": \"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\",\n      \"decor\": \"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\",\n      \"windows\": \"Large window with airy sheer curtains that diffuse the light and soften the whole room\",\n      \"color_palette\": \"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\"\n    },\n    \"atmosphere\": \"Quiet, intimate, cozy, breathable, and softly lived-in\"\n  },\n  \"subject\": {\n    \"gender_presentation\": \"Feminine\",\n    \"approximate_age_group\": \"Adult (21+), young adult\",\n    \"skin_tone\": \"Fair complexion with realistic, natural skin texture and subtle imperfections\",\n    \"hair\": {\n      \"color\": \"Cool platinum blonde (slightly icy tone)\",\n      \"style\": \"Long, straight hair with a clean center part, falling naturally over shoulders\"\n    },\n    \"facial_features\": {\n      \"expression\": \"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\",\n      \"makeup\": \"Very light, natural makeup with understated definition, nothing dramatic or heavy\"\n    },\n    \"body_details\": {\n      \"build\": \"Slim to average physique with natural proportions\",\n      \"visible_tattoos\": [\n        \"Fine-line floral and illustrative tattoos along the arms and forearms\",\n        \"A small, subtle tattoo visible on the upper thigh area\"\n      ]\n    }\n  },\n  \"pose\": {\n    \"position\": \"Seated on the bed near the edge, comfortable and casual\",\n    \"legs\": \"Knees bent and pulled in close, creating a compact, cozy silhouette\",\n    \"hands\": \"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\",\n    \"orientation\": \"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\"\n  },\n  \"clothing\": {\n    \"outfit_type\": \"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\",\n    \"color\": \"Soft white or ivory (clean, minimal, gentle tone)\",\n    \"material\": \"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\",\n    \"details\": \"Thin shoulder straps with subtle lace edging and refined trim details\"\n  },\n  \"styling\": {\n    \"accessories\": [\n      \"Minimal necklace with a small pendant or simple chain\",\n      \"Small hoop earrings with a clean, understated look\"\n    ],\n    \"nails\": \"Natural nails or lightly manicured in a neutral finish, not flashy\",\n    \"overall_style\": \"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\"\n  },\n  \"lighting\": {\n    \"type\": \"Natural daylight\",\n    \"source\": \"Window light coming from the side at a slight angle, wrapping gently across the subject\",\n    \"quality\": \"Diffused, soft, and even illumination with smooth falloff across skin and fabric\",\n    \"shadows\": \"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\"\n  },\n  \"mood\": {\n    \"emotional_tone\": \"Serene, warm, reflective, and quietly intimate\",\n    \"visual_feel\": \"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\"\n  },\n  \"camera_details\": {\n    \"camera_type\": \"Smartphone camera capture\",\n    \"lens_equivalent\": \"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\",\n    \"perspective\": \"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\",\n    \"focus\": \"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\",\n    \"aperture_simulation\": \"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\",\n    \"iso_simulation\": \"Low ISO for a clean image with minimal noise while preserving natural texture\",\n    \"shutter_speed_simulation\": \"Fast enough to reduce motion blur and keep details sharp even with handheld capture\",\n    \"white_balance\": \"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\"\n  },\n  \"rendering_style\": {\n    \"realism_level\": \"Ultra photorealistic\",\n    \"detail_level\": \"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\",\n    \"post_processing\": \"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\",\n    \"artifacts\": \"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\"\n  }\n}"
}
JSON
```

### Node.js

```javascript
import { RunapiClient } from "@runapi.ai/runapi";

const client = new RunapiClient({
  apiKey: process.env.RUNAPI_API_KEY,
});

const result = await client.textToImage.run({
  "prompt": "{\n  \"scene_type\": \"Indoor lifestyle portrait (mirror-selfie aesthetic)\",\n  \"environment\": {\n    \"location\": \"Sunlit bedroom with gentle, natural daytime illumination\",\n    \"background\": {\n      \"bed\": \"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\",\n      \"decor\": \"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\",\n      \"windows\": \"Large window with airy sheer curtains that diffuse the light and soften the whole room\",\n      \"color_palette\": \"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\"\n    },\n    \"atmosphere\": \"Quiet, intimate, cozy, breathable, and softly lived-in\"\n  },\n  \"subject\": {\n    \"gender_presentation\": \"Feminine\",\n    \"approximate_age_group\": \"Adult (21+), young adult\",\n    \"skin_tone\": \"Fair complexion with realistic, natural skin texture and subtle imperfections\",\n    \"hair\": {\n      \"color\": \"Cool platinum blonde (slightly icy tone)\",\n      \"style\": \"Long, straight hair with a clean center part, falling naturally over shoulders\"\n    },\n    \"facial_features\": {\n      \"expression\": \"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\",\n      \"makeup\": \"Very light, natural makeup with understated definition, nothing dramatic or heavy\"\n    },\n    \"body_details\": {\n      \"build\": \"Slim to average physique with natural proportions\",\n      \"visible_tattoos\": [\n        \"Fine-line floral and illustrative tattoos along the arms and forearms\",\n        \"A small, subtle tattoo visible on the upper thigh area\"\n      ]\n    }\n  },\n  \"pose\": {\n    \"position\": \"Seated on the bed near the edge, comfortable and casual\",\n    \"legs\": \"Knees bent and pulled in close, creating a compact, cozy silhouette\",\n    \"hands\": \"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\",\n    \"orientation\": \"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\"\n  },\n  \"clothing\": {\n    \"outfit_type\": \"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\",\n    \"color\": \"Soft white or ivory (clean, minimal, gentle tone)\",\n    \"material\": \"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\",\n    \"details\": \"Thin shoulder straps with subtle lace edging and refined trim details\"\n  },\n  \"styling\": {\n    \"accessories\": [\n      \"Minimal necklace with a small pendant or simple chain\",\n      \"Small hoop earrings with a clean, understated look\"\n    ],\n    \"nails\": \"Natural nails or lightly manicured in a neutral finish, not flashy\",\n    \"overall_style\": \"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\"\n  },\n  \"lighting\": {\n    \"type\": \"Natural daylight\",\n    \"source\": \"Window light coming from the side at a slight angle, wrapping gently across the subject\",\n    \"quality\": \"Diffused, soft, and even illumination with smooth falloff across skin and fabric\",\n    \"shadows\": \"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\"\n  },\n  \"mood\": {\n    \"emotional_tone\": \"Serene, warm, reflective, and quietly intimate\",\n    \"visual_feel\": \"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\"\n  },\n  \"camera_details\": {\n    \"camera_type\": \"Smartphone camera capture\",\n    \"lens_equivalent\": \"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\",\n    \"perspective\": \"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\",\n    \"focus\": \"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\",\n    \"aperture_simulation\": \"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\",\n    \"iso_simulation\": \"Low ISO for a clean image with minimal noise while preserving natural texture\",\n    \"shutter_speed_simulation\": \"Fast enough to reduce motion blur and keep details sharp even with handheld capture\",\n    \"white_balance\": \"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\"\n  },\n  \"rendering_style\": {\n    \"realism_level\": \"Ultra photorealistic\",\n    \"detail_level\": \"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\",\n    \"post_processing\": \"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\",\n    \"artifacts\": \"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\"\n  }\n}"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/runapi/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"prompt\": \"{\\n  \\\"scene_type\\\": \\\"Indoor lifestyle portrait (mirror-selfie aesthetic)\\\",\\n  \\\"environment\\\": {\\n    \\\"location\\\": \\\"Sunlit bedroom with gentle, natural daytime illumination\\\",\\n    \\\"background\\\": {\\n      \\\"bed\\\": \\\"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\\\",\\n      \\\"decor\\\": \\\"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\\\",\\n      \\\"windows\\\": \\\"Large window with airy sheer curtains that diffuse the light and soften the whole room\\\",\\n      \\\"color_palette\\\": \\\"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\\\"\\n    },\\n    \\\"atmosphere\\\": \\\"Quiet, intimate, cozy, breathable, and softly lived-in\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"gender_presentation\\\": \\\"Feminine\\\",\\n    \\\"approximate_age_group\\\": \\\"Adult (21+), young adult\\\",\\n    \\\"skin_tone\\\": \\\"Fair complexion with realistic, natural skin texture and subtle imperfections\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Cool platinum blonde (slightly icy tone)\\\",\\n      \\\"style\\\": \\\"Long, straight hair with a clean center part, falling naturally over shoulders\\\"\\n    },\\n    \\\"facial_features\\\": {\\n      \\\"expression\\\": \\\"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\\\",\\n      \\\"makeup\\\": \\\"Very light, natural makeup with understated definition, nothing dramatic or heavy\\\"\\n    },\\n    \\\"body_details\\\": {\\n      \\\"build\\\": \\\"Slim to average physique with natural proportions\\\",\\n      \\\"visible_tattoos\\\": [\\n        \\\"Fine-line floral and illustrative tattoos along the arms and forearms\\\",\\n        \\\"A small, subtle tattoo visible on the upper thigh area\\\"\\n      ]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"position\\\": \\\"Seated on the bed near the edge, comfortable and casual\\\",\\n    \\\"legs\\\": \\\"Knees bent and pulled in close, creating a compact, cozy silhouette\\\",\\n    \\\"hands\\\": \\\"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\\\",\\n    \\\"orientation\\\": \\\"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"outfit_type\\\": \\\"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\\\",\\n    \\\"color\\\": \\\"Soft white or ivory (clean, minimal, gentle tone)\\\",\\n    \\\"material\\\": \\\"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\\\",\\n    \\\"details\\\": \\\"Thin shoulder straps with subtle lace edging and refined trim details\\\"\\n  },\\n  \\\"styling\\\": {\\n    \\\"accessories\\\": [\\n      \\\"Minimal necklace with a small pendant or simple chain\\\",\\n      \\\"Small hoop earrings with a clean, understated look\\\"\\n    ],\\n    \\\"nails\\\": \\\"Natural nails or lightly manicured in a neutral finish, not flashy\\\",\\n    \\\"overall_style\\\": \\\"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"Natural daylight\\\",\\n    \\\"source\\\": \\\"Window light coming from the side at a slight angle, wrapping gently across the subject\\\",\\n    \\\"quality\\\": \\\"Diffused, soft, and even illumination with smooth falloff across skin and fabric\\\",\\n    \\\"shadows\\\": \\\"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\\\"\\n  },\\n  \\\"mood\\\": {\\n    \\\"emotional_tone\\\": \\\"Serene, warm, reflective, and quietly intimate\\\",\\n    \\\"visual_feel\\\": \\\"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\\\"\\n  },\\n  \\\"camera_details\\\": {\\n    \\\"camera_type\\\": \\\"Smartphone camera capture\\\",\\n    \\\"lens_equivalent\\\": \\\"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\\\",\\n    \\\"perspective\\\": \\\"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\\\",\\n    \\\"focus\\\": \\\"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\\\",\\n    \\\"aperture_simulation\\\": \\\"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\\\",\\n    \\\"iso_simulation\\\": \\\"Low ISO for a clean image with minimal noise while preserving natural texture\\\",\\n    \\\"shutter_speed_simulation\\\": \\\"Fast enough to reduce motion blur and keep details sharp even with handheld capture\\\",\\n    \\\"white_balance\\\": \\\"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\\\"\\n  },\\n  \\\"rendering_style\\\": {\\n    \\\"realism_level\\\": \\\"Ultra photorealistic\\\",\\n    \\\"detail_level\\\": \\\"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\\\",\\n    \\\"post_processing\\\": \\\"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\\\",\\n    \\\"artifacts\\\": \\\"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\\\"\\n  }\\n}\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/runapi/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  \"prompt\": \"{\\n  \\\"scene_type\\\": \\\"Indoor lifestyle portrait (mirror-selfie aesthetic)\\\",\\n  \\\"environment\\\": {\\n    \\\"location\\\": \\\"Sunlit bedroom with gentle, natural daytime illumination\\\",\\n    \\\"background\\\": {\\n      \\\"bed\\\": \\\"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\\\",\\n      \\\"decor\\\": \\\"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\\\",\\n      \\\"windows\\\": \\\"Large window with airy sheer curtains that diffuse the light and soften the whole room\\\",\\n      \\\"color_palette\\\": \\\"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\\\"\\n    },\\n    \\\"atmosphere\\\": \\\"Quiet, intimate, cozy, breathable, and softly lived-in\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"gender_presentation\\\": \\\"Feminine\\\",\\n    \\\"approximate_age_group\\\": \\\"Adult (21+), young adult\\\",\\n    \\\"skin_tone\\\": \\\"Fair complexion with realistic, natural skin texture and subtle imperfections\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Cool platinum blonde (slightly icy tone)\\\",\\n      \\\"style\\\": \\\"Long, straight hair with a clean center part, falling naturally over shoulders\\\"\\n    },\\n    \\\"facial_features\\\": {\\n      \\\"expression\\\": \\\"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\\\",\\n      \\\"makeup\\\": \\\"Very light, natural makeup with understated definition, nothing dramatic or heavy\\\"\\n    },\\n    \\\"body_details\\\": {\\n      \\\"build\\\": \\\"Slim to average physique with natural proportions\\\",\\n      \\\"visible_tattoos\\\": [\\n        \\\"Fine-line floral and illustrative tattoos along the arms and forearms\\\",\\n        \\\"A small, subtle tattoo visible on the upper thigh area\\\"\\n      ]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"position\\\": \\\"Seated on the bed near the edge, comfortable and casual\\\",\\n    \\\"legs\\\": \\\"Knees bent and pulled in close, creating a compact, cozy silhouette\\\",\\n    \\\"hands\\\": \\\"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\\\",\\n    \\\"orientation\\\": \\\"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"outfit_type\\\": \\\"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\\\",\\n    \\\"color\\\": \\\"Soft white or ivory (clean, minimal, gentle tone)\\\",\\n    \\\"material\\\": \\\"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\\\",\\n    \\\"details\\\": \\\"Thin shoulder straps with subtle lace edging and refined trim details\\\"\\n  },\\n  \\\"styling\\\": {\\n    \\\"accessories\\\": [\\n      \\\"Minimal necklace with a small pendant or simple chain\\\",\\n      \\\"Small hoop earrings with a clean, understated look\\\"\\n    ],\\n    \\\"nails\\\": \\\"Natural nails or lightly manicured in a neutral finish, not flashy\\\",\\n    \\\"overall_style\\\": \\\"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"Natural daylight\\\",\\n    \\\"source\\\": \\\"Window light coming from the side at a slight angle, wrapping gently across the subject\\\",\\n    \\\"quality\\\": \\\"Diffused, soft, and even illumination with smooth falloff across skin and fabric\\\",\\n    \\\"shadows\\\": \\\"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\\\"\\n  },\\n  \\\"mood\\\": {\\n    \\\"emotional_tone\\\": \\\"Serene, warm, reflective, and quietly intimate\\\",\\n    \\\"visual_feel\\\": \\\"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\\\"\\n  },\\n  \\\"camera_details\\\": {\\n    \\\"camera_type\\\": \\\"Smartphone camera capture\\\",\\n    \\\"lens_equivalent\\\": \\\"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\\\",\\n    \\\"perspective\\\": \\\"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\\\",\\n    \\\"focus\\\": \\\"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\\\",\\n    \\\"aperture_simulation\\\": \\\"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\\\",\\n    \\\"iso_simulation\\\": \\\"Low ISO for a clean image with minimal noise while preserving natural texture\\\",\\n    \\\"shutter_speed_simulation\\\": \\\"Fast enough to reduce motion blur and keep details sharp even with handheld capture\\\",\\n    \\\"white_balance\\\": \\\"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\\\"\\n  },\\n  \\\"rendering_style\\\": {\\n    \\\"realism_level\\\": \\\"Ultra photorealistic\\\",\\n    \\\"detail_level\\\": \\\"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\\\",\\n    \\\"post_processing\\\": \\\"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\\\",\\n    \\\"artifacts\\\": \\\"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\\\"\\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/runapi/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"prompt\": \"{\\n  \\\"scene_type\\\": \\\"Indoor lifestyle portrait (mirror-selfie aesthetic)\\\",\\n  \\\"environment\\\": {\\n    \\\"location\\\": \\\"Sunlit bedroom with gentle, natural daytime illumination\\\",\\n    \\\"background\\\": {\\n      \\\"bed\\\": \\\"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\\\",\\n      \\\"decor\\\": \\\"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\\\",\\n      \\\"windows\\\": \\\"Large window with airy sheer curtains that diffuse the light and soften the whole room\\\",\\n      \\\"color_palette\\\": \\\"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\\\"\\n    },\\n    \\\"atmosphere\\\": \\\"Quiet, intimate, cozy, breathable, and softly lived-in\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"gender_presentation\\\": \\\"Feminine\\\",\\n    \\\"approximate_age_group\\\": \\\"Adult (21+), young adult\\\",\\n    \\\"skin_tone\\\": \\\"Fair complexion with realistic, natural skin texture and subtle imperfections\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Cool platinum blonde (slightly icy tone)\\\",\\n      \\\"style\\\": \\\"Long, straight hair with a clean center part, falling naturally over shoulders\\\"\\n    },\\n    \\\"facial_features\\\": {\\n      \\\"expression\\\": \\\"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\\\",\\n      \\\"makeup\\\": \\\"Very light, natural makeup with understated definition, nothing dramatic or heavy\\\"\\n    },\\n    \\\"body_details\\\": {\\n      \\\"build\\\": \\\"Slim to average physique with natural proportions\\\",\\n      \\\"visible_tattoos\\\": [\\n        \\\"Fine-line floral and illustrative tattoos along the arms and forearms\\\",\\n        \\\"A small, subtle tattoo visible on the upper thigh area\\\"\\n      ]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"position\\\": \\\"Seated on the bed near the edge, comfortable and casual\\\",\\n    \\\"legs\\\": \\\"Knees bent and pulled in close, creating a compact, cozy silhouette\\\",\\n    \\\"hands\\\": \\\"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\\\",\\n    \\\"orientation\\\": \\\"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"outfit_type\\\": \\\"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\\\",\\n    \\\"color\\\": \\\"Soft white or ivory (clean, minimal, gentle tone)\\\",\\n    \\\"material\\\": \\\"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\\\",\\n    \\\"details\\\": \\\"Thin shoulder straps with subtle lace edging and refined trim details\\\"\\n  },\\n  \\\"styling\\\": {\\n    \\\"accessories\\\": [\\n      \\\"Minimal necklace with a small pendant or simple chain\\\",\\n      \\\"Small hoop earrings with a clean, understated look\\\"\\n    ],\\n    \\\"nails\\\": \\\"Natural nails or lightly manicured in a neutral finish, not flashy\\\",\\n    \\\"overall_style\\\": \\\"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"Natural daylight\\\",\\n    \\\"source\\\": \\\"Window light coming from the side at a slight angle, wrapping gently across the subject\\\",\\n    \\\"quality\\\": \\\"Diffused, soft, and even illumination with smooth falloff across skin and fabric\\\",\\n    \\\"shadows\\\": \\\"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\\\"\\n  },\\n  \\\"mood\\\": {\\n    \\\"emotional_tone\\\": \\\"Serene, warm, reflective, and quietly intimate\\\",\\n    \\\"visual_feel\\\": \\\"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\\\"\\n  },\\n  \\\"camera_details\\\": {\\n    \\\"camera_type\\\": \\\"Smartphone camera capture\\\",\\n    \\\"lens_equivalent\\\": \\\"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\\\",\\n    \\\"perspective\\\": \\\"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\\\",\\n    \\\"focus\\\": \\\"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\\\",\\n    \\\"aperture_simulation\\\": \\\"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\\\",\\n    \\\"iso_simulation\\\": \\\"Low ISO for a clean image with minimal noise while preserving natural texture\\\",\\n    \\\"shutter_speed_simulation\\\": \\\"Fast enough to reduce motion blur and keep details sharp even with handheld capture\\\",\\n    \\\"white_balance\\\": \\\"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\\\"\\n  },\\n  \\\"rendering_style\\\": {\\n    \\\"realism_level\\\": \\\"Ultra photorealistic\\\",\\n    \\\"detail_level\\\": \\\"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\\\",\\n    \\\"post_processing\\\": \\\"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\\\",\\n    \\\"artifacts\\\": \\\"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\\\"\\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/runapi/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  \"prompt\": \"{\\n  \\\"scene_type\\\": \\\"Indoor lifestyle portrait (mirror-selfie aesthetic)\\\",\\n  \\\"environment\\\": {\\n    \\\"location\\\": \\\"Sunlit bedroom with gentle, natural daytime illumination\\\",\\n    \\\"background\\\": {\\n      \\\"bed\\\": \\\"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\\\",\\n      \\\"decor\\\": \\\"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\\\",\\n      \\\"windows\\\": \\\"Large window with airy sheer curtains that diffuse the light and soften the whole room\\\",\\n      \\\"color_palette\\\": \\\"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\\\"\\n    },\\n    \\\"atmosphere\\\": \\\"Quiet, intimate, cozy, breathable, and softly lived-in\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"gender_presentation\\\": \\\"Feminine\\\",\\n    \\\"approximate_age_group\\\": \\\"Adult (21+), young adult\\\",\\n    \\\"skin_tone\\\": \\\"Fair complexion with realistic, natural skin texture and subtle imperfections\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Cool platinum blonde (slightly icy tone)\\\",\\n      \\\"style\\\": \\\"Long, straight hair with a clean center part, falling naturally over shoulders\\\"\\n    },\\n    \\\"facial_features\\\": {\\n      \\\"expression\\\": \\\"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\\\",\\n      \\\"makeup\\\": \\\"Very light, natural makeup with understated definition, nothing dramatic or heavy\\\"\\n    },\\n    \\\"body_details\\\": {\\n      \\\"build\\\": \\\"Slim to average physique with natural proportions\\\",\\n      \\\"visible_tattoos\\\": [\\n        \\\"Fine-line floral and illustrative tattoos along the arms and forearms\\\",\\n        \\\"A small, subtle tattoo visible on the upper thigh area\\\"\\n      ]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"position\\\": \\\"Seated on the bed near the edge, comfortable and casual\\\",\\n    \\\"legs\\\": \\\"Knees bent and pulled in close, creating a compact, cozy silhouette\\\",\\n    \\\"hands\\\": \\\"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\\\",\\n    \\\"orientation\\\": \\\"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"outfit_type\\\": \\\"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\\\",\\n    \\\"color\\\": \\\"Soft white or ivory (clean, minimal, gentle tone)\\\",\\n    \\\"material\\\": \\\"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\\\",\\n    \\\"details\\\": \\\"Thin shoulder straps with subtle lace edging and refined trim details\\\"\\n  },\\n  \\\"styling\\\": {\\n    \\\"accessories\\\": [\\n      \\\"Minimal necklace with a small pendant or simple chain\\\",\\n      \\\"Small hoop earrings with a clean, understated look\\\"\\n    ],\\n    \\\"nails\\\": \\\"Natural nails or lightly manicured in a neutral finish, not flashy\\\",\\n    \\\"overall_style\\\": \\\"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"Natural daylight\\\",\\n    \\\"source\\\": \\\"Window light coming from the side at a slight angle, wrapping gently across the subject\\\",\\n    \\\"quality\\\": \\\"Diffused, soft, and even illumination with smooth falloff across skin and fabric\\\",\\n    \\\"shadows\\\": \\\"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\\\"\\n  },\\n  \\\"mood\\\": {\\n    \\\"emotional_tone\\\": \\\"Serene, warm, reflective, and quietly intimate\\\",\\n    \\\"visual_feel\\\": \\\"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\\\"\\n  },\\n  \\\"camera_details\\\": {\\n    \\\"camera_type\\\": \\\"Smartphone camera capture\\\",\\n    \\\"lens_equivalent\\\": \\\"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\\\",\\n    \\\"perspective\\\": \\\"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\\\",\\n    \\\"focus\\\": \\\"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\\\",\\n    \\\"aperture_simulation\\\": \\\"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\\\",\\n    \\\"iso_simulation\\\": \\\"Low ISO for a clean image with minimal noise while preserving natural texture\\\",\\n    \\\"shutter_speed_simulation\\\": \\\"Fast enough to reduce motion blur and keep details sharp even with handheld capture\\\",\\n    \\\"white_balance\\\": \\\"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\\\"\\n  },\\n  \\\"rendering_style\\\": {\\n    \\\"realism_level\\\": \\\"Ultra photorealistic\\\",\\n    \\\"detail_level\\\": \\\"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\\\",\\n    \\\"post_processing\\\": \\\"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\\\",\\n    \\\"artifacts\\\": \\\"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\\\"\\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("{\"prompt\":\"{\\n  \\\"scene_type\\\": \\\"Indoor lifestyle portrait (mirror-selfie aesthetic)\\\",\\n  \\\"environment\\\": {\\n    \\\"location\\\": \\\"Sunlit bedroom with gentle, natural daytime illumination\\\",\\n    \\\"background\\\": {\\n      \\\"bed\\\": \\\"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\\\",\\n      \\\"decor\\\": \\\"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\\\",\\n      \\\"windows\\\": \\\"Large window with airy sheer curtains that diffuse the light and soften the whole room\\\",\\n      \\\"color_palette\\\": \\\"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\\\"\\n    },\\n    \\\"atmosphere\\\": \\\"Quiet, intimate, cozy, breathable, and softly lived-in\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"gender_presentation\\\": \\\"Feminine\\\",\\n    \\\"approximate_age_group\\\": \\\"Adult (21+), young adult\\\",\\n    \\\"skin_tone\\\": \\\"Fair complexion with realistic, natural skin texture and subtle imperfections\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Cool platinum blonde (slightly icy tone)\\\",\\n      \\\"style\\\": \\\"Long, straight hair with a clean center part, falling naturally over shoulders\\\"\\n    },\\n    \\\"facial_features\\\": {\\n      \\\"expression\\\": \\\"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\\\",\\n      \\\"makeup\\\": \\\"Very light, natural makeup with understated definition, nothing dramatic or heavy\\\"\\n    },\\n    \\\"body_details\\\": {\\n      \\\"build\\\": \\\"Slim to average physique with natural proportions\\\",\\n      \\\"visible_tattoos\\\": [\\n        \\\"Fine-line floral and illustrative tattoos along the arms and forearms\\\",\\n        \\\"A small, subtle tattoo visible on the upper thigh area\\\"\\n      ]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"position\\\": \\\"Seated on the bed near the edge, comfortable and casual\\\",\\n    \\\"legs\\\": \\\"Knees bent and pulled in close, creating a compact, cozy silhouette\\\",\\n    \\\"hands\\\": \\\"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\\\",\\n    \\\"orientation\\\": \\\"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\\\"\\n  },\\n  \\\"clothing\\\": {\\n    \\\"outfit_type\\\": \\\"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\\\",\\n    \\\"color\\\": \\\"Soft white or ivory (clean, minimal, gentle tone)\\\",\\n    \\\"material\\\": \\\"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\\\",\\n    \\\"details\\\": \\\"Thin shoulder straps with subtle lace edging and refined trim details\\\"\\n  },\\n  \\\"styling\\\": {\\n    \\\"accessories\\\": [\\n      \\\"Minimal necklace with a small pendant or simple chain\\\",\\n      \\\"Small hoop earrings with a clean, understated look\\\"\\n    ],\\n    \\\"nails\\\": \\\"Natural nails or lightly manicured in a neutral finish, not flashy\\\",\\n    \\\"overall_style\\\": \\\"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"type\\\": \\\"Natural daylight\\\",\\n    \\\"source\\\": \\\"Window light coming from the side at a slight angle, wrapping gently across the subject\\\",\\n    \\\"quality\\\": \\\"Diffused, soft, and even illumination with smooth falloff across skin and fabric\\\",\\n    \\\"shadows\\\": \\\"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\\\"\\n  },\\n  \\\"mood\\\": {\\n    \\\"emotional_tone\\\": \\\"Serene, warm, reflective, and quietly intimate\\\",\\n    \\\"visual_feel\\\": \\\"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\\\"\\n  },\\n  \\\"camera_details\\\": {\\n    \\\"camera_type\\\": \\\"Smartphone camera capture\\\",\\n    \\\"lens_equivalent\\\": \\\"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\\\",\\n    \\\"perspective\\\": \\\"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\\\",\\n    \\\"focus\\\": \\\"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\\\",\\n    \\\"aperture_simulation\\\": \\\"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\\\",\\n    \\\"iso_simulation\\\": \\\"Low ISO for a clean image with minimal noise while preserving natural texture\\\",\\n    \\\"shutter_speed_simulation\\\": \\\"Fast enough to reduce motion blur and keep details sharp even with handheld capture\\\",\\n    \\\"white_balance\\\": \\\"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\\\"\\n  },\\n  \\\"rendering_style\\\": {\\n    \\\"realism_level\\\": \\\"Ultra photorealistic\\\",\\n    \\\"detail_level\\\": \\\"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\\\",\\n    \\\"post_processing\\\": \\\"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\\\",\\n    \\\"artifacts\\\": \\\"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\\\"\\n  }\\n}\"}")
  req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/runapi/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  \
    --prompt "{\n  \"scene_type\": \"Indoor lifestyle portrait (mirror-selfie aesthetic)\",\n  \"environment\": {\n    \"location\": \"Sunlit bedroom with gentle, natural daytime illumination\",\n    \"background\": {\n      \"bed\": \"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\",\n      \"decor\": \"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\",\n      \"windows\": \"Large window with airy sheer curtains that diffuse the light and soften the whole room\",\n      \"color_palette\": \"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\"\n    },\n    \"atmosphere\": \"Quiet, intimate, cozy, breathable, and softly lived-in\"\n  },\n  \"subject\": {\n    \"gender_presentation\": \"Feminine\",\n    \"approximate_age_group\": \"Adult (21+), young adult\",\n    \"skin_tone\": \"Fair complexion with realistic, natural skin texture and subtle imperfections\",\n    \"hair\": {\n      \"color\": \"Cool platinum blonde (slightly icy tone)\",\n      \"style\": \"Long, straight hair with a clean center part, falling naturally over shoulders\"\n    },\n    \"facial_features\": {\n      \"expression\": \"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\",\n      \"makeup\": \"Very light, natural makeup with understated definition, nothing dramatic or heavy\"\n    },\n    \"body_details\": {\n      \"build\": \"Slim to average physique with natural proportions\",\n      \"visible_tattoos\": [\n        \"Fine-line floral and illustrative tattoos along the arms and forearms\",\n        \"A small, subtle tattoo visible on the upper thigh area\"\n      ]\n    }\n  },\n  \"pose\": {\n    \"position\": \"Seated on the bed near the edge, comfortable and casual\",\n    \"legs\": \"Knees bent and pulled in close, creating a compact, cozy silhouette\",\n    \"hands\": \"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\",\n    \"orientation\": \"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\"\n  },\n  \"clothing\": {\n    \"outfit_type\": \"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\",\n    \"color\": \"Soft white or ivory (clean, minimal, gentle tone)\",\n    \"material\": \"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\",\n    \"details\": \"Thin shoulder straps with subtle lace edging and refined trim details\"\n  },\n  \"styling\": {\n    \"accessories\": [\n      \"Minimal necklace with a small pendant or simple chain\",\n      \"Small hoop earrings with a clean, understated look\"\n    ],\n    \"nails\": \"Natural nails or lightly manicured in a neutral finish, not flashy\",\n    \"overall_style\": \"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\"\n  },\n  \"lighting\": {\n    \"type\": \"Natural daylight\",\n    \"source\": \"Window light coming from the side at a slight angle, wrapping gently across the subject\",\n    \"quality\": \"Diffused, soft, and even illumination with smooth falloff across skin and fabric\",\n    \"shadows\": \"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\"\n  },\n  \"mood\": {\n    \"emotional_tone\": \"Serene, warm, reflective, and quietly intimate\",\n    \"visual_feel\": \"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\"\n  },\n  \"camera_details\": {\n    \"camera_type\": \"Smartphone camera capture\",\n    \"lens_equivalent\": \"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\",\n    \"perspective\": \"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\",\n    \"focus\": \"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\",\n    \"aperture_simulation\": \"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\",\n    \"iso_simulation\": \"Low ISO for a clean image with minimal noise while preserving natural texture\",\n    \"shutter_speed_simulation\": \"Fast enough to reduce motion blur and keep details sharp even with handheld capture\",\n    \"white_balance\": \"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\"\n  },\n  \"rendering_style\": {\n    \"realism_level\": \"Ultra photorealistic\",\n    \"detail_level\": \"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\",\n    \"post_processing\": \"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\",\n    \"artifacts\": \"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\"\n  }\n}" \
    --wait
```

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

## More prompts like this

- [Educative video](https://runapi.ai/prompts/prm_GqW79wzlyMLeH9Ya4Od3m5K1.md)
- [Man black.](https://runapi.ai/prompts/prm_9vxNwzoeD3O3sMKKDd6XAVO7.md)
- [Vintage Tiled Portrait Poster With Handwritten Sticky Notes (JSON, 3:4)](https://runapi.ai/prompts/prm_zXJ0gpnA8WgocLGE817Qqe9w.md)

## 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": "Serene Mirror-Selfie Portrait in Sunlit Bedroom",
        "item": "https://runapi.ai/prompts/prm_9kVBEjebDzxoCZen4wNKY5MZ"
      }
    ]
  },
  {
    "@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": "Serene Mirror-Selfie Portrait in Sunlit Bedroom",
    "text": "{\n  \"scene_type\": \"Indoor lifestyle portrait (mirror-selfie aesthetic)\",\n  \"environment\": {\n    \"location\": \"Sunlit bedroom with gentle, natural daytime illumination\",\n    \"background\": {\n      \"bed\": \"White metal-frame bed with a soft vintage feel, dressed in light botanical-pattern bedding\",\n      \"decor\": \"Clean, minimal styling with a couple of small potted plants, a simple nightstand, and understated floral touches\",\n      \"windows\": \"Large window with airy sheer curtains that diffuse the light and soften the whole room\",\n      \"color_palette\": \"Warm whites, ivory, beige, and pale neutrals with faint botanical and floral accents\"\n    },\n    \"atmosphere\": \"Quiet, intimate, cozy, breathable, and softly lived-in\"\n  },\n  \"subject\": {\n    \"gender_presentation\": \"Feminine\",\n    \"approximate_age_group\": \"Adult (21+), young adult\",\n    \"skin_tone\": \"Fair complexion with realistic, natural skin texture and subtle imperfections\",\n    \"hair\": {\n      \"color\": \"Cool platinum blonde (slightly icy tone)\",\n      \"style\": \"Long, straight hair with a clean center part, falling naturally over shoulders\"\n    },\n    \"facial_features\": {\n      \"expression\": \"Gentle, calm, and slightly introspective, relaxed mouth and soft eyes\",\n      \"makeup\": \"Very light, natural makeup with understated definition, nothing dramatic or heavy\"\n    },\n    \"body_details\": {\n      \"build\": \"Slim to average physique with natural proportions\",\n      \"visible_tattoos\": [\n        \"Fine-line floral and illustrative tattoos along the arms and forearms\",\n        \"A small, subtle tattoo visible on the upper thigh area\"\n      ]\n    }\n  },\n  \"pose\": {\n    \"position\": \"Seated on the bed near the edge, comfortable and casual\",\n    \"legs\": \"Knees bent and pulled in close, creating a compact, cozy silhouette\",\n    \"hands\": \"One hand holds a phone up toward the mirror for a selfie composition, the other hand lightly touches the lips or rests near the mouth in a thoughtful gesture\",\n    \"orientation\": \"Body angled toward a mirror, face partially obscured by the phone, maintaining an authentic mirror-selfie framing\"\n  },\n  \"clothing\": {\n    \"outfit_type\": \"Lightweight sleepwear or a soft lounge slip suitable for a relaxed bedroom setting\",\n    \"color\": \"Soft white or ivory (clean, minimal, gentle tone)\",\n    \"material\": \"Soft, delicate fabric with a slightly translucent feel while remaining tasteful and non-explicit\",\n    \"details\": \"Thin shoulder straps with subtle lace edging and refined trim details\"\n  },\n  \"styling\": {\n    \"accessories\": [\n      \"Minimal necklace with a small pendant or simple chain\",\n      \"Small hoop earrings with a clean, understated look\"\n    ],\n    \"nails\": \"Natural nails or lightly manicured in a neutral finish, not flashy\",\n    \"overall_style\": \"Soft, feminine, intimate, and quietly aesthetic without looking overly styled or artificial\"\n  },\n  \"lighting\": {\n    \"type\": \"Natural daylight\",\n    \"source\": \"Window light coming from the side at a slight angle, wrapping gently across the subject\",\n    \"quality\": \"Diffused, soft, and even illumination with smooth falloff across skin and fabric\",\n    \"shadows\": \"Very mild shadows that add natural contour without harsh contrast, keeping the mood tender and airy\"\n  },\n  \"mood\": {\n    \"emotional_tone\": \"Serene, warm, reflective, and quietly intimate\",\n    \"visual_feel\": \"Peaceful, soft, and realistic, like a candid moment captured in a calm morning\"\n  },\n  \"camera_details\": {\n    \"camera_type\": \"Smartphone camera capture\",\n    \"lens_equivalent\": \"Wide-angle feel (approximately 24–28mm equivalent) typical of a phone selfie lens\",\n    \"perspective\": \"Mirror-selfie perspective with realistic framing, slight hand-held authenticity\",\n    \"focus\": \"Crisp focus on the subject with natural depth cues, background gently readable but not overly sharp\",\n    \"aperture_simulation\": \"Phone-like shallow depth impression (f/1.8 to f/2.2 style look), subtle and believable\",\n    \"iso_simulation\": \"Low ISO for a clean image with minimal noise while preserving natural texture\",\n    \"shutter_speed_simulation\": \"Fast enough to reduce motion blur and keep details sharp even with handheld capture\",\n    \"white_balance\": \"Neutral daylight balance with gentle warmth, avoiding overly yellow or overly blue tones\"\n  },\n  \"rendering_style\": {\n    \"realism_level\": \"Ultra photorealistic\",\n    \"detail_level\": \"High fidelity skin texture, realistic fabric drape and lace behavior, natural lighting gradients, and true-to-life shadows\",\n    \"post_processing\": \"Soft contrast with gentle highlights, natural color grading, mild clarity that preserves skin texture without smoothing it away\",\n    \"artifacts\": \"No visual artifacts, no painterly effects, no CGI look, and no synthetic plastic skin\"\n  }\n}",
    "image": null,
    "about": [
      "image",
      "lifestyle"
    ]
  }
]
```
