---
title: 'Tropical Elegance: A Serene Afternoon in a Sunlit Villa —  Prompt | RunAPI | RunAPI'
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_zoN2E17VD7WLUZV5DnlqLBRO.md
canonical: https://runapi.ai/prompts/prm_zoN2E17VD7WLUZV5DnlqLBRO
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13566
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Tropical Elegance: A Serene Afternoon in a Sunlit Villa

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

**Prompts** · Image

## Prompt

```text
{
  "image_analysis": {
    "meta": {
      "file_name": "image_ef3de2.jpg",
      "file_type": "uploaded file",
      "analyst_persona": "Technical Photo Analyst"
    },
    "scene_environment": {
      "location_type": "Indoor / Semi-outdoor transition (Sunroom or covered patio)",
      "atmosphere": "Tropical, luxurious, relaxed, warm",
      "background_texture": "Stone walls, natural light, wooden furniture"
    },
    "camera_technical": {
      "lens_type": "35mm - 50mm (Standard)",
      "angle": "Eye-level, slightly angled from the right",
      "focus": "Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)",
      "composition": "Rule of thirds, subject center-left, framed by flowers on the right"
    },
    "lighting": {
      "general_condition": "High-key, natural daylight dominant",
      "sources": [
        {
          "id": "light_source_1",
          "type": "Natural Sunlight",
          "direction": "From left (viewer's perspective)",
          "color_temp": "Neutral/Cool White (Daylight ~5500K)",
          "intensity": "High",
          "effect_on_objects": "Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right."
        },
        {
          "id": "light_source_2",
          "type": "Ambient Fill",
          "direction": "Omnidirectional",
          "color_temp": "Warm",
          "intensity": "Low/Medium",
          "effect_on_objects": "Softens shadows on the wooden furniture and the subject's left side."
        }
      ]
    },
    "subject": {
      "identity": "Adult Female (Celebrity likeness noted, treated anonymously as per instruction)",
      "orientation": "Facing forward, body angled slightly to the right",
      "gaze_direction": "Direct eye contact with the camera",
      "emotional_state": "Confident, relaxed, alluring",
      "sensuality_level": "Moderate to High (due to attire and pose, but elegant)",
      "pose": {
        "general_description": "Seated semi-reclined on a wooden sofa/daybed",
        "posture_effect_on_emotion": "The reclined posture emphasizes relaxation and confidence",
        "legs": "Crossed; Right leg bent over the left knee",
        "feet_position": "Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)",
        "hands_position": "Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee",
        "visible_body_extent": "Full body visible (head to toe)"
      },
      "head": {
        "hair": {
          "color": "Brunette with honey/caramel balayage highlights",
          "style": "Long, loose waves, center part",
          "texture": "Silky, voluminous",
          "interaction_with_head": "Frames the face symmetrically, falling over shoulders"
        },
        "ears": {
          "visibility": "Partially covered by hair",
          "shape": "Indiscernible due to hair"
        },
        "face": {
          "structure": "Oval to diamond shape, high cheekbones",
          "forehead": "Smooth, standard height, partially framed by hair",
          "brows": "Well-groomed, arched, dark brown",
          "eyes": "Almond shape, dark, lined with makeup",
          "nose": "Straight, defined bridge",
          "upper_lip": "Defined cupid's bow, mauve lipstick",
          "mouth_area": "Closed, slight smirk/smile",
          "chin": "Defined, slightly pointed",
          "mimic": "Subtle, confident smile, seductive gaze"
        }
      },
      "body_details": {
        "skin_tone": "Tanned / Olive",
        "neck": "Visible, smooth, accentuated by V-neckline",
        "shoulders": "Exposed, rounded, relaxed",
        "chest": {
          "ratio_to_body": "Proportionally large (Voluptuous)",
          "estimated_size": "Full bust",
          "bra_status": "No visible bra (likely built-in support in swimsuit)",
          "nipples_visible": "No",
          "shape_description": "Natural, lifted"
        },
        "stomach": {
          "ratio_to_body": "Slim, toned",
          "ratio_to_chest": "Significantly smaller (Hourglass figure)",
          "ratio_to_hips": "Significantly smaller"
        },
        "hips": {
          "ratio_to_body": "Wide, curvy",
          "ratio_to_chest": "Balanced with chest",
          "shape": "Curvaceous"
        },
        "legs": {
          "thighs": "Full, smooth skin texture, highlighted by light source",
          "knees": "Smooth, defined",
          "calves": "Toned",
          "feet": "Bare, arched, well-pedicured (pale polish)"
        }
      },
      "attire": {
        "upper_garment": {
          "type": "One-piece swimsuit / Monokini",
          "color": "Dark Brown / Espresso",
          "details": "Lace-up front with gold grommets, halter neck style",
          "light_interaction": "Absorbs light, creates contrast with skin"
        },
        "lower_garment": {
          "type": "Swimsuit bottom (connected)",
          "accessory": "Floral patterned shawl/sarong",
          "details": "Draped underneath and slightly over the legs, multicolored floral print",
          "light_interaction": "Soft folds create shadows"
        },
        "accessories": {
          "jewelry": [
            {
              "item": "Bracelet",
              "location": "Left wrist",
              "type": "Chunky gold chain link",
              "material": "Gold metal"
            },
            {
              "item": "Necklace",
              "location": "Neck",
              "type": "Thin delicate chain",
              "visibility": "Barely visible"
            }
          ],
          "footwear": "None (Barefoot)"
        }
      }
    },
    "objects_in_scene": [
      {
        "object": "Wooden Sofa / Daybed",
        "description": "Ornate, dark wood with intricate carvings",
        "purpose": "Seating for subject",
        "ratio": "Dominates the middle ground",
        "color": "Dark Mahogany",
        "location": "Mid-ground, extending from left to center"
      },
      {
        "object": "Orchid Plant",
        "description": "Phalaenopsis orchids with purple and white blooms",
        "purpose": "Foreground framing element, adds depth and color",
        "ratio": "Large in foreground due to perspective",
        "color": "Bright Purple, White, Green stems",
        "location": "Foreground Right"
      },
      {
        "object": "Fruit Bowl",
        "description": "White bowl filled with citrus fruits (oranges/lemons)",
        "purpose": "Decor, adds color contrast",
        "ratio": "Small compared to subject",
        "color": "Bright Orange, Yellow",
        "location": "Foreground Right (lower corner)"
      },
      {
        "object": "Lamp",
        "description": "White geometric/honeycomb textured base with white shade",
        "purpose": "Background decor",
        "ratio": "Medium",
        "color": "White",
        "location": "Background Left"
      },
      {
        "object": "Book/Magazine",
        "description": "Coffee table book featuring a face on the cover",
        "purpose": "Foreground detail",
        "ratio": "Small slice visible",
        "location": "Extreme Foreground Bottom Center"
      }
    ],
    "negative_prompts": [
      "bad anatomy",
      "extra fingers",
      "missing limbs",
      "distorted face",
      "low resolution",
      "blurry subject",
      "overexposed",
      "underexposed",
      "watermark",
      "text overlay (except book title)",
      "cartoon",
      "illustration",
      "CGI",
      "unnatural skin tone"
    ]
  }
}
```

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

Tropical Elegance: A Serene Afternoon in a Sunlit Villa

### Atmosphere

fashion / Image

### Technical

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

### Style

adult-female, balayage, barefoot, brunette, natural-daylight, orchid, swimsuit, wooden-sofa

<!-- /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 | fashion |
| Tags | adult-female, balayage, barefoot, brunette, natural-daylight, orchid, swimsuit, wooden-sofa |

## Use with an agent

### Claude Code

1. claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
2. Restart Claude Code
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "meta": {
      "file_name": "image_ef3de2.jpg",
      "file_type": "uploaded file",
      "analyst_persona": "Technical Photo Analyst"
    },
    "scene_environment": {
      "location_type": "Indoor / Semi-outdoor transition (Sunroom or covered patio)",
      "atmosphere": "Tropical, luxurious, relaxed, warm",
      "background_texture": "Stone walls, natural light, wooden furniture"
    },
    "camera_technical": {
      "lens_type": "35mm - 50mm (Standard)",
      "angle": "Eye-level, slightly angled from the right",
      "focus": "Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)",
      "composition": "Rule of thirds, subject center-left, framed by flowers on the right"
    },
    "lighting": {
      "general_condition": "High-key, natural daylight dominant",
      "sources": [
        {
          "id": "light_source_1",
          "type": "Natural Sunlight",
          "direction": "From left (viewer's perspective)",
          "color_temp": "Neutral/Cool White (Daylight ~5500K)",
          "intensity": "High",
          "effect_on_objects": "Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right."
        },
        {
          "id": "light_source_2",
          "type": "Ambient Fill",
          "direction": "Omnidirectional",
          "color_temp": "Warm",
          "intensity": "Low/Medium",
          "effect_on_objects": "Softens shadows on the wooden furniture and the subject's left side."
        }
      ]
    },
    "subject": {
      "identity": "Adult Female (Celebrity likeness noted, treated anonymously as per instruction)",
      "orientation": "Facing forward, body angled slightly to the right",
      "gaze_direction": "Direct eye contact with the camera",
      "emotional_state": "Confident, relaxed, alluring",
      "sensuality_level": "Moderate to High (due to attire and pose, but elegant)",
      "pose": {
        "general_description": "Seated semi-reclined on a wooden sofa/daybed",
        "posture_effect_on_emotion": "The reclined posture emphasizes relaxation and confidence",
        "legs": "Crossed; Right leg bent over the left knee",
        "feet_position": "Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)",
        "hands_position": "Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee",
        "visible_body_extent": "Full body visible (head to toe)"
      },
      "head": {
        "hair": {
          "color": "Brunette with honey/caramel balayage highlights",
          "style": "Long, loose waves, center part",
          "texture": "Silky, voluminous",
          "interaction_with_head": "Frames the face symmetrically, falling over shoulders"
        },
        "ears": {
          "visibility": "Partially covered by hair",
          "shape": "Indiscernible due to hair"
        },
        "face": {
          "structure": "Oval to diamond shape, high cheekbones",
          "forehead": "Smooth, standard height, partially framed by hair",
          "brows": "Well-groomed, arched, dark brown",
          "eyes": "Almond shape, dark, lined with makeup",
          "nose": "Straight, defined bridge",
          "upper_lip": "Defined cupid's bow, mauve lipstick",
          "mouth_area": "Closed, slight smirk/smile",
          "chin": "Defined, slightly pointed",
          "mimic": "Subtle, confident smile, seductive gaze"
        }
      },
      "body_details": {
        "skin_tone": "Tanned / Olive",
        "neck": "Visible, smooth, accentuated by V-neckline",
        "shoulders": "Exposed, rounded, relaxed",
        "chest": {
          "ratio_to_body": "Proportionally large (Voluptuous)",
          "estimated_size": "Full bust",
          "bra_status": "No visible bra (likely built-in support in swimsuit)",
          "nipples_visible": "No",
          "shape_description": "Natural, lifted"
        },
        "stomach": {
          "ratio_to_body": "Slim, toned",
          "ratio_to_chest": "Significantly smaller (Hourglass figure)",
          "ratio_to_hips": "Significantly smaller"
        },
        "hips": {
          "ratio_to_body": "Wide, curvy",
          "ratio_to_chest": "Balanced with chest",
          "shape": "Curvaceous"
        },
        "legs": {
          "thighs": "Full, smooth skin texture, highlighted by light source",
          "knees": "Smooth, defined",
          "calves": "Toned",
          "feet": "Bare, arched, well-pedicured (pale polish)"
        }
      },
      "attire": {
        "upper_garment": {
          "type": "One-piece swimsuit / Monokini",
          "color": "Dark Brown / Espresso",
          "details": "Lace-up front with gold grommets, halter neck style",
          "light_interaction": "Absorbs light, creates contrast with skin"
        },
        "lower_garment": {
          "type": "Swimsuit bottom (connected)",
          "accessory": "Floral patterned shawl/sarong",
          "details": "Draped underneath and slightly over the legs, multicolored floral print",
          "light_interaction": "Soft folds create shadows"
        },
        "accessories": {
          "jewelry": [
            {
              "item": "Bracelet",
              "location": "Left wrist",
              "type": "Chunky gold chain link",
              "material": "Gold metal"
            },
            {
              "item": "Necklace",
              "location": "Neck",
              "type": "Thin delicate chain",
              "visibility": "Barely visible"
            }
          ],
          "footwear": "None (Barefoot)"
        }
      }
    },
    "objects_in_scene": [
      {
        "object": "Wooden Sofa / Daybed",
        "description": "Ornate, dark wood with intricate carvings",
        "purpose": "Seating for subject",
        "ratio": "Dominates the middle ground",
        "color": "Dark Mahogany",
        "location": "Mid-ground, extending from left to center"
      },
      {
        "object": "Orchid Plant",
        "description": "Phalaenopsis orchids with purple and white blooms",
        "purpose": "Foreground framing element, adds depth and color",
        "ratio": "Large in foreground due to perspective",
        "color": "Bright Purple, White, Green stems",
        "location": "Foreground Right"
      },
      {
        "object": "Fruit Bowl",
        "description": "White bowl filled with citrus fruits (oranges/lemons)",
        "purpose": "Decor, adds color contrast",
        "ratio": "Small compared to subject",
        "color": "Bright Orange, Yellow",
        "location": "Foreground Right (lower corner)"
      },
      {
        "object": "Lamp",
        "description": "White geometric/honeycomb textured base with white shade",
        "purpose": "Background decor",
        "ratio": "Medium",
        "color": "White",
        "location": "Background Left"
      },
      {
        "object": "Book/Magazine",
        "description": "Coffee table book featuring a face on the cover",
        "purpose": "Foreground detail",
        "ratio": "Small slice visible",
        "location": "Extreme Foreground Bottom Center"
      }
    ],
    "negative_prompts": [
      "bad anatomy",
      "extra fingers",
      "missing limbs",
      "distorted face",
      "low resolution",
      "blurry subject",
      "overexposed",
      "underexposed",
      "watermark",
      "text overlay (except book title)",
      "cartoon",
      "illustration",
      "CGI",
      "unnatural skin tone"
    ]
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "meta": {
      "file_name": "image_ef3de2.jpg",
      "file_type": "uploaded file",
      "analyst_persona": "Technical Photo Analyst"
    },
    "scene_environment": {
      "location_type": "Indoor / Semi-outdoor transition (Sunroom or covered patio)",
      "atmosphere": "Tropical, luxurious, relaxed, warm",
      "background_texture": "Stone walls, natural light, wooden furniture"
    },
    "camera_technical": {
      "lens_type": "35mm - 50mm (Standard)",
      "angle": "Eye-level, slightly angled from the right",
      "focus": "Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)",
      "composition": "Rule of thirds, subject center-left, framed by flowers on the right"
    },
    "lighting": {
      "general_condition": "High-key, natural daylight dominant",
      "sources": [
        {
          "id": "light_source_1",
          "type": "Natural Sunlight",
          "direction": "From left (viewer's perspective)",
          "color_temp": "Neutral/Cool White (Daylight ~5500K)",
          "intensity": "High",
          "effect_on_objects": "Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right."
        },
        {
          "id": "light_source_2",
          "type": "Ambient Fill",
          "direction": "Omnidirectional",
          "color_temp": "Warm",
          "intensity": "Low/Medium",
          "effect_on_objects": "Softens shadows on the wooden furniture and the subject's left side."
        }
      ]
    },
    "subject": {
      "identity": "Adult Female (Celebrity likeness noted, treated anonymously as per instruction)",
      "orientation": "Facing forward, body angled slightly to the right",
      "gaze_direction": "Direct eye contact with the camera",
      "emotional_state": "Confident, relaxed, alluring",
      "sensuality_level": "Moderate to High (due to attire and pose, but elegant)",
      "pose": {
        "general_description": "Seated semi-reclined on a wooden sofa/daybed",
        "posture_effect_on_emotion": "The reclined posture emphasizes relaxation and confidence",
        "legs": "Crossed; Right leg bent over the left knee",
        "feet_position": "Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)",
        "hands_position": "Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee",
        "visible_body_extent": "Full body visible (head to toe)"
      },
      "head": {
        "hair": {
          "color": "Brunette with honey/caramel balayage highlights",
          "style": "Long, loose waves, center part",
          "texture": "Silky, voluminous",
          "interaction_with_head": "Frames the face symmetrically, falling over shoulders"
        },
        "ears": {
          "visibility": "Partially covered by hair",
          "shape": "Indiscernible due to hair"
        },
        "face": {
          "structure": "Oval to diamond shape, high cheekbones",
          "forehead": "Smooth, standard height, partially framed by hair",
          "brows": "Well-groomed, arched, dark brown",
          "eyes": "Almond shape, dark, lined with makeup",
          "nose": "Straight, defined bridge",
          "upper_lip": "Defined cupid's bow, mauve lipstick",
          "mouth_area": "Closed, slight smirk/smile",
          "chin": "Defined, slightly pointed",
          "mimic": "Subtle, confident smile, seductive gaze"
        }
      },
      "body_details": {
        "skin_tone": "Tanned / Olive",
        "neck": "Visible, smooth, accentuated by V-neckline",
        "shoulders": "Exposed, rounded, relaxed",
        "chest": {
          "ratio_to_body": "Proportionally large (Voluptuous)",
          "estimated_size": "Full bust",
          "bra_status": "No visible bra (likely built-in support in swimsuit)",
          "nipples_visible": "No",
          "shape_description": "Natural, lifted"
        },
        "stomach": {
          "ratio_to_body": "Slim, toned",
          "ratio_to_chest": "Significantly smaller (Hourglass figure)",
          "ratio_to_hips": "Significantly smaller"
        },
        "hips": {
          "ratio_to_body": "Wide, curvy",
          "ratio_to_chest": "Balanced with chest",
          "shape": "Curvaceous"
        },
        "legs": {
          "thighs": "Full, smooth skin texture, highlighted by light source",
          "knees": "Smooth, defined",
          "calves": "Toned",
          "feet": "Bare, arched, well-pedicured (pale polish)"
        }
      },
      "attire": {
        "upper_garment": {
          "type": "One-piece swimsuit / Monokini",
          "color": "Dark Brown / Espresso",
          "details": "Lace-up front with gold grommets, halter neck style",
          "light_interaction": "Absorbs light, creates contrast with skin"
        },
        "lower_garment": {
          "type": "Swimsuit bottom (connected)",
          "accessory": "Floral patterned shawl/sarong",
          "details": "Draped underneath and slightly over the legs, multicolored floral print",
          "light_interaction": "Soft folds create shadows"
        },
        "accessories": {
          "jewelry": [
            {
              "item": "Bracelet",
              "location": "Left wrist",
              "type": "Chunky gold chain link",
              "material": "Gold metal"
            },
            {
              "item": "Necklace",
              "location": "Neck",
              "type": "Thin delicate chain",
              "visibility": "Barely visible"
            }
          ],
          "footwear": "None (Barefoot)"
        }
      }
    },
    "objects_in_scene": [
      {
        "object": "Wooden Sofa / Daybed",
        "description": "Ornate, dark wood with intricate carvings",
        "purpose": "Seating for subject",
        "ratio": "Dominates the middle ground",
        "color": "Dark Mahogany",
        "location": "Mid-ground, extending from left to center"
      },
      {
        "object": "Orchid Plant",
        "description": "Phalaenopsis orchids with purple and white blooms",
        "purpose": "Foreground framing element, adds depth and color",
        "ratio": "Large in foreground due to perspective",
        "color": "Bright Purple, White, Green stems",
        "location": "Foreground Right"
      },
      {
        "object": "Fruit Bowl",
        "description": "White bowl filled with citrus fruits (oranges/lemons)",
        "purpose": "Decor, adds color contrast",
        "ratio": "Small compared to subject",
        "color": "Bright Orange, Yellow",
        "location": "Foreground Right (lower corner)"
      },
      {
        "object": "Lamp",
        "description": "White geometric/honeycomb textured base with white shade",
        "purpose": "Background decor",
        "ratio": "Medium",
        "color": "White",
        "location": "Background Left"
      },
      {
        "object": "Book/Magazine",
        "description": "Coffee table book featuring a face on the cover",
        "purpose": "Foreground detail",
        "ratio": "Small slice visible",
        "location": "Extreme Foreground Bottom Center"
      }
    ],
    "negative_prompts": [
      "bad anatomy",
      "extra fingers",
      "missing limbs",
      "distorted face",
      "low resolution",
      "blurry subject",
      "overexposed",
      "underexposed",
      "watermark",
      "text overlay (except book title)",
      "cartoon",
      "illustration",
      "CGI",
      "unnatural skin tone"
    ]
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "meta": {
      "file_name": "image_ef3de2.jpg",
      "file_type": "uploaded file",
      "analyst_persona": "Technical Photo Analyst"
    },
    "scene_environment": {
      "location_type": "Indoor / Semi-outdoor transition (Sunroom or covered patio)",
      "atmosphere": "Tropical, luxurious, relaxed, warm",
      "background_texture": "Stone walls, natural light, wooden furniture"
    },
    "camera_technical": {
      "lens_type": "35mm - 50mm (Standard)",
      "angle": "Eye-level, slightly angled from the right",
      "focus": "Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)",
      "composition": "Rule of thirds, subject center-left, framed by flowers on the right"
    },
    "lighting": {
      "general_condition": "High-key, natural daylight dominant",
      "sources": [
        {
          "id": "light_source_1",
          "type": "Natural Sunlight",
          "direction": "From left (viewer's perspective)",
          "color_temp": "Neutral/Cool White (Daylight ~5500K)",
          "intensity": "High",
          "effect_on_objects": "Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right."
        },
        {
          "id": "light_source_2",
          "type": "Ambient Fill",
          "direction": "Omnidirectional",
          "color_temp": "Warm",
          "intensity": "Low/Medium",
          "effect_on_objects": "Softens shadows on the wooden furniture and the subject's left side."
        }
      ]
    },
    "subject": {
      "identity": "Adult Female (Celebrity likeness noted, treated anonymously as per instruction)",
      "orientation": "Facing forward, body angled slightly to the right",
      "gaze_direction": "Direct eye contact with the camera",
      "emotional_state": "Confident, relaxed, alluring",
      "sensuality_level": "Moderate to High (due to attire and pose, but elegant)",
      "pose": {
        "general_description": "Seated semi-reclined on a wooden sofa/daybed",
        "posture_effect_on_emotion": "The reclined posture emphasizes relaxation and confidence",
        "legs": "Crossed; Right leg bent over the left knee",
        "feet_position": "Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)",
        "hands_position": "Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee",
        "visible_body_extent": "Full body visible (head to toe)"
      },
      "head": {
        "hair": {
          "color": "Brunette with honey/caramel balayage highlights",
          "style": "Long, loose waves, center part",
          "texture": "Silky, voluminous",
          "interaction_with_head": "Frames the face symmetrically, falling over shoulders"
        },
        "ears": {
          "visibility": "Partially covered by hair",
          "shape": "Indiscernible due to hair"
        },
        "face": {
          "structure": "Oval to diamond shape, high cheekbones",
          "forehead": "Smooth, standard height, partially framed by hair",
          "brows": "Well-groomed, arched, dark brown",
          "eyes": "Almond shape, dark, lined with makeup",
          "nose": "Straight, defined bridge",
          "upper_lip": "Defined cupid's bow, mauve lipstick",
          "mouth_area": "Closed, slight smirk/smile",
          "chin": "Defined, slightly pointed",
          "mimic": "Subtle, confident smile, seductive gaze"
        }
      },
      "body_details": {
        "skin_tone": "Tanned / Olive",
        "neck": "Visible, smooth, accentuated by V-neckline",
        "shoulders": "Exposed, rounded, relaxed",
        "chest": {
          "ratio_to_body": "Proportionally large (Voluptuous)",
          "estimated_size": "Full bust",
          "bra_status": "No visible bra (likely built-in support in swimsuit)",
          "nipples_visible": "No",
          "shape_description": "Natural, lifted"
        },
        "stomach": {
          "ratio_to_body": "Slim, toned",
          "ratio_to_chest": "Significantly smaller (Hourglass figure)",
          "ratio_to_hips": "Significantly smaller"
        },
        "hips": {
          "ratio_to_body": "Wide, curvy",
          "ratio_to_chest": "Balanced with chest",
          "shape": "Curvaceous"
        },
        "legs": {
          "thighs": "Full, smooth skin texture, highlighted by light source",
          "knees": "Smooth, defined",
          "calves": "Toned",
          "feet": "Bare, arched, well-pedicured (pale polish)"
        }
      },
      "attire": {
        "upper_garment": {
          "type": "One-piece swimsuit / Monokini",
          "color": "Dark Brown / Espresso",
          "details": "Lace-up front with gold grommets, halter neck style",
          "light_interaction": "Absorbs light, creates contrast with skin"
        },
        "lower_garment": {
          "type": "Swimsuit bottom (connected)",
          "accessory": "Floral patterned shawl/sarong",
          "details": "Draped underneath and slightly over the legs, multicolored floral print",
          "light_interaction": "Soft folds create shadows"
        },
        "accessories": {
          "jewelry": [
            {
              "item": "Bracelet",
              "location": "Left wrist",
              "type": "Chunky gold chain link",
              "material": "Gold metal"
            },
            {
              "item": "Necklace",
              "location": "Neck",
              "type": "Thin delicate chain",
              "visibility": "Barely visible"
            }
          ],
          "footwear": "None (Barefoot)"
        }
      }
    },
    "objects_in_scene": [
      {
        "object": "Wooden Sofa / Daybed",
        "description": "Ornate, dark wood with intricate carvings",
        "purpose": "Seating for subject",
        "ratio": "Dominates the middle ground",
        "color": "Dark Mahogany",
        "location": "Mid-ground, extending from left to center"
      },
      {
        "object": "Orchid Plant",
        "description": "Phalaenopsis orchids with purple and white blooms",
        "purpose": "Foreground framing element, adds depth and color",
        "ratio": "Large in foreground due to perspective",
        "color": "Bright Purple, White, Green stems",
        "location": "Foreground Right"
      },
      {
        "object": "Fruit Bowl",
        "description": "White bowl filled with citrus fruits (oranges/lemons)",
        "purpose": "Decor, adds color contrast",
        "ratio": "Small compared to subject",
        "color": "Bright Orange, Yellow",
        "location": "Foreground Right (lower corner)"
      },
      {
        "object": "Lamp",
        "description": "White geometric/honeycomb textured base with white shade",
        "purpose": "Background decor",
        "ratio": "Medium",
        "color": "White",
        "location": "Background Left"
      },
      {
        "object": "Book/Magazine",
        "description": "Coffee table book featuring a face on the cover",
        "purpose": "Foreground detail",
        "ratio": "Small slice visible",
        "location": "Extreme Foreground Bottom Center"
      }
    ],
    "negative_prompts": [
      "bad anatomy",
      "extra fingers",
      "missing limbs",
      "distorted face",
      "low resolution",
      "blurry subject",
      "overexposed",
      "underexposed",
      "watermark",
      "text overlay (except book title)",
      "cartoon",
      "illustration",
      "CGI",
      "unnatural skin tone"
    ]
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "meta": {
      "file_name": "image_ef3de2.jpg",
      "file_type": "uploaded file",
      "analyst_persona": "Technical Photo Analyst"
    },
    "scene_environment": {
      "location_type": "Indoor / Semi-outdoor transition (Sunroom or covered patio)",
      "atmosphere": "Tropical, luxurious, relaxed, warm",
      "background_texture": "Stone walls, natural light, wooden furniture"
    },
    "camera_technical": {
      "lens_type": "35mm - 50mm (Standard)",
      "angle": "Eye-level, slightly angled from the right",
      "focus": "Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)",
      "composition": "Rule of thirds, subject center-left, framed by flowers on the right"
    },
    "lighting": {
      "general_condition": "High-key, natural daylight dominant",
      "sources": [
        {
          "id": "light_source_1",
          "type": "Natural Sunlight",
          "direction": "From left (viewer's perspective)",
          "color_temp": "Neutral/Cool White (Daylight ~5500K)",
          "intensity": "High",
          "effect_on_objects": "Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right."
        },
        {
          "id": "light_source_2",
          "type": "Ambient Fill",
          "direction": "Omnidirectional",
          "color_temp": "Warm",
          "intensity": "Low/Medium",
          "effect_on_objects": "Softens shadows on the wooden furniture and the subject's left side."
        }
      ]
    },
    "subject": {
      "identity": "Adult Female (Celebrity likeness noted, treated anonymously as per instruction)",
      "orientation": "Facing forward, body angled slightly to the right",
      "gaze_direction": "Direct eye contact with the camera",
      "emotional_state": "Confident, relaxed, alluring",
      "sensuality_level": "Moderate to High (due to attire and pose, but elegant)",
      "pose": {
        "general_description": "Seated semi-reclined on a wooden sofa/daybed",
        "posture_effect_on_emotion": "The reclined posture emphasizes relaxation and confidence",
        "legs": "Crossed; Right leg bent over the left knee",
        "feet_position": "Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)",
        "hands_position": "Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee",
        "visible_body_extent": "Full body visible (head to toe)"
      },
      "head": {
        "hair": {
          "color": "Brunette with honey/caramel balayage highlights",
          "style": "Long, loose waves, center part",
          "texture": "Silky, voluminous",
          "interaction_with_head": "Frames the face symmetrically, falling over shoulders"
        },
        "ears": {
          "visibility": "Partially covered by hair",
          "shape": "Indiscernible due to hair"
        },
        "face": {
          "structure": "Oval to diamond shape, high cheekbones",
          "forehead": "Smooth, standard height, partially framed by hair",
          "brows": "Well-groomed, arched, dark brown",
          "eyes": "Almond shape, dark, lined with makeup",
          "nose": "Straight, defined bridge",
          "upper_lip": "Defined cupid's bow, mauve lipstick",
          "mouth_area": "Closed, slight smirk/smile",
          "chin": "Defined, slightly pointed",
          "mimic": "Subtle, confident smile, seductive gaze"
        }
      },
      "body_details": {
        "skin_tone": "Tanned / Olive",
        "neck": "Visible, smooth, accentuated by V-neckline",
        "shoulders": "Exposed, rounded, relaxed",
        "chest": {
          "ratio_to_body": "Proportionally large (Voluptuous)",
          "estimated_size": "Full bust",
          "bra_status": "No visible bra (likely built-in support in swimsuit)",
          "nipples_visible": "No",
          "shape_description": "Natural, lifted"
        },
        "stomach": {
          "ratio_to_body": "Slim, toned",
          "ratio_to_chest": "Significantly smaller (Hourglass figure)",
          "ratio_to_hips": "Significantly smaller"
        },
        "hips": {
          "ratio_to_body": "Wide, curvy",
          "ratio_to_chest": "Balanced with chest",
          "shape": "Curvaceous"
        },
        "legs": {
          "thighs": "Full, smooth skin texture, highlighted by light source",
          "knees": "Smooth, defined",
          "calves": "Toned",
          "feet": "Bare, arched, well-pedicured (pale polish)"
        }
      },
      "attire": {
        "upper_garment": {
          "type": "One-piece swimsuit / Monokini",
          "color": "Dark Brown / Espresso",
          "details": "Lace-up front with gold grommets, halter neck style",
          "light_interaction": "Absorbs light, creates contrast with skin"
        },
        "lower_garment": {
          "type": "Swimsuit bottom (connected)",
          "accessory": "Floral patterned shawl/sarong",
          "details": "Draped underneath and slightly over the legs, multicolored floral print",
          "light_interaction": "Soft folds create shadows"
        },
        "accessories": {
          "jewelry": [
            {
              "item": "Bracelet",
              "location": "Left wrist",
              "type": "Chunky gold chain link",
              "material": "Gold metal"
            },
            {
              "item": "Necklace",
              "location": "Neck",
              "type": "Thin delicate chain",
              "visibility": "Barely visible"
            }
          ],
          "footwear": "None (Barefoot)"
        }
      }
    },
    "objects_in_scene": [
      {
        "object": "Wooden Sofa / Daybed",
        "description": "Ornate, dark wood with intricate carvings",
        "purpose": "Seating for subject",
        "ratio": "Dominates the middle ground",
        "color": "Dark Mahogany",
        "location": "Mid-ground, extending from left to center"
      },
      {
        "object": "Orchid Plant",
        "description": "Phalaenopsis orchids with purple and white blooms",
        "purpose": "Foreground framing element, adds depth and color",
        "ratio": "Large in foreground due to perspective",
        "color": "Bright Purple, White, Green stems",
        "location": "Foreground Right"
      },
      {
        "object": "Fruit Bowl",
        "description": "White bowl filled with citrus fruits (oranges/lemons)",
        "purpose": "Decor, adds color contrast",
        "ratio": "Small compared to subject",
        "color": "Bright Orange, Yellow",
        "location": "Foreground Right (lower corner)"
      },
      {
        "object": "Lamp",
        "description": "White geometric/honeycomb textured base with white shade",
        "purpose": "Background decor",
        "ratio": "Medium",
        "color": "White",
        "location": "Background Left"
      },
      {
        "object": "Book/Magazine",
        "description": "Coffee table book featuring a face on the cover",
        "purpose": "Foreground detail",
        "ratio": "Small slice visible",
        "location": "Extreme Foreground Bottom Center"
      }
    ],
    "negative_prompts": [
      "bad anatomy",
      "extra fingers",
      "missing limbs",
      "distorted face",
      "low resolution",
      "blurry subject",
      "overexposed",
      "underexposed",
      "watermark",
      "text overlay (except book title)",
      "cartoon",
      "illustration",
      "CGI",
      "unnatural skin tone"
    ]
  }
}"

