---
title: Kitchen Morning Window Light (candid, cozy) —  Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_rXA3eKxQ896gurXW4gO7NRao.md
canonical: https://runapi.ai/prompts/prm_rXA3eKxQ896gurXW4gO7NRao
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13524
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Kitchen Morning Window Light (candid, cozy)

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

**Prompts** · Image

## Prompt

```text
{
  "category": "KITCHEN_MORNING_WINDOWLIGHT",
  "identity_lock": {
    "enabled": true,
    "priority": "ABSOLUTE_MAX",
    "instruction": "Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only."
  },
  "subject": {
    "demographics": "Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).",
    "hair": {
      "color": "Match reference exactly.",
      "style": "Loose, slightly messy morning hair; a few face-framing strands.",
      "texture": "Visible individual strands, subtle flyaways, realistic roots.",
      "movement": "Falls naturally; slight motion in ends is acceptable."
    },
    "face": {
      "shape": "Match reference exactly.",
      "eyes": "Exact reference eye shape; natural catchlights; no uncanny sharpening.",
      "lips": "Exact reference lip shape; natural texture lines visible.",
      "skin_details": "High-fidelity pores, subtle morning sheen; no airbrushing.",
      "micro_details": "Keep reference marks/freckles/moles precisely."
    },
    "clothing": {
      "top": "Soft oversized tee or casual tank (no logos, no text).",
      "fit": "Relaxed, slightly wrinkled, realistic drape.",
      "texture": "Cotton weave visible, faint pilling allowed."
    },
    "accessories": {
      "jewelry": ["Small silver hoops (optional, realistic reflections)"]
    }
  },
  "pose": {
    "type": "Candid lifestyle",
    "orientation": "Half-body leaning lightly on counter",
    "head_position": "Slight tilt; chin relaxed",
    "hands": "One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)",
    "gaze": "Near-direct eye contact (slight off-axis like a candid moment)",
    "expression": "Sleepy-soft smile, cozy morning vibe"
  },
  "setting": {
    "environment": "Home kitchen",
    "background_elements": [
      "Window with sheer curtain diffusing daylight",
      "Countertop with subtle crumbs/coffee spoon (no branding)",
      "Plants or fruit bowl (no readable labels)",
      "Soft clutter blur (tasteful, realistic)"
    ],
    "depth": "Subject sharp; background softly blurred with natural depth layering"
  },
  "camera": {
    "shot_type": "Half-body portrait",
    "angle": "Slightly above eye level, handheld",
    "focal_length_equivalent": "24-28mm smartphone wide (amateur) OR 35-50mm (pro)",
    "framing": "4:5 IG feed, asymmetrical composition",
    "focus": "Eyes/face sharp; fall-off on shoulders/background",
    "perspective": "Natural; no face distortion"
  },
  "lighting": {
    "source": "Soft window daylight + subtle indoor bounce",
    "direction": "Side/front soft light shaping cheekbones gently",
    "highlights": "Natural speculars on eyes, nose bridge, lips",
    "shadows": "Soft-edge shadows under chin and hairline",
    "quality": "Warm, comforting, realistic morning light"
  },
  "mood_and_expression": {
    "tone": "Cozy, intimate, relatable",
    "expression": "Soft smile with lively eyes",
    "atmosphere": "Unplanned, everyday candid"
  },
  "style_and_realism": {
    "style": "Photorealistic social media lifestyle",
    "fidelity": "High detail skin texture and hair strands; no smoothing",
    "imperfections": "Minor noise in shadows allowed"
  },
  "colors_and_tone": {
    "palette": "Warm neutrals + soft daylight tones",
    "white_balance": "Slightly warm indoor/daylight mix",
    "contrast": "Medium, realistic dynamic range",
    "saturation": "Natural"
  },
  "technical_details": {
    "aspect_ratio": "4:5",
    "resolution": "High resolution",
    "noise": "Mild realistic sensor grain in shadows",
    "mode_variants": {
      "amateur": "iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face",
      "pro": "Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF"
    }
  },
  "constraints": {
    "adult_only": true,
    "single_subject_only": true,
    "no_text": true,
    "no_logos": true,
    "no_watermarks": true,
    "no_readable_labels": true
  },
  "negative_prompt": [
    "identity drift", "face morphing", "beauty filter", "porcelain skin", "over-smoothing",
    "cgi", "cartoon", "anime",
    "extra fingers", "warped hands", "duplicate person",
    "readable text", "logos", "watermark"
  ]
}
```

<!-- 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

Kitchen Morning Window Light (candid, cozy)

### Atmosphere

lifestyle / Image

### Technical

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

### Style

adult-woman, candid-portrait, cozy-morning, home-kitchen, photorealistic, window-daylight

<!-- /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 | adult-woman, candid-portrait, cozy-morning, home-kitchen, photorealistic, window-daylight |

## 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: "{
  "category": "KITCHEN_MORNING_WINDOWLIGHT",
  "identity_lock": {
    "enabled": true,
    "priority": "ABSOLUTE_MAX",
    "instruction": "Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only."
  },
  "subject": {
    "demographics": "Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).",
    "hair": {
      "color": "Match reference exactly.",
      "style": "Loose, slightly messy morning hair; a few face-framing strands.",
      "texture": "Visible individual strands, subtle flyaways, realistic roots.",
      "movement": "Falls naturally; slight motion in ends is acceptable."
    },
    "face": {
      "shape": "Match reference exactly.",
      "eyes": "Exact reference eye shape; natural catchlights; no uncanny sharpening.",
      "lips": "Exact reference lip shape; natural texture lines visible.",
      "skin_details": "High-fidelity pores, subtle morning sheen; no airbrushing.",
      "micro_details": "Keep reference marks/freckles/moles precisely."
    },
    "clothing": {
      "top": "Soft oversized tee or casual tank (no logos, no text).",
      "fit": "Relaxed, slightly wrinkled, realistic drape.",
      "texture": "Cotton weave visible, faint pilling allowed."
    },
    "accessories": {
      "jewelry": ["Small silver hoops (optional, realistic reflections)"]
    }
  },
  "pose": {
    "type": "Candid lifestyle",
    "orientation": "Half-body leaning lightly on counter",
    "head_position": "Slight tilt; chin relaxed",
    "hands": "One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)",
    "gaze": "Near-direct eye contact (slight off-axis like a candid moment)",
    "expression": "Sleepy-soft smile, cozy morning vibe"
  },
  "setting": {
    "environment": "Home kitchen",
    "background_elements": [
      "Window with sheer curtain diffusing daylight",
      "Countertop with subtle crumbs/coffee spoon (no branding)",
      "Plants or fruit bowl (no readable labels)",
      "Soft clutter blur (tasteful, realistic)"
    ],
    "depth": "Subject sharp; background softly blurred with natural depth layering"
  },
  "camera": {
    "shot_type": "Half-body portrait",
    "angle": "Slightly above eye level, handheld",
    "focal_length_equivalent": "24-28mm smartphone wide (amateur) OR 35-50mm (pro)",
    "framing": "4:5 IG feed, asymmetrical composition",
    "focus": "Eyes/face sharp; fall-off on shoulders/background",
    "perspective": "Natural; no face distortion"
  },
  "lighting": {
    "source": "Soft window daylight + subtle indoor bounce",
    "direction": "Side/front soft light shaping cheekbones gently",
    "highlights": "Natural speculars on eyes, nose bridge, lips",
    "shadows": "Soft-edge shadows under chin and hairline",
    "quality": "Warm, comforting, realistic morning light"
  },
  "mood_and_expression": {
    "tone": "Cozy, intimate, relatable",
    "expression": "Soft smile with lively eyes",
    "atmosphere": "Unplanned, everyday candid"
  },
  "style_and_realism": {
    "style": "Photorealistic social media lifestyle",
    "fidelity": "High detail skin texture and hair strands; no smoothing",
    "imperfections": "Minor noise in shadows allowed"
  },
  "colors_and_tone": {
    "palette": "Warm neutrals + soft daylight tones",
    "white_balance": "Slightly warm indoor/daylight mix",
    "contrast": "Medium, realistic dynamic range",
    "saturation": "Natural"
  },
  "technical_details": {
    "aspect_ratio": "4:5",
    "resolution": "High resolution",
    "noise": "Mild realistic sensor grain in shadows",
    "mode_variants": {
      "amateur": "iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face",
      "pro": "Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF"
    }
  },
  "constraints": {
    "adult_only": true,
    "single_subject_only": true,
    "no_text": true,
    "no_logos": true,
    "no_watermarks": true,
    "no_readable_labels": true
  },
  "negative_prompt": [
    "identity drift", "face morphing", "beauty filter", "porcelain skin", "over-smoothing",
    "cgi", "cartoon", "anime",
    "extra fingers", "warped hands", "duplicate person",
    "readable text", "logos", "watermark"
  ]
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "category": "KITCHEN_MORNING_WINDOWLIGHT",
  "identity_lock": {
    "enabled": true,
    "priority": "ABSOLUTE_MAX",
    "instruction": "Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only."
  },
  "subject": {
    "demographics": "Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).",
    "hair": {
      "color": "Match reference exactly.",
      "style": "Loose, slightly messy morning hair; a few face-framing strands.",
      "texture": "Visible individual strands, subtle flyaways, realistic roots.",
      "movement": "Falls naturally; slight motion in ends is acceptable."
    },
    "face": {
      "shape": "Match reference exactly.",
      "eyes": "Exact reference eye shape; natural catchlights; no uncanny sharpening.",
      "lips": "Exact reference lip shape; natural texture lines visible.",
      "skin_details": "High-fidelity pores, subtle morning sheen; no airbrushing.",
      "micro_details": "Keep reference marks/freckles/moles precisely."
    },
    "clothing": {
      "top": "Soft oversized tee or casual tank (no logos, no text).",
      "fit": "Relaxed, slightly wrinkled, realistic drape.",
      "texture": "Cotton weave visible, faint pilling allowed."
    },
    "accessories": {
      "jewelry": ["Small silver hoops (optional, realistic reflections)"]
    }
  },
  "pose": {
    "type": "Candid lifestyle",
    "orientation": "Half-body leaning lightly on counter",
    "head_position": "Slight tilt; chin relaxed",
    "hands": "One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)",
    "gaze": "Near-direct eye contact (slight off-axis like a candid moment)",
    "expression": "Sleepy-soft smile, cozy morning vibe"
  },
  "setting": {
    "environment": "Home kitchen",
    "background_elements": [
      "Window with sheer curtain diffusing daylight",
      "Countertop with subtle crumbs/coffee spoon (no branding)",
      "Plants or fruit bowl (no readable labels)",
      "Soft clutter blur (tasteful, realistic)"
    ],
    "depth": "Subject sharp; background softly blurred with natural depth layering"
  },
  "camera": {
    "shot_type": "Half-body portrait",
    "angle": "Slightly above eye level, handheld",
    "focal_length_equivalent": "24-28mm smartphone wide (amateur) OR 35-50mm (pro)",
    "framing": "4:5 IG feed, asymmetrical composition",
    "focus": "Eyes/face sharp; fall-off on shoulders/background",
    "perspective": "Natural; no face distortion"
  },
  "lighting": {
    "source": "Soft window daylight + subtle indoor bounce",
    "direction": "Side/front soft light shaping cheekbones gently",
    "highlights": "Natural speculars on eyes, nose bridge, lips",
    "shadows": "Soft-edge shadows under chin and hairline",
    "quality": "Warm, comforting, realistic morning light"
  },
  "mood_and_expression": {
    "tone": "Cozy, intimate, relatable",
    "expression": "Soft smile with lively eyes",
    "atmosphere": "Unplanned, everyday candid"
  },
  "style_and_realism": {
    "style": "Photorealistic social media lifestyle",
    "fidelity": "High detail skin texture and hair strands; no smoothing",
    "imperfections": "Minor noise in shadows allowed"
  },
  "colors_and_tone": {
    "palette": "Warm neutrals + soft daylight tones",
    "white_balance": "Slightly warm indoor/daylight mix",
    "contrast": "Medium, realistic dynamic range",
    "saturation": "Natural"
  },
  "technical_details": {
    "aspect_ratio": "4:5",
    "resolution": "High resolution",
    "noise": "Mild realistic sensor grain in shadows",
    "mode_variants": {
      "amateur": "iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face",
      "pro": "Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF"
    }
  },
  "constraints": {
    "adult_only": true,
    "single_subject_only": true,
    "no_text": true,
    "no_logos": true,
    "no_watermarks": true,
    "no_readable_labels": true
  },
  "negative_prompt": [
    "identity drift", "face morphing", "beauty filter", "porcelain skin", "over-smoothing",
    "cgi", "cartoon", "anime",
    "extra fingers", "warped hands", "duplicate person",
    "readable text", "logos", "watermark"
  ]
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "category": "KITCHEN_MORNING_WINDOWLIGHT",
  "identity_lock": {
    "enabled": true,
    "priority": "ABSOLUTE_MAX",
    "instruction": "Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only."
  },
  "subject": {
    "demographics": "Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).",
    "hair": {
      "color": "Match reference exactly.",
      "style": "Loose, slightly messy morning hair; a few face-framing strands.",
      "texture": "Visible individual strands, subtle flyaways, realistic roots.",
      "movement": "Falls naturally; slight motion in ends is acceptable."
    },
    "face": {
      "shape": "Match reference exactly.",
      "eyes": "Exact reference eye shape; natural catchlights; no uncanny sharpening.",
      "lips": "Exact reference lip shape; natural texture lines visible.",
      "skin_details": "High-fidelity pores, subtle morning sheen; no airbrushing.",
      "micro_details": "Keep reference marks/freckles/moles precisely."
    },
    "clothing": {
      "top": "Soft oversized tee or casual tank (no logos, no text).",
      "fit": "Relaxed, slightly wrinkled, realistic drape.",
      "texture": "Cotton weave visible, faint pilling allowed."
    },
    "accessories": {
      "jewelry": ["Small silver hoops (optional, realistic reflections)"]
    }
  },
  "pose": {
    "type": "Candid lifestyle",
    "orientation": "Half-body leaning lightly on counter",
    "head_position": "Slight tilt; chin relaxed",
    "hands": "One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)",
    "gaze": "Near-direct eye contact (slight off-axis like a candid moment)",
    "expression": "Sleepy-soft smile, cozy morning vibe"
  },
  "setting": {
    "environment": "Home kitchen",
    "background_elements": [
      "Window with sheer curtain diffusing daylight",
      "Countertop with subtle crumbs/coffee spoon (no branding)",
      "Plants or fruit bowl (no readable labels)",
      "Soft clutter blur (tasteful, realistic)"
    ],
    "depth": "Subject sharp; background softly blurred with natural depth layering"
  },
  "camera": {
    "shot_type": "Half-body portrait",
    "angle": "Slightly above eye level, handheld",
    "focal_length_equivalent": "24-28mm smartphone wide (amateur) OR 35-50mm (pro)",
    "framing": "4:5 IG feed, asymmetrical composition",
    "focus": "Eyes/face sharp; fall-off on shoulders/background",
    "perspective": "Natural; no face distortion"
  },
  "lighting": {
    "source": "Soft window daylight + subtle indoor bounce",
    "direction": "Side/front soft light shaping cheekbones gently",
    "highlights": "Natural speculars on eyes, nose bridge, lips",
    "shadows": "Soft-edge shadows under chin and hairline",
    "quality": "Warm, comforting, realistic morning light"
  },
  "mood_and_expression": {
    "tone": "Cozy, intimate, relatable",
    "expression": "Soft smile with lively eyes",
    "atmosphere": "Unplanned, everyday candid"
  },
  "style_and_realism": {
    "style": "Photorealistic social media lifestyle",
    "fidelity": "High detail skin texture and hair strands; no smoothing",
    "imperfections": "Minor noise in shadows allowed"
  },
  "colors_and_tone": {
    "palette": "Warm neutrals + soft daylight tones",
    "white_balance": "Slightly warm indoor/daylight mix",
    "contrast": "Medium, realistic dynamic range",
    "saturation": "Natural"
  },
  "technical_details": {
    "aspect_ratio": "4:5",
    "resolution": "High resolution",
    "noise": "Mild realistic sensor grain in shadows",
    "mode_variants": {
      "amateur": "iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face",
      "pro": "Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF"
    }
  },
  "constraints": {
    "adult_only": true,
    "single_subject_only": true,
    "no_text": true,
    "no_logos": true,
    "no_watermarks": true,
    "no_readable_labels": true
  },
  "negative_prompt": [
    "identity drift", "face morphing", "beauty filter", "porcelain skin", "over-smoothing",
    "cgi", "cartoon", "anime",
    "extra fingers", "warped hands", "duplicate person",
    "readable text", "logos", "watermark"
  ]
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "category": "KITCHEN_MORNING_WINDOWLIGHT",
  "identity_lock": {
    "enabled": true,
    "priority": "ABSOLUTE_MAX",
    "instruction": "Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only."
  },
  "subject": {
    "demographics": "Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).",
    "hair": {
      "color": "Match reference exactly.",
      "style": "Loose, slightly messy morning hair; a few face-framing strands.",
      "texture": "Visible individual strands, subtle flyaways, realistic roots.",
      "movement": "Falls naturally; slight motion in ends is acceptable."
    },
    "face": {
      "shape": "Match reference exactly.",
      "eyes": "Exact reference eye shape; natural catchlights; no uncanny sharpening.",
      "lips": "Exact reference lip shape; natural texture lines visible.",
      "skin_details": "High-fidelity pores, subtle morning sheen; no airbrushing.",
      "micro_details": "Keep reference marks/freckles/moles precisely."
    },
    "clothing": {
      "top": "Soft oversized tee or casual tank (no logos, no text).",
      "fit": "Relaxed, slightly wrinkled, realistic drape.",
      "texture": "Cotton weave visible, faint pilling allowed."
    },
    "accessories": {
      "jewelry": ["Small silver hoops (optional, realistic reflections)"]
    }
  },
  "pose": {
    "type": "Candid lifestyle",
    "orientation": "Half-body leaning lightly on counter",
    "head_position": "Slight tilt; chin relaxed",
    "hands": "One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)",
    "gaze": "Near-direct eye contact (slight off-axis like a candid moment)",
    "expression": "Sleepy-soft smile, cozy morning vibe"
  },
  "setting": {
    "environment": "Home kitchen",
    "background_elements": [
      "Window with sheer curtain diffusing daylight",
      "Countertop with subtle crumbs/coffee spoon (no branding)",
      "Plants or fruit bowl (no readable labels)",
      "Soft clutter blur (tasteful, realistic)"
    ],
    "depth": "Subject sharp; background softly blurred with natural depth layering"
  },
  "camera": {
    "shot_type": "Half-body portrait",
    "angle": "Slightly above eye level, handheld",
    "focal_length_equivalent": "24-28mm smartphone wide (amateur) OR 35-50mm (pro)",
    "framing": "4:5 IG feed, asymmetrical composition",
    "focus": "Eyes/face sharp; fall-off on shoulders/background",
    "perspective": "Natural; no face distortion"
  },
  "lighting": {
    "source": "Soft window daylight + subtle indoor bounce",
    "direction": "Side/front soft light shaping cheekbones gently",
    "highlights": "Natural speculars on eyes, nose bridge, lips",
    "shadows": "Soft-edge shadows under chin and hairline",
    "quality": "Warm, comforting, realistic morning light"
  },
  "mood_and_expression": {
    "tone": "Cozy, intimate, relatable",
    "expression": "Soft smile with lively eyes",
    "atmosphere": "Unplanned, everyday candid"
  },
  "style_and_realism": {
    "style": "Photorealistic social media lifestyle",
    "fidelity": "High detail skin texture and hair strands; no smoothing",
    "imperfections": "Minor noise in shadows allowed"
  },
  "colors_and_tone": {
    "palette": "Warm neutrals + soft daylight tones",
    "white_balance": "Slightly warm indoor/daylight mix",
    "contrast": "Medium, realistic dynamic range",
    "saturation": "Natural"
  },
  "technical_details": {
    "aspect_ratio": "4:5",
    "resolution": "High resolution",
    "noise": "Mild realistic sensor grain in shadows",
    "mode_variants": {
      "amateur": "iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face",
      "pro": "Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF"
    }
  },
  "constraints": {
    "adult_only": true,
    "single_subject_only": true,
    "no_text": true,
    "no_logos": true,
    "no_watermarks": true,
    "no_readable_labels": true
  },
  "negative_prompt": [
    "identity drift", "face morphing", "beauty filter", "porcelain skin", "over-smoothing",
    "cgi", "cartoon", "anime",
    "extra fingers", "warped hands", "duplicate person",
    "readable text", "logos", "watermark"
  ]
}"