<!-- 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  \"image_analysis\": {\n    \"meta\": {\n      \"file_name\": \"image_ef3de2.jpg\",\n      \"file_type\": \"uploaded file\",\n      \"analyst_persona\": \"Technical Photo Analyst\"\n    },\n    \"scene_environment\": {\n      \"location_type\": \"Indoor / Semi-outdoor transition (Sunroom or covered patio)\",\n      \"atmosphere\": \"Tropical, luxurious, relaxed, warm\",\n      \"background_texture\": \"Stone walls, natural light, wooden furniture\"\n    },\n    \"camera_technical\": {\n      \"lens_type\": \"35mm - 50mm (Standard)\",\n      \"angle\": \"Eye-level, slightly angled from the right\",\n      \"focus\": \"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\",\n      \"composition\": \"Rule of thirds, subject center-left, framed by flowers on the right\"\n    },\n    \"lighting\": {\n      \"general_condition\": \"High-key, natural daylight dominant\",\n      \"sources\": [\n        {\n          \"id\": \"light_source_1\",\n          \"type\": \"Natural Sunlight\",\n          \"direction\": \"From left (viewer's perspective)\",\n          \"color_temp\": \"Neutral/Cool White (Daylight ~5500K)\",\n          \"intensity\": \"High\",\n          \"effect_on_objects\": \"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\"\n        },\n        {\n          \"id\": \"light_source_2\",\n          \"type\": \"Ambient Fill\",\n          \"direction\": \"Omnidirectional\",\n          \"color_temp\": \"Warm\",\n          \"intensity\": \"Low/Medium\",\n          \"effect_on_objects\": \"Softens shadows on the wooden furniture and the subject's left side.\"\n        }\n      ]\n    },\n    \"subject\": {\n      \"identity\": \"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\",\n      \"orientation\": \"Facing forward, body angled slightly to the right\",\n      \"gaze_direction\": \"Direct eye contact with the camera\",\n      \"emotional_state\": \"Confident, relaxed, alluring\",\n      \"sensuality_level\": \"Moderate to High (due to attire and pose, but elegant)\",\n      \"pose\": {\n        \"general_description\": \"Seated semi-reclined on a wooden sofa/daybed\",\n        \"posture_effect_on_emotion\": \"The reclined posture emphasizes relaxation and confidence\",\n        \"legs\": \"Crossed; Right leg bent over the left knee\",\n        \"feet_position\": \"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\",\n        \"hands_position\": \"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\",\n        \"visible_body_extent\": \"Full body visible (head to toe)\"\n      },\n      \"head\": {\n        \"hair\": {\n          \"color\": \"Brunette with honey/caramel balayage highlights\",\n          \"style\": \"Long, loose waves, center part\",\n          \"texture\": \"Silky, voluminous\",\n          \"interaction_with_head\": \"Frames the face symmetrically, falling over shoulders\"\n        },\n        \"ears\": {\n          \"visibility\": \"Partially covered by hair\",\n          \"shape\": \"Indiscernible due to hair\"\n        },\n        \"face\": {\n          \"structure\": \"Oval to diamond shape, high cheekbones\",\n          \"forehead\": \"Smooth, standard height, partially framed by hair\",\n          \"brows\": \"Well-groomed, arched, dark brown\",\n          \"eyes\": \"Almond shape, dark, lined with makeup\",\n          \"nose\": \"Straight, defined bridge\",\n          \"upper_lip\": \"Defined cupid's bow, mauve lipstick\",\n          \"mouth_area\": \"Closed, slight smirk/smile\",\n          \"chin\": \"Defined, slightly pointed\",\n          \"mimic\": \"Subtle, confident smile, seductive gaze\"\n        }\n      },\n      \"body_details\": {\n        \"skin_tone\": \"Tanned / Olive\",\n        \"neck\": \"Visible, smooth, accentuated by V-neckline\",\n        \"shoulders\": \"Exposed, rounded, relaxed\",\n        \"chest\": {\n          \"ratio_to_body\": \"Proportionally large (Voluptuous)\",\n          \"estimated_size\": \"Full bust\",\n          \"bra_status\": \"No visible bra (likely built-in support in swimsuit)\",\n          \"nipples_visible\": \"No\",\n          \"shape_description\": \"Natural, lifted\"\n        },\n        \"stomach\": {\n          \"ratio_to_body\": \"Slim, toned\",\n          \"ratio_to_chest\": \"Significantly smaller (Hourglass figure)\",\n          \"ratio_to_hips\": \"Significantly smaller\"\n        },\n        \"hips\": {\n          \"ratio_to_body\": \"Wide, curvy\",\n          \"ratio_to_chest\": \"Balanced with chest\",\n          \"shape\": \"Curvaceous\"\n        },\n        \"legs\": {\n          \"thighs\": \"Full, smooth skin texture, highlighted by light source\",\n          \"knees\": \"Smooth, defined\",\n          \"calves\": \"Toned\",\n          \"feet\": \"Bare, arched, well-pedicured (pale polish)\"\n        }\n      },\n      \"attire\": {\n        \"upper_garment\": {\n          \"type\": \"One-piece swimsuit / Monokini\",\n          \"color\": \"Dark Brown / Espresso\",\n          \"details\": \"Lace-up front with gold grommets, halter neck style\",\n          \"light_interaction\": \"Absorbs light, creates contrast with skin\"\n        },\n        \"lower_garment\": {\n          \"type\": \"Swimsuit bottom (connected)\",\n          \"accessory\": \"Floral patterned shawl/sarong\",\n          \"details\": \"Draped underneath and slightly over the legs, multicolored floral print\",\n          \"light_interaction\": \"Soft folds create shadows\"\n        },\n        \"accessories\": {\n          \"jewelry\": [\n            {\n              \"item\": \"Bracelet\",\n              \"location\": \"Left wrist\",\n              \"type\": \"Chunky gold chain link\",\n              \"material\": \"Gold metal\"\n            },\n            {\n              \"item\": \"Necklace\",\n              \"location\": \"Neck\",\n              \"type\": \"Thin delicate chain\",\n              \"visibility\": \"Barely visible\"\n            }\n          ],\n          \"footwear\": \"None (Barefoot)\"\n        }\n      }\n    },\n    \"objects_in_scene\": [\n      {\n        \"object\": \"Wooden Sofa / Daybed\",\n        \"description\": \"Ornate, dark wood with intricate carvings\",\n        \"purpose\": \"Seating for subject\",\n        \"ratio\": \"Dominates the middle ground\",\n        \"color\": \"Dark Mahogany\",\n        \"location\": \"Mid-ground, extending from left to center\"\n      },\n      {\n        \"object\": \"Orchid Plant\",\n        \"description\": \"Phalaenopsis orchids with purple and white blooms\",\n        \"purpose\": \"Foreground framing element, adds depth and color\",\n        \"ratio\": \"Large in foreground due to perspective\",\n        \"color\": \"Bright Purple, White, Green stems\",\n        \"location\": \"Foreground Right\"\n      },\n      {\n        \"object\": \"Fruit Bowl\",\n        \"description\": \"White bowl filled with citrus fruits (oranges/lemons)\",\n        \"purpose\": \"Decor, adds color contrast\",\n        \"ratio\": \"Small compared to subject\",\n        \"color\": \"Bright Orange, Yellow\",\n        \"location\": \"Foreground Right (lower corner)\"\n      },\n      {\n        \"object\": \"Lamp\",\n        \"description\": \"White geometric/honeycomb textured base with white shade\",\n        \"purpose\": \"Background decor\",\n        \"ratio\": \"Medium\",\n        \"color\": \"White\",\n        \"location\": \"Background Left\"\n      },\n      {\n        \"object\": \"Book/Magazine\",\n        \"description\": \"Coffee table book featuring a face on the cover\",\n        \"purpose\": \"Foreground detail\",\n        \"ratio\": \"Small slice visible\",\n        \"location\": \"Extreme Foreground Bottom Center\"\n      }\n    ],\n    \"negative_prompts\": [\n      \"bad anatomy\",\n      \"extra fingers\",\n      \"missing limbs\",\n      \"distorted face\",\n      \"low resolution\",\n      \"blurry subject\",\n      \"overexposed\",\n      \"underexposed\",\n      \"watermark\",\n      \"text overlay (except book title)\",\n      \"cartoon\",\n      \"illustration\",\n      \"CGI\",\n      \"unnatural skin tone\"\n    ]\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  \"image_analysis\": {\n    \"meta\": {\n      \"file_name\": \"image_ef3de2.jpg\",\n      \"file_type\": \"uploaded file\",\n      \"analyst_persona\": \"Technical Photo Analyst\"\n    },\n    \"scene_environment\": {\n      \"location_type\": \"Indoor / Semi-outdoor transition (Sunroom or covered patio)\",\n      \"atmosphere\": \"Tropical, luxurious, relaxed, warm\",\n      \"background_texture\": \"Stone walls, natural light, wooden furniture\"\n    },\n    \"camera_technical\": {\n      \"lens_type\": \"35mm - 50mm (Standard)\",\n      \"angle\": \"Eye-level, slightly angled from the right\",\n      \"focus\": \"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\",\n      \"composition\": \"Rule of thirds, subject center-left, framed by flowers on the right\"\n    },\n    \"lighting\": {\n      \"general_condition\": \"High-key, natural daylight dominant\",\n      \"sources\": [\n        {\n          \"id\": \"light_source_1\",\n          \"type\": \"Natural Sunlight\",\n          \"direction\": \"From left (viewer's perspective)\",\n          \"color_temp\": \"Neutral/Cool White (Daylight ~5500K)\",\n          \"intensity\": \"High\",\n          \"effect_on_objects\": \"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\"\n        },\n        {\n          \"id\": \"light_source_2\",\n          \"type\": \"Ambient Fill\",\n          \"direction\": \"Omnidirectional\",\n          \"color_temp\": \"Warm\",\n          \"intensity\": \"Low/Medium\",\n          \"effect_on_objects\": \"Softens shadows on the wooden furniture and the subject's left side.\"\n        }\n      ]\n    },\n    \"subject\": {\n      \"identity\": \"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\",\n      \"orientation\": \"Facing forward, body angled slightly to the right\",\n      \"gaze_direction\": \"Direct eye contact with the camera\",\n      \"emotional_state\": \"Confident, relaxed, alluring\",\n      \"sensuality_level\": \"Moderate to High (due to attire and pose, but elegant)\",\n      \"pose\": {\n        \"general_description\": \"Seated semi-reclined on a wooden sofa/daybed\",\n        \"posture_effect_on_emotion\": \"The reclined posture emphasizes relaxation and confidence\",\n        \"legs\": \"Crossed; Right leg bent over the left knee\",\n        \"feet_position\": \"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\",\n        \"hands_position\": \"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\",\n        \"visible_body_extent\": \"Full body visible (head to toe)\"\n      },\n      \"head\": {\n        \"hair\": {\n          \"color\": \"Brunette with honey/caramel balayage highlights\",\n          \"style\": \"Long, loose waves, center part\",\n          \"texture\": \"Silky, voluminous\",\n          \"interaction_with_head\": \"Frames the face symmetrically, falling over shoulders\"\n        },\n        \"ears\": {\n          \"visibility\": \"Partially covered by hair\",\n          \"shape\": \"Indiscernible due to hair\"\n        },\n        \"face\": {\n          \"structure\": \"Oval to diamond shape, high cheekbones\",\n          \"forehead\": \"Smooth, standard height, partially framed by hair\",\n          \"brows\": \"Well-groomed, arched, dark brown\",\n          \"eyes\": \"Almond shape, dark, lined with makeup\",\n          \"nose\": \"Straight, defined bridge\",\n          \"upper_lip\": \"Defined cupid's bow, mauve lipstick\",\n          \"mouth_area\": \"Closed, slight smirk/smile\",\n          \"chin\": \"Defined, slightly pointed\",\n          \"mimic\": \"Subtle, confident smile, seductive gaze\"\n        }\n      },\n      \"body_details\": {\n        \"skin_tone\": \"Tanned / Olive\",\n        \"neck\": \"Visible, smooth, accentuated by V-neckline\",\n        \"shoulders\": \"Exposed, rounded, relaxed\",\n        \"chest\": {\n          \"ratio_to_body\": \"Proportionally large (Voluptuous)\",\n          \"estimated_size\": \"Full bust\",\n          \"bra_status\": \"No visible bra (likely built-in support in swimsuit)\",\n          \"nipples_visible\": \"No\",\n          \"shape_description\": \"Natural, lifted\"\n        },\n        \"stomach\": {\n          \"ratio_to_body\": \"Slim, toned\",\n          \"ratio_to_chest\": \"Significantly smaller (Hourglass figure)\",\n          \"ratio_to_hips\": \"Significantly smaller\"\n        },\n        \"hips\": {\n          \"ratio_to_body\": \"Wide, curvy\",\n          \"ratio_to_chest\": \"Balanced with chest\",\n          \"shape\": \"Curvaceous\"\n        },\n        \"legs\": {\n          \"thighs\": \"Full, smooth skin texture, highlighted by light source\",\n          \"knees\": \"Smooth, defined\",\n          \"calves\": \"Toned\",\n          \"feet\": \"Bare, arched, well-pedicured (pale polish)\"\n        }\n      },\n      \"attire\": {\n        \"upper_garment\": {\n          \"type\": \"One-piece swimsuit / Monokini\",\n          \"color\": \"Dark Brown / Espresso\",\n          \"details\": \"Lace-up front with gold grommets, halter neck style\",\n          \"light_interaction\": \"Absorbs light, creates contrast with skin\"\n        },\n        \"lower_garment\": {\n          \"type\": \"Swimsuit bottom (connected)\",\n          \"accessory\": \"Floral patterned shawl/sarong\",\n          \"details\": \"Draped underneath and slightly over the legs, multicolored floral print\",\n          \"light_interaction\": \"Soft folds create shadows\"\n        },\n        \"accessories\": {\n          \"jewelry\": [\n            {\n              \"item\": \"Bracelet\",\n              \"location\": \"Left wrist\",\n              \"type\": \"Chunky gold chain link\",\n              \"material\": \"Gold metal\"\n            },\n            {\n              \"item\": \"Necklace\",\n              \"location\": \"Neck\",\n              \"type\": \"Thin delicate chain\",\n              \"visibility\": \"Barely visible\"\n            }\n          ],\n          \"footwear\": \"None (Barefoot)\"\n        }\n      }\n    },\n    \"objects_in_scene\": [\n      {\n        \"object\": \"Wooden Sofa / Daybed\",\n        \"description\": \"Ornate, dark wood with intricate carvings\",\n        \"purpose\": \"Seating for subject\",\n        \"ratio\": \"Dominates the middle ground\",\n        \"color\": \"Dark Mahogany\",\n        \"location\": \"Mid-ground, extending from left to center\"\n      },\n      {\n        \"object\": \"Orchid Plant\",\n        \"description\": \"Phalaenopsis orchids with purple and white blooms\",\n        \"purpose\": \"Foreground framing element, adds depth and color\",\n        \"ratio\": \"Large in foreground due to perspective\",\n        \"color\": \"Bright Purple, White, Green stems\",\n        \"location\": \"Foreground Right\"\n      },\n      {\n        \"object\": \"Fruit Bowl\",\n        \"description\": \"White bowl filled with citrus fruits (oranges/lemons)\",\n        \"purpose\": \"Decor, adds color contrast\",\n        \"ratio\": \"Small compared to subject\",\n        \"color\": \"Bright Orange, Yellow\",\n        \"location\": \"Foreground Right (lower corner)\"\n      },\n      {\n        \"object\": \"Lamp\",\n        \"description\": \"White geometric/honeycomb textured base with white shade\",\n        \"purpose\": \"Background decor\",\n        \"ratio\": \"Medium\",\n        \"color\": \"White\",\n        \"location\": \"Background Left\"\n      },\n      {\n        \"object\": \"Book/Magazine\",\n        \"description\": \"Coffee table book featuring a face on the cover\",\n        \"purpose\": \"Foreground detail\",\n        \"ratio\": \"Small slice visible\",\n        \"location\": \"Extreme Foreground Bottom Center\"\n      }\n    ],\n    \"negative_prompts\": [\n      \"bad anatomy\",\n      \"extra fingers\",\n      \"missing limbs\",\n      \"distorted face\",\n      \"low resolution\",\n      \"blurry subject\",\n      \"overexposed\",\n      \"underexposed\",\n      \"watermark\",\n      \"text overlay (except book title)\",\n      \"cartoon\",\n      \"illustration\",\n      \"CGI\",\n      \"unnatural skin tone\"\n    ]\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  \\\"image_analysis\\\": {\\n    \\\"meta\\\": {\\n      \\\"file_name\\\": \\\"image_ef3de2.jpg\\\",\\n      \\\"file_type\\\": \\\"uploaded file\\\",\\n      \\\"analyst_persona\\\": \\\"Technical Photo Analyst\\\"\\n    },\\n    \\\"scene_environment\\\": {\\n      \\\"location_type\\\": \\\"Indoor / Semi-outdoor transition (Sunroom or covered patio)\\\",\\n      \\\"atmosphere\\\": \\\"Tropical, luxurious, relaxed, warm\\\",\\n      \\\"background_texture\\\": \\\"Stone walls, natural light, wooden furniture\\\"\\n    },\\n    \\\"camera_technical\\\": {\\n      \\\"lens_type\\\": \\\"35mm - 50mm (Standard)\\\",\\n      \\\"angle\\\": \\\"Eye-level, slightly angled from the right\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\\\",\\n      \\\"composition\\\": \\\"Rule of thirds, subject center-left, framed by flowers on the right\\\"\\n    },\\n    \\\"lighting\\\": {\\n      \\\"general_condition\\\": \\\"High-key, natural daylight dominant\\\",\\n      \\\"sources\\\": [\\n        {\\n          \\\"id\\\": \\\"light_source_1\\\",\\n          \\\"type\\\": \\\"Natural Sunlight\\\",\\n          \\\"direction\\\": \\\"From left (viewer's perspective)\\\",\\n          \\\"color_temp\\\": \\\"Neutral/Cool White (Daylight ~5500K)\\\",\\n          \\\"intensity\\\": \\\"High\\\",\\n          \\\"effect_on_objects\\\": \\\"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\\\"\\n        },\\n        {\\n          \\\"id\\\": \\\"light_source_2\\\",\\n          \\\"type\\\": \\\"Ambient Fill\\\",\\n          \\\"direction\\\": \\\"Omnidirectional\\\",\\n          \\\"color_temp\\\": \\\"Warm\\\",\\n          \\\"intensity\\\": \\\"Low/Medium\\\",\\n          \\\"effect_on_objects\\\": \\\"Softens shadows on the wooden furniture and the subject's left side.\\\"\\n        }\\n      ]\\n    },\\n    \\\"subject\\\": {\\n      \\\"identity\\\": \\\"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\\\",\\n      \\\"orientation\\\": \\\"Facing forward, body angled slightly to the right\\\",\\n      \\\"gaze_direction\\\": \\\"Direct eye contact with the camera\\\",\\n      \\\"emotional_state\\\": \\\"Confident, relaxed, alluring\\\",\\n      \\\"sensuality_level\\\": \\\"Moderate to High (due to attire and pose, but elegant)\\\",\\n      \\\"pose\\\": {\\n        \\\"general_description\\\": \\\"Seated semi-reclined on a wooden sofa/daybed\\\",\\n        \\\"posture_effect_on_emotion\\\": \\\"The reclined posture emphasizes relaxation and confidence\\\",\\n        \\\"legs\\\": \\\"Crossed; Right leg bent over the left knee\\\",\\n        \\\"feet_position\\\": \\\"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\\\",\\n        \\\"hands_position\\\": \\\"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\\\",\\n        \\\"visible_body_extent\\\": \\\"Full body visible (head to toe)\\\"\\n      },\\n      \\\"head\\\": {\\n        \\\"hair\\\": {\\n          \\\"color\\\": \\\"Brunette with honey/caramel balayage highlights\\\",\\n          \\\"style\\\": \\\"Long, loose waves, center part\\\",\\n          \\\"texture\\\": \\\"Silky, voluminous\\\",\\n          \\\"interaction_with_head\\\": \\\"Frames the face symmetrically, falling over shoulders\\\"\\n        },\\n        \\\"ears\\\": {\\n          \\\"visibility\\\": \\\"Partially covered by hair\\\",\\n          \\\"shape\\\": \\\"Indiscernible due to hair\\\"\\n        },\\n        \\\"face\\\": {\\n          \\\"structure\\\": \\\"Oval to diamond shape, high cheekbones\\\",\\n          \\\"forehead\\\": \\\"Smooth, standard height, partially framed by hair\\\",\\n          \\\"brows\\\": \\\"Well-groomed, arched, dark brown\\\",\\n          \\\"eyes\\\": \\\"Almond shape, dark, lined with makeup\\\",\\n          \\\"nose\\\": \\\"Straight, defined bridge\\\",\\n          \\\"upper_lip\\\": \\\"Defined cupid's bow, mauve lipstick\\\",\\n          \\\"mouth_area\\\": \\\"Closed, slight smirk/smile\\\",\\n          \\\"chin\\\": \\\"Defined, slightly pointed\\\",\\n          \\\"mimic\\\": \\\"Subtle, confident smile, seductive gaze\\\"\\n        }\\n      },\\n      \\\"body_details\\\": {\\n        \\\"skin_tone\\\": \\\"Tanned / Olive\\\",\\n        \\\"neck\\\": \\\"Visible, smooth, accentuated by V-neckline\\\",\\n        \\\"shoulders\\\": \\\"Exposed, rounded, relaxed\\\",\\n        \\\"chest\\\": {\\n          \\\"ratio_to_body\\\": \\\"Proportionally large (Voluptuous)\\\",\\n          \\\"estimated_size\\\": \\\"Full bust\\\",\\n          \\\"bra_status\\\": \\\"No visible bra (likely built-in support in swimsuit)\\\",\\n          \\\"nipples_visible\\\": \\\"No\\\",\\n          \\\"shape_description\\\": \\\"Natural, lifted\\\"\\n        },\\n        \\\"stomach\\\": {\\n          \\\"ratio_to_body\\\": \\\"Slim, toned\\\",\\n          \\\"ratio_to_chest\\\": \\\"Significantly smaller (Hourglass figure)\\\",\\n          \\\"ratio_to_hips\\\": \\\"Significantly smaller\\\"\\n        },\\n        \\\"hips\\\": {\\n          \\\"ratio_to_body\\\": \\\"Wide, curvy\\\",\\n          \\\"ratio_to_chest\\\": \\\"Balanced with chest\\\",\\n          \\\"shape\\\": \\\"Curvaceous\\\"\\n        },\\n        \\\"legs\\\": {\\n          \\\"thighs\\\": \\\"Full, smooth skin texture, highlighted by light source\\\",\\n          \\\"knees\\\": \\\"Smooth, defined\\\",\\n          \\\"calves\\\": \\\"Toned\\\",\\n          \\\"feet\\\": \\\"Bare, arched, well-pedicured (pale polish)\\\"\\n        }\\n      },\\n      \\\"attire\\\": {\\n        \\\"upper_garment\\\": {\\n          \\\"type\\\": \\\"One-piece swimsuit / Monokini\\\",\\n          \\\"color\\\": \\\"Dark Brown / Espresso\\\",\\n          \\\"details\\\": \\\"Lace-up front with gold grommets, halter neck style\\\",\\n          \\\"light_interaction\\\": \\\"Absorbs light, creates contrast with skin\\\"\\n        },\\n        \\\"lower_garment\\\": {\\n          \\\"type\\\": \\\"Swimsuit bottom (connected)\\\",\\n          \\\"accessory\\\": \\\"Floral patterned shawl/sarong\\\",\\n          \\\"details\\\": \\\"Draped underneath and slightly over the legs, multicolored floral print\\\",\\n          \\\"light_interaction\\\": \\\"Soft folds create shadows\\\"\\n        },\\n        \\\"accessories\\\": {\\n          \\\"jewelry\\\": [\\n            {\\n              \\\"item\\\": \\\"Bracelet\\\",\\n              \\\"location\\\": \\\"Left wrist\\\",\\n              \\\"type\\\": \\\"Chunky gold chain link\\\",\\n              \\\"material\\\": \\\"Gold metal\\\"\\n            },\\n            {\\n              \\\"item\\\": \\\"Necklace\\\",\\n              \\\"location\\\": \\\"Neck\\\",\\n              \\\"type\\\": \\\"Thin delicate chain\\\",\\n              \\\"visibility\\\": \\\"Barely visible\\\"\\n            }\\n          ],\\n          \\\"footwear\\\": \\\"None (Barefoot)\\\"\\n        }\\n      }\\n    },\\n    \\\"objects_in_scene\\\": [\\n      {\\n        \\\"object\\\": \\\"Wooden Sofa / Daybed\\\",\\n        \\\"description\\\": \\\"Ornate, dark wood with intricate carvings\\\",\\n        \\\"purpose\\\": \\\"Seating for subject\\\",\\n        \\\"ratio\\\": \\\"Dominates the middle ground\\\",\\n        \\\"color\\\": \\\"Dark Mahogany\\\",\\n        \\\"location\\\": \\\"Mid-ground, extending from left to center\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Orchid Plant\\\",\\n        \\\"description\\\": \\\"Phalaenopsis orchids with purple and white blooms\\\",\\n        \\\"purpose\\\": \\\"Foreground framing element, adds depth and color\\\",\\n        \\\"ratio\\\": \\\"Large in foreground due to perspective\\\",\\n        \\\"color\\\": \\\"Bright Purple, White, Green stems\\\",\\n        \\\"location\\\": \\\"Foreground Right\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Fruit Bowl\\\",\\n        \\\"description\\\": \\\"White bowl filled with citrus fruits (oranges/lemons)\\\",\\n        \\\"purpose\\\": \\\"Decor, adds color contrast\\\",\\n        \\\"ratio\\\": \\\"Small compared to subject\\\",\\n        \\\"color\\\": \\\"Bright Orange, Yellow\\\",\\n        \\\"location\\\": \\\"Foreground Right (lower corner)\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Lamp\\\",\\n        \\\"description\\\": \\\"White geometric/honeycomb textured base with white shade\\\",\\n        \\\"purpose\\\": \\\"Background decor\\\",\\n        \\\"ratio\\\": \\\"Medium\\\",\\n        \\\"color\\\": \\\"White\\\",\\n        \\\"location\\\": \\\"Background Left\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Book/Magazine\\\",\\n        \\\"description\\\": \\\"Coffee table book featuring a face on the cover\\\",\\n        \\\"purpose\\\": \\\"Foreground detail\\\",\\n        \\\"ratio\\\": \\\"Small slice visible\\\",\\n        \\\"location\\\": \\\"Extreme Foreground Bottom Center\\\"\\n      }\\n    ],\\n    \\\"negative_prompts\\\": [\\n      \\\"bad anatomy\\\",\\n      \\\"extra fingers\\\",\\n      \\\"missing limbs\\\",\\n      \\\"distorted face\\\",\\n      \\\"low resolution\\\",\\n      \\\"blurry subject\\\",\\n      \\\"overexposed\\\",\\n      \\\"underexposed\\\",\\n      \\\"watermark\\\",\\n      \\\"text overlay (except book title)\\\",\\n      \\\"cartoon\\\",\\n      \\\"illustration\\\",\\n      \\\"CGI\\\",\\n      \\\"unnatural skin tone\\\"\\n    ]\\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  \\\"image_analysis\\\": {\\n    \\\"meta\\\": {\\n      \\\"file_name\\\": \\\"image_ef3de2.jpg\\\",\\n      \\\"file_type\\\": \\\"uploaded file\\\",\\n      \\\"analyst_persona\\\": \\\"Technical Photo Analyst\\\"\\n    },\\n    \\\"scene_environment\\\": {\\n      \\\"location_type\\\": \\\"Indoor / Semi-outdoor transition (Sunroom or covered patio)\\\",\\n      \\\"atmosphere\\\": \\\"Tropical, luxurious, relaxed, warm\\\",\\n      \\\"background_texture\\\": \\\"Stone walls, natural light, wooden furniture\\\"\\n    },\\n    \\\"camera_technical\\\": {\\n      \\\"lens_type\\\": \\\"35mm - 50mm (Standard)\\\",\\n      \\\"angle\\\": \\\"Eye-level, slightly angled from the right\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\\\",\\n      \\\"composition\\\": \\\"Rule of thirds, subject center-left, framed by flowers on the right\\\"\\n    },\\n    \\\"lighting\\\": {\\n      \\\"general_condition\\\": \\\"High-key, natural daylight dominant\\\",\\n      \\\"sources\\\": [\\n        {\\n          \\\"id\\\": \\\"light_source_1\\\",\\n          \\\"type\\\": \\\"Natural Sunlight\\\",\\n          \\\"direction\\\": \\\"From left (viewer's perspective)\\\",\\n          \\\"color_temp\\\": \\\"Neutral/Cool White (Daylight ~5500K)\\\",\\n          \\\"intensity\\\": \\\"High\\\",\\n          \\\"effect_on_objects\\\": \\\"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\\\"\\n        },\\n        {\\n          \\\"id\\\": \\\"light_source_2\\\",\\n          \\\"type\\\": \\\"Ambient Fill\\\",\\n          \\\"direction\\\": \\\"Omnidirectional\\\",\\n          \\\"color_temp\\\": \\\"Warm\\\",\\n          \\\"intensity\\\": \\\"Low/Medium\\\",\\n          \\\"effect_on_objects\\\": \\\"Softens shadows on the wooden furniture and the subject's left side.\\\"\\n        }\\n      ]\\n    },\\n    \\\"subject\\\": {\\n      \\\"identity\\\": \\\"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\\\",\\n      \\\"orientation\\\": \\\"Facing forward, body angled slightly to the right\\\",\\n      \\\"gaze_direction\\\": \\\"Direct eye contact with the camera\\\",\\n      \\\"emotional_state\\\": \\\"Confident, relaxed, alluring\\\",\\n      \\\"sensuality_level\\\": \\\"Moderate to High (due to attire and pose, but elegant)\\\",\\n      \\\"pose\\\": {\\n        \\\"general_description\\\": \\\"Seated semi-reclined on a wooden sofa/daybed\\\",\\n        \\\"posture_effect_on_emotion\\\": \\\"The reclined posture emphasizes relaxation and confidence\\\",\\n        \\\"legs\\\": \\\"Crossed; Right leg bent over the left knee\\\",\\n        \\\"feet_position\\\": \\\"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\\\",\\n        \\\"hands_position\\\": \\\"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\\\",\\n        \\\"visible_body_extent\\\": \\\"Full body visible (head to toe)\\\"\\n      },\\n      \\\"head\\\": {\\n        \\\"hair\\\": {\\n          \\\"color\\\": \\\"Brunette with honey/caramel balayage highlights\\\",\\n          \\\"style\\\": \\\"Long, loose waves, center part\\\",\\n          \\\"texture\\\": \\\"Silky, voluminous\\\",\\n          \\\"interaction_with_head\\\": \\\"Frames the face symmetrically, falling over shoulders\\\"\\n        },\\n        \\\"ears\\\": {\\n          \\\"visibility\\\": \\\"Partially covered by hair\\\",\\n          \\\"shape\\\": \\\"Indiscernible due to hair\\\"\\n        },\\n        \\\"face\\\": {\\n          \\\"structure\\\": \\\"Oval to diamond shape, high cheekbones\\\",\\n          \\\"forehead\\\": \\\"Smooth, standard height, partially framed by hair\\\",\\n          \\\"brows\\\": \\\"Well-groomed, arched, dark brown\\\",\\n          \\\"eyes\\\": \\\"Almond shape, dark, lined with makeup\\\",\\n          \\\"nose\\\": \\\"Straight, defined bridge\\\",\\n          \\\"upper_lip\\\": \\\"Defined cupid's bow, mauve lipstick\\\",\\n          \\\"mouth_area\\\": \\\"Closed, slight smirk/smile\\\",\\n          \\\"chin\\\": \\\"Defined, slightly pointed\\\",\\n          \\\"mimic\\\": \\\"Subtle, confident smile, seductive gaze\\\"\\n        }\\n      },\\n      \\\"body_details\\\": {\\n        \\\"skin_tone\\\": \\\"Tanned / Olive\\\",\\n        \\\"neck\\\": \\\"Visible, smooth, accentuated by V-neckline\\\",\\n        \\\"shoulders\\\": \\\"Exposed, rounded, relaxed\\\",\\n        \\\"chest\\\": {\\n          \\\"ratio_to_body\\\": \\\"Proportionally large (Voluptuous)\\\",\\n          \\\"estimated_size\\\": \\\"Full bust\\\",\\n          \\\"bra_status\\\": \\\"No visible bra (likely built-in support in swimsuit)\\\",\\n          \\\"nipples_visible\\\": \\\"No\\\",\\n          \\\"shape_description\\\": \\\"Natural, lifted\\\"\\n        },\\n        \\\"stomach\\\": {\\n          \\\"ratio_to_body\\\": \\\"Slim, toned\\\",\\n          \\\"ratio_to_chest\\\": \\\"Significantly smaller (Hourglass figure)\\\",\\n          \\\"ratio_to_hips\\\": \\\"Significantly smaller\\\"\\n        },\\n        \\\"hips\\\": {\\n          \\\"ratio_to_body\\\": \\\"Wide, curvy\\\",\\n          \\\"ratio_to_chest\\\": \\\"Balanced with chest\\\",\\n          \\\"shape\\\": \\\"Curvaceous\\\"\\n        },\\n        \\\"legs\\\": {\\n          \\\"thighs\\\": \\\"Full, smooth skin texture, highlighted by light source\\\",\\n          \\\"knees\\\": \\\"Smooth, defined\\\",\\n          \\\"calves\\\": \\\"Toned\\\",\\n          \\\"feet\\\": \\\"Bare, arched, well-pedicured (pale polish)\\\"\\n        }\\n      },\\n      \\\"attire\\\": {\\n        \\\"upper_garment\\\": {\\n          \\\"type\\\": \\\"One-piece swimsuit / Monokini\\\",\\n          \\\"color\\\": \\\"Dark Brown / Espresso\\\",\\n          \\\"details\\\": \\\"Lace-up front with gold grommets, halter neck style\\\",\\n          \\\"light_interaction\\\": \\\"Absorbs light, creates contrast with skin\\\"\\n        },\\n        \\\"lower_garment\\\": {\\n          \\\"type\\\": \\\"Swimsuit bottom (connected)\\\",\\n          \\\"accessory\\\": \\\"Floral patterned shawl/sarong\\\",\\n          \\\"details\\\": \\\"Draped underneath and slightly over the legs, multicolored floral print\\\",\\n          \\\"light_interaction\\\": \\\"Soft folds create shadows\\\"\\n        },\\n        \\\"accessories\\\": {\\n          \\\"jewelry\\\": [\\n            {\\n              \\\"item\\\": \\\"Bracelet\\\",\\n              \\\"location\\\": \\\"Left wrist\\\",\\n              \\\"type\\\": \\\"Chunky gold chain link\\\",\\n              \\\"material\\\": \\\"Gold metal\\\"\\n            },\\n            {\\n              \\\"item\\\": \\\"Necklace\\\",\\n              \\\"location\\\": \\\"Neck\\\",\\n              \\\"type\\\": \\\"Thin delicate chain\\\",\\n              \\\"visibility\\\": \\\"Barely visible\\\"\\n            }\\n          ],\\n          \\\"footwear\\\": \\\"None (Barefoot)\\\"\\n        }\\n      }\\n    },\\n    \\\"objects_in_scene\\\": [\\n      {\\n        \\\"object\\\": \\\"Wooden Sofa / Daybed\\\",\\n        \\\"description\\\": \\\"Ornate, dark wood with intricate carvings\\\",\\n        \\\"purpose\\\": \\\"Seating for subject\\\",\\n        \\\"ratio\\\": \\\"Dominates the middle ground\\\",\\n        \\\"color\\\": \\\"Dark Mahogany\\\",\\n        \\\"location\\\": \\\"Mid-ground, extending from left to center\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Orchid Plant\\\",\\n        \\\"description\\\": \\\"Phalaenopsis orchids with purple and white blooms\\\",\\n        \\\"purpose\\\": \\\"Foreground framing element, adds depth and color\\\",\\n        \\\"ratio\\\": \\\"Large in foreground due to perspective\\\",\\n        \\\"color\\\": \\\"Bright Purple, White, Green stems\\\",\\n        \\\"location\\\": \\\"Foreground Right\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Fruit Bowl\\\",\\n        \\\"description\\\": \\\"White bowl filled with citrus fruits (oranges/lemons)\\\",\\n        \\\"purpose\\\": \\\"Decor, adds color contrast\\\",\\n        \\\"ratio\\\": \\\"Small compared to subject\\\",\\n        \\\"color\\\": \\\"Bright Orange, Yellow\\\",\\n        \\\"location\\\": \\\"Foreground Right (lower corner)\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Lamp\\\",\\n        \\\"description\\\": \\\"White geometric/honeycomb textured base with white shade\\\",\\n        \\\"purpose\\\": \\\"Background decor\\\",\\n        \\\"ratio\\\": \\\"Medium\\\",\\n        \\\"color\\\": \\\"White\\\",\\n        \\\"location\\\": \\\"Background Left\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Book/Magazine\\\",\\n        \\\"description\\\": \\\"Coffee table book featuring a face on the cover\\\",\\n        \\\"purpose\\\": \\\"Foreground detail\\\",\\n        \\\"ratio\\\": \\\"Small slice visible\\\",\\n        \\\"location\\\": \\\"Extreme Foreground Bottom Center\\\"\\n      }\\n    ],\\n    \\\"negative_prompts\\\": [\\n      \\\"bad anatomy\\\",\\n      \\\"extra fingers\\\",\\n      \\\"missing limbs\\\",\\n      \\\"distorted face\\\",\\n      \\\"low resolution\\\",\\n      \\\"blurry subject\\\",\\n      \\\"overexposed\\\",\\n      \\\"underexposed\\\",\\n      \\\"watermark\\\",\\n      \\\"text overlay (except book title)\\\",\\n      \\\"cartoon\\\",\\n      \\\"illustration\\\",\\n      \\\"CGI\\\",\\n      \\\"unnatural skin tone\\\"\\n    ]\\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  \\\"image_analysis\\\": {\\n    \\\"meta\\\": {\\n      \\\"file_name\\\": \\\"image_ef3de2.jpg\\\",\\n      \\\"file_type\\\": \\\"uploaded file\\\",\\n      \\\"analyst_persona\\\": \\\"Technical Photo Analyst\\\"\\n    },\\n    \\\"scene_environment\\\": {\\n      \\\"location_type\\\": \\\"Indoor / Semi-outdoor transition (Sunroom or covered patio)\\\",\\n      \\\"atmosphere\\\": \\\"Tropical, luxurious, relaxed, warm\\\",\\n      \\\"background_texture\\\": \\\"Stone walls, natural light, wooden furniture\\\"\\n    },\\n    \\\"camera_technical\\\": {\\n      \\\"lens_type\\\": \\\"35mm - 50mm (Standard)\\\",\\n      \\\"angle\\\": \\\"Eye-level, slightly angled from the right\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\\\",\\n      \\\"composition\\\": \\\"Rule of thirds, subject center-left, framed by flowers on the right\\\"\\n    },\\n    \\\"lighting\\\": {\\n      \\\"general_condition\\\": \\\"High-key, natural daylight dominant\\\",\\n      \\\"sources\\\": [\\n        {\\n          \\\"id\\\": \\\"light_source_1\\\",\\n          \\\"type\\\": \\\"Natural Sunlight\\\",\\n          \\\"direction\\\": \\\"From left (viewer's perspective)\\\",\\n          \\\"color_temp\\\": \\\"Neutral/Cool White (Daylight ~5500K)\\\",\\n          \\\"intensity\\\": \\\"High\\\",\\n          \\\"effect_on_objects\\\": \\\"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\\\"\\n        },\\n        {\\n          \\\"id\\\": \\\"light_source_2\\\",\\n          \\\"type\\\": \\\"Ambient Fill\\\",\\n          \\\"direction\\\": \\\"Omnidirectional\\\",\\n          \\\"color_temp\\\": \\\"Warm\\\",\\n          \\\"intensity\\\": \\\"Low/Medium\\\",\\n          \\\"effect_on_objects\\\": \\\"Softens shadows on the wooden furniture and the subject's left side.\\\"\\n        }\\n      ]\\n    },\\n    \\\"subject\\\": {\\n      \\\"identity\\\": \\\"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\\\",\\n      \\\"orientation\\\": \\\"Facing forward, body angled slightly to the right\\\",\\n      \\\"gaze_direction\\\": \\\"Direct eye contact with the camera\\\",\\n      \\\"emotional_state\\\": \\\"Confident, relaxed, alluring\\\",\\n      \\\"sensuality_level\\\": \\\"Moderate to High (due to attire and pose, but elegant)\\\",\\n      \\\"pose\\\": {\\n        \\\"general_description\\\": \\\"Seated semi-reclined on a wooden sofa/daybed\\\",\\n        \\\"posture_effect_on_emotion\\\": \\\"The reclined posture emphasizes relaxation and confidence\\\",\\n        \\\"legs\\\": \\\"Crossed; Right leg bent over the left knee\\\",\\n        \\\"feet_position\\\": \\\"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\\\",\\n        \\\"hands_position\\\": \\\"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\\\",\\n        \\\"visible_body_extent\\\": \\\"Full body visible (head to toe)\\\"\\n      },\\n      \\\"head\\\": {\\n        \\\"hair\\\": {\\n          \\\"color\\\": \\\"Brunette with honey/caramel balayage highlights\\\",\\n          \\\"style\\\": \\\"Long, loose waves, center part\\\",\\n          \\\"texture\\\": \\\"Silky, voluminous\\\",\\n          \\\"interaction_with_head\\\": \\\"Frames the face symmetrically, falling over shoulders\\\"\\n        },\\n        \\\"ears\\\": {\\n          \\\"visibility\\\": \\\"Partially covered by hair\\\",\\n          \\\"shape\\\": \\\"Indiscernible due to hair\\\"\\n        },\\n        \\\"face\\\": {\\n          \\\"structure\\\": \\\"Oval to diamond shape, high cheekbones\\\",\\n          \\\"forehead\\\": \\\"Smooth, standard height, partially framed by hair\\\",\\n          \\\"brows\\\": \\\"Well-groomed, arched, dark brown\\\",\\n          \\\"eyes\\\": \\\"Almond shape, dark, lined with makeup\\\",\\n          \\\"nose\\\": \\\"Straight, defined bridge\\\",\\n          \\\"upper_lip\\\": \\\"Defined cupid's bow, mauve lipstick\\\",\\n          \\\"mouth_area\\\": \\\"Closed, slight smirk/smile\\\",\\n          \\\"chin\\\": \\\"Defined, slightly pointed\\\",\\n          \\\"mimic\\\": \\\"Subtle, confident smile, seductive gaze\\\"\\n        }\\n      },\\n      \\\"body_details\\\": {\\n        \\\"skin_tone\\\": \\\"Tanned / Olive\\\",\\n        \\\"neck\\\": \\\"Visible, smooth, accentuated by V-neckline\\\",\\n        \\\"shoulders\\\": \\\"Exposed, rounded, relaxed\\\",\\n        \\\"chest\\\": {\\n          \\\"ratio_to_body\\\": \\\"Proportionally large (Voluptuous)\\\",\\n          \\\"estimated_size\\\": \\\"Full bust\\\",\\n          \\\"bra_status\\\": \\\"No visible bra (likely built-in support in swimsuit)\\\",\\n          \\\"nipples_visible\\\": \\\"No\\\",\\n          \\\"shape_description\\\": \\\"Natural, lifted\\\"\\n        },\\n        \\\"stomach\\\": {\\n          \\\"ratio_to_body\\\": \\\"Slim, toned\\\",\\n          \\\"ratio_to_chest\\\": \\\"Significantly smaller (Hourglass figure)\\\",\\n          \\\"ratio_to_hips\\\": \\\"Significantly smaller\\\"\\n        },\\n        \\\"hips\\\": {\\n          \\\"ratio_to_body\\\": \\\"Wide, curvy\\\",\\n          \\\"ratio_to_chest\\\": \\\"Balanced with chest\\\",\\n          \\\"shape\\\": \\\"Curvaceous\\\"\\n        },\\n        \\\"legs\\\": {\\n          \\\"thighs\\\": \\\"Full, smooth skin texture, highlighted by light source\\\",\\n          \\\"knees\\\": \\\"Smooth, defined\\\",\\n          \\\"calves\\\": \\\"Toned\\\",\\n          \\\"feet\\\": \\\"Bare, arched, well-pedicured (pale polish)\\\"\\n        }\\n      },\\n      \\\"attire\\\": {\\n        \\\"upper_garment\\\": {\\n          \\\"type\\\": \\\"One-piece swimsuit / Monokini\\\",\\n          \\\"color\\\": \\\"Dark Brown / Espresso\\\",\\n          \\\"details\\\": \\\"Lace-up front with gold grommets, halter neck style\\\",\\n          \\\"light_interaction\\\": \\\"Absorbs light, creates contrast with skin\\\"\\n        },\\n        \\\"lower_garment\\\": {\\n          \\\"type\\\": \\\"Swimsuit bottom (connected)\\\",\\n          \\\"accessory\\\": \\\"Floral patterned shawl/sarong\\\",\\n          \\\"details\\\": \\\"Draped underneath and slightly over the legs, multicolored floral print\\\",\\n          \\\"light_interaction\\\": \\\"Soft folds create shadows\\\"\\n        },\\n        \\\"accessories\\\": {\\n          \\\"jewelry\\\": [\\n            {\\n              \\\"item\\\": \\\"Bracelet\\\",\\n              \\\"location\\\": \\\"Left wrist\\\",\\n              \\\"type\\\": \\\"Chunky gold chain link\\\",\\n              \\\"material\\\": \\\"Gold metal\\\"\\n            },\\n            {\\n              \\\"item\\\": \\\"Necklace\\\",\\n              \\\"location\\\": \\\"Neck\\\",\\n              \\\"type\\\": \\\"Thin delicate chain\\\",\\n              \\\"visibility\\\": \\\"Barely visible\\\"\\n            }\\n          ],\\n          \\\"footwear\\\": \\\"None (Barefoot)\\\"\\n        }\\n      }\\n    },\\n    \\\"objects_in_scene\\\": [\\n      {\\n        \\\"object\\\": \\\"Wooden Sofa / Daybed\\\",\\n        \\\"description\\\": \\\"Ornate, dark wood with intricate carvings\\\",\\n        \\\"purpose\\\": \\\"Seating for subject\\\",\\n        \\\"ratio\\\": \\\"Dominates the middle ground\\\",\\n        \\\"color\\\": \\\"Dark Mahogany\\\",\\n        \\\"location\\\": \\\"Mid-ground, extending from left to center\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Orchid Plant\\\",\\n        \\\"description\\\": \\\"Phalaenopsis orchids with purple and white blooms\\\",\\n        \\\"purpose\\\": \\\"Foreground framing element, adds depth and color\\\",\\n        \\\"ratio\\\": \\\"Large in foreground due to perspective\\\",\\n        \\\"color\\\": \\\"Bright Purple, White, Green stems\\\",\\n        \\\"location\\\": \\\"Foreground Right\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Fruit Bowl\\\",\\n        \\\"description\\\": \\\"White bowl filled with citrus fruits (oranges/lemons)\\\",\\n        \\\"purpose\\\": \\\"Decor, adds color contrast\\\",\\n        \\\"ratio\\\": \\\"Small compared to subject\\\",\\n        \\\"color\\\": \\\"Bright Orange, Yellow\\\",\\n        \\\"location\\\": \\\"Foreground Right (lower corner)\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Lamp\\\",\\n        \\\"description\\\": \\\"White geometric/honeycomb textured base with white shade\\\",\\n        \\\"purpose\\\": \\\"Background decor\\\",\\n        \\\"ratio\\\": \\\"Medium\\\",\\n        \\\"color\\\": \\\"White\\\",\\n        \\\"location\\\": \\\"Background Left\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Book/Magazine\\\",\\n        \\\"description\\\": \\\"Coffee table book featuring a face on the cover\\\",\\n        \\\"purpose\\\": \\\"Foreground detail\\\",\\n        \\\"ratio\\\": \\\"Small slice visible\\\",\\n        \\\"location\\\": \\\"Extreme Foreground Bottom Center\\\"\\n      }\\n    ],\\n    \\\"negative_prompts\\\": [\\n      \\\"bad anatomy\\\",\\n      \\\"extra fingers\\\",\\n      \\\"missing limbs\\\",\\n      \\\"distorted face\\\",\\n      \\\"low resolution\\\",\\n      \\\"blurry subject\\\",\\n      \\\"overexposed\\\",\\n      \\\"underexposed\\\",\\n      \\\"watermark\\\",\\n      \\\"text overlay (except book title)\\\",\\n      \\\"cartoon\\\",\\n      \\\"illustration\\\",\\n      \\\"CGI\\\",\\n      \\\"unnatural skin tone\\\"\\n    ]\\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  \\\"image_analysis\\\": {\\n    \\\"meta\\\": {\\n      \\\"file_name\\\": \\\"image_ef3de2.jpg\\\",\\n      \\\"file_type\\\": \\\"uploaded file\\\",\\n      \\\"analyst_persona\\\": \\\"Technical Photo Analyst\\\"\\n    },\\n    \\\"scene_environment\\\": {\\n      \\\"location_type\\\": \\\"Indoor / Semi-outdoor transition (Sunroom or covered patio)\\\",\\n      \\\"atmosphere\\\": \\\"Tropical, luxurious, relaxed, warm\\\",\\n      \\\"background_texture\\\": \\\"Stone walls, natural light, wooden furniture\\\"\\n    },\\n    \\\"camera_technical\\\": {\\n      \\\"lens_type\\\": \\\"35mm - 50mm (Standard)\\\",\\n      \\\"angle\\\": \\\"Eye-level, slightly angled from the right\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\\\",\\n      \\\"composition\\\": \\\"Rule of thirds, subject center-left, framed by flowers on the right\\\"\\n    },\\n    \\\"lighting\\\": {\\n      \\\"general_condition\\\": \\\"High-key, natural daylight dominant\\\",\\n      \\\"sources\\\": [\\n        {\\n          \\\"id\\\": \\\"light_source_1\\\",\\n          \\\"type\\\": \\\"Natural Sunlight\\\",\\n          \\\"direction\\\": \\\"From left (viewer's perspective)\\\",\\n          \\\"color_temp\\\": \\\"Neutral/Cool White (Daylight ~5500K)\\\",\\n          \\\"intensity\\\": \\\"High\\\",\\n          \\\"effect_on_objects\\\": \\\"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\\\"\\n        },\\n        {\\n          \\\"id\\\": \\\"light_source_2\\\",\\n          \\\"type\\\": \\\"Ambient Fill\\\",\\n          \\\"direction\\\": \\\"Omnidirectional\\\",\\n          \\\"color_temp\\\": \\\"Warm\\\",\\n          \\\"intensity\\\": \\\"Low/Medium\\\",\\n          \\\"effect_on_objects\\\": \\\"Softens shadows on the wooden furniture and the subject's left side.\\\"\\n        }\\n      ]\\n    },\\n    \\\"subject\\\": {\\n      \\\"identity\\\": \\\"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\\\",\\n      \\\"orientation\\\": \\\"Facing forward, body angled slightly to the right\\\",\\n      \\\"gaze_direction\\\": \\\"Direct eye contact with the camera\\\",\\n      \\\"emotional_state\\\": \\\"Confident, relaxed, alluring\\\",\\n      \\\"sensuality_level\\\": \\\"Moderate to High (due to attire and pose, but elegant)\\\",\\n      \\\"pose\\\": {\\n        \\\"general_description\\\": \\\"Seated semi-reclined on a wooden sofa/daybed\\\",\\n        \\\"posture_effect_on_emotion\\\": \\\"The reclined posture emphasizes relaxation and confidence\\\",\\n        \\\"legs\\\": \\\"Crossed; Right leg bent over the left knee\\\",\\n        \\\"feet_position\\\": \\\"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\\\",\\n        \\\"hands_position\\\": \\\"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\\\",\\n        \\\"visible_body_extent\\\": \\\"Full body visible (head to toe)\\\"\\n      },\\n      \\\"head\\\": {\\n        \\\"hair\\\": {\\n          \\\"color\\\": \\\"Brunette with honey/caramel balayage highlights\\\",\\n          \\\"style\\\": \\\"Long, loose waves, center part\\\",\\n          \\\"texture\\\": \\\"Silky, voluminous\\\",\\n          \\\"interaction_with_head\\\": \\\"Frames the face symmetrically, falling over shoulders\\\"\\n        },\\n        \\\"ears\\\": {\\n          \\\"visibility\\\": \\\"Partially covered by hair\\\",\\n          \\\"shape\\\": \\\"Indiscernible due to hair\\\"\\n        },\\n        \\\"face\\\": {\\n          \\\"structure\\\": \\\"Oval to diamond shape, high cheekbones\\\",\\n          \\\"forehead\\\": \\\"Smooth, standard height, partially framed by hair\\\",\\n          \\\"brows\\\": \\\"Well-groomed, arched, dark brown\\\",\\n          \\\"eyes\\\": \\\"Almond shape, dark, lined with makeup\\\",\\n          \\\"nose\\\": \\\"Straight, defined bridge\\\",\\n          \\\"upper_lip\\\": \\\"Defined cupid's bow, mauve lipstick\\\",\\n          \\\"mouth_area\\\": \\\"Closed, slight smirk/smile\\\",\\n          \\\"chin\\\": \\\"Defined, slightly pointed\\\",\\n          \\\"mimic\\\": \\\"Subtle, confident smile, seductive gaze\\\"\\n        }\\n      },\\n      \\\"body_details\\\": {\\n        \\\"skin_tone\\\": \\\"Tanned / Olive\\\",\\n        \\\"neck\\\": \\\"Visible, smooth, accentuated by V-neckline\\\",\\n        \\\"shoulders\\\": \\\"Exposed, rounded, relaxed\\\",\\n        \\\"chest\\\": {\\n          \\\"ratio_to_body\\\": \\\"Proportionally large (Voluptuous)\\\",\\n          \\\"estimated_size\\\": \\\"Full bust\\\",\\n          \\\"bra_status\\\": \\\"No visible bra (likely built-in support in swimsuit)\\\",\\n          \\\"nipples_visible\\\": \\\"No\\\",\\n          \\\"shape_description\\\": \\\"Natural, lifted\\\"\\n        },\\n        \\\"stomach\\\": {\\n          \\\"ratio_to_body\\\": \\\"Slim, toned\\\",\\n          \\\"ratio_to_chest\\\": \\\"Significantly smaller (Hourglass figure)\\\",\\n          \\\"ratio_to_hips\\\": \\\"Significantly smaller\\\"\\n        },\\n        \\\"hips\\\": {\\n          \\\"ratio_to_body\\\": \\\"Wide, curvy\\\",\\n          \\\"ratio_to_chest\\\": \\\"Balanced with chest\\\",\\n          \\\"shape\\\": \\\"Curvaceous\\\"\\n        },\\n        \\\"legs\\\": {\\n          \\\"thighs\\\": \\\"Full, smooth skin texture, highlighted by light source\\\",\\n          \\\"knees\\\": \\\"Smooth, defined\\\",\\n          \\\"calves\\\": \\\"Toned\\\",\\n          \\\"feet\\\": \\\"Bare, arched, well-pedicured (pale polish)\\\"\\n        }\\n      },\\n      \\\"attire\\\": {\\n        \\\"upper_garment\\\": {\\n          \\\"type\\\": \\\"One-piece swimsuit / Monokini\\\",\\n          \\\"color\\\": \\\"Dark Brown / Espresso\\\",\\n          \\\"details\\\": \\\"Lace-up front with gold grommets, halter neck style\\\",\\n          \\\"light_interaction\\\": \\\"Absorbs light, creates contrast with skin\\\"\\n        },\\n        \\\"lower_garment\\\": {\\n          \\\"type\\\": \\\"Swimsuit bottom (connected)\\\",\\n          \\\"accessory\\\": \\\"Floral patterned shawl/sarong\\\",\\n          \\\"details\\\": \\\"Draped underneath and slightly over the legs, multicolored floral print\\\",\\n          \\\"light_interaction\\\": \\\"Soft folds create shadows\\\"\\n        },\\n        \\\"accessories\\\": {\\n          \\\"jewelry\\\": [\\n            {\\n              \\\"item\\\": \\\"Bracelet\\\",\\n              \\\"location\\\": \\\"Left wrist\\\",\\n              \\\"type\\\": \\\"Chunky gold chain link\\\",\\n              \\\"material\\\": \\\"Gold metal\\\"\\n            },\\n            {\\n              \\\"item\\\": \\\"Necklace\\\",\\n              \\\"location\\\": \\\"Neck\\\",\\n              \\\"type\\\": \\\"Thin delicate chain\\\",\\n              \\\"visibility\\\": \\\"Barely visible\\\"\\n            }\\n          ],\\n          \\\"footwear\\\": \\\"None (Barefoot)\\\"\\n        }\\n      }\\n    },\\n    \\\"objects_in_scene\\\": [\\n      {\\n        \\\"object\\\": \\\"Wooden Sofa / Daybed\\\",\\n        \\\"description\\\": \\\"Ornate, dark wood with intricate carvings\\\",\\n        \\\"purpose\\\": \\\"Seating for subject\\\",\\n        \\\"ratio\\\": \\\"Dominates the middle ground\\\",\\n        \\\"color\\\": \\\"Dark Mahogany\\\",\\n        \\\"location\\\": \\\"Mid-ground, extending from left to center\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Orchid Plant\\\",\\n        \\\"description\\\": \\\"Phalaenopsis orchids with purple and white blooms\\\",\\n        \\\"purpose\\\": \\\"Foreground framing element, adds depth and color\\\",\\n        \\\"ratio\\\": \\\"Large in foreground due to perspective\\\",\\n        \\\"color\\\": \\\"Bright Purple, White, Green stems\\\",\\n        \\\"location\\\": \\\"Foreground Right\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Fruit Bowl\\\",\\n        \\\"description\\\": \\\"White bowl filled with citrus fruits (oranges/lemons)\\\",\\n        \\\"purpose\\\": \\\"Decor, adds color contrast\\\",\\n        \\\"ratio\\\": \\\"Small compared to subject\\\",\\n        \\\"color\\\": \\\"Bright Orange, Yellow\\\",\\n        \\\"location\\\": \\\"Foreground Right (lower corner)\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Lamp\\\",\\n        \\\"description\\\": \\\"White geometric/honeycomb textured base with white shade\\\",\\n        \\\"purpose\\\": \\\"Background decor\\\",\\n        \\\"ratio\\\": \\\"Medium\\\",\\n        \\\"color\\\": \\\"White\\\",\\n        \\\"location\\\": \\\"Background Left\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Book/Magazine\\\",\\n        \\\"description\\\": \\\"Coffee table book featuring a face on the cover\\\",\\n        \\\"purpose\\\": \\\"Foreground detail\\\",\\n        \\\"ratio\\\": \\\"Small slice visible\\\",\\n        \\\"location\\\": \\\"Extreme Foreground Bottom Center\\\"\\n      }\\n    ],\\n    \\\"negative_prompts\\\": [\\n      \\\"bad anatomy\\\",\\n      \\\"extra fingers\\\",\\n      \\\"missing limbs\\\",\\n      \\\"distorted face\\\",\\n      \\\"low resolution\\\",\\n      \\\"blurry subject\\\",\\n      \\\"overexposed\\\",\\n      \\\"underexposed\\\",\\n      \\\"watermark\\\",\\n      \\\"text overlay (except book title)\\\",\\n      \\\"cartoon\\\",\\n      \\\"illustration\\\",\\n      \\\"CGI\\\",\\n      \\\"unnatural skin tone\\\"\\n    ]\\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  \\\"image_analysis\\\": {\\n    \\\"meta\\\": {\\n      \\\"file_name\\\": \\\"image_ef3de2.jpg\\\",\\n      \\\"file_type\\\": \\\"uploaded file\\\",\\n      \\\"analyst_persona\\\": \\\"Technical Photo Analyst\\\"\\n    },\\n    \\\"scene_environment\\\": {\\n      \\\"location_type\\\": \\\"Indoor / Semi-outdoor transition (Sunroom or covered patio)\\\",\\n      \\\"atmosphere\\\": \\\"Tropical, luxurious, relaxed, warm\\\",\\n      \\\"background_texture\\\": \\\"Stone walls, natural light, wooden furniture\\\"\\n    },\\n    \\\"camera_technical\\\": {\\n      \\\"lens_type\\\": \\\"35mm - 50mm (Standard)\\\",\\n      \\\"angle\\\": \\\"Eye-level, slightly angled from the right\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\\\",\\n      \\\"composition\\\": \\\"Rule of thirds, subject center-left, framed by flowers on the right\\\"\\n    },\\n    \\\"lighting\\\": {\\n      \\\"general_condition\\\": \\\"High-key, natural daylight dominant\\\",\\n      \\\"sources\\\": [\\n        {\\n          \\\"id\\\": \\\"light_source_1\\\",\\n          \\\"type\\\": \\\"Natural Sunlight\\\",\\n          \\\"direction\\\": \\\"From left (viewer's perspective)\\\",\\n          \\\"color_temp\\\": \\\"Neutral/Cool White (Daylight ~5500K)\\\",\\n          \\\"intensity\\\": \\\"High\\\",\\n          \\\"effect_on_objects\\\": \\\"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\\\"\\n        },\\n        {\\n          \\\"id\\\": \\\"light_source_2\\\",\\n          \\\"type\\\": \\\"Ambient Fill\\\",\\n          \\\"direction\\\": \\\"Omnidirectional\\\",\\n          \\\"color_temp\\\": \\\"Warm\\\",\\n          \\\"intensity\\\": \\\"Low/Medium\\\",\\n          \\\"effect_on_objects\\\": \\\"Softens shadows on the wooden furniture and the subject's left side.\\\"\\n        }\\n      ]\\n    },\\n    \\\"subject\\\": {\\n      \\\"identity\\\": \\\"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\\\",\\n      \\\"orientation\\\": \\\"Facing forward, body angled slightly to the right\\\",\\n      \\\"gaze_direction\\\": \\\"Direct eye contact with the camera\\\",\\n      \\\"emotional_state\\\": \\\"Confident, relaxed, alluring\\\",\\n      \\\"sensuality_level\\\": \\\"Moderate to High (due to attire and pose, but elegant)\\\",\\n      \\\"pose\\\": {\\n        \\\"general_description\\\": \\\"Seated semi-reclined on a wooden sofa/daybed\\\",\\n        \\\"posture_effect_on_emotion\\\": \\\"The reclined posture emphasizes relaxation and confidence\\\",\\n        \\\"legs\\\": \\\"Crossed; Right leg bent over the left knee\\\",\\n        \\\"feet_position\\\": \\\"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\\\",\\n        \\\"hands_position\\\": \\\"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\\\",\\n        \\\"visible_body_extent\\\": \\\"Full body visible (head to toe)\\\"\\n      },\\n      \\\"head\\\": {\\n        \\\"hair\\\": {\\n          \\\"color\\\": \\\"Brunette with honey/caramel balayage highlights\\\",\\n          \\\"style\\\": \\\"Long, loose waves, center part\\\",\\n          \\\"texture\\\": \\\"Silky, voluminous\\\",\\n          \\\"interaction_with_head\\\": \\\"Frames the face symmetrically, falling over shoulders\\\"\\n        },\\n        \\\"ears\\\": {\\n          \\\"visibility\\\": \\\"Partially covered by hair\\\",\\n          \\\"shape\\\": \\\"Indiscernible due to hair\\\"\\n        },\\n        \\\"face\\\": {\\n          \\\"structure\\\": \\\"Oval to diamond shape, high cheekbones\\\",\\n          \\\"forehead\\\": \\\"Smooth, standard height, partially framed by hair\\\",\\n          \\\"brows\\\": \\\"Well-groomed, arched, dark brown\\\",\\n          \\\"eyes\\\": \\\"Almond shape, dark, lined with makeup\\\",\\n          \\\"nose\\\": \\\"Straight, defined bridge\\\",\\n          \\\"upper_lip\\\": \\\"Defined cupid's bow, mauve lipstick\\\",\\n          \\\"mouth_area\\\": \\\"Closed, slight smirk/smile\\\",\\n          \\\"chin\\\": \\\"Defined, slightly pointed\\\",\\n          \\\"mimic\\\": \\\"Subtle, confident smile, seductive gaze\\\"\\n        }\\n      },\\n      \\\"body_details\\\": {\\n        \\\"skin_tone\\\": \\\"Tanned / Olive\\\",\\n        \\\"neck\\\": \\\"Visible, smooth, accentuated by V-neckline\\\",\\n        \\\"shoulders\\\": \\\"Exposed, rounded, relaxed\\\",\\n        \\\"chest\\\": {\\n          \\\"ratio_to_body\\\": \\\"Proportionally large (Voluptuous)\\\",\\n          \\\"estimated_size\\\": \\\"Full bust\\\",\\n          \\\"bra_status\\\": \\\"No visible bra (likely built-in support in swimsuit)\\\",\\n          \\\"nipples_visible\\\": \\\"No\\\",\\n          \\\"shape_description\\\": \\\"Natural, lifted\\\"\\n        },\\n        \\\"stomach\\\": {\\n          \\\"ratio_to_body\\\": \\\"Slim, toned\\\",\\n          \\\"ratio_to_chest\\\": \\\"Significantly smaller (Hourglass figure)\\\",\\n          \\\"ratio_to_hips\\\": \\\"Significantly smaller\\\"\\n        },\\n        \\\"hips\\\": {\\n          \\\"ratio_to_body\\\": \\\"Wide, curvy\\\",\\n          \\\"ratio_to_chest\\\": \\\"Balanced with chest\\\",\\n          \\\"shape\\\": \\\"Curvaceous\\\"\\n        },\\n        \\\"legs\\\": {\\n          \\\"thighs\\\": \\\"Full, smooth skin texture, highlighted by light source\\\",\\n          \\\"knees\\\": \\\"Smooth, defined\\\",\\n          \\\"calves\\\": \\\"Toned\\\",\\n          \\\"feet\\\": \\\"Bare, arched, well-pedicured (pale polish)\\\"\\n        }\\n      },\\n      \\\"attire\\\": {\\n        \\\"upper_garment\\\": {\\n          \\\"type\\\": \\\"One-piece swimsuit / Monokini\\\",\\n          \\\"color\\\": \\\"Dark Brown / Espresso\\\",\\n          \\\"details\\\": \\\"Lace-up front with gold grommets, halter neck style\\\",\\n          \\\"light_interaction\\\": \\\"Absorbs light, creates contrast with skin\\\"\\n        },\\n        \\\"lower_garment\\\": {\\n          \\\"type\\\": \\\"Swimsuit bottom (connected)\\\",\\n          \\\"accessory\\\": \\\"Floral patterned shawl/sarong\\\",\\n          \\\"details\\\": \\\"Draped underneath and slightly over the legs, multicolored floral print\\\",\\n          \\\"light_interaction\\\": \\\"Soft folds create shadows\\\"\\n        },\\n        \\\"accessories\\\": {\\n          \\\"jewelry\\\": [\\n            {\\n              \\\"item\\\": \\\"Bracelet\\\",\\n              \\\"location\\\": \\\"Left wrist\\\",\\n              \\\"type\\\": \\\"Chunky gold chain link\\\",\\n              \\\"material\\\": \\\"Gold metal\\\"\\n            },\\n            {\\n              \\\"item\\\": \\\"Necklace\\\",\\n              \\\"location\\\": \\\"Neck\\\",\\n              \\\"type\\\": \\\"Thin delicate chain\\\",\\n              \\\"visibility\\\": \\\"Barely visible\\\"\\n            }\\n          ],\\n          \\\"footwear\\\": \\\"None (Barefoot)\\\"\\n        }\\n      }\\n    },\\n    \\\"objects_in_scene\\\": [\\n      {\\n        \\\"object\\\": \\\"Wooden Sofa / Daybed\\\",\\n        \\\"description\\\": \\\"Ornate, dark wood with intricate carvings\\\",\\n        \\\"purpose\\\": \\\"Seating for subject\\\",\\n        \\\"ratio\\\": \\\"Dominates the middle ground\\\",\\n        \\\"color\\\": \\\"Dark Mahogany\\\",\\n        \\\"location\\\": \\\"Mid-ground, extending from left to center\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Orchid Plant\\\",\\n        \\\"description\\\": \\\"Phalaenopsis orchids with purple and white blooms\\\",\\n        \\\"purpose\\\": \\\"Foreground framing element, adds depth and color\\\",\\n        \\\"ratio\\\": \\\"Large in foreground due to perspective\\\",\\n        \\\"color\\\": \\\"Bright Purple, White, Green stems\\\",\\n        \\\"location\\\": \\\"Foreground Right\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Fruit Bowl\\\",\\n        \\\"description\\\": \\\"White bowl filled with citrus fruits (oranges/lemons)\\\",\\n        \\\"purpose\\\": \\\"Decor, adds color contrast\\\",\\n        \\\"ratio\\\": \\\"Small compared to subject\\\",\\n        \\\"color\\\": \\\"Bright Orange, Yellow\\\",\\n        \\\"location\\\": \\\"Foreground Right (lower corner)\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Lamp\\\",\\n        \\\"description\\\": \\\"White geometric/honeycomb textured base with white shade\\\",\\n        \\\"purpose\\\": \\\"Background decor\\\",\\n        \\\"ratio\\\": \\\"Medium\\\",\\n        \\\"color\\\": \\\"White\\\",\\n        \\\"location\\\": \\\"Background Left\\\"\\n      },\\n      {\\n        \\\"object\\\": \\\"Book/Magazine\\\",\\n        \\\"description\\\": \\\"Coffee table book featuring a face on the cover\\\",\\n        \\\"purpose\\\": \\\"Foreground detail\\\",\\n        \\\"ratio\\\": \\\"Small slice visible\\\",\\n        \\\"location\\\": \\\"Extreme Foreground Bottom Center\\\"\\n      }\\n    ],\\n    \\\"negative_prompts\\\": [\\n      \\\"bad anatomy\\\",\\n      \\\"extra fingers\\\",\\n      \\\"missing limbs\\\",\\n      \\\"distorted face\\\",\\n      \\\"low resolution\\\",\\n      \\\"blurry subject\\\",\\n      \\\"overexposed\\\",\\n      \\\"underexposed\\\",\\n      \\\"watermark\\\",\\n      \\\"text overlay (except book title)\\\",\\n      \\\"cartoon\\\",\\n      \\\"illustration\\\",\\n      \\\"CGI\\\",\\n      \\\"unnatural skin tone\\\"\\n    ]\\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  \"image_analysis\": {\n    \"meta\": {\n      \"file_name\": \"image_ef3de2.jpg\",\n      \"file_type\": \"uploaded file\",\n      \"analyst_persona\": \"Technical Photo Analyst\"\n    },\n    \"scene_environment\": {\n      \"location_type\": \"Indoor / Semi-outdoor transition (Sunroom or covered patio)\",\n      \"atmosphere\": \"Tropical, luxurious, relaxed, warm\",\n      \"background_texture\": \"Stone walls, natural light, wooden furniture\"\n    },\n    \"camera_technical\": {\n      \"lens_type\": \"35mm - 50mm (Standard)\",\n      \"angle\": \"Eye-level, slightly angled from the right\",\n      \"focus\": \"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\",\n      \"composition\": \"Rule of thirds, subject center-left, framed by flowers on the right\"\n    },\n    \"lighting\": {\n      \"general_condition\": \"High-key, natural daylight dominant\",\n      \"sources\": [\n        {\n          \"id\": \"light_source_1\",\n          \"type\": \"Natural Sunlight\",\n          \"direction\": \"From left (viewer's perspective)\",\n          \"color_temp\": \"Neutral/Cool White (Daylight ~5500K)\",\n          \"intensity\": \"High\",\n          \"effect_on_objects\": \"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\"\n        },\n        {\n          \"id\": \"light_source_2\",\n          \"type\": \"Ambient Fill\",\n          \"direction\": \"Omnidirectional\",\n          \"color_temp\": \"Warm\",\n          \"intensity\": \"Low/Medium\",\n          \"effect_on_objects\": \"Softens shadows on the wooden furniture and the subject's left side.\"\n        }\n      ]\n    },\n    \"subject\": {\n      \"identity\": \"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\",\n      \"orientation\": \"Facing forward, body angled slightly to the right\",\n      \"gaze_direction\": \"Direct eye contact with the camera\",\n      \"emotional_state\": \"Confident, relaxed, alluring\",\n      \"sensuality_level\": \"Moderate to High (due to attire and pose, but elegant)\",\n      \"pose\": {\n        \"general_description\": \"Seated semi-reclined on a wooden sofa/daybed\",\n        \"posture_effect_on_emotion\": \"The reclined posture emphasizes relaxation and confidence\",\n        \"legs\": \"Crossed; Right leg bent over the left knee\",\n        \"feet_position\": \"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\",\n        \"hands_position\": \"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\",\n        \"visible_body_extent\": \"Full body visible (head to toe)\"\n      },\n      \"head\": {\n        \"hair\": {\n          \"color\": \"Brunette with honey/caramel balayage highlights\",\n          \"style\": \"Long, loose waves, center part\",\n          \"texture\": \"Silky, voluminous\",\n          \"interaction_with_head\": \"Frames the face symmetrically, falling over shoulders\"\n        },\n        \"ears\": {\n          \"visibility\": \"Partially covered by hair\",\n          \"shape\": \"Indiscernible due to hair\"\n        },\n        \"face\": {\n          \"structure\": \"Oval to diamond shape, high cheekbones\",\n          \"forehead\": \"Smooth, standard height, partially framed by hair\",\n          \"brows\": \"Well-groomed, arched, dark brown\",\n          \"eyes\": \"Almond shape, dark, lined with makeup\",\n          \"nose\": \"Straight, defined bridge\",\n          \"upper_lip\": \"Defined cupid's bow, mauve lipstick\",\n          \"mouth_area\": \"Closed, slight smirk/smile\",\n          \"chin\": \"Defined, slightly pointed\",\n          \"mimic\": \"Subtle, confident smile, seductive gaze\"\n        }\n      },\n      \"body_details\": {\n        \"skin_tone\": \"Tanned / Olive\",\n        \"neck\": \"Visible, smooth, accentuated by V-neckline\",\n        \"shoulders\": \"Exposed, rounded, relaxed\",\n        \"chest\": {\n          \"ratio_to_body\": \"Proportionally large (Voluptuous)\",\n          \"estimated_size\": \"Full bust\",\n          \"bra_status\": \"No visible bra (likely built-in support in swimsuit)\",\n          \"nipples_visible\": \"No\",\n          \"shape_description\": \"Natural, lifted\"\n        },\n        \"stomach\": {\n          \"ratio_to_body\": \"Slim, toned\",\n          \"ratio_to_chest\": \"Significantly smaller (Hourglass figure)\",\n          \"ratio_to_hips\": \"Significantly smaller\"\n        },\n        \"hips\": {\n          \"ratio_to_body\": \"Wide, curvy\",\n          \"ratio_to_chest\": \"Balanced with chest\",\n          \"shape\": \"Curvaceous\"\n        },\n        \"legs\": {\n          \"thighs\": \"Full, smooth skin texture, highlighted by light source\",\n          \"knees\": \"Smooth, defined\",\n          \"calves\": \"Toned\",\n          \"feet\": \"Bare, arched, well-pedicured (pale polish)\"\n        }\n      },\n      \"attire\": {\n        \"upper_garment\": {\n          \"type\": \"One-piece swimsuit / Monokini\",\n          \"color\": \"Dark Brown / Espresso\",\n          \"details\": \"Lace-up front with gold grommets, halter neck style\",\n          \"light_interaction\": \"Absorbs light, creates contrast with skin\"\n        },\n        \"lower_garment\": {\n          \"type\": \"Swimsuit bottom (connected)\",\n          \"accessory\": \"Floral patterned shawl/sarong\",\n          \"details\": \"Draped underneath and slightly over the legs, multicolored floral print\",\n          \"light_interaction\": \"Soft folds create shadows\"\n        },\n        \"accessories\": {\n          \"jewelry\": [\n            {\n              \"item\": \"Bracelet\",\n              \"location\": \"Left wrist\",\n              \"type\": \"Chunky gold chain link\",\n              \"material\": \"Gold metal\"\n            },\n            {\n              \"item\": \"Necklace\",\n              \"location\": \"Neck\",\n              \"type\": \"Thin delicate chain\",\n              \"visibility\": \"Barely visible\"\n            }\n          ],\n          \"footwear\": \"None (Barefoot)\"\n        }\n      }\n    },\n    \"objects_in_scene\": [\n      {\n        \"object\": \"Wooden Sofa / Daybed\",\n        \"description\": \"Ornate, dark wood with intricate carvings\",\n        \"purpose\": \"Seating for subject\",\n        \"ratio\": \"Dominates the middle ground\",\n        \"color\": \"Dark Mahogany\",\n        \"location\": \"Mid-ground, extending from left to center\"\n      },\n      {\n        \"object\": \"Orchid Plant\",\n        \"description\": \"Phalaenopsis orchids with purple and white blooms\",\n        \"purpose\": \"Foreground framing element, adds depth and color\",\n        \"ratio\": \"Large in foreground due to perspective\",\n        \"color\": \"Bright Purple, White, Green stems\",\n        \"location\": \"Foreground Right\"\n      },\n      {\n        \"object\": \"Fruit Bowl\",\n        \"description\": \"White bowl filled with citrus fruits (oranges/lemons)\",\n        \"purpose\": \"Decor, adds color contrast\",\n        \"ratio\": \"Small compared to subject\",\n        \"color\": \"Bright Orange, Yellow\",\n        \"location\": \"Foreground Right (lower corner)\"\n      },\n      {\n        \"object\": \"Lamp\",\n        \"description\": \"White geometric/honeycomb textured base with white shade\",\n        \"purpose\": \"Background decor\",\n        \"ratio\": \"Medium\",\n        \"color\": \"White\",\n        \"location\": \"Background Left\"\n      },\n      {\n        \"object\": \"Book/Magazine\",\n        \"description\": \"Coffee table book featuring a face on the cover\",\n        \"purpose\": \"Foreground detail\",\n        \"ratio\": \"Small slice visible\",\n        \"location\": \"Extreme Foreground Bottom Center\"\n      }\n    ],\n    \"negative_prompts\": [\n      \"bad anatomy\",\n      \"extra fingers\",\n      \"missing limbs\",\n      \"distorted face\",\n      \"low resolution\",\n      \"blurry subject\",\n      \"overexposed\",\n      \"underexposed\",\n      \"watermark\",\n      \"text overlay (except book title)\",\n      \"cartoon\",\n      \"illustration\",\n      \"CGI\",\n      \"unnatural skin tone\"\n    ]\n  }\n}" \
    --wait
```

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

## More prompts like this

- [Cozy Mushroom-Embroidered Knit Cape Cardigan: Autumn Outfit Prompt for Any Character](https://runapi.ai/prompts/prm_nQYRMAxVypXehQg5yJa1XzgE.md)
- [Hi-Viz branded running T-shirt design](https://runapi.ai/prompts/prm_lznOE1RPD07Wiz79yK5XYw0q.md)
- [Paper-Quilled Haute Couture Gown Fashion Shot](https://runapi.ai/prompts/prm_YNKpk5gVDan9ilQ58X6E9Qze.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": "Tropical Elegance: A Serene Afternoon in a Sunlit Villa",
        "item": "https://runapi.ai/prompts/prm_zoN2E17VD7WLUZV5DnlqLBRO"
      }
    ]
  },
  {
    "@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": "Tropical Elegance: A Serene Afternoon in a Sunlit Villa",
    "text": "{\n  \"image_analysis\": {\n    \"meta\": {\n      \"file_name\": \"image_ef3de2.jpg\",\n      \"file_type\": \"uploaded file\",\n      \"analyst_persona\": \"Technical Photo Analyst\"\n    },\n    \"scene_environment\": {\n      \"location_type\": \"Indoor / Semi-outdoor transition (Sunroom or covered patio)\",\n      \"atmosphere\": \"Tropical, luxurious, relaxed, warm\",\n      \"background_texture\": \"Stone walls, natural light, wooden furniture\"\n    },\n    \"camera_technical\": {\n      \"lens_type\": \"35mm - 50mm (Standard)\",\n      \"angle\": \"Eye-level, slightly angled from the right\",\n      \"focus\": \"Sharp focus on the subject, slight bokeh in the extreme foreground (orchids)\",\n      \"composition\": \"Rule of thirds, subject center-left, framed by flowers on the right\"\n    },\n    \"lighting\": {\n      \"general_condition\": \"High-key, natural daylight dominant\",\n      \"sources\": [\n        {\n          \"id\": \"light_source_1\",\n          \"type\": \"Natural Sunlight\",\n          \"direction\": \"From left (viewer's perspective)\",\n          \"color_temp\": \"Neutral/Cool White (Daylight ~5500K)\",\n          \"intensity\": \"High\",\n          \"effect_on_objects\": \"Creates distinct highlights on the subject's right leg, arm, and face. Casts soft shadows to the right.\"\n        },\n        {\n          \"id\": \"light_source_2\",\n          \"type\": \"Ambient Fill\",\n          \"direction\": \"Omnidirectional\",\n          \"color_temp\": \"Warm\",\n          \"intensity\": \"Low/Medium\",\n          \"effect_on_objects\": \"Softens shadows on the wooden furniture and the subject's left side.\"\n        }\n      ]\n    },\n    \"subject\": {\n      \"identity\": \"Adult Female (Celebrity likeness noted, treated anonymously as per instruction)\",\n      \"orientation\": \"Facing forward, body angled slightly to the right\",\n      \"gaze_direction\": \"Direct eye contact with the camera\",\n      \"emotional_state\": \"Confident, relaxed, alluring\",\n      \"sensuality_level\": \"Moderate to High (due to attire and pose, but elegant)\",\n      \"pose\": {\n        \"general_description\": \"Seated semi-reclined on a wooden sofa/daybed\",\n        \"posture_effect_on_emotion\": \"The reclined posture emphasizes relaxation and confidence\",\n        \"legs\": \"Crossed; Right leg bent over the left knee\",\n        \"feet_position\": \"Left foot resting on the floor/rug, right foot suspended in air, toes pointed (plantar flexion)\",\n        \"hands_position\": \"Right hand resting on the white cushion behind her; Left hand resting near her thigh/knee\",\n        \"visible_body_extent\": \"Full body visible (head to toe)\"\n      },\n      \"head\": {\n        \"hair\": {\n          \"color\": \"Brunette with honey/caramel balayage highlights\",\n          \"style\": \"Long, loose waves, center part\",\n          \"texture\": \"Silky, voluminous\",\n          \"interaction_with_head\": \"Frames the face symmetrically, falling over shoulders\"\n        },\n        \"ears\": {\n          \"visibility\": \"Partially covered by hair\",\n          \"shape\": \"Indiscernible due to hair\"\n        },\n        \"face\": {\n          \"structure\": \"Oval to diamond shape, high cheekbones\",\n          \"forehead\": \"Smooth, standard height, partially framed by hair\",\n          \"brows\": \"Well-groomed, arched, dark brown\",\n          \"eyes\": \"Almond shape, dark, lined with makeup\",\n          \"nose\": \"Straight, defined bridge\",\n          \"upper_lip\": \"Defined cupid's bow, mauve lipstick\",\n          \"mouth_area\": \"Closed, slight smirk/smile\",\n          \"chin\": \"Defined, slightly pointed\",\n          \"mimic\": \"Subtle, confident smile, seductive gaze\"\n        }\n      },\n      \"body_details\": {\n        \"skin_tone\": \"Tanned / Olive\",\n        \"neck\": \"Visible, smooth, accentuated by V-neckline\",\n        \"shoulders\": \"Exposed, rounded, relaxed\",\n        \"chest\": {\n          \"ratio_to_body\": \"Proportionally large (Voluptuous)\",\n          \"estimated_size\": \"Full bust\",\n          \"bra_status\": \"No visible bra (likely built-in support in swimsuit)\",\n          \"nipples_visible\": \"No\",\n          \"shape_description\": \"Natural, lifted\"\n        },\n        \"stomach\": {\n          \"ratio_to_body\": \"Slim, toned\",\n          \"ratio_to_chest\": \"Significantly smaller (Hourglass figure)\",\n          \"ratio_to_hips\": \"Significantly smaller\"\n        },\n        \"hips\": {\n          \"ratio_to_body\": \"Wide, curvy\",\n          \"ratio_to_chest\": \"Balanced with chest\",\n          \"shape\": \"Curvaceous\"\n        },\n        \"legs\": {\n          \"thighs\": \"Full, smooth skin texture, highlighted by light source\",\n          \"knees\": \"Smooth, defined\",\n          \"calves\": \"Toned\",\n          \"feet\": \"Bare, arched, well-pedicured (pale polish)\"\n        }\n      },\n      \"attire\": {\n        \"upper_garment\": {\n          \"type\": \"One-piece swimsuit / Monokini\",\n          \"color\": \"Dark Brown / Espresso\",\n          \"details\": \"Lace-up front with gold grommets, halter neck style\",\n          \"light_interaction\": \"Absorbs light, creates contrast with skin\"\n        },\n        \"lower_garment\": {\n          \"type\": \"Swimsuit bottom (connected)\",\n          \"accessory\": \"Floral patterned shawl/sarong\",\n          \"details\": \"Draped underneath and slightly over the legs, multicolored floral print\",\n          \"light_interaction\": \"Soft folds create shadows\"\n        },\n        \"accessories\": {\n          \"jewelry\": [\n            {\n              \"item\": \"Bracelet\",\n              \"location\": \"Left wrist\",\n              \"type\": \"Chunky gold chain link\",\n              \"material\": \"Gold metal\"\n            },\n            {\n              \"item\": \"Necklace\",\n              \"location\": \"Neck\",\n              \"type\": \"Thin delicate chain\",\n              \"visibility\": \"Barely visible\"\n            }\n          ],\n          \"footwear\": \"None (Barefoot)\"\n        }\n      }\n    },\n    \"objects_in_scene\": [\n      {\n        \"object\": \"Wooden Sofa / Daybed\",\n        \"description\": \"Ornate, dark wood with intricate carvings\",\n        \"purpose\": \"Seating for subject\",\n        \"ratio\": \"Dominates the middle ground\",\n        \"color\": \"Dark Mahogany\",\n        \"location\": \"Mid-ground, extending from left to center\"\n      },\n      {\n        \"object\": \"Orchid Plant\",\n        \"description\": \"Phalaenopsis orchids with purple and white blooms\",\n        \"purpose\": \"Foreground framing element, adds depth and color\",\n        \"ratio\": \"Large in foreground due to perspective\",\n        \"color\": \"Bright Purple, White, Green stems\",\n        \"location\": \"Foreground Right\"\n      },\n      {\n        \"object\": \"Fruit Bowl\",\n        \"description\": \"White bowl filled with citrus fruits (oranges/lemons)\",\n        \"purpose\": \"Decor, adds color contrast\",\n        \"ratio\": \"Small compared to subject\",\n        \"color\": \"Bright Orange, Yellow\",\n        \"location\": \"Foreground Right (lower corner)\"\n      },\n      {\n        \"object\": \"Lamp\",\n        \"description\": \"White geometric/honeycomb textured base with white shade\",\n        \"purpose\": \"Background decor\",\n        \"ratio\": \"Medium\",\n        \"color\": \"White\",\n        \"location\": \"Background Left\"\n      },\n      {\n        \"object\": \"Book/Magazine\",\n        \"description\": \"Coffee table book featuring a face on the cover\",\n        \"purpose\": \"Foreground detail\",\n        \"ratio\": \"Small slice visible\",\n        \"location\": \"Extreme Foreground Bottom Center\"\n      }\n    ],\n    \"negative_prompts\": [\n      \"bad anatomy\",\n      \"extra fingers\",\n      \"missing limbs\",\n      \"distorted face\",\n      \"low resolution\",\n      \"blurry subject\",\n      \"overexposed\",\n      \"underexposed\",\n      \"watermark\",\n      \"text overlay (except book title)\",\n      \"cartoon\",\n      \"illustration\",\n      \"CGI\",\n      \"unnatural skin tone\"\n    ]\n  }\n}",
    "image": null,
    "about": [
      "image",
      "fashion"
    ]
  }
]
```