<!-- 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  \"category\": \"KITCHEN_MORNING_WINDOWLIGHT\",\n  \"identity_lock\": {\n    \"enabled\": true,\n    \"priority\": \"ABSOLUTE_MAX\",\n    \"instruction\": \"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\"\n  },\n  \"subject\": {\n    \"demographics\": \"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\",\n    \"hair\": {\n      \"color\": \"Match reference exactly.\",\n      \"style\": \"Loose, slightly messy morning hair; a few face-framing strands.\",\n      \"texture\": \"Visible individual strands, subtle flyaways, realistic roots.\",\n      \"movement\": \"Falls naturally; slight motion in ends is acceptable.\"\n    },\n    \"face\": {\n      \"shape\": \"Match reference exactly.\",\n      \"eyes\": \"Exact reference eye shape; natural catchlights; no uncanny sharpening.\",\n      \"lips\": \"Exact reference lip shape; natural texture lines visible.\",\n      \"skin_details\": \"High-fidelity pores, subtle morning sheen; no airbrushing.\",\n      \"micro_details\": \"Keep reference marks/freckles/moles precisely.\"\n    },\n    \"clothing\": {\n      \"top\": \"Soft oversized tee or casual tank (no logos, no text).\",\n      \"fit\": \"Relaxed, slightly wrinkled, realistic drape.\",\n      \"texture\": \"Cotton weave visible, faint pilling allowed.\"\n    },\n    \"accessories\": {\n      \"jewelry\": [\"Small silver hoops (optional, realistic reflections)\"]\n    }\n  },\n  \"pose\": {\n    \"type\": \"Candid lifestyle\",\n    \"orientation\": \"Half-body leaning lightly on counter\",\n    \"head_position\": \"Slight tilt; chin relaxed\",\n    \"hands\": \"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\",\n    \"gaze\": \"Near-direct eye contact (slight off-axis like a candid moment)\",\n    \"expression\": \"Sleepy-soft smile, cozy morning vibe\"\n  },\n  \"setting\": {\n    \"environment\": \"Home kitchen\",\n    \"background_elements\": [\n      \"Window with sheer curtain diffusing daylight\",\n      \"Countertop with subtle crumbs/coffee spoon (no branding)\",\n      \"Plants or fruit bowl (no readable labels)\",\n      \"Soft clutter blur (tasteful, realistic)\"\n    ],\n    \"depth\": \"Subject sharp; background softly blurred with natural depth layering\"\n  },\n  \"camera\": {\n    \"shot_type\": \"Half-body portrait\",\n    \"angle\": \"Slightly above eye level, handheld\",\n    \"focal_length_equivalent\": \"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\",\n    \"framing\": \"4:5 IG feed, asymmetrical composition\",\n    \"focus\": \"Eyes/face sharp; fall-off on shoulders/background\",\n    \"perspective\": \"Natural; no face distortion\"\n  },\n  \"lighting\": {\n    \"source\": \"Soft window daylight + subtle indoor bounce\",\n    \"direction\": \"Side/front soft light shaping cheekbones gently\",\n    \"highlights\": \"Natural speculars on eyes, nose bridge, lips\",\n    \"shadows\": \"Soft-edge shadows under chin and hairline\",\n    \"quality\": \"Warm, comforting, realistic morning light\"\n  },\n  \"mood_and_expression\": {\n    \"tone\": \"Cozy, intimate, relatable\",\n    \"expression\": \"Soft smile with lively eyes\",\n    \"atmosphere\": \"Unplanned, everyday candid\"\n  },\n  \"style_and_realism\": {\n    \"style\": \"Photorealistic social media lifestyle\",\n    \"fidelity\": \"High detail skin texture and hair strands; no smoothing\",\n    \"imperfections\": \"Minor noise in shadows allowed\"\n  },\n  \"colors_and_tone\": {\n    \"palette\": \"Warm neutrals + soft daylight tones\",\n    \"white_balance\": \"Slightly warm indoor/daylight mix\",\n    \"contrast\": \"Medium, realistic dynamic range\",\n    \"saturation\": \"Natural\"\n  },\n  \"technical_details\": {\n    \"aspect_ratio\": \"4:5\",\n    \"resolution\": \"High resolution\",\n    \"noise\": \"Mild realistic sensor grain in shadows\",\n    \"mode_variants\": {\n      \"amateur\": \"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\",\n      \"pro\": \"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\"\n    }\n  },\n  \"constraints\": {\n    \"adult_only\": true,\n    \"single_subject_only\": true,\n    \"no_text\": true,\n    \"no_logos\": true,\n    \"no_watermarks\": true,\n    \"no_readable_labels\": true\n  },\n  \"negative_prompt\": [\n    \"identity drift\", \"face morphing\", \"beauty filter\", \"porcelain skin\", \"over-smoothing\",\n    \"cgi\", \"cartoon\", \"anime\",\n    \"extra fingers\", \"warped hands\", \"duplicate person\",\n    \"readable text\", \"logos\", \"watermark\"\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  \"category\": \"KITCHEN_MORNING_WINDOWLIGHT\",\n  \"identity_lock\": {\n    \"enabled\": true,\n    \"priority\": \"ABSOLUTE_MAX\",\n    \"instruction\": \"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\"\n  },\n  \"subject\": {\n    \"demographics\": \"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\",\n    \"hair\": {\n      \"color\": \"Match reference exactly.\",\n      \"style\": \"Loose, slightly messy morning hair; a few face-framing strands.\",\n      \"texture\": \"Visible individual strands, subtle flyaways, realistic roots.\",\n      \"movement\": \"Falls naturally; slight motion in ends is acceptable.\"\n    },\n    \"face\": {\n      \"shape\": \"Match reference exactly.\",\n      \"eyes\": \"Exact reference eye shape; natural catchlights; no uncanny sharpening.\",\n      \"lips\": \"Exact reference lip shape; natural texture lines visible.\",\n      \"skin_details\": \"High-fidelity pores, subtle morning sheen; no airbrushing.\",\n      \"micro_details\": \"Keep reference marks/freckles/moles precisely.\"\n    },\n    \"clothing\": {\n      \"top\": \"Soft oversized tee or casual tank (no logos, no text).\",\n      \"fit\": \"Relaxed, slightly wrinkled, realistic drape.\",\n      \"texture\": \"Cotton weave visible, faint pilling allowed.\"\n    },\n    \"accessories\": {\n      \"jewelry\": [\"Small silver hoops (optional, realistic reflections)\"]\n    }\n  },\n  \"pose\": {\n    \"type\": \"Candid lifestyle\",\n    \"orientation\": \"Half-body leaning lightly on counter\",\n    \"head_position\": \"Slight tilt; chin relaxed\",\n    \"hands\": \"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\",\n    \"gaze\": \"Near-direct eye contact (slight off-axis like a candid moment)\",\n    \"expression\": \"Sleepy-soft smile, cozy morning vibe\"\n  },\n  \"setting\": {\n    \"environment\": \"Home kitchen\",\n    \"background_elements\": [\n      \"Window with sheer curtain diffusing daylight\",\n      \"Countertop with subtle crumbs/coffee spoon (no branding)\",\n      \"Plants or fruit bowl (no readable labels)\",\n      \"Soft clutter blur (tasteful, realistic)\"\n    ],\n    \"depth\": \"Subject sharp; background softly blurred with natural depth layering\"\n  },\n  \"camera\": {\n    \"shot_type\": \"Half-body portrait\",\n    \"angle\": \"Slightly above eye level, handheld\",\n    \"focal_length_equivalent\": \"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\",\n    \"framing\": \"4:5 IG feed, asymmetrical composition\",\n    \"focus\": \"Eyes/face sharp; fall-off on shoulders/background\",\n    \"perspective\": \"Natural; no face distortion\"\n  },\n  \"lighting\": {\n    \"source\": \"Soft window daylight + subtle indoor bounce\",\n    \"direction\": \"Side/front soft light shaping cheekbones gently\",\n    \"highlights\": \"Natural speculars on eyes, nose bridge, lips\",\n    \"shadows\": \"Soft-edge shadows under chin and hairline\",\n    \"quality\": \"Warm, comforting, realistic morning light\"\n  },\n  \"mood_and_expression\": {\n    \"tone\": \"Cozy, intimate, relatable\",\n    \"expression\": \"Soft smile with lively eyes\",\n    \"atmosphere\": \"Unplanned, everyday candid\"\n  },\n  \"style_and_realism\": {\n    \"style\": \"Photorealistic social media lifestyle\",\n    \"fidelity\": \"High detail skin texture and hair strands; no smoothing\",\n    \"imperfections\": \"Minor noise in shadows allowed\"\n  },\n  \"colors_and_tone\": {\n    \"palette\": \"Warm neutrals + soft daylight tones\",\n    \"white_balance\": \"Slightly warm indoor/daylight mix\",\n    \"contrast\": \"Medium, realistic dynamic range\",\n    \"saturation\": \"Natural\"\n  },\n  \"technical_details\": {\n    \"aspect_ratio\": \"4:5\",\n    \"resolution\": \"High resolution\",\n    \"noise\": \"Mild realistic sensor grain in shadows\",\n    \"mode_variants\": {\n      \"amateur\": \"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\",\n      \"pro\": \"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\"\n    }\n  },\n  \"constraints\": {\n    \"adult_only\": true,\n    \"single_subject_only\": true,\n    \"no_text\": true,\n    \"no_logos\": true,\n    \"no_watermarks\": true,\n    \"no_readable_labels\": true\n  },\n  \"negative_prompt\": [\n    \"identity drift\", \"face morphing\", \"beauty filter\", \"porcelain skin\", \"over-smoothing\",\n    \"cgi\", \"cartoon\", \"anime\",\n    \"extra fingers\", \"warped hands\", \"duplicate person\",\n    \"readable text\", \"logos\", \"watermark\"\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  \\\"category\\\": \\\"KITCHEN_MORNING_WINDOWLIGHT\\\",\\n  \\\"identity_lock\\\": {\\n    \\\"enabled\\\": true,\\n    \\\"priority\\\": \\\"ABSOLUTE_MAX\\\",\\n    \\\"instruction\\\": \\\"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"demographics\\\": \\\"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Match reference exactly.\\\",\\n      \\\"style\\\": \\\"Loose, slightly messy morning hair; a few face-framing strands.\\\",\\n      \\\"texture\\\": \\\"Visible individual strands, subtle flyaways, realistic roots.\\\",\\n      \\\"movement\\\": \\\"Falls naturally; slight motion in ends is acceptable.\\\"\\n    },\\n    \\\"face\\\": {\\n      \\\"shape\\\": \\\"Match reference exactly.\\\",\\n      \\\"eyes\\\": \\\"Exact reference eye shape; natural catchlights; no uncanny sharpening.\\\",\\n      \\\"lips\\\": \\\"Exact reference lip shape; natural texture lines visible.\\\",\\n      \\\"skin_details\\\": \\\"High-fidelity pores, subtle morning sheen; no airbrushing.\\\",\\n      \\\"micro_details\\\": \\\"Keep reference marks/freckles/moles precisely.\\\"\\n    },\\n    \\\"clothing\\\": {\\n      \\\"top\\\": \\\"Soft oversized tee or casual tank (no logos, no text).\\\",\\n      \\\"fit\\\": \\\"Relaxed, slightly wrinkled, realistic drape.\\\",\\n      \\\"texture\\\": \\\"Cotton weave visible, faint pilling allowed.\\\"\\n    },\\n    \\\"accessories\\\": {\\n      \\\"jewelry\\\": [\\\"Small silver hoops (optional, realistic reflections)\\\"]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"type\\\": \\\"Candid lifestyle\\\",\\n    \\\"orientation\\\": \\\"Half-body leaning lightly on counter\\\",\\n    \\\"head_position\\\": \\\"Slight tilt; chin relaxed\\\",\\n    \\\"hands\\\": \\\"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\\\",\\n    \\\"gaze\\\": \\\"Near-direct eye contact (slight off-axis like a candid moment)\\\",\\n    \\\"expression\\\": \\\"Sleepy-soft smile, cozy morning vibe\\\"\\n  },\\n  \\\"setting\\\": {\\n    \\\"environment\\\": \\\"Home kitchen\\\",\\n    \\\"background_elements\\\": [\\n      \\\"Window with sheer curtain diffusing daylight\\\",\\n      \\\"Countertop with subtle crumbs/coffee spoon (no branding)\\\",\\n      \\\"Plants or fruit bowl (no readable labels)\\\",\\n      \\\"Soft clutter blur (tasteful, realistic)\\\"\\n    ],\\n    \\\"depth\\\": \\\"Subject sharp; background softly blurred with natural depth layering\\\"\\n  },\\n  \\\"camera\\\": {\\n    \\\"shot_type\\\": \\\"Half-body portrait\\\",\\n    \\\"angle\\\": \\\"Slightly above eye level, handheld\\\",\\n    \\\"focal_length_equivalent\\\": \\\"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\\\",\\n    \\\"framing\\\": \\\"4:5 IG feed, asymmetrical composition\\\",\\n    \\\"focus\\\": \\\"Eyes/face sharp; fall-off on shoulders/background\\\",\\n    \\\"perspective\\\": \\\"Natural; no face distortion\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"source\\\": \\\"Soft window daylight + subtle indoor bounce\\\",\\n    \\\"direction\\\": \\\"Side/front soft light shaping cheekbones gently\\\",\\n    \\\"highlights\\\": \\\"Natural speculars on eyes, nose bridge, lips\\\",\\n    \\\"shadows\\\": \\\"Soft-edge shadows under chin and hairline\\\",\\n    \\\"quality\\\": \\\"Warm, comforting, realistic morning light\\\"\\n  },\\n  \\\"mood_and_expression\\\": {\\n    \\\"tone\\\": \\\"Cozy, intimate, relatable\\\",\\n    \\\"expression\\\": \\\"Soft smile with lively eyes\\\",\\n    \\\"atmosphere\\\": \\\"Unplanned, everyday candid\\\"\\n  },\\n  \\\"style_and_realism\\\": {\\n    \\\"style\\\": \\\"Photorealistic social media lifestyle\\\",\\n    \\\"fidelity\\\": \\\"High detail skin texture and hair strands; no smoothing\\\",\\n    \\\"imperfections\\\": \\\"Minor noise in shadows allowed\\\"\\n  },\\n  \\\"colors_and_tone\\\": {\\n    \\\"palette\\\": \\\"Warm neutrals + soft daylight tones\\\",\\n    \\\"white_balance\\\": \\\"Slightly warm indoor/daylight mix\\\",\\n    \\\"contrast\\\": \\\"Medium, realistic dynamic range\\\",\\n    \\\"saturation\\\": \\\"Natural\\\"\\n  },\\n  \\\"technical_details\\\": {\\n    \\\"aspect_ratio\\\": \\\"4:5\\\",\\n    \\\"resolution\\\": \\\"High resolution\\\",\\n    \\\"noise\\\": \\\"Mild realistic sensor grain in shadows\\\",\\n    \\\"mode_variants\\\": {\\n      \\\"amateur\\\": \\\"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\\\",\\n      \\\"pro\\\": \\\"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\\\"\\n    }\\n  },\\n  \\\"constraints\\\": {\\n    \\\"adult_only\\\": true,\\n    \\\"single_subject_only\\\": true,\\n    \\\"no_text\\\": true,\\n    \\\"no_logos\\\": true,\\n    \\\"no_watermarks\\\": true,\\n    \\\"no_readable_labels\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"identity drift\\\", \\\"face morphing\\\", \\\"beauty filter\\\", \\\"porcelain skin\\\", \\\"over-smoothing\\\",\\n    \\\"cgi\\\", \\\"cartoon\\\", \\\"anime\\\",\\n    \\\"extra fingers\\\", \\\"warped hands\\\", \\\"duplicate person\\\",\\n    \\\"readable text\\\", \\\"logos\\\", \\\"watermark\\\"\\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  \\\"category\\\": \\\"KITCHEN_MORNING_WINDOWLIGHT\\\",\\n  \\\"identity_lock\\\": {\\n    \\\"enabled\\\": true,\\n    \\\"priority\\\": \\\"ABSOLUTE_MAX\\\",\\n    \\\"instruction\\\": \\\"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"demographics\\\": \\\"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Match reference exactly.\\\",\\n      \\\"style\\\": \\\"Loose, slightly messy morning hair; a few face-framing strands.\\\",\\n      \\\"texture\\\": \\\"Visible individual strands, subtle flyaways, realistic roots.\\\",\\n      \\\"movement\\\": \\\"Falls naturally; slight motion in ends is acceptable.\\\"\\n    },\\n    \\\"face\\\": {\\n      \\\"shape\\\": \\\"Match reference exactly.\\\",\\n      \\\"eyes\\\": \\\"Exact reference eye shape; natural catchlights; no uncanny sharpening.\\\",\\n      \\\"lips\\\": \\\"Exact reference lip shape; natural texture lines visible.\\\",\\n      \\\"skin_details\\\": \\\"High-fidelity pores, subtle morning sheen; no airbrushing.\\\",\\n      \\\"micro_details\\\": \\\"Keep reference marks/freckles/moles precisely.\\\"\\n    },\\n    \\\"clothing\\\": {\\n      \\\"top\\\": \\\"Soft oversized tee or casual tank (no logos, no text).\\\",\\n      \\\"fit\\\": \\\"Relaxed, slightly wrinkled, realistic drape.\\\",\\n      \\\"texture\\\": \\\"Cotton weave visible, faint pilling allowed.\\\"\\n    },\\n    \\\"accessories\\\": {\\n      \\\"jewelry\\\": [\\\"Small silver hoops (optional, realistic reflections)\\\"]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"type\\\": \\\"Candid lifestyle\\\",\\n    \\\"orientation\\\": \\\"Half-body leaning lightly on counter\\\",\\n    \\\"head_position\\\": \\\"Slight tilt; chin relaxed\\\",\\n    \\\"hands\\\": \\\"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\\\",\\n    \\\"gaze\\\": \\\"Near-direct eye contact (slight off-axis like a candid moment)\\\",\\n    \\\"expression\\\": \\\"Sleepy-soft smile, cozy morning vibe\\\"\\n  },\\n  \\\"setting\\\": {\\n    \\\"environment\\\": \\\"Home kitchen\\\",\\n    \\\"background_elements\\\": [\\n      \\\"Window with sheer curtain diffusing daylight\\\",\\n      \\\"Countertop with subtle crumbs/coffee spoon (no branding)\\\",\\n      \\\"Plants or fruit bowl (no readable labels)\\\",\\n      \\\"Soft clutter blur (tasteful, realistic)\\\"\\n    ],\\n    \\\"depth\\\": \\\"Subject sharp; background softly blurred with natural depth layering\\\"\\n  },\\n  \\\"camera\\\": {\\n    \\\"shot_type\\\": \\\"Half-body portrait\\\",\\n    \\\"angle\\\": \\\"Slightly above eye level, handheld\\\",\\n    \\\"focal_length_equivalent\\\": \\\"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\\\",\\n    \\\"framing\\\": \\\"4:5 IG feed, asymmetrical composition\\\",\\n    \\\"focus\\\": \\\"Eyes/face sharp; fall-off on shoulders/background\\\",\\n    \\\"perspective\\\": \\\"Natural; no face distortion\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"source\\\": \\\"Soft window daylight + subtle indoor bounce\\\",\\n    \\\"direction\\\": \\\"Side/front soft light shaping cheekbones gently\\\",\\n    \\\"highlights\\\": \\\"Natural speculars on eyes, nose bridge, lips\\\",\\n    \\\"shadows\\\": \\\"Soft-edge shadows under chin and hairline\\\",\\n    \\\"quality\\\": \\\"Warm, comforting, realistic morning light\\\"\\n  },\\n  \\\"mood_and_expression\\\": {\\n    \\\"tone\\\": \\\"Cozy, intimate, relatable\\\",\\n    \\\"expression\\\": \\\"Soft smile with lively eyes\\\",\\n    \\\"atmosphere\\\": \\\"Unplanned, everyday candid\\\"\\n  },\\n  \\\"style_and_realism\\\": {\\n    \\\"style\\\": \\\"Photorealistic social media lifestyle\\\",\\n    \\\"fidelity\\\": \\\"High detail skin texture and hair strands; no smoothing\\\",\\n    \\\"imperfections\\\": \\\"Minor noise in shadows allowed\\\"\\n  },\\n  \\\"colors_and_tone\\\": {\\n    \\\"palette\\\": \\\"Warm neutrals + soft daylight tones\\\",\\n    \\\"white_balance\\\": \\\"Slightly warm indoor/daylight mix\\\",\\n    \\\"contrast\\\": \\\"Medium, realistic dynamic range\\\",\\n    \\\"saturation\\\": \\\"Natural\\\"\\n  },\\n  \\\"technical_details\\\": {\\n    \\\"aspect_ratio\\\": \\\"4:5\\\",\\n    \\\"resolution\\\": \\\"High resolution\\\",\\n    \\\"noise\\\": \\\"Mild realistic sensor grain in shadows\\\",\\n    \\\"mode_variants\\\": {\\n      \\\"amateur\\\": \\\"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\\\",\\n      \\\"pro\\\": \\\"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\\\"\\n    }\\n  },\\n  \\\"constraints\\\": {\\n    \\\"adult_only\\\": true,\\n    \\\"single_subject_only\\\": true,\\n    \\\"no_text\\\": true,\\n    \\\"no_logos\\\": true,\\n    \\\"no_watermarks\\\": true,\\n    \\\"no_readable_labels\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"identity drift\\\", \\\"face morphing\\\", \\\"beauty filter\\\", \\\"porcelain skin\\\", \\\"over-smoothing\\\",\\n    \\\"cgi\\\", \\\"cartoon\\\", \\\"anime\\\",\\n    \\\"extra fingers\\\", \\\"warped hands\\\", \\\"duplicate person\\\",\\n    \\\"readable text\\\", \\\"logos\\\", \\\"watermark\\\"\\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  \\\"category\\\": \\\"KITCHEN_MORNING_WINDOWLIGHT\\\",\\n  \\\"identity_lock\\\": {\\n    \\\"enabled\\\": true,\\n    \\\"priority\\\": \\\"ABSOLUTE_MAX\\\",\\n    \\\"instruction\\\": \\\"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"demographics\\\": \\\"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Match reference exactly.\\\",\\n      \\\"style\\\": \\\"Loose, slightly messy morning hair; a few face-framing strands.\\\",\\n      \\\"texture\\\": \\\"Visible individual strands, subtle flyaways, realistic roots.\\\",\\n      \\\"movement\\\": \\\"Falls naturally; slight motion in ends is acceptable.\\\"\\n    },\\n    \\\"face\\\": {\\n      \\\"shape\\\": \\\"Match reference exactly.\\\",\\n      \\\"eyes\\\": \\\"Exact reference eye shape; natural catchlights; no uncanny sharpening.\\\",\\n      \\\"lips\\\": \\\"Exact reference lip shape; natural texture lines visible.\\\",\\n      \\\"skin_details\\\": \\\"High-fidelity pores, subtle morning sheen; no airbrushing.\\\",\\n      \\\"micro_details\\\": \\\"Keep reference marks/freckles/moles precisely.\\\"\\n    },\\n    \\\"clothing\\\": {\\n      \\\"top\\\": \\\"Soft oversized tee or casual tank (no logos, no text).\\\",\\n      \\\"fit\\\": \\\"Relaxed, slightly wrinkled, realistic drape.\\\",\\n      \\\"texture\\\": \\\"Cotton weave visible, faint pilling allowed.\\\"\\n    },\\n    \\\"accessories\\\": {\\n      \\\"jewelry\\\": [\\\"Small silver hoops (optional, realistic reflections)\\\"]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"type\\\": \\\"Candid lifestyle\\\",\\n    \\\"orientation\\\": \\\"Half-body leaning lightly on counter\\\",\\n    \\\"head_position\\\": \\\"Slight tilt; chin relaxed\\\",\\n    \\\"hands\\\": \\\"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\\\",\\n    \\\"gaze\\\": \\\"Near-direct eye contact (slight off-axis like a candid moment)\\\",\\n    \\\"expression\\\": \\\"Sleepy-soft smile, cozy morning vibe\\\"\\n  },\\n  \\\"setting\\\": {\\n    \\\"environment\\\": \\\"Home kitchen\\\",\\n    \\\"background_elements\\\": [\\n      \\\"Window with sheer curtain diffusing daylight\\\",\\n      \\\"Countertop with subtle crumbs/coffee spoon (no branding)\\\",\\n      \\\"Plants or fruit bowl (no readable labels)\\\",\\n      \\\"Soft clutter blur (tasteful, realistic)\\\"\\n    ],\\n    \\\"depth\\\": \\\"Subject sharp; background softly blurred with natural depth layering\\\"\\n  },\\n  \\\"camera\\\": {\\n    \\\"shot_type\\\": \\\"Half-body portrait\\\",\\n    \\\"angle\\\": \\\"Slightly above eye level, handheld\\\",\\n    \\\"focal_length_equivalent\\\": \\\"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\\\",\\n    \\\"framing\\\": \\\"4:5 IG feed, asymmetrical composition\\\",\\n    \\\"focus\\\": \\\"Eyes/face sharp; fall-off on shoulders/background\\\",\\n    \\\"perspective\\\": \\\"Natural; no face distortion\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"source\\\": \\\"Soft window daylight + subtle indoor bounce\\\",\\n    \\\"direction\\\": \\\"Side/front soft light shaping cheekbones gently\\\",\\n    \\\"highlights\\\": \\\"Natural speculars on eyes, nose bridge, lips\\\",\\n    \\\"shadows\\\": \\\"Soft-edge shadows under chin and hairline\\\",\\n    \\\"quality\\\": \\\"Warm, comforting, realistic morning light\\\"\\n  },\\n  \\\"mood_and_expression\\\": {\\n    \\\"tone\\\": \\\"Cozy, intimate, relatable\\\",\\n    \\\"expression\\\": \\\"Soft smile with lively eyes\\\",\\n    \\\"atmosphere\\\": \\\"Unplanned, everyday candid\\\"\\n  },\\n  \\\"style_and_realism\\\": {\\n    \\\"style\\\": \\\"Photorealistic social media lifestyle\\\",\\n    \\\"fidelity\\\": \\\"High detail skin texture and hair strands; no smoothing\\\",\\n    \\\"imperfections\\\": \\\"Minor noise in shadows allowed\\\"\\n  },\\n  \\\"colors_and_tone\\\": {\\n    \\\"palette\\\": \\\"Warm neutrals + soft daylight tones\\\",\\n    \\\"white_balance\\\": \\\"Slightly warm indoor/daylight mix\\\",\\n    \\\"contrast\\\": \\\"Medium, realistic dynamic range\\\",\\n    \\\"saturation\\\": \\\"Natural\\\"\\n  },\\n  \\\"technical_details\\\": {\\n    \\\"aspect_ratio\\\": \\\"4:5\\\",\\n    \\\"resolution\\\": \\\"High resolution\\\",\\n    \\\"noise\\\": \\\"Mild realistic sensor grain in shadows\\\",\\n    \\\"mode_variants\\\": {\\n      \\\"amateur\\\": \\\"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\\\",\\n      \\\"pro\\\": \\\"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\\\"\\n    }\\n  },\\n  \\\"constraints\\\": {\\n    \\\"adult_only\\\": true,\\n    \\\"single_subject_only\\\": true,\\n    \\\"no_text\\\": true,\\n    \\\"no_logos\\\": true,\\n    \\\"no_watermarks\\\": true,\\n    \\\"no_readable_labels\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"identity drift\\\", \\\"face morphing\\\", \\\"beauty filter\\\", \\\"porcelain skin\\\", \\\"over-smoothing\\\",\\n    \\\"cgi\\\", \\\"cartoon\\\", \\\"anime\\\",\\n    \\\"extra fingers\\\", \\\"warped hands\\\", \\\"duplicate person\\\",\\n    \\\"readable text\\\", \\\"logos\\\", \\\"watermark\\\"\\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  \\\"category\\\": \\\"KITCHEN_MORNING_WINDOWLIGHT\\\",\\n  \\\"identity_lock\\\": {\\n    \\\"enabled\\\": true,\\n    \\\"priority\\\": \\\"ABSOLUTE_MAX\\\",\\n    \\\"instruction\\\": \\\"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"demographics\\\": \\\"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Match reference exactly.\\\",\\n      \\\"style\\\": \\\"Loose, slightly messy morning hair; a few face-framing strands.\\\",\\n      \\\"texture\\\": \\\"Visible individual strands, subtle flyaways, realistic roots.\\\",\\n      \\\"movement\\\": \\\"Falls naturally; slight motion in ends is acceptable.\\\"\\n    },\\n    \\\"face\\\": {\\n      \\\"shape\\\": \\\"Match reference exactly.\\\",\\n      \\\"eyes\\\": \\\"Exact reference eye shape; natural catchlights; no uncanny sharpening.\\\",\\n      \\\"lips\\\": \\\"Exact reference lip shape; natural texture lines visible.\\\",\\n      \\\"skin_details\\\": \\\"High-fidelity pores, subtle morning sheen; no airbrushing.\\\",\\n      \\\"micro_details\\\": \\\"Keep reference marks/freckles/moles precisely.\\\"\\n    },\\n    \\\"clothing\\\": {\\n      \\\"top\\\": \\\"Soft oversized tee or casual tank (no logos, no text).\\\",\\n      \\\"fit\\\": \\\"Relaxed, slightly wrinkled, realistic drape.\\\",\\n      \\\"texture\\\": \\\"Cotton weave visible, faint pilling allowed.\\\"\\n    },\\n    \\\"accessories\\\": {\\n      \\\"jewelry\\\": [\\\"Small silver hoops (optional, realistic reflections)\\\"]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"type\\\": \\\"Candid lifestyle\\\",\\n    \\\"orientation\\\": \\\"Half-body leaning lightly on counter\\\",\\n    \\\"head_position\\\": \\\"Slight tilt; chin relaxed\\\",\\n    \\\"hands\\\": \\\"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\\\",\\n    \\\"gaze\\\": \\\"Near-direct eye contact (slight off-axis like a candid moment)\\\",\\n    \\\"expression\\\": \\\"Sleepy-soft smile, cozy morning vibe\\\"\\n  },\\n  \\\"setting\\\": {\\n    \\\"environment\\\": \\\"Home kitchen\\\",\\n    \\\"background_elements\\\": [\\n      \\\"Window with sheer curtain diffusing daylight\\\",\\n      \\\"Countertop with subtle crumbs/coffee spoon (no branding)\\\",\\n      \\\"Plants or fruit bowl (no readable labels)\\\",\\n      \\\"Soft clutter blur (tasteful, realistic)\\\"\\n    ],\\n    \\\"depth\\\": \\\"Subject sharp; background softly blurred with natural depth layering\\\"\\n  },\\n  \\\"camera\\\": {\\n    \\\"shot_type\\\": \\\"Half-body portrait\\\",\\n    \\\"angle\\\": \\\"Slightly above eye level, handheld\\\",\\n    \\\"focal_length_equivalent\\\": \\\"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\\\",\\n    \\\"framing\\\": \\\"4:5 IG feed, asymmetrical composition\\\",\\n    \\\"focus\\\": \\\"Eyes/face sharp; fall-off on shoulders/background\\\",\\n    \\\"perspective\\\": \\\"Natural; no face distortion\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"source\\\": \\\"Soft window daylight + subtle indoor bounce\\\",\\n    \\\"direction\\\": \\\"Side/front soft light shaping cheekbones gently\\\",\\n    \\\"highlights\\\": \\\"Natural speculars on eyes, nose bridge, lips\\\",\\n    \\\"shadows\\\": \\\"Soft-edge shadows under chin and hairline\\\",\\n    \\\"quality\\\": \\\"Warm, comforting, realistic morning light\\\"\\n  },\\n  \\\"mood_and_expression\\\": {\\n    \\\"tone\\\": \\\"Cozy, intimate, relatable\\\",\\n    \\\"expression\\\": \\\"Soft smile with lively eyes\\\",\\n    \\\"atmosphere\\\": \\\"Unplanned, everyday candid\\\"\\n  },\\n  \\\"style_and_realism\\\": {\\n    \\\"style\\\": \\\"Photorealistic social media lifestyle\\\",\\n    \\\"fidelity\\\": \\\"High detail skin texture and hair strands; no smoothing\\\",\\n    \\\"imperfections\\\": \\\"Minor noise in shadows allowed\\\"\\n  },\\n  \\\"colors_and_tone\\\": {\\n    \\\"palette\\\": \\\"Warm neutrals + soft daylight tones\\\",\\n    \\\"white_balance\\\": \\\"Slightly warm indoor/daylight mix\\\",\\n    \\\"contrast\\\": \\\"Medium, realistic dynamic range\\\",\\n    \\\"saturation\\\": \\\"Natural\\\"\\n  },\\n  \\\"technical_details\\\": {\\n    \\\"aspect_ratio\\\": \\\"4:5\\\",\\n    \\\"resolution\\\": \\\"High resolution\\\",\\n    \\\"noise\\\": \\\"Mild realistic sensor grain in shadows\\\",\\n    \\\"mode_variants\\\": {\\n      \\\"amateur\\\": \\\"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\\\",\\n      \\\"pro\\\": \\\"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\\\"\\n    }\\n  },\\n  \\\"constraints\\\": {\\n    \\\"adult_only\\\": true,\\n    \\\"single_subject_only\\\": true,\\n    \\\"no_text\\\": true,\\n    \\\"no_logos\\\": true,\\n    \\\"no_watermarks\\\": true,\\n    \\\"no_readable_labels\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"identity drift\\\", \\\"face morphing\\\", \\\"beauty filter\\\", \\\"porcelain skin\\\", \\\"over-smoothing\\\",\\n    \\\"cgi\\\", \\\"cartoon\\\", \\\"anime\\\",\\n    \\\"extra fingers\\\", \\\"warped hands\\\", \\\"duplicate person\\\",\\n    \\\"readable text\\\", \\\"logos\\\", \\\"watermark\\\"\\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  \\\"category\\\": \\\"KITCHEN_MORNING_WINDOWLIGHT\\\",\\n  \\\"identity_lock\\\": {\\n    \\\"enabled\\\": true,\\n    \\\"priority\\\": \\\"ABSOLUTE_MAX\\\",\\n    \\\"instruction\\\": \\\"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\\\"\\n  },\\n  \\\"subject\\\": {\\n    \\\"demographics\\\": \\\"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\\\",\\n    \\\"hair\\\": {\\n      \\\"color\\\": \\\"Match reference exactly.\\\",\\n      \\\"style\\\": \\\"Loose, slightly messy morning hair; a few face-framing strands.\\\",\\n      \\\"texture\\\": \\\"Visible individual strands, subtle flyaways, realistic roots.\\\",\\n      \\\"movement\\\": \\\"Falls naturally; slight motion in ends is acceptable.\\\"\\n    },\\n    \\\"face\\\": {\\n      \\\"shape\\\": \\\"Match reference exactly.\\\",\\n      \\\"eyes\\\": \\\"Exact reference eye shape; natural catchlights; no uncanny sharpening.\\\",\\n      \\\"lips\\\": \\\"Exact reference lip shape; natural texture lines visible.\\\",\\n      \\\"skin_details\\\": \\\"High-fidelity pores, subtle morning sheen; no airbrushing.\\\",\\n      \\\"micro_details\\\": \\\"Keep reference marks/freckles/moles precisely.\\\"\\n    },\\n    \\\"clothing\\\": {\\n      \\\"top\\\": \\\"Soft oversized tee or casual tank (no logos, no text).\\\",\\n      \\\"fit\\\": \\\"Relaxed, slightly wrinkled, realistic drape.\\\",\\n      \\\"texture\\\": \\\"Cotton weave visible, faint pilling allowed.\\\"\\n    },\\n    \\\"accessories\\\": {\\n      \\\"jewelry\\\": [\\\"Small silver hoops (optional, realistic reflections)\\\"]\\n    }\\n  },\\n  \\\"pose\\\": {\\n    \\\"type\\\": \\\"Candid lifestyle\\\",\\n    \\\"orientation\\\": \\\"Half-body leaning lightly on counter\\\",\\n    \\\"head_position\\\": \\\"Slight tilt; chin relaxed\\\",\\n    \\\"hands\\\": \\\"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\\\",\\n    \\\"gaze\\\": \\\"Near-direct eye contact (slight off-axis like a candid moment)\\\",\\n    \\\"expression\\\": \\\"Sleepy-soft smile, cozy morning vibe\\\"\\n  },\\n  \\\"setting\\\": {\\n    \\\"environment\\\": \\\"Home kitchen\\\",\\n    \\\"background_elements\\\": [\\n      \\\"Window with sheer curtain diffusing daylight\\\",\\n      \\\"Countertop with subtle crumbs/coffee spoon (no branding)\\\",\\n      \\\"Plants or fruit bowl (no readable labels)\\\",\\n      \\\"Soft clutter blur (tasteful, realistic)\\\"\\n    ],\\n    \\\"depth\\\": \\\"Subject sharp; background softly blurred with natural depth layering\\\"\\n  },\\n  \\\"camera\\\": {\\n    \\\"shot_type\\\": \\\"Half-body portrait\\\",\\n    \\\"angle\\\": \\\"Slightly above eye level, handheld\\\",\\n    \\\"focal_length_equivalent\\\": \\\"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\\\",\\n    \\\"framing\\\": \\\"4:5 IG feed, asymmetrical composition\\\",\\n    \\\"focus\\\": \\\"Eyes/face sharp; fall-off on shoulders/background\\\",\\n    \\\"perspective\\\": \\\"Natural; no face distortion\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"source\\\": \\\"Soft window daylight + subtle indoor bounce\\\",\\n    \\\"direction\\\": \\\"Side/front soft light shaping cheekbones gently\\\",\\n    \\\"highlights\\\": \\\"Natural speculars on eyes, nose bridge, lips\\\",\\n    \\\"shadows\\\": \\\"Soft-edge shadows under chin and hairline\\\",\\n    \\\"quality\\\": \\\"Warm, comforting, realistic morning light\\\"\\n  },\\n  \\\"mood_and_expression\\\": {\\n    \\\"tone\\\": \\\"Cozy, intimate, relatable\\\",\\n    \\\"expression\\\": \\\"Soft smile with lively eyes\\\",\\n    \\\"atmosphere\\\": \\\"Unplanned, everyday candid\\\"\\n  },\\n  \\\"style_and_realism\\\": {\\n    \\\"style\\\": \\\"Photorealistic social media lifestyle\\\",\\n    \\\"fidelity\\\": \\\"High detail skin texture and hair strands; no smoothing\\\",\\n    \\\"imperfections\\\": \\\"Minor noise in shadows allowed\\\"\\n  },\\n  \\\"colors_and_tone\\\": {\\n    \\\"palette\\\": \\\"Warm neutrals + soft daylight tones\\\",\\n    \\\"white_balance\\\": \\\"Slightly warm indoor/daylight mix\\\",\\n    \\\"contrast\\\": \\\"Medium, realistic dynamic range\\\",\\n    \\\"saturation\\\": \\\"Natural\\\"\\n  },\\n  \\\"technical_details\\\": {\\n    \\\"aspect_ratio\\\": \\\"4:5\\\",\\n    \\\"resolution\\\": \\\"High resolution\\\",\\n    \\\"noise\\\": \\\"Mild realistic sensor grain in shadows\\\",\\n    \\\"mode_variants\\\": {\\n      \\\"amateur\\\": \\\"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\\\",\\n      \\\"pro\\\": \\\"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\\\"\\n    }\\n  },\\n  \\\"constraints\\\": {\\n    \\\"adult_only\\\": true,\\n    \\\"single_subject_only\\\": true,\\n    \\\"no_text\\\": true,\\n    \\\"no_logos\\\": true,\\n    \\\"no_watermarks\\\": true,\\n    \\\"no_readable_labels\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"identity drift\\\", \\\"face morphing\\\", \\\"beauty filter\\\", \\\"porcelain skin\\\", \\\"over-smoothing\\\",\\n    \\\"cgi\\\", \\\"cartoon\\\", \\\"anime\\\",\\n    \\\"extra fingers\\\", \\\"warped hands\\\", \\\"duplicate person\\\",\\n    \\\"readable text\\\", \\\"logos\\\", \\\"watermark\\\"\\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  \"category\": \"KITCHEN_MORNING_WINDOWLIGHT\",\n  \"identity_lock\": {\n    \"enabled\": true,\n    \"priority\": \"ABSOLUTE_MAX\",\n    \"instruction\": \"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\"\n  },\n  \"subject\": {\n    \"demographics\": \"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\",\n    \"hair\": {\n      \"color\": \"Match reference exactly.\",\n      \"style\": \"Loose, slightly messy morning hair; a few face-framing strands.\",\n      \"texture\": \"Visible individual strands, subtle flyaways, realistic roots.\",\n      \"movement\": \"Falls naturally; slight motion in ends is acceptable.\"\n    },\n    \"face\": {\n      \"shape\": \"Match reference exactly.\",\n      \"eyes\": \"Exact reference eye shape; natural catchlights; no uncanny sharpening.\",\n      \"lips\": \"Exact reference lip shape; natural texture lines visible.\",\n      \"skin_details\": \"High-fidelity pores, subtle morning sheen; no airbrushing.\",\n      \"micro_details\": \"Keep reference marks/freckles/moles precisely.\"\n    },\n    \"clothing\": {\n      \"top\": \"Soft oversized tee or casual tank (no logos, no text).\",\n      \"fit\": \"Relaxed, slightly wrinkled, realistic drape.\",\n      \"texture\": \"Cotton weave visible, faint pilling allowed.\"\n    },\n    \"accessories\": {\n      \"jewelry\": [\"Small silver hoops (optional, realistic reflections)\"]\n    }\n  },\n  \"pose\": {\n    \"type\": \"Candid lifestyle\",\n    \"orientation\": \"Half-body leaning lightly on counter\",\n    \"head_position\": \"Slight tilt; chin relaxed\",\n    \"hands\": \"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\",\n    \"gaze\": \"Near-direct eye contact (slight off-axis like a candid moment)\",\n    \"expression\": \"Sleepy-soft smile, cozy morning vibe\"\n  },\n  \"setting\": {\n    \"environment\": \"Home kitchen\",\n    \"background_elements\": [\n      \"Window with sheer curtain diffusing daylight\",\n      \"Countertop with subtle crumbs/coffee spoon (no branding)\",\n      \"Plants or fruit bowl (no readable labels)\",\n      \"Soft clutter blur (tasteful, realistic)\"\n    ],\n    \"depth\": \"Subject sharp; background softly blurred with natural depth layering\"\n  },\n  \"camera\": {\n    \"shot_type\": \"Half-body portrait\",\n    \"angle\": \"Slightly above eye level, handheld\",\n    \"focal_length_equivalent\": \"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\",\n    \"framing\": \"4:5 IG feed, asymmetrical composition\",\n    \"focus\": \"Eyes/face sharp; fall-off on shoulders/background\",\n    \"perspective\": \"Natural; no face distortion\"\n  },\n  \"lighting\": {\n    \"source\": \"Soft window daylight + subtle indoor bounce\",\n    \"direction\": \"Side/front soft light shaping cheekbones gently\",\n    \"highlights\": \"Natural speculars on eyes, nose bridge, lips\",\n    \"shadows\": \"Soft-edge shadows under chin and hairline\",\n    \"quality\": \"Warm, comforting, realistic morning light\"\n  },\n  \"mood_and_expression\": {\n    \"tone\": \"Cozy, intimate, relatable\",\n    \"expression\": \"Soft smile with lively eyes\",\n    \"atmosphere\": \"Unplanned, everyday candid\"\n  },\n  \"style_and_realism\": {\n    \"style\": \"Photorealistic social media lifestyle\",\n    \"fidelity\": \"High detail skin texture and hair strands; no smoothing\",\n    \"imperfections\": \"Minor noise in shadows allowed\"\n  },\n  \"colors_and_tone\": {\n    \"palette\": \"Warm neutrals + soft daylight tones\",\n    \"white_balance\": \"Slightly warm indoor/daylight mix\",\n    \"contrast\": \"Medium, realistic dynamic range\",\n    \"saturation\": \"Natural\"\n  },\n  \"technical_details\": {\n    \"aspect_ratio\": \"4:5\",\n    \"resolution\": \"High resolution\",\n    \"noise\": \"Mild realistic sensor grain in shadows\",\n    \"mode_variants\": {\n      \"amateur\": \"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\",\n      \"pro\": \"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\"\n    }\n  },\n  \"constraints\": {\n    \"adult_only\": true,\n    \"single_subject_only\": true,\n    \"no_text\": true,\n    \"no_logos\": true,\n    \"no_watermarks\": true,\n    \"no_readable_labels\": true\n  },\n  \"negative_prompt\": [\n    \"identity drift\", \"face morphing\", \"beauty filter\", \"porcelain skin\", \"over-smoothing\",\n    \"cgi\", \"cartoon\", \"anime\",\n    \"extra fingers\", \"warped hands\", \"duplicate person\",\n    \"readable text\", \"logos\", \"watermark\"\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": "Kitchen Morning Window Light (candid, cozy)",
        "item": "https://runapi.ai/prompts/prm_rXA3eKxQ896gurXW4gO7NRao"
      }
    ]
  },
  {
    "@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": "Kitchen Morning Window Light (candid, cozy)",
    "text": "{\n  \"category\": \"KITCHEN_MORNING_WINDOWLIGHT\",\n  \"identity_lock\": {\n    \"enabled\": true,\n    \"priority\": \"ABSOLUTE_MAX\",\n    \"instruction\": \"Use the input reference image as the only identity source. Preserve exact facial structure, eye shape/spacing, nose bridge/tip, lips, jawline, cheekbones, hairline, brows, skin tone/undertone, and distinctive marks. Do not beautify, do not change ethnicity/age perception. Adult (21+) only.\"\n  },\n  \"subject\": {\n    \"demographics\": \"Adult woman, 21-29, Turkish-looking / Mediterranean vibe (must match reference).\",\n    \"hair\": {\n      \"color\": \"Match reference exactly.\",\n      \"style\": \"Loose, slightly messy morning hair; a few face-framing strands.\",\n      \"texture\": \"Visible individual strands, subtle flyaways, realistic roots.\",\n      \"movement\": \"Falls naturally; slight motion in ends is acceptable.\"\n    },\n    \"face\": {\n      \"shape\": \"Match reference exactly.\",\n      \"eyes\": \"Exact reference eye shape; natural catchlights; no uncanny sharpening.\",\n      \"lips\": \"Exact reference lip shape; natural texture lines visible.\",\n      \"skin_details\": \"High-fidelity pores, subtle morning sheen; no airbrushing.\",\n      \"micro_details\": \"Keep reference marks/freckles/moles precisely.\"\n    },\n    \"clothing\": {\n      \"top\": \"Soft oversized tee or casual tank (no logos, no text).\",\n      \"fit\": \"Relaxed, slightly wrinkled, realistic drape.\",\n      \"texture\": \"Cotton weave visible, faint pilling allowed.\"\n    },\n    \"accessories\": {\n      \"jewelry\": [\"Small silver hoops (optional, realistic reflections)\"]\n    }\n  },\n  \"pose\": {\n    \"type\": \"Candid lifestyle\",\n    \"orientation\": \"Half-body leaning lightly on counter\",\n    \"head_position\": \"Slight tilt; chin relaxed\",\n    \"hands\": \"One hand holding a mug; other hand brushing hair behind ear (hands anatomically correct)\",\n    \"gaze\": \"Near-direct eye contact (slight off-axis like a candid moment)\",\n    \"expression\": \"Sleepy-soft smile, cozy morning vibe\"\n  },\n  \"setting\": {\n    \"environment\": \"Home kitchen\",\n    \"background_elements\": [\n      \"Window with sheer curtain diffusing daylight\",\n      \"Countertop with subtle crumbs/coffee spoon (no branding)\",\n      \"Plants or fruit bowl (no readable labels)\",\n      \"Soft clutter blur (tasteful, realistic)\"\n    ],\n    \"depth\": \"Subject sharp; background softly blurred with natural depth layering\"\n  },\n  \"camera\": {\n    \"shot_type\": \"Half-body portrait\",\n    \"angle\": \"Slightly above eye level, handheld\",\n    \"focal_length_equivalent\": \"24-28mm smartphone wide (amateur) OR 35-50mm (pro)\",\n    \"framing\": \"4:5 IG feed, asymmetrical composition\",\n    \"focus\": \"Eyes/face sharp; fall-off on shoulders/background\",\n    \"perspective\": \"Natural; no face distortion\"\n  },\n  \"lighting\": {\n    \"source\": \"Soft window daylight + subtle indoor bounce\",\n    \"direction\": \"Side/front soft light shaping cheekbones gently\",\n    \"highlights\": \"Natural speculars on eyes, nose bridge, lips\",\n    \"shadows\": \"Soft-edge shadows under chin and hairline\",\n    \"quality\": \"Warm, comforting, realistic morning light\"\n  },\n  \"mood_and_expression\": {\n    \"tone\": \"Cozy, intimate, relatable\",\n    \"expression\": \"Soft smile with lively eyes\",\n    \"atmosphere\": \"Unplanned, everyday candid\"\n  },\n  \"style_and_realism\": {\n    \"style\": \"Photorealistic social media lifestyle\",\n    \"fidelity\": \"High detail skin texture and hair strands; no smoothing\",\n    \"imperfections\": \"Minor noise in shadows allowed\"\n  },\n  \"colors_and_tone\": {\n    \"palette\": \"Warm neutrals + soft daylight tones\",\n    \"white_balance\": \"Slightly warm indoor/daylight mix\",\n    \"contrast\": \"Medium, realistic dynamic range\",\n    \"saturation\": \"Natural\"\n  },\n  \"technical_details\": {\n    \"aspect_ratio\": \"4:5\",\n    \"resolution\": \"High resolution\",\n    \"noise\": \"Mild realistic sensor grain in shadows\",\n    \"mode_variants\": {\n      \"amateur\": \"iPhone-candid feel: slight tilt, imperfect framing, mild noise, subtle motion blur away from face\",\n      \"pro\": \"Editorial lifestyle: cleaner exposure, controlled highlights, crisp micro-contrast, shallow DOF\"\n    }\n  },\n  \"constraints\": {\n    \"adult_only\": true,\n    \"single_subject_only\": true,\n    \"no_text\": true,\n    \"no_logos\": true,\n    \"no_watermarks\": true,\n    \"no_readable_labels\": true\n  },\n  \"negative_prompt\": [\n    \"identity drift\", \"face morphing\", \"beauty filter\", \"porcelain skin\", \"over-smoothing\",\n    \"cgi\", \"cartoon\", \"anime\",\n    \"extra fingers\", \"warped hands\", \"duplicate person\",\n    \"readable text\", \"logos\", \"watermark\"\n  ]\n}",
    "image": null,
    "about": [
      "image",
      "lifestyle"
    ]
  }
]
```
