---
title: Reflected Self-Portrait in an Urban Convex Traffic Mirror —  Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_9vxNwzoeD3O3sOQPDd6XAVO7.md
canonical: https://runapi.ai/prompts/prm_9vxNwzoeD3O3sOQPDd6XAVO7
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13570
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Reflected Self-Portrait in an Urban Convex Traffic Mirror

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

**Prompts** · Image

## Prompt

```text
{
  "image_analysis": {
    "environment": {
      "type": "Outdoor",
      "setting": "Urban street scene",
      "weather": "Overcast/Cloudy"
    },
    "technical_specs": {
      "camera_lens": "Wide-angle (likely smartphone rear camera)",
      "camera_angle": "Low angle, looking upwards towards a traffic mirror and street sign",
      "focus": "Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature"
    },
    "lighting": [
      {
        "source_id": 1,
        "type": "Natural Ambient Light (Overcast Sky)",
        "angle": "Overhead/Diffused",
        "color": "Cool White / Greyish",
        "intensity": "Moderate",
        "effect_on_objects": "Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror."
      }
    ],
    "people": [
      {
        "id": "person_1_photographer",
        "location": "Visible inside the reflection of the convex mirror",
        "identity_status": "Anonymized (Face obscured by phone)",
        "orientation": {
          "body_direction": "Facing forward (towards the mirror)",
          "face_direction": "Facing forward (towards the mirror/phone)"
        },
        "emotional_state": "Indeterminable (Face obscured)",
        "posture": {
          "general_definition": "Standing upright",
          "feet_position": "Not visible (cropped in reflection)",
          "hand_position": "Raised to face level, holding a smartphone to take the photo",
          "visibility_extent": "Visible from mid-thigh/knees up to head in the reflection"
        },
        "head_details": {
          "hair": {
            "color": "Dark (Black or Dark Brown)",
            "style": "Long, loose",
            "shape": "Falls over shoulders"
          },
          "ears": "Covered by hair",
          "face_features": {
            "forehead": "Obscured by phone/hair",
            "eyes": "Obscured by phone",
            "nose": "Obscured by phone",
            "mouth": "Obscured by phone",
            "chin": "Partially visible below phone, fair skin tone"
          },
          "facial_hair": "None"
        },
        "body_details": {
          "body_type": "Average/Slender (hard to determine due to heavy clothing)",
          "skin_tone": "Light/Fair (visible on hands/face)",
          "neck": "Covered by scarf",
          "shoulders": "covered by coat, relaxed",
          "chest": {
            "ratio_to_body": "Indeterminable (covered by thick coat)",
            "measurements": "Indeterminable",
            "bra_status": "Indeterminable",
            "nipple_visibility": "Not visible",
            "size_appearance": "Indeterminable due to winter clothing"
          },
          "abdomen": {
            "ratio_to_body": "Concealed by coat",
            "ratio_to_chest": "Indeterminable",
            "ratio_to_hips": "Indeterminable"
          },
          "hips": {
            "ratio_to_body": "Concealed by coat",
            "measurement_estimation": "Indeterminable"
          },
          "legs": {
            "visibility": "Partially visible (upper thighs)",
            "clothing": "Dark trousers/tights"
          }
        },
        "clothing": {
          "upper_body": "Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely",
          "lower_body": "Dark trousers or leggings (partially visible)",
          "light_interaction": "Fabric absorbs light, appearing matte",
          "accessories": "Smartphone (held in hands)",
          "footwear": "Not visible"
        }
      },
      {
        "id": "person_2_pedestrian",
        "location": "Visible inside the reflection of the convex mirror (background)",
        "identity_status": "Anonymized (Back turned)",
        "orientation": {
          "body_direction": "Walking away from the camera",
          "face_direction": "Forward (away from camera)"
        },
        "posture": {
          "general_definition": "Walking",
          "visibility_extent": "Full body visible in distance"
        },
        "clothing": {
          "upper_body": "Dark coat",
          "lower_body": "Dark trousers"
        }
      }
    ],
    "objects": [
      {
        "name": "Convex Traffic Mirror",
        "purpose": "Traffic safety/Visibility for blind corners",
        "contribution_to_scene": "Acts as the focal point and frame for the self-portrait reflection",
        "proportions": "Dominates the center foreground",
        "color": "Orange (rim), Reflective silver (surface)",
        "location": "Center of the image"
      },
      {
        "name": "Street Sign",
        "purpose": "Navigation/Location identifier",
        "text_content": "MAKLIK (Partial visibility)",
        "color": "Red background with white text",
        "location": "Attached to the pole above the mirror"
      },
      {
        "name": "Apartment Building (Left)",
        "purpose": "Residential/Commercial",
        "proportions": "Large, multi-story structure",
        "color": "Grey and white facade",
        "features": "Balconies with white railings, tall metal chimney/vent pipe attached to side",
        "location": "Left side foreground"
      },
      {
        "name": "Wooden Building (Background Left)",
        "purpose": "Residential/Historic",
        "color": "Faded Red/Pink",
        "location": "Visible in the background behind the mirror",
        "features": "Traditional architecture, wooden siding"
      },
      {
        "name": "White Building (In Reflection)",
        "purpose": "Public/Institutional",
        "color": "Cream/White",
        "location": "Reflected in the mirror",
        "features": "Arched windows, historic style"
      },
      {
        "name": "Trees/Vegetation",
        "purpose": "Environment",
        "color": "Dark Green/Brownish (Autumnal)",
        "location": "Right side and background"
      }
    ],
    "negative_prompt": "bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark"
  }
}
```

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

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

### Generate this prompt

| Model | Selected model |
|---|---|
| Estimated cost | Pricing pending |
| Endpoint | `/api/v1/runapi/text_to_image` |

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

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

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

## Prompt Breakdown

### Subject

Reflected Self-Portrait in an Urban Convex Traffic Mirror

### Atmosphere

lifestyle / Image

### Technical

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

### Style

convex-mirror, overcast, smartphone, street-sign, traffic-mirror, urban-street, winter-clothing

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

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

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

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

## RUN DETAILS

| Field | Value |
|---|---|
| Modality | Image |
| Category | lifestyle |
| Tags | convex-mirror, overcast, smartphone, street-sign, traffic-mirror, urban-street, winter-clothing |

## 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": {
    "environment": {
      "type": "Outdoor",
      "setting": "Urban street scene",
      "weather": "Overcast/Cloudy"
    },
    "technical_specs": {
      "camera_lens": "Wide-angle (likely smartphone rear camera)",
      "camera_angle": "Low angle, looking upwards towards a traffic mirror and street sign",
      "focus": "Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature"
    },
    "lighting": [
      {
        "source_id": 1,
        "type": "Natural Ambient Light (Overcast Sky)",
        "angle": "Overhead/Diffused",
        "color": "Cool White / Greyish",
        "intensity": "Moderate",
        "effect_on_objects": "Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror."
      }
    ],
    "people": [
      {
        "id": "person_1_photographer",
        "location": "Visible inside the reflection of the convex mirror",
        "identity_status": "Anonymized (Face obscured by phone)",
        "orientation": {
          "body_direction": "Facing forward (towards the mirror)",
          "face_direction": "Facing forward (towards the mirror/phone)"
        },
        "emotional_state": "Indeterminable (Face obscured)",
        "posture": {
          "general_definition": "Standing upright",
          "feet_position": "Not visible (cropped in reflection)",
          "hand_position": "Raised to face level, holding a smartphone to take the photo",
          "visibility_extent": "Visible from mid-thigh/knees up to head in the reflection"
        },
        "head_details": {
          "hair": {
            "color": "Dark (Black or Dark Brown)",
            "style": "Long, loose",
            "shape": "Falls over shoulders"
          },
          "ears": "Covered by hair",
          "face_features": {
            "forehead": "Obscured by phone/hair",
            "eyes": "Obscured by phone",
            "nose": "Obscured by phone",
            "mouth": "Obscured by phone",
            "chin": "Partially visible below phone, fair skin tone"
          },
          "facial_hair": "None"
        },
        "body_details": {
          "body_type": "Average/Slender (hard to determine due to heavy clothing)",
          "skin_tone": "Light/Fair (visible on hands/face)",
          "neck": "Covered by scarf",
          "shoulders": "covered by coat, relaxed",
          "chest": {
            "ratio_to_body": "Indeterminable (covered by thick coat)",
            "measurements": "Indeterminable",
            "bra_status": "Indeterminable",
            "nipple_visibility": "Not visible",
            "size_appearance": "Indeterminable due to winter clothing"
          },
          "abdomen": {
            "ratio_to_body": "Concealed by coat",
            "ratio_to_chest": "Indeterminable",
            "ratio_to_hips": "Indeterminable"
          },
          "hips": {
            "ratio_to_body": "Concealed by coat",
            "measurement_estimation": "Indeterminable"
          },
          "legs": {
            "visibility": "Partially visible (upper thighs)",
            "clothing": "Dark trousers/tights"
          }
        },
        "clothing": {
          "upper_body": "Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely",
          "lower_body": "Dark trousers or leggings (partially visible)",
          "light_interaction": "Fabric absorbs light, appearing matte",
          "accessories": "Smartphone (held in hands)",
          "footwear": "Not visible"
        }
      },
      {
        "id": "person_2_pedestrian",
        "location": "Visible inside the reflection of the convex mirror (background)",
        "identity_status": "Anonymized (Back turned)",
        "orientation": {
          "body_direction": "Walking away from the camera",
          "face_direction": "Forward (away from camera)"
        },
        "posture": {
          "general_definition": "Walking",
          "visibility_extent": "Full body visible in distance"
        },
        "clothing": {
          "upper_body": "Dark coat",
          "lower_body": "Dark trousers"
        }
      }
    ],
    "objects": [
      {
        "name": "Convex Traffic Mirror",
        "purpose": "Traffic safety/Visibility for blind corners",
        "contribution_to_scene": "Acts as the focal point and frame for the self-portrait reflection",
        "proportions": "Dominates the center foreground",
        "color": "Orange (rim), Reflective silver (surface)",
        "location": "Center of the image"
      },
      {
        "name": "Street Sign",
        "purpose": "Navigation/Location identifier",
        "text_content": "MAKLIK (Partial visibility)",
        "color": "Red background with white text",
        "location": "Attached to the pole above the mirror"
      },
      {
        "name": "Apartment Building (Left)",
        "purpose": "Residential/Commercial",
        "proportions": "Large, multi-story structure",
        "color": "Grey and white facade",
        "features": "Balconies with white railings, tall metal chimney/vent pipe attached to side",
        "location": "Left side foreground"
      },
      {
        "name": "Wooden Building (Background Left)",
        "purpose": "Residential/Historic",
        "color": "Faded Red/Pink",
        "location": "Visible in the background behind the mirror",
        "features": "Traditional architecture, wooden siding"
      },
      {
        "name": "White Building (In Reflection)",
        "purpose": "Public/Institutional",
        "color": "Cream/White",
        "location": "Reflected in the mirror",
        "features": "Arched windows, historic style"
      },
      {
        "name": "Trees/Vegetation",
        "purpose": "Environment",
        "color": "Dark Green/Brownish (Autumnal)",
        "location": "Right side and background"
      }
    ],
    "negative_prompt": "bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark"
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "environment": {
      "type": "Outdoor",
      "setting": "Urban street scene",
      "weather": "Overcast/Cloudy"
    },
    "technical_specs": {
      "camera_lens": "Wide-angle (likely smartphone rear camera)",
      "camera_angle": "Low angle, looking upwards towards a traffic mirror and street sign",
      "focus": "Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature"
    },
    "lighting": [
      {
        "source_id": 1,
        "type": "Natural Ambient Light (Overcast Sky)",
        "angle": "Overhead/Diffused",
        "color": "Cool White / Greyish",
        "intensity": "Moderate",
        "effect_on_objects": "Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror."
      }
    ],
    "people": [
      {
        "id": "person_1_photographer",
        "location": "Visible inside the reflection of the convex mirror",
        "identity_status": "Anonymized (Face obscured by phone)",
        "orientation": {
          "body_direction": "Facing forward (towards the mirror)",
          "face_direction": "Facing forward (towards the mirror/phone)"
        },
        "emotional_state": "Indeterminable (Face obscured)",
        "posture": {
          "general_definition": "Standing upright",
          "feet_position": "Not visible (cropped in reflection)",
          "hand_position": "Raised to face level, holding a smartphone to take the photo",
          "visibility_extent": "Visible from mid-thigh/knees up to head in the reflection"
        },
        "head_details": {
          "hair": {
            "color": "Dark (Black or Dark Brown)",
            "style": "Long, loose",
            "shape": "Falls over shoulders"
          },
          "ears": "Covered by hair",
          "face_features": {
            "forehead": "Obscured by phone/hair",
            "eyes": "Obscured by phone",
            "nose": "Obscured by phone",
            "mouth": "Obscured by phone",
            "chin": "Partially visible below phone, fair skin tone"
          },
          "facial_hair": "None"
        },
        "body_details": {
          "body_type": "Average/Slender (hard to determine due to heavy clothing)",
          "skin_tone": "Light/Fair (visible on hands/face)",
          "neck": "Covered by scarf",
          "shoulders": "covered by coat, relaxed",
          "chest": {
            "ratio_to_body": "Indeterminable (covered by thick coat)",
            "measurements": "Indeterminable",
            "bra_status": "Indeterminable",
            "nipple_visibility": "Not visible",
            "size_appearance": "Indeterminable due to winter clothing"
          },
          "abdomen": {
            "ratio_to_body": "Concealed by coat",
            "ratio_to_chest": "Indeterminable",
            "ratio_to_hips": "Indeterminable"
          },
          "hips": {
            "ratio_to_body": "Concealed by coat",
            "measurement_estimation": "Indeterminable"
          },
          "legs": {
            "visibility": "Partially visible (upper thighs)",
            "clothing": "Dark trousers/tights"
          }
        },
        "clothing": {
          "upper_body": "Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely",
          "lower_body": "Dark trousers or leggings (partially visible)",
          "light_interaction": "Fabric absorbs light, appearing matte",
          "accessories": "Smartphone (held in hands)",
          "footwear": "Not visible"
        }
      },
      {
        "id": "person_2_pedestrian",
        "location": "Visible inside the reflection of the convex mirror (background)",
        "identity_status": "Anonymized (Back turned)",
        "orientation": {
          "body_direction": "Walking away from the camera",
          "face_direction": "Forward (away from camera)"
        },
        "posture": {
          "general_definition": "Walking",
          "visibility_extent": "Full body visible in distance"
        },
        "clothing": {
          "upper_body": "Dark coat",
          "lower_body": "Dark trousers"
        }
      }
    ],
    "objects": [
      {
        "name": "Convex Traffic Mirror",
        "purpose": "Traffic safety/Visibility for blind corners",
        "contribution_to_scene": "Acts as the focal point and frame for the self-portrait reflection",
        "proportions": "Dominates the center foreground",
        "color": "Orange (rim), Reflective silver (surface)",
        "location": "Center of the image"
      },
      {
        "name": "Street Sign",
        "purpose": "Navigation/Location identifier",
        "text_content": "MAKLIK (Partial visibility)",
        "color": "Red background with white text",
        "location": "Attached to the pole above the mirror"
      },
      {
        "name": "Apartment Building (Left)",
        "purpose": "Residential/Commercial",
        "proportions": "Large, multi-story structure",
        "color": "Grey and white facade",
        "features": "Balconies with white railings, tall metal chimney/vent pipe attached to side",
        "location": "Left side foreground"
      },
      {
        "name": "Wooden Building (Background Left)",
        "purpose": "Residential/Historic",
        "color": "Faded Red/Pink",
        "location": "Visible in the background behind the mirror",
        "features": "Traditional architecture, wooden siding"
      },
      {
        "name": "White Building (In Reflection)",
        "purpose": "Public/Institutional",
        "color": "Cream/White",
        "location": "Reflected in the mirror",
        "features": "Arched windows, historic style"
      },
      {
        "name": "Trees/Vegetation",
        "purpose": "Environment",
        "color": "Dark Green/Brownish (Autumnal)",
        "location": "Right side and background"
      }
    ],
    "negative_prompt": "bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark"
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "environment": {
      "type": "Outdoor",
      "setting": "Urban street scene",
      "weather": "Overcast/Cloudy"
    },
    "technical_specs": {
      "camera_lens": "Wide-angle (likely smartphone rear camera)",
      "camera_angle": "Low angle, looking upwards towards a traffic mirror and street sign",
      "focus": "Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature"
    },
    "lighting": [
      {
        "source_id": 1,
        "type": "Natural Ambient Light (Overcast Sky)",
        "angle": "Overhead/Diffused",
        "color": "Cool White / Greyish",
        "intensity": "Moderate",
        "effect_on_objects": "Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror."
      }
    ],
    "people": [
      {
        "id": "person_1_photographer",
        "location": "Visible inside the reflection of the convex mirror",
        "identity_status": "Anonymized (Face obscured by phone)",
        "orientation": {
          "body_direction": "Facing forward (towards the mirror)",
          "face_direction": "Facing forward (towards the mirror/phone)"
        },
        "emotional_state": "Indeterminable (Face obscured)",
        "posture": {
          "general_definition": "Standing upright",
          "feet_position": "Not visible (cropped in reflection)",
          "hand_position": "Raised to face level, holding a smartphone to take the photo",
          "visibility_extent": "Visible from mid-thigh/knees up to head in the reflection"
        },
        "head_details": {
          "hair": {
            "color": "Dark (Black or Dark Brown)",
            "style": "Long, loose",
            "shape": "Falls over shoulders"
          },
          "ears": "Covered by hair",
          "face_features": {
            "forehead": "Obscured by phone/hair",
            "eyes": "Obscured by phone",
            "nose": "Obscured by phone",
            "mouth": "Obscured by phone",
            "chin": "Partially visible below phone, fair skin tone"
          },
          "facial_hair": "None"
        },
        "body_details": {
          "body_type": "Average/Slender (hard to determine due to heavy clothing)",
          "skin_tone": "Light/Fair (visible on hands/face)",
          "neck": "Covered by scarf",
          "shoulders": "covered by coat, relaxed",
          "chest": {
            "ratio_to_body": "Indeterminable (covered by thick coat)",
            "measurements": "Indeterminable",
            "bra_status": "Indeterminable",
            "nipple_visibility": "Not visible",
            "size_appearance": "Indeterminable due to winter clothing"
          },
          "abdomen": {
            "ratio_to_body": "Concealed by coat",
            "ratio_to_chest": "Indeterminable",
            "ratio_to_hips": "Indeterminable"
          },
          "hips": {
            "ratio_to_body": "Concealed by coat",
            "measurement_estimation": "Indeterminable"
          },
          "legs": {
            "visibility": "Partially visible (upper thighs)",
            "clothing": "Dark trousers/tights"
          }
        },
        "clothing": {
          "upper_body": "Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely",
          "lower_body": "Dark trousers or leggings (partially visible)",
          "light_interaction": "Fabric absorbs light, appearing matte",
          "accessories": "Smartphone (held in hands)",
          "footwear": "Not visible"
        }
      },
      {
        "id": "person_2_pedestrian",
        "location": "Visible inside the reflection of the convex mirror (background)",
        "identity_status": "Anonymized (Back turned)",
        "orientation": {
          "body_direction": "Walking away from the camera",
          "face_direction": "Forward (away from camera)"
        },
        "posture": {
          "general_definition": "Walking",
          "visibility_extent": "Full body visible in distance"
        },
        "clothing": {
          "upper_body": "Dark coat",
          "lower_body": "Dark trousers"
        }
      }
    ],
    "objects": [
      {
        "name": "Convex Traffic Mirror",
        "purpose": "Traffic safety/Visibility for blind corners",
        "contribution_to_scene": "Acts as the focal point and frame for the self-portrait reflection",
        "proportions": "Dominates the center foreground",
        "color": "Orange (rim), Reflective silver (surface)",
        "location": "Center of the image"
      },
      {
        "name": "Street Sign",
        "purpose": "Navigation/Location identifier",
        "text_content": "MAKLIK (Partial visibility)",
        "color": "Red background with white text",
        "location": "Attached to the pole above the mirror"
      },
      {
        "name": "Apartment Building (Left)",
        "purpose": "Residential/Commercial",
        "proportions": "Large, multi-story structure",
        "color": "Grey and white facade",
        "features": "Balconies with white railings, tall metal chimney/vent pipe attached to side",
        "location": "Left side foreground"
      },
      {
        "name": "Wooden Building (Background Left)",
        "purpose": "Residential/Historic",
        "color": "Faded Red/Pink",
        "location": "Visible in the background behind the mirror",
        "features": "Traditional architecture, wooden siding"
      },
      {
        "name": "White Building (In Reflection)",
        "purpose": "Public/Institutional",
        "color": "Cream/White",
        "location": "Reflected in the mirror",
        "features": "Arched windows, historic style"
      },
      {
        "name": "Trees/Vegetation",
        "purpose": "Environment",
        "color": "Dark Green/Brownish (Autumnal)",
        "location": "Right side and background"
      }
    ],
    "negative_prompt": "bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark"
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "image_analysis": {
    "environment": {
      "type": "Outdoor",
      "setting": "Urban street scene",
      "weather": "Overcast/Cloudy"
    },
    "technical_specs": {
      "camera_lens": "Wide-angle (likely smartphone rear camera)",
      "camera_angle": "Low angle, looking upwards towards a traffic mirror and street sign",
      "focus": "Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature"
    },
    "lighting": [
      {
        "source_id": 1,
        "type": "Natural Ambient Light (Overcast Sky)",
        "angle": "Overhead/Diffused",
        "color": "Cool White / Greyish",
        "intensity": "Moderate",
        "effect_on_objects": "Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror."
      }
    ],
    "people": [
      {
        "id": "person_1_photographer",
        "location": "Visible inside the reflection of the convex mirror",
        "identity_status": "Anonymized (Face obscured by phone)",
        "orientation": {
          "body_direction": "Facing forward (towards the mirror)",
          "face_direction": "Facing forward (towards the mirror/phone)"
        },
        "emotional_state": "Indeterminable (Face obscured)",
        "posture": {
          "general_definition": "Standing upright",
          "feet_position": "Not visible (cropped in reflection)",
          "hand_position": "Raised to face level, holding a smartphone to take the photo",
          "visibility_extent": "Visible from mid-thigh/knees up to head in the reflection"
        },
        "head_details": {
          "hair": {
            "color": "Dark (Black or Dark Brown)",
            "style": "Long, loose",
            "shape": "Falls over shoulders"
          },
          "ears": "Covered by hair",
          "face_features": {
            "forehead": "Obscured by phone/hair",
            "eyes": "Obscured by phone",
            "nose": "Obscured by phone",
            "mouth": "Obscured by phone",
            "chin": "Partially visible below phone, fair skin tone"
          },
          "facial_hair": "None"
        },
        "body_details": {
          "body_type": "Average/Slender (hard to determine due to heavy clothing)",
          "skin_tone": "Light/Fair (visible on hands/face)",
          "neck": "Covered by scarf",
          "shoulders": "covered by coat, relaxed",
          "chest": {
            "ratio_to_body": "Indeterminable (covered by thick coat)",
            "measurements": "Indeterminable",
            "bra_status": "Indeterminable",
            "nipple_visibility": "Not visible",
            "size_appearance": "Indeterminable due to winter clothing"
          },
          "abdomen": {
            "ratio_to_body": "Concealed by coat",
            "ratio_to_chest": "Indeterminable",
            "ratio_to_hips": "Indeterminable"
          },
          "hips": {
            "ratio_to_body": "Concealed by coat",
            "measurement_estimation": "Indeterminable"
          },
          "legs": {
            "visibility": "Partially visible (upper thighs)",
            "clothing": "Dark trousers/tights"
          }
        },
        "clothing": {
          "upper_body": "Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely",
          "lower_body": "Dark trousers or leggings (partially visible)",
          "light_interaction": "Fabric absorbs light, appearing matte",
          "accessories": "Smartphone (held in hands)",
          "footwear": "Not visible"
        }
      },
      {
        "id": "person_2_pedestrian",
        "location": "Visible inside the reflection of the convex mirror (background)",
        "identity_status": "Anonymized (Back turned)",
        "orientation": {
          "body_direction": "Walking away from the camera",
          "face_direction": "Forward (away from camera)"
        },
        "posture": {
          "general_definition": "Walking",
          "visibility_extent": "Full body visible in distance"
        },
        "clothing": {
          "upper_body": "Dark coat",
          "lower_body": "Dark trousers"
        }
      }
    ],
    "objects": [
      {
        "name": "Convex Traffic Mirror",
        "purpose": "Traffic safety/Visibility for blind corners",
        "contribution_to_scene": "Acts as the focal point and frame for the self-portrait reflection",
        "proportions": "Dominates the center foreground",
        "color": "Orange (rim), Reflective silver (surface)",
        "location": "Center of the image"
      },
      {
        "name": "Street Sign",
        "purpose": "Navigation/Location identifier",
        "text_content": "MAKLIK (Partial visibility)",
        "color": "Red background with white text",
        "location": "Attached to the pole above the mirror"
      },
      {
        "name": "Apartment Building (Left)",
        "purpose": "Residential/Commercial",
        "proportions": "Large, multi-story structure",
        "color": "Grey and white facade",
        "features": "Balconies with white railings, tall metal chimney/vent pipe attached to side",
        "location": "Left side foreground"
      },
      {
        "name": "Wooden Building (Background Left)",
        "purpose": "Residential/Historic",
        "color": "Faded Red/Pink",
        "location": "Visible in the background behind the mirror",
        "features": "Traditional architecture, wooden siding"
      },
      {
        "name": "White Building (In Reflection)",
        "purpose": "Public/Institutional",
        "color": "Cream/White",
        "location": "Reflected in the mirror",
        "features": "Arched windows, historic style"
      },
      {
        "name": "Trees/Vegetation",
        "purpose": "Environment",
        "color": "Dark Green/Brownish (Autumnal)",
        "location": "Right side and background"
      }
    ],
    "negative_prompt": "bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark"
  }
}"

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

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

### curl

```curl
curl -X POST https://runapi.ai/api/v1/runapi/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "prompt": "{\n  \"image_analysis\": {\n    \"environment\": {\n      \"type\": \"Outdoor\",\n      \"setting\": \"Urban street scene\",\n      \"weather\": \"Overcast/Cloudy\"\n    },\n    \"technical_specs\": {\n      \"camera_lens\": \"Wide-angle (likely smartphone rear camera)\",\n      \"camera_angle\": \"Low angle, looking upwards towards a traffic mirror and street sign\",\n      \"focus\": \"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\"\n    },\n    \"lighting\": [\n      {\n        \"source_id\": 1,\n        \"type\": \"Natural Ambient Light (Overcast Sky)\",\n        \"angle\": \"Overhead/Diffused\",\n        \"color\": \"Cool White / Greyish\",\n        \"intensity\": \"Moderate\",\n        \"effect_on_objects\": \"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\"\n      }\n    ],\n    \"people\": [\n      {\n        \"id\": \"person_1_photographer\",\n        \"location\": \"Visible inside the reflection of the convex mirror\",\n        \"identity_status\": \"Anonymized (Face obscured by phone)\",\n        \"orientation\": {\n          \"body_direction\": \"Facing forward (towards the mirror)\",\n          \"face_direction\": \"Facing forward (towards the mirror/phone)\"\n        },\n        \"emotional_state\": \"Indeterminable (Face obscured)\",\n        \"posture\": {\n          \"general_definition\": \"Standing upright\",\n          \"feet_position\": \"Not visible (cropped in reflection)\",\n          \"hand_position\": \"Raised to face level, holding a smartphone to take the photo\",\n          \"visibility_extent\": \"Visible from mid-thigh/knees up to head in the reflection\"\n        },\n        \"head_details\": {\n          \"hair\": {\n            \"color\": \"Dark (Black or Dark Brown)\",\n            \"style\": \"Long, loose\",\n            \"shape\": \"Falls over shoulders\"\n          },\n          \"ears\": \"Covered by hair\",\n          \"face_features\": {\n            \"forehead\": \"Obscured by phone/hair\",\n            \"eyes\": \"Obscured by phone\",\n            \"nose\": \"Obscured by phone\",\n            \"mouth\": \"Obscured by phone\",\n            \"chin\": \"Partially visible below phone, fair skin tone\"\n          },\n          \"facial_hair\": \"None\"\n        },\n        \"body_details\": {\n          \"body_type\": \"Average/Slender (hard to determine due to heavy clothing)\",\n          \"skin_tone\": \"Light/Fair (visible on hands/face)\",\n          \"neck\": \"Covered by scarf\",\n          \"shoulders\": \"covered by coat, relaxed\",\n          \"chest\": {\n            \"ratio_to_body\": \"Indeterminable (covered by thick coat)\",\n            \"measurements\": \"Indeterminable\",\n            \"bra_status\": \"Indeterminable\",\n            \"nipple_visibility\": \"Not visible\",\n            \"size_appearance\": \"Indeterminable due to winter clothing\"\n          },\n          \"abdomen\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"ratio_to_chest\": \"Indeterminable\",\n            \"ratio_to_hips\": \"Indeterminable\"\n          },\n          \"hips\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"measurement_estimation\": \"Indeterminable\"\n          },\n          \"legs\": {\n            \"visibility\": \"Partially visible (upper thighs)\",\n            \"clothing\": \"Dark trousers/tights\"\n          }\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\",\n          \"lower_body\": \"Dark trousers or leggings (partially visible)\",\n          \"light_interaction\": \"Fabric absorbs light, appearing matte\",\n          \"accessories\": \"Smartphone (held in hands)\",\n          \"footwear\": \"Not visible\"\n        }\n      },\n      {\n        \"id\": \"person_2_pedestrian\",\n        \"location\": \"Visible inside the reflection of the convex mirror (background)\",\n        \"identity_status\": \"Anonymized (Back turned)\",\n        \"orientation\": {\n          \"body_direction\": \"Walking away from the camera\",\n          \"face_direction\": \"Forward (away from camera)\"\n        },\n        \"posture\": {\n          \"general_definition\": \"Walking\",\n          \"visibility_extent\": \"Full body visible in distance\"\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark coat\",\n          \"lower_body\": \"Dark trousers\"\n        }\n      }\n    ],\n    \"objects\": [\n      {\n        \"name\": \"Convex Traffic Mirror\",\n        \"purpose\": \"Traffic safety/Visibility for blind corners\",\n        \"contribution_to_scene\": \"Acts as the focal point and frame for the self-portrait reflection\",\n        \"proportions\": \"Dominates the center foreground\",\n        \"color\": \"Orange (rim), Reflective silver (surface)\",\n        \"location\": \"Center of the image\"\n      },\n      {\n        \"name\": \"Street Sign\",\n        \"purpose\": \"Navigation/Location identifier\",\n        \"text_content\": \"MAKLIK (Partial visibility)\",\n        \"color\": \"Red background with white text\",\n        \"location\": \"Attached to the pole above the mirror\"\n      },\n      {\n        \"name\": \"Apartment Building (Left)\",\n        \"purpose\": \"Residential/Commercial\",\n        \"proportions\": \"Large, multi-story structure\",\n        \"color\": \"Grey and white facade\",\n        \"features\": \"Balconies with white railings, tall metal chimney/vent pipe attached to side\",\n        \"location\": \"Left side foreground\"\n      },\n      {\n        \"name\": \"Wooden Building (Background Left)\",\n        \"purpose\": \"Residential/Historic\",\n        \"color\": \"Faded Red/Pink\",\n        \"location\": \"Visible in the background behind the mirror\",\n        \"features\": \"Traditional architecture, wooden siding\"\n      },\n      {\n        \"name\": \"White Building (In Reflection)\",\n        \"purpose\": \"Public/Institutional\",\n        \"color\": \"Cream/White\",\n        \"location\": \"Reflected in the mirror\",\n        \"features\": \"Arched windows, historic style\"\n      },\n      {\n        \"name\": \"Trees/Vegetation\",\n        \"purpose\": \"Environment\",\n        \"color\": \"Dark Green/Brownish (Autumnal)\",\n        \"location\": \"Right side and background\"\n      }\n    ],\n    \"negative_prompt\": \"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\"\n  }\n}"
}
JSON
```

### Node.js

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

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

const result = await client.textToImage.run({
  "prompt": "{\n  \"image_analysis\": {\n    \"environment\": {\n      \"type\": \"Outdoor\",\n      \"setting\": \"Urban street scene\",\n      \"weather\": \"Overcast/Cloudy\"\n    },\n    \"technical_specs\": {\n      \"camera_lens\": \"Wide-angle (likely smartphone rear camera)\",\n      \"camera_angle\": \"Low angle, looking upwards towards a traffic mirror and street sign\",\n      \"focus\": \"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\"\n    },\n    \"lighting\": [\n      {\n        \"source_id\": 1,\n        \"type\": \"Natural Ambient Light (Overcast Sky)\",\n        \"angle\": \"Overhead/Diffused\",\n        \"color\": \"Cool White / Greyish\",\n        \"intensity\": \"Moderate\",\n        \"effect_on_objects\": \"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\"\n      }\n    ],\n    \"people\": [\n      {\n        \"id\": \"person_1_photographer\",\n        \"location\": \"Visible inside the reflection of the convex mirror\",\n        \"identity_status\": \"Anonymized (Face obscured by phone)\",\n        \"orientation\": {\n          \"body_direction\": \"Facing forward (towards the mirror)\",\n          \"face_direction\": \"Facing forward (towards the mirror/phone)\"\n        },\n        \"emotional_state\": \"Indeterminable (Face obscured)\",\n        \"posture\": {\n          \"general_definition\": \"Standing upright\",\n          \"feet_position\": \"Not visible (cropped in reflection)\",\n          \"hand_position\": \"Raised to face level, holding a smartphone to take the photo\",\n          \"visibility_extent\": \"Visible from mid-thigh/knees up to head in the reflection\"\n        },\n        \"head_details\": {\n          \"hair\": {\n            \"color\": \"Dark (Black or Dark Brown)\",\n            \"style\": \"Long, loose\",\n            \"shape\": \"Falls over shoulders\"\n          },\n          \"ears\": \"Covered by hair\",\n          \"face_features\": {\n            \"forehead\": \"Obscured by phone/hair\",\n            \"eyes\": \"Obscured by phone\",\n            \"nose\": \"Obscured by phone\",\n            \"mouth\": \"Obscured by phone\",\n            \"chin\": \"Partially visible below phone, fair skin tone\"\n          },\n          \"facial_hair\": \"None\"\n        },\n        \"body_details\": {\n          \"body_type\": \"Average/Slender (hard to determine due to heavy clothing)\",\n          \"skin_tone\": \"Light/Fair (visible on hands/face)\",\n          \"neck\": \"Covered by scarf\",\n          \"shoulders\": \"covered by coat, relaxed\",\n          \"chest\": {\n            \"ratio_to_body\": \"Indeterminable (covered by thick coat)\",\n            \"measurements\": \"Indeterminable\",\n            \"bra_status\": \"Indeterminable\",\n            \"nipple_visibility\": \"Not visible\",\n            \"size_appearance\": \"Indeterminable due to winter clothing\"\n          },\n          \"abdomen\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"ratio_to_chest\": \"Indeterminable\",\n            \"ratio_to_hips\": \"Indeterminable\"\n          },\n          \"hips\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"measurement_estimation\": \"Indeterminable\"\n          },\n          \"legs\": {\n            \"visibility\": \"Partially visible (upper thighs)\",\n            \"clothing\": \"Dark trousers/tights\"\n          }\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\",\n          \"lower_body\": \"Dark trousers or leggings (partially visible)\",\n          \"light_interaction\": \"Fabric absorbs light, appearing matte\",\n          \"accessories\": \"Smartphone (held in hands)\",\n          \"footwear\": \"Not visible\"\n        }\n      },\n      {\n        \"id\": \"person_2_pedestrian\",\n        \"location\": \"Visible inside the reflection of the convex mirror (background)\",\n        \"identity_status\": \"Anonymized (Back turned)\",\n        \"orientation\": {\n          \"body_direction\": \"Walking away from the camera\",\n          \"face_direction\": \"Forward (away from camera)\"\n        },\n        \"posture\": {\n          \"general_definition\": \"Walking\",\n          \"visibility_extent\": \"Full body visible in distance\"\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark coat\",\n          \"lower_body\": \"Dark trousers\"\n        }\n      }\n    ],\n    \"objects\": [\n      {\n        \"name\": \"Convex Traffic Mirror\",\n        \"purpose\": \"Traffic safety/Visibility for blind corners\",\n        \"contribution_to_scene\": \"Acts as the focal point and frame for the self-portrait reflection\",\n        \"proportions\": \"Dominates the center foreground\",\n        \"color\": \"Orange (rim), Reflective silver (surface)\",\n        \"location\": \"Center of the image\"\n      },\n      {\n        \"name\": \"Street Sign\",\n        \"purpose\": \"Navigation/Location identifier\",\n        \"text_content\": \"MAKLIK (Partial visibility)\",\n        \"color\": \"Red background with white text\",\n        \"location\": \"Attached to the pole above the mirror\"\n      },\n      {\n        \"name\": \"Apartment Building (Left)\",\n        \"purpose\": \"Residential/Commercial\",\n        \"proportions\": \"Large, multi-story structure\",\n        \"color\": \"Grey and white facade\",\n        \"features\": \"Balconies with white railings, tall metal chimney/vent pipe attached to side\",\n        \"location\": \"Left side foreground\"\n      },\n      {\n        \"name\": \"Wooden Building (Background Left)\",\n        \"purpose\": \"Residential/Historic\",\n        \"color\": \"Faded Red/Pink\",\n        \"location\": \"Visible in the background behind the mirror\",\n        \"features\": \"Traditional architecture, wooden siding\"\n      },\n      {\n        \"name\": \"White Building (In Reflection)\",\n        \"purpose\": \"Public/Institutional\",\n        \"color\": \"Cream/White\",\n        \"location\": \"Reflected in the mirror\",\n        \"features\": \"Arched windows, historic style\"\n      },\n      {\n        \"name\": \"Trees/Vegetation\",\n        \"purpose\": \"Environment\",\n        \"color\": \"Dark Green/Brownish (Autumnal)\",\n        \"location\": \"Right side and background\"\n      }\n    ],\n    \"negative_prompt\": \"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\"\n  }\n}"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/runapi/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"prompt\": \"{\\n  \\\"image_analysis\\\": {\\n    \\\"environment\\\": {\\n      \\\"type\\\": \\\"Outdoor\\\",\\n      \\\"setting\\\": \\\"Urban street scene\\\",\\n      \\\"weather\\\": \\\"Overcast/Cloudy\\\"\\n    },\\n    \\\"technical_specs\\\": {\\n      \\\"camera_lens\\\": \\\"Wide-angle (likely smartphone rear camera)\\\",\\n      \\\"camera_angle\\\": \\\"Low angle, looking upwards towards a traffic mirror and street sign\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\\\"\\n    },\\n    \\\"lighting\\\": [\\n      {\\n        \\\"source_id\\\": 1,\\n        \\\"type\\\": \\\"Natural Ambient Light (Overcast Sky)\\\",\\n        \\\"angle\\\": \\\"Overhead/Diffused\\\",\\n        \\\"color\\\": \\\"Cool White / Greyish\\\",\\n        \\\"intensity\\\": \\\"Moderate\\\",\\n        \\\"effect_on_objects\\\": \\\"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\\\"\\n      }\\n    ],\\n    \\\"people\\\": [\\n      {\\n        \\\"id\\\": \\\"person_1_photographer\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Face obscured by phone)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Facing forward (towards the mirror)\\\",\\n          \\\"face_direction\\\": \\\"Facing forward (towards the mirror/phone)\\\"\\n        },\\n        \\\"emotional_state\\\": \\\"Indeterminable (Face obscured)\\\",\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Standing upright\\\",\\n          \\\"feet_position\\\": \\\"Not visible (cropped in reflection)\\\",\\n          \\\"hand_position\\\": \\\"Raised to face level, holding a smartphone to take the photo\\\",\\n          \\\"visibility_extent\\\": \\\"Visible from mid-thigh/knees up to head in the reflection\\\"\\n        },\\n        \\\"head_details\\\": {\\n          \\\"hair\\\": {\\n            \\\"color\\\": \\\"Dark (Black or Dark Brown)\\\",\\n            \\\"style\\\": \\\"Long, loose\\\",\\n            \\\"shape\\\": \\\"Falls over shoulders\\\"\\n          },\\n          \\\"ears\\\": \\\"Covered by hair\\\",\\n          \\\"face_features\\\": {\\n            \\\"forehead\\\": \\\"Obscured by phone/hair\\\",\\n            \\\"eyes\\\": \\\"Obscured by phone\\\",\\n            \\\"nose\\\": \\\"Obscured by phone\\\",\\n            \\\"mouth\\\": \\\"Obscured by phone\\\",\\n            \\\"chin\\\": \\\"Partially visible below phone, fair skin tone\\\"\\n          },\\n          \\\"facial_hair\\\": \\\"None\\\"\\n        },\\n        \\\"body_details\\\": {\\n          \\\"body_type\\\": \\\"Average/Slender (hard to determine due to heavy clothing)\\\",\\n          \\\"skin_tone\\\": \\\"Light/Fair (visible on hands/face)\\\",\\n          \\\"neck\\\": \\\"Covered by scarf\\\",\\n          \\\"shoulders\\\": \\\"covered by coat, relaxed\\\",\\n          \\\"chest\\\": {\\n            \\\"ratio_to_body\\\": \\\"Indeterminable (covered by thick coat)\\\",\\n            \\\"measurements\\\": \\\"Indeterminable\\\",\\n            \\\"bra_status\\\": \\\"Indeterminable\\\",\\n            \\\"nipple_visibility\\\": \\\"Not visible\\\",\\n            \\\"size_appearance\\\": \\\"Indeterminable due to winter clothing\\\"\\n          },\\n          \\\"abdomen\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"ratio_to_chest\\\": \\\"Indeterminable\\\",\\n            \\\"ratio_to_hips\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"hips\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"measurement_estimation\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"legs\\\": {\\n            \\\"visibility\\\": \\\"Partially visible (upper thighs)\\\",\\n            \\\"clothing\\\": \\\"Dark trousers/tights\\\"\\n          }\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers or leggings (partially visible)\\\",\\n          \\\"light_interaction\\\": \\\"Fabric absorbs light, appearing matte\\\",\\n          \\\"accessories\\\": \\\"Smartphone (held in hands)\\\",\\n          \\\"footwear\\\": \\\"Not visible\\\"\\n        }\\n      },\\n      {\\n        \\\"id\\\": \\\"person_2_pedestrian\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror (background)\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Back turned)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Walking away from the camera\\\",\\n          \\\"face_direction\\\": \\\"Forward (away from camera)\\\"\\n        },\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Walking\\\",\\n          \\\"visibility_extent\\\": \\\"Full body visible in distance\\\"\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark coat\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers\\\"\\n        }\\n      }\\n    ],\\n    \\\"objects\\\": [\\n      {\\n        \\\"name\\\": \\\"Convex Traffic Mirror\\\",\\n        \\\"purpose\\\": \\\"Traffic safety/Visibility for blind corners\\\",\\n        \\\"contribution_to_scene\\\": \\\"Acts as the focal point and frame for the self-portrait reflection\\\",\\n        \\\"proportions\\\": \\\"Dominates the center foreground\\\",\\n        \\\"color\\\": \\\"Orange (rim), Reflective silver (surface)\\\",\\n        \\\"location\\\": \\\"Center of the image\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Street Sign\\\",\\n        \\\"purpose\\\": \\\"Navigation/Location identifier\\\",\\n        \\\"text_content\\\": \\\"MAKLIK (Partial visibility)\\\",\\n        \\\"color\\\": \\\"Red background with white text\\\",\\n        \\\"location\\\": \\\"Attached to the pole above the mirror\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Apartment Building (Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Commercial\\\",\\n        \\\"proportions\\\": \\\"Large, multi-story structure\\\",\\n        \\\"color\\\": \\\"Grey and white facade\\\",\\n        \\\"features\\\": \\\"Balconies with white railings, tall metal chimney/vent pipe attached to side\\\",\\n        \\\"location\\\": \\\"Left side foreground\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Wooden Building (Background Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Historic\\\",\\n        \\\"color\\\": \\\"Faded Red/Pink\\\",\\n        \\\"location\\\": \\\"Visible in the background behind the mirror\\\",\\n        \\\"features\\\": \\\"Traditional architecture, wooden siding\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"White Building (In Reflection)\\\",\\n        \\\"purpose\\\": \\\"Public/Institutional\\\",\\n        \\\"color\\\": \\\"Cream/White\\\",\\n        \\\"location\\\": \\\"Reflected in the mirror\\\",\\n        \\\"features\\\": \\\"Arched windows, historic style\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Trees/Vegetation\\\",\\n        \\\"purpose\\\": \\\"Environment\\\",\\n        \\\"color\\\": \\\"Dark Green/Brownish (Autumnal)\\\",\\n        \\\"location\\\": \\\"Right side and background\\\"\\n      }\\n    ],\\n    \\\"negative_prompt\\\": \\\"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\\\"\\n  }\\n}\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/runapi/text_to_image");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("RUNAPI_API_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => "{\n  \"prompt\": \"{\\n  \\\"image_analysis\\\": {\\n    \\\"environment\\\": {\\n      \\\"type\\\": \\\"Outdoor\\\",\\n      \\\"setting\\\": \\\"Urban street scene\\\",\\n      \\\"weather\\\": \\\"Overcast/Cloudy\\\"\\n    },\\n    \\\"technical_specs\\\": {\\n      \\\"camera_lens\\\": \\\"Wide-angle (likely smartphone rear camera)\\\",\\n      \\\"camera_angle\\\": \\\"Low angle, looking upwards towards a traffic mirror and street sign\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\\\"\\n    },\\n    \\\"lighting\\\": [\\n      {\\n        \\\"source_id\\\": 1,\\n        \\\"type\\\": \\\"Natural Ambient Light (Overcast Sky)\\\",\\n        \\\"angle\\\": \\\"Overhead/Diffused\\\",\\n        \\\"color\\\": \\\"Cool White / Greyish\\\",\\n        \\\"intensity\\\": \\\"Moderate\\\",\\n        \\\"effect_on_objects\\\": \\\"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\\\"\\n      }\\n    ],\\n    \\\"people\\\": [\\n      {\\n        \\\"id\\\": \\\"person_1_photographer\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Face obscured by phone)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Facing forward (towards the mirror)\\\",\\n          \\\"face_direction\\\": \\\"Facing forward (towards the mirror/phone)\\\"\\n        },\\n        \\\"emotional_state\\\": \\\"Indeterminable (Face obscured)\\\",\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Standing upright\\\",\\n          \\\"feet_position\\\": \\\"Not visible (cropped in reflection)\\\",\\n          \\\"hand_position\\\": \\\"Raised to face level, holding a smartphone to take the photo\\\",\\n          \\\"visibility_extent\\\": \\\"Visible from mid-thigh/knees up to head in the reflection\\\"\\n        },\\n        \\\"head_details\\\": {\\n          \\\"hair\\\": {\\n            \\\"color\\\": \\\"Dark (Black or Dark Brown)\\\",\\n            \\\"style\\\": \\\"Long, loose\\\",\\n            \\\"shape\\\": \\\"Falls over shoulders\\\"\\n          },\\n          \\\"ears\\\": \\\"Covered by hair\\\",\\n          \\\"face_features\\\": {\\n            \\\"forehead\\\": \\\"Obscured by phone/hair\\\",\\n            \\\"eyes\\\": \\\"Obscured by phone\\\",\\n            \\\"nose\\\": \\\"Obscured by phone\\\",\\n            \\\"mouth\\\": \\\"Obscured by phone\\\",\\n            \\\"chin\\\": \\\"Partially visible below phone, fair skin tone\\\"\\n          },\\n          \\\"facial_hair\\\": \\\"None\\\"\\n        },\\n        \\\"body_details\\\": {\\n          \\\"body_type\\\": \\\"Average/Slender (hard to determine due to heavy clothing)\\\",\\n          \\\"skin_tone\\\": \\\"Light/Fair (visible on hands/face)\\\",\\n          \\\"neck\\\": \\\"Covered by scarf\\\",\\n          \\\"shoulders\\\": \\\"covered by coat, relaxed\\\",\\n          \\\"chest\\\": {\\n            \\\"ratio_to_body\\\": \\\"Indeterminable (covered by thick coat)\\\",\\n            \\\"measurements\\\": \\\"Indeterminable\\\",\\n            \\\"bra_status\\\": \\\"Indeterminable\\\",\\n            \\\"nipple_visibility\\\": \\\"Not visible\\\",\\n            \\\"size_appearance\\\": \\\"Indeterminable due to winter clothing\\\"\\n          },\\n          \\\"abdomen\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"ratio_to_chest\\\": \\\"Indeterminable\\\",\\n            \\\"ratio_to_hips\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"hips\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"measurement_estimation\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"legs\\\": {\\n            \\\"visibility\\\": \\\"Partially visible (upper thighs)\\\",\\n            \\\"clothing\\\": \\\"Dark trousers/tights\\\"\\n          }\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers or leggings (partially visible)\\\",\\n          \\\"light_interaction\\\": \\\"Fabric absorbs light, appearing matte\\\",\\n          \\\"accessories\\\": \\\"Smartphone (held in hands)\\\",\\n          \\\"footwear\\\": \\\"Not visible\\\"\\n        }\\n      },\\n      {\\n        \\\"id\\\": \\\"person_2_pedestrian\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror (background)\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Back turned)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Walking away from the camera\\\",\\n          \\\"face_direction\\\": \\\"Forward (away from camera)\\\"\\n        },\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Walking\\\",\\n          \\\"visibility_extent\\\": \\\"Full body visible in distance\\\"\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark coat\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers\\\"\\n        }\\n      }\\n    ],\\n    \\\"objects\\\": [\\n      {\\n        \\\"name\\\": \\\"Convex Traffic Mirror\\\",\\n        \\\"purpose\\\": \\\"Traffic safety/Visibility for blind corners\\\",\\n        \\\"contribution_to_scene\\\": \\\"Acts as the focal point and frame for the self-portrait reflection\\\",\\n        \\\"proportions\\\": \\\"Dominates the center foreground\\\",\\n        \\\"color\\\": \\\"Orange (rim), Reflective silver (surface)\\\",\\n        \\\"location\\\": \\\"Center of the image\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Street Sign\\\",\\n        \\\"purpose\\\": \\\"Navigation/Location identifier\\\",\\n        \\\"text_content\\\": \\\"MAKLIK (Partial visibility)\\\",\\n        \\\"color\\\": \\\"Red background with white text\\\",\\n        \\\"location\\\": \\\"Attached to the pole above the mirror\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Apartment Building (Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Commercial\\\",\\n        \\\"proportions\\\": \\\"Large, multi-story structure\\\",\\n        \\\"color\\\": \\\"Grey and white facade\\\",\\n        \\\"features\\\": \\\"Balconies with white railings, tall metal chimney/vent pipe attached to side\\\",\\n        \\\"location\\\": \\\"Left side foreground\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Wooden Building (Background Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Historic\\\",\\n        \\\"color\\\": \\\"Faded Red/Pink\\\",\\n        \\\"location\\\": \\\"Visible in the background behind the mirror\\\",\\n        \\\"features\\\": \\\"Traditional architecture, wooden siding\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"White Building (In Reflection)\\\",\\n        \\\"purpose\\\": \\\"Public/Institutional\\\",\\n        \\\"color\\\": \\\"Cream/White\\\",\\n        \\\"location\\\": \\\"Reflected in the mirror\\\",\\n        \\\"features\\\": \\\"Arched windows, historic style\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Trees/Vegetation\\\",\\n        \\\"purpose\\\": \\\"Environment\\\",\\n        \\\"color\\\": \\\"Dark Green/Brownish (Autumnal)\\\",\\n        \\\"location\\\": \\\"Right side and background\\\"\\n      }\\n    ],\\n    \\\"negative_prompt\\\": \\\"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\\\"\\n  }\\n}\"\n}",
    CURLOPT_RETURNTRANSFER => true,
]);

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

### Java

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

var request = HttpRequest.newBuilder(URI.create("https://runapi.ai/api/v1/runapi/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"prompt\": \"{\\n  \\\"image_analysis\\\": {\\n    \\\"environment\\\": {\\n      \\\"type\\\": \\\"Outdoor\\\",\\n      \\\"setting\\\": \\\"Urban street scene\\\",\\n      \\\"weather\\\": \\\"Overcast/Cloudy\\\"\\n    },\\n    \\\"technical_specs\\\": {\\n      \\\"camera_lens\\\": \\\"Wide-angle (likely smartphone rear camera)\\\",\\n      \\\"camera_angle\\\": \\\"Low angle, looking upwards towards a traffic mirror and street sign\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\\\"\\n    },\\n    \\\"lighting\\\": [\\n      {\\n        \\\"source_id\\\": 1,\\n        \\\"type\\\": \\\"Natural Ambient Light (Overcast Sky)\\\",\\n        \\\"angle\\\": \\\"Overhead/Diffused\\\",\\n        \\\"color\\\": \\\"Cool White / Greyish\\\",\\n        \\\"intensity\\\": \\\"Moderate\\\",\\n        \\\"effect_on_objects\\\": \\\"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\\\"\\n      }\\n    ],\\n    \\\"people\\\": [\\n      {\\n        \\\"id\\\": \\\"person_1_photographer\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Face obscured by phone)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Facing forward (towards the mirror)\\\",\\n          \\\"face_direction\\\": \\\"Facing forward (towards the mirror/phone)\\\"\\n        },\\n        \\\"emotional_state\\\": \\\"Indeterminable (Face obscured)\\\",\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Standing upright\\\",\\n          \\\"feet_position\\\": \\\"Not visible (cropped in reflection)\\\",\\n          \\\"hand_position\\\": \\\"Raised to face level, holding a smartphone to take the photo\\\",\\n          \\\"visibility_extent\\\": \\\"Visible from mid-thigh/knees up to head in the reflection\\\"\\n        },\\n        \\\"head_details\\\": {\\n          \\\"hair\\\": {\\n            \\\"color\\\": \\\"Dark (Black or Dark Brown)\\\",\\n            \\\"style\\\": \\\"Long, loose\\\",\\n            \\\"shape\\\": \\\"Falls over shoulders\\\"\\n          },\\n          \\\"ears\\\": \\\"Covered by hair\\\",\\n          \\\"face_features\\\": {\\n            \\\"forehead\\\": \\\"Obscured by phone/hair\\\",\\n            \\\"eyes\\\": \\\"Obscured by phone\\\",\\n            \\\"nose\\\": \\\"Obscured by phone\\\",\\n            \\\"mouth\\\": \\\"Obscured by phone\\\",\\n            \\\"chin\\\": \\\"Partially visible below phone, fair skin tone\\\"\\n          },\\n          \\\"facial_hair\\\": \\\"None\\\"\\n        },\\n        \\\"body_details\\\": {\\n          \\\"body_type\\\": \\\"Average/Slender (hard to determine due to heavy clothing)\\\",\\n          \\\"skin_tone\\\": \\\"Light/Fair (visible on hands/face)\\\",\\n          \\\"neck\\\": \\\"Covered by scarf\\\",\\n          \\\"shoulders\\\": \\\"covered by coat, relaxed\\\",\\n          \\\"chest\\\": {\\n            \\\"ratio_to_body\\\": \\\"Indeterminable (covered by thick coat)\\\",\\n            \\\"measurements\\\": \\\"Indeterminable\\\",\\n            \\\"bra_status\\\": \\\"Indeterminable\\\",\\n            \\\"nipple_visibility\\\": \\\"Not visible\\\",\\n            \\\"size_appearance\\\": \\\"Indeterminable due to winter clothing\\\"\\n          },\\n          \\\"abdomen\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"ratio_to_chest\\\": \\\"Indeterminable\\\",\\n            \\\"ratio_to_hips\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"hips\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"measurement_estimation\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"legs\\\": {\\n            \\\"visibility\\\": \\\"Partially visible (upper thighs)\\\",\\n            \\\"clothing\\\": \\\"Dark trousers/tights\\\"\\n          }\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers or leggings (partially visible)\\\",\\n          \\\"light_interaction\\\": \\\"Fabric absorbs light, appearing matte\\\",\\n          \\\"accessories\\\": \\\"Smartphone (held in hands)\\\",\\n          \\\"footwear\\\": \\\"Not visible\\\"\\n        }\\n      },\\n      {\\n        \\\"id\\\": \\\"person_2_pedestrian\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror (background)\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Back turned)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Walking away from the camera\\\",\\n          \\\"face_direction\\\": \\\"Forward (away from camera)\\\"\\n        },\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Walking\\\",\\n          \\\"visibility_extent\\\": \\\"Full body visible in distance\\\"\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark coat\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers\\\"\\n        }\\n      }\\n    ],\\n    \\\"objects\\\": [\\n      {\\n        \\\"name\\\": \\\"Convex Traffic Mirror\\\",\\n        \\\"purpose\\\": \\\"Traffic safety/Visibility for blind corners\\\",\\n        \\\"contribution_to_scene\\\": \\\"Acts as the focal point and frame for the self-portrait reflection\\\",\\n        \\\"proportions\\\": \\\"Dominates the center foreground\\\",\\n        \\\"color\\\": \\\"Orange (rim), Reflective silver (surface)\\\",\\n        \\\"location\\\": \\\"Center of the image\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Street Sign\\\",\\n        \\\"purpose\\\": \\\"Navigation/Location identifier\\\",\\n        \\\"text_content\\\": \\\"MAKLIK (Partial visibility)\\\",\\n        \\\"color\\\": \\\"Red background with white text\\\",\\n        \\\"location\\\": \\\"Attached to the pole above the mirror\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Apartment Building (Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Commercial\\\",\\n        \\\"proportions\\\": \\\"Large, multi-story structure\\\",\\n        \\\"color\\\": \\\"Grey and white facade\\\",\\n        \\\"features\\\": \\\"Balconies with white railings, tall metal chimney/vent pipe attached to side\\\",\\n        \\\"location\\\": \\\"Left side foreground\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Wooden Building (Background Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Historic\\\",\\n        \\\"color\\\": \\\"Faded Red/Pink\\\",\\n        \\\"location\\\": \\\"Visible in the background behind the mirror\\\",\\n        \\\"features\\\": \\\"Traditional architecture, wooden siding\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"White Building (In Reflection)\\\",\\n        \\\"purpose\\\": \\\"Public/Institutional\\\",\\n        \\\"color\\\": \\\"Cream/White\\\",\\n        \\\"location\\\": \\\"Reflected in the mirror\\\",\\n        \\\"features\\\": \\\"Arched windows, historic style\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Trees/Vegetation\\\",\\n        \\\"purpose\\\": \\\"Environment\\\",\\n        \\\"color\\\": \\\"Dark Green/Brownish (Autumnal)\\\",\\n        \\\"location\\\": \\\"Right side and background\\\"\\n      }\\n    ],\\n    \\\"negative_prompt\\\": \\\"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\\\"\\n  }\\n}\"\n}"))
    .build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

### Ruby

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

uri = URI("https://runapi.ai/api/v1/runapi/text_to_image")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer " + ENV.fetch("RUNAPI_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"prompt\": \"{\\n  \\\"image_analysis\\\": {\\n    \\\"environment\\\": {\\n      \\\"type\\\": \\\"Outdoor\\\",\\n      \\\"setting\\\": \\\"Urban street scene\\\",\\n      \\\"weather\\\": \\\"Overcast/Cloudy\\\"\\n    },\\n    \\\"technical_specs\\\": {\\n      \\\"camera_lens\\\": \\\"Wide-angle (likely smartphone rear camera)\\\",\\n      \\\"camera_angle\\\": \\\"Low angle, looking upwards towards a traffic mirror and street sign\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\\\"\\n    },\\n    \\\"lighting\\\": [\\n      {\\n        \\\"source_id\\\": 1,\\n        \\\"type\\\": \\\"Natural Ambient Light (Overcast Sky)\\\",\\n        \\\"angle\\\": \\\"Overhead/Diffused\\\",\\n        \\\"color\\\": \\\"Cool White / Greyish\\\",\\n        \\\"intensity\\\": \\\"Moderate\\\",\\n        \\\"effect_on_objects\\\": \\\"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\\\"\\n      }\\n    ],\\n    \\\"people\\\": [\\n      {\\n        \\\"id\\\": \\\"person_1_photographer\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Face obscured by phone)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Facing forward (towards the mirror)\\\",\\n          \\\"face_direction\\\": \\\"Facing forward (towards the mirror/phone)\\\"\\n        },\\n        \\\"emotional_state\\\": \\\"Indeterminable (Face obscured)\\\",\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Standing upright\\\",\\n          \\\"feet_position\\\": \\\"Not visible (cropped in reflection)\\\",\\n          \\\"hand_position\\\": \\\"Raised to face level, holding a smartphone to take the photo\\\",\\n          \\\"visibility_extent\\\": \\\"Visible from mid-thigh/knees up to head in the reflection\\\"\\n        },\\n        \\\"head_details\\\": {\\n          \\\"hair\\\": {\\n            \\\"color\\\": \\\"Dark (Black or Dark Brown)\\\",\\n            \\\"style\\\": \\\"Long, loose\\\",\\n            \\\"shape\\\": \\\"Falls over shoulders\\\"\\n          },\\n          \\\"ears\\\": \\\"Covered by hair\\\",\\n          \\\"face_features\\\": {\\n            \\\"forehead\\\": \\\"Obscured by phone/hair\\\",\\n            \\\"eyes\\\": \\\"Obscured by phone\\\",\\n            \\\"nose\\\": \\\"Obscured by phone\\\",\\n            \\\"mouth\\\": \\\"Obscured by phone\\\",\\n            \\\"chin\\\": \\\"Partially visible below phone, fair skin tone\\\"\\n          },\\n          \\\"facial_hair\\\": \\\"None\\\"\\n        },\\n        \\\"body_details\\\": {\\n          \\\"body_type\\\": \\\"Average/Slender (hard to determine due to heavy clothing)\\\",\\n          \\\"skin_tone\\\": \\\"Light/Fair (visible on hands/face)\\\",\\n          \\\"neck\\\": \\\"Covered by scarf\\\",\\n          \\\"shoulders\\\": \\\"covered by coat, relaxed\\\",\\n          \\\"chest\\\": {\\n            \\\"ratio_to_body\\\": \\\"Indeterminable (covered by thick coat)\\\",\\n            \\\"measurements\\\": \\\"Indeterminable\\\",\\n            \\\"bra_status\\\": \\\"Indeterminable\\\",\\n            \\\"nipple_visibility\\\": \\\"Not visible\\\",\\n            \\\"size_appearance\\\": \\\"Indeterminable due to winter clothing\\\"\\n          },\\n          \\\"abdomen\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"ratio_to_chest\\\": \\\"Indeterminable\\\",\\n            \\\"ratio_to_hips\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"hips\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"measurement_estimation\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"legs\\\": {\\n            \\\"visibility\\\": \\\"Partially visible (upper thighs)\\\",\\n            \\\"clothing\\\": \\\"Dark trousers/tights\\\"\\n          }\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers or leggings (partially visible)\\\",\\n          \\\"light_interaction\\\": \\\"Fabric absorbs light, appearing matte\\\",\\n          \\\"accessories\\\": \\\"Smartphone (held in hands)\\\",\\n          \\\"footwear\\\": \\\"Not visible\\\"\\n        }\\n      },\\n      {\\n        \\\"id\\\": \\\"person_2_pedestrian\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror (background)\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Back turned)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Walking away from the camera\\\",\\n          \\\"face_direction\\\": \\\"Forward (away from camera)\\\"\\n        },\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Walking\\\",\\n          \\\"visibility_extent\\\": \\\"Full body visible in distance\\\"\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark coat\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers\\\"\\n        }\\n      }\\n    ],\\n    \\\"objects\\\": [\\n      {\\n        \\\"name\\\": \\\"Convex Traffic Mirror\\\",\\n        \\\"purpose\\\": \\\"Traffic safety/Visibility for blind corners\\\",\\n        \\\"contribution_to_scene\\\": \\\"Acts as the focal point and frame for the self-portrait reflection\\\",\\n        \\\"proportions\\\": \\\"Dominates the center foreground\\\",\\n        \\\"color\\\": \\\"Orange (rim), Reflective silver (surface)\\\",\\n        \\\"location\\\": \\\"Center of the image\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Street Sign\\\",\\n        \\\"purpose\\\": \\\"Navigation/Location identifier\\\",\\n        \\\"text_content\\\": \\\"MAKLIK (Partial visibility)\\\",\\n        \\\"color\\\": \\\"Red background with white text\\\",\\n        \\\"location\\\": \\\"Attached to the pole above the mirror\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Apartment Building (Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Commercial\\\",\\n        \\\"proportions\\\": \\\"Large, multi-story structure\\\",\\n        \\\"color\\\": \\\"Grey and white facade\\\",\\n        \\\"features\\\": \\\"Balconies with white railings, tall metal chimney/vent pipe attached to side\\\",\\n        \\\"location\\\": \\\"Left side foreground\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Wooden Building (Background Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Historic\\\",\\n        \\\"color\\\": \\\"Faded Red/Pink\\\",\\n        \\\"location\\\": \\\"Visible in the background behind the mirror\\\",\\n        \\\"features\\\": \\\"Traditional architecture, wooden siding\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"White Building (In Reflection)\\\",\\n        \\\"purpose\\\": \\\"Public/Institutional\\\",\\n        \\\"color\\\": \\\"Cream/White\\\",\\n        \\\"location\\\": \\\"Reflected in the mirror\\\",\\n        \\\"features\\\": \\\"Arched windows, historic style\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Trees/Vegetation\\\",\\n        \\\"purpose\\\": \\\"Environment\\\",\\n        \\\"color\\\": \\\"Dark Green/Brownish (Autumnal)\\\",\\n        \\\"location\\\": \\\"Right side and background\\\"\\n      }\\n    ],\\n    \\\"negative_prompt\\\": \\\"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\\\"\\n  }\\n}\"\n}"

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

### Go

```go
package main

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

func main() {
  body := strings.NewReader("{\"prompt\":\"{\\n  \\\"image_analysis\\\": {\\n    \\\"environment\\\": {\\n      \\\"type\\\": \\\"Outdoor\\\",\\n      \\\"setting\\\": \\\"Urban street scene\\\",\\n      \\\"weather\\\": \\\"Overcast/Cloudy\\\"\\n    },\\n    \\\"technical_specs\\\": {\\n      \\\"camera_lens\\\": \\\"Wide-angle (likely smartphone rear camera)\\\",\\n      \\\"camera_angle\\\": \\\"Low angle, looking upwards towards a traffic mirror and street sign\\\",\\n      \\\"focus\\\": \\\"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\\\"\\n    },\\n    \\\"lighting\\\": [\\n      {\\n        \\\"source_id\\\": 1,\\n        \\\"type\\\": \\\"Natural Ambient Light (Overcast Sky)\\\",\\n        \\\"angle\\\": \\\"Overhead/Diffused\\\",\\n        \\\"color\\\": \\\"Cool White / Greyish\\\",\\n        \\\"intensity\\\": \\\"Moderate\\\",\\n        \\\"effect_on_objects\\\": \\\"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\\\"\\n      }\\n    ],\\n    \\\"people\\\": [\\n      {\\n        \\\"id\\\": \\\"person_1_photographer\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Face obscured by phone)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Facing forward (towards the mirror)\\\",\\n          \\\"face_direction\\\": \\\"Facing forward (towards the mirror/phone)\\\"\\n        },\\n        \\\"emotional_state\\\": \\\"Indeterminable (Face obscured)\\\",\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Standing upright\\\",\\n          \\\"feet_position\\\": \\\"Not visible (cropped in reflection)\\\",\\n          \\\"hand_position\\\": \\\"Raised to face level, holding a smartphone to take the photo\\\",\\n          \\\"visibility_extent\\\": \\\"Visible from mid-thigh/knees up to head in the reflection\\\"\\n        },\\n        \\\"head_details\\\": {\\n          \\\"hair\\\": {\\n            \\\"color\\\": \\\"Dark (Black or Dark Brown)\\\",\\n            \\\"style\\\": \\\"Long, loose\\\",\\n            \\\"shape\\\": \\\"Falls over shoulders\\\"\\n          },\\n          \\\"ears\\\": \\\"Covered by hair\\\",\\n          \\\"face_features\\\": {\\n            \\\"forehead\\\": \\\"Obscured by phone/hair\\\",\\n            \\\"eyes\\\": \\\"Obscured by phone\\\",\\n            \\\"nose\\\": \\\"Obscured by phone\\\",\\n            \\\"mouth\\\": \\\"Obscured by phone\\\",\\n            \\\"chin\\\": \\\"Partially visible below phone, fair skin tone\\\"\\n          },\\n          \\\"facial_hair\\\": \\\"None\\\"\\n        },\\n        \\\"body_details\\\": {\\n          \\\"body_type\\\": \\\"Average/Slender (hard to determine due to heavy clothing)\\\",\\n          \\\"skin_tone\\\": \\\"Light/Fair (visible on hands/face)\\\",\\n          \\\"neck\\\": \\\"Covered by scarf\\\",\\n          \\\"shoulders\\\": \\\"covered by coat, relaxed\\\",\\n          \\\"chest\\\": {\\n            \\\"ratio_to_body\\\": \\\"Indeterminable (covered by thick coat)\\\",\\n            \\\"measurements\\\": \\\"Indeterminable\\\",\\n            \\\"bra_status\\\": \\\"Indeterminable\\\",\\n            \\\"nipple_visibility\\\": \\\"Not visible\\\",\\n            \\\"size_appearance\\\": \\\"Indeterminable due to winter clothing\\\"\\n          },\\n          \\\"abdomen\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"ratio_to_chest\\\": \\\"Indeterminable\\\",\\n            \\\"ratio_to_hips\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"hips\\\": {\\n            \\\"ratio_to_body\\\": \\\"Concealed by coat\\\",\\n            \\\"measurement_estimation\\\": \\\"Indeterminable\\\"\\n          },\\n          \\\"legs\\\": {\\n            \\\"visibility\\\": \\\"Partially visible (upper thighs)\\\",\\n            \\\"clothing\\\": \\\"Dark trousers/tights\\\"\\n          }\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers or leggings (partially visible)\\\",\\n          \\\"light_interaction\\\": \\\"Fabric absorbs light, appearing matte\\\",\\n          \\\"accessories\\\": \\\"Smartphone (held in hands)\\\",\\n          \\\"footwear\\\": \\\"Not visible\\\"\\n        }\\n      },\\n      {\\n        \\\"id\\\": \\\"person_2_pedestrian\\\",\\n        \\\"location\\\": \\\"Visible inside the reflection of the convex mirror (background)\\\",\\n        \\\"identity_status\\\": \\\"Anonymized (Back turned)\\\",\\n        \\\"orientation\\\": {\\n          \\\"body_direction\\\": \\\"Walking away from the camera\\\",\\n          \\\"face_direction\\\": \\\"Forward (away from camera)\\\"\\n        },\\n        \\\"posture\\\": {\\n          \\\"general_definition\\\": \\\"Walking\\\",\\n          \\\"visibility_extent\\\": \\\"Full body visible in distance\\\"\\n        },\\n        \\\"clothing\\\": {\\n          \\\"upper_body\\\": \\\"Dark coat\\\",\\n          \\\"lower_body\\\": \\\"Dark trousers\\\"\\n        }\\n      }\\n    ],\\n    \\\"objects\\\": [\\n      {\\n        \\\"name\\\": \\\"Convex Traffic Mirror\\\",\\n        \\\"purpose\\\": \\\"Traffic safety/Visibility for blind corners\\\",\\n        \\\"contribution_to_scene\\\": \\\"Acts as the focal point and frame for the self-portrait reflection\\\",\\n        \\\"proportions\\\": \\\"Dominates the center foreground\\\",\\n        \\\"color\\\": \\\"Orange (rim), Reflective silver (surface)\\\",\\n        \\\"location\\\": \\\"Center of the image\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Street Sign\\\",\\n        \\\"purpose\\\": \\\"Navigation/Location identifier\\\",\\n        \\\"text_content\\\": \\\"MAKLIK (Partial visibility)\\\",\\n        \\\"color\\\": \\\"Red background with white text\\\",\\n        \\\"location\\\": \\\"Attached to the pole above the mirror\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Apartment Building (Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Commercial\\\",\\n        \\\"proportions\\\": \\\"Large, multi-story structure\\\",\\n        \\\"color\\\": \\\"Grey and white facade\\\",\\n        \\\"features\\\": \\\"Balconies with white railings, tall metal chimney/vent pipe attached to side\\\",\\n        \\\"location\\\": \\\"Left side foreground\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Wooden Building (Background Left)\\\",\\n        \\\"purpose\\\": \\\"Residential/Historic\\\",\\n        \\\"color\\\": \\\"Faded Red/Pink\\\",\\n        \\\"location\\\": \\\"Visible in the background behind the mirror\\\",\\n        \\\"features\\\": \\\"Traditional architecture, wooden siding\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"White Building (In Reflection)\\\",\\n        \\\"purpose\\\": \\\"Public/Institutional\\\",\\n        \\\"color\\\": \\\"Cream/White\\\",\\n        \\\"location\\\": \\\"Reflected in the mirror\\\",\\n        \\\"features\\\": \\\"Arched windows, historic style\\\"\\n      },\\n      {\\n        \\\"name\\\": \\\"Trees/Vegetation\\\",\\n        \\\"purpose\\\": \\\"Environment\\\",\\n        \\\"color\\\": \\\"Dark Green/Brownish (Autumnal)\\\",\\n        \\\"location\\\": \\\"Right side and background\\\"\\n      }\\n    ],\\n    \\\"negative_prompt\\\": \\\"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\\\"\\n  }\\n}\"}")
  req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/runapi/text_to_image", body)
  if err != nil {
    log.Fatal(err)
  }

  req.Header.Set("Authorization", "Bearer "+os.Getenv("RUNAPI_API_KEY"))
  req.Header.Set("Content-Type", "application/json")

  resp, err := http.DefaultClient.Do(req)
  if err != nil {
    log.Fatal(err)
  }
  defer resp.Body.Close()

  fmt.Println(resp.Status)
}
```

### CLI

```cli
$ runapi generate \
    --model  \
    --prompt "{\n  \"image_analysis\": {\n    \"environment\": {\n      \"type\": \"Outdoor\",\n      \"setting\": \"Urban street scene\",\n      \"weather\": \"Overcast/Cloudy\"\n    },\n    \"technical_specs\": {\n      \"camera_lens\": \"Wide-angle (likely smartphone rear camera)\",\n      \"camera_angle\": \"Low angle, looking upwards towards a traffic mirror and street sign\",\n      \"focus\": \"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\"\n    },\n    \"lighting\": [\n      {\n        \"source_id\": 1,\n        \"type\": \"Natural Ambient Light (Overcast Sky)\",\n        \"angle\": \"Overhead/Diffused\",\n        \"color\": \"Cool White / Greyish\",\n        \"intensity\": \"Moderate\",\n        \"effect_on_objects\": \"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\"\n      }\n    ],\n    \"people\": [\n      {\n        \"id\": \"person_1_photographer\",\n        \"location\": \"Visible inside the reflection of the convex mirror\",\n        \"identity_status\": \"Anonymized (Face obscured by phone)\",\n        \"orientation\": {\n          \"body_direction\": \"Facing forward (towards the mirror)\",\n          \"face_direction\": \"Facing forward (towards the mirror/phone)\"\n        },\n        \"emotional_state\": \"Indeterminable (Face obscured)\",\n        \"posture\": {\n          \"general_definition\": \"Standing upright\",\n          \"feet_position\": \"Not visible (cropped in reflection)\",\n          \"hand_position\": \"Raised to face level, holding a smartphone to take the photo\",\n          \"visibility_extent\": \"Visible from mid-thigh/knees up to head in the reflection\"\n        },\n        \"head_details\": {\n          \"hair\": {\n            \"color\": \"Dark (Black or Dark Brown)\",\n            \"style\": \"Long, loose\",\n            \"shape\": \"Falls over shoulders\"\n          },\n          \"ears\": \"Covered by hair\",\n          \"face_features\": {\n            \"forehead\": \"Obscured by phone/hair\",\n            \"eyes\": \"Obscured by phone\",\n            \"nose\": \"Obscured by phone\",\n            \"mouth\": \"Obscured by phone\",\n            \"chin\": \"Partially visible below phone, fair skin tone\"\n          },\n          \"facial_hair\": \"None\"\n        },\n        \"body_details\": {\n          \"body_type\": \"Average/Slender (hard to determine due to heavy clothing)\",\n          \"skin_tone\": \"Light/Fair (visible on hands/face)\",\n          \"neck\": \"Covered by scarf\",\n          \"shoulders\": \"covered by coat, relaxed\",\n          \"chest\": {\n            \"ratio_to_body\": \"Indeterminable (covered by thick coat)\",\n            \"measurements\": \"Indeterminable\",\n            \"bra_status\": \"Indeterminable\",\n            \"nipple_visibility\": \"Not visible\",\n            \"size_appearance\": \"Indeterminable due to winter clothing\"\n          },\n          \"abdomen\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"ratio_to_chest\": \"Indeterminable\",\n            \"ratio_to_hips\": \"Indeterminable\"\n          },\n          \"hips\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"measurement_estimation\": \"Indeterminable\"\n          },\n          \"legs\": {\n            \"visibility\": \"Partially visible (upper thighs)\",\n            \"clothing\": \"Dark trousers/tights\"\n          }\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\",\n          \"lower_body\": \"Dark trousers or leggings (partially visible)\",\n          \"light_interaction\": \"Fabric absorbs light, appearing matte\",\n          \"accessories\": \"Smartphone (held in hands)\",\n          \"footwear\": \"Not visible\"\n        }\n      },\n      {\n        \"id\": \"person_2_pedestrian\",\n        \"location\": \"Visible inside the reflection of the convex mirror (background)\",\n        \"identity_status\": \"Anonymized (Back turned)\",\n        \"orientation\": {\n          \"body_direction\": \"Walking away from the camera\",\n          \"face_direction\": \"Forward (away from camera)\"\n        },\n        \"posture\": {\n          \"general_definition\": \"Walking\",\n          \"visibility_extent\": \"Full body visible in distance\"\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark coat\",\n          \"lower_body\": \"Dark trousers\"\n        }\n      }\n    ],\n    \"objects\": [\n      {\n        \"name\": \"Convex Traffic Mirror\",\n        \"purpose\": \"Traffic safety/Visibility for blind corners\",\n        \"contribution_to_scene\": \"Acts as the focal point and frame for the self-portrait reflection\",\n        \"proportions\": \"Dominates the center foreground\",\n        \"color\": \"Orange (rim), Reflective silver (surface)\",\n        \"location\": \"Center of the image\"\n      },\n      {\n        \"name\": \"Street Sign\",\n        \"purpose\": \"Navigation/Location identifier\",\n        \"text_content\": \"MAKLIK (Partial visibility)\",\n        \"color\": \"Red background with white text\",\n        \"location\": \"Attached to the pole above the mirror\"\n      },\n      {\n        \"name\": \"Apartment Building (Left)\",\n        \"purpose\": \"Residential/Commercial\",\n        \"proportions\": \"Large, multi-story structure\",\n        \"color\": \"Grey and white facade\",\n        \"features\": \"Balconies with white railings, tall metal chimney/vent pipe attached to side\",\n        \"location\": \"Left side foreground\"\n      },\n      {\n        \"name\": \"Wooden Building (Background Left)\",\n        \"purpose\": \"Residential/Historic\",\n        \"color\": \"Faded Red/Pink\",\n        \"location\": \"Visible in the background behind the mirror\",\n        \"features\": \"Traditional architecture, wooden siding\"\n      },\n      {\n        \"name\": \"White Building (In Reflection)\",\n        \"purpose\": \"Public/Institutional\",\n        \"color\": \"Cream/White\",\n        \"location\": \"Reflected in the mirror\",\n        \"features\": \"Arched windows, historic style\"\n      },\n      {\n        \"name\": \"Trees/Vegetation\",\n        \"purpose\": \"Environment\",\n        \"color\": \"Dark Green/Brownish (Autumnal)\",\n        \"location\": \"Right side and background\"\n      }\n    ],\n    \"negative_prompt\": \"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\"\n  }\n}" \
    --wait
```

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

## More prompts like this

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

## Prompt questions

### Can I modify this prompt?

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

### Which model should I choose?

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

### How much does it cost?

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

## Building with a team?

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

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


---

## More from RunAPI

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

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Prompts",
        "item": "https://runapi.ai/prompts"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Image",
        "item": "https://runapi.ai/prompts/image"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Reflected Self-Portrait in an Urban Convex Traffic Mirror",
        "item": "https://runapi.ai/prompts/prm_9vxNwzoeD3O3sOQPDd6XAVO7"
      }
    ]
  },
  {
    "@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": "Reflected Self-Portrait in an Urban Convex Traffic Mirror",
    "text": "{\n  \"image_analysis\": {\n    \"environment\": {\n      \"type\": \"Outdoor\",\n      \"setting\": \"Urban street scene\",\n      \"weather\": \"Overcast/Cloudy\"\n    },\n    \"technical_specs\": {\n      \"camera_lens\": \"Wide-angle (likely smartphone rear camera)\",\n      \"camera_angle\": \"Low angle, looking upwards towards a traffic mirror and street sign\",\n      \"focus\": \"Sharp focus on the convex mirror and the immediate foreground, slight distortion due to wide lens and mirror curvature\"\n    },\n    \"lighting\": [\n      {\n        \"source_id\": 1,\n        \"type\": \"Natural Ambient Light (Overcast Sky)\",\n        \"angle\": \"Overhead/Diffused\",\n        \"color\": \"Cool White / Greyish\",\n        \"intensity\": \"Moderate\",\n        \"effect_on_objects\": \"Creates flat lighting with soft, undefined shadows; minimal contrast on building facades; creates a glare on the upper curve of the convex mirror.\"\n      }\n    ],\n    \"people\": [\n      {\n        \"id\": \"person_1_photographer\",\n        \"location\": \"Visible inside the reflection of the convex mirror\",\n        \"identity_status\": \"Anonymized (Face obscured by phone)\",\n        \"orientation\": {\n          \"body_direction\": \"Facing forward (towards the mirror)\",\n          \"face_direction\": \"Facing forward (towards the mirror/phone)\"\n        },\n        \"emotional_state\": \"Indeterminable (Face obscured)\",\n        \"posture\": {\n          \"general_definition\": \"Standing upright\",\n          \"feet_position\": \"Not visible (cropped in reflection)\",\n          \"hand_position\": \"Raised to face level, holding a smartphone to take the photo\",\n          \"visibility_extent\": \"Visible from mid-thigh/knees up to head in the reflection\"\n        },\n        \"head_details\": {\n          \"hair\": {\n            \"color\": \"Dark (Black or Dark Brown)\",\n            \"style\": \"Long, loose\",\n            \"shape\": \"Falls over shoulders\"\n          },\n          \"ears\": \"Covered by hair\",\n          \"face_features\": {\n            \"forehead\": \"Obscured by phone/hair\",\n            \"eyes\": \"Obscured by phone\",\n            \"nose\": \"Obscured by phone\",\n            \"mouth\": \"Obscured by phone\",\n            \"chin\": \"Partially visible below phone, fair skin tone\"\n          },\n          \"facial_hair\": \"None\"\n        },\n        \"body_details\": {\n          \"body_type\": \"Average/Slender (hard to determine due to heavy clothing)\",\n          \"skin_tone\": \"Light/Fair (visible on hands/face)\",\n          \"neck\": \"Covered by scarf\",\n          \"shoulders\": \"covered by coat, relaxed\",\n          \"chest\": {\n            \"ratio_to_body\": \"Indeterminable (covered by thick coat)\",\n            \"measurements\": \"Indeterminable\",\n            \"bra_status\": \"Indeterminable\",\n            \"nipple_visibility\": \"Not visible\",\n            \"size_appearance\": \"Indeterminable due to winter clothing\"\n          },\n          \"abdomen\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"ratio_to_chest\": \"Indeterminable\",\n            \"ratio_to_hips\": \"Indeterminable\"\n          },\n          \"hips\": {\n            \"ratio_to_body\": \"Concealed by coat\",\n            \"measurement_estimation\": \"Indeterminable\"\n          },\n          \"legs\": {\n            \"visibility\": \"Partially visible (upper thighs)\",\n            \"clothing\": \"Dark trousers/tights\"\n          }\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark (black or navy) overcoat, maroon/dark red scarf wrapped loosely\",\n          \"lower_body\": \"Dark trousers or leggings (partially visible)\",\n          \"light_interaction\": \"Fabric absorbs light, appearing matte\",\n          \"accessories\": \"Smartphone (held in hands)\",\n          \"footwear\": \"Not visible\"\n        }\n      },\n      {\n        \"id\": \"person_2_pedestrian\",\n        \"location\": \"Visible inside the reflection of the convex mirror (background)\",\n        \"identity_status\": \"Anonymized (Back turned)\",\n        \"orientation\": {\n          \"body_direction\": \"Walking away from the camera\",\n          \"face_direction\": \"Forward (away from camera)\"\n        },\n        \"posture\": {\n          \"general_definition\": \"Walking\",\n          \"visibility_extent\": \"Full body visible in distance\"\n        },\n        \"clothing\": {\n          \"upper_body\": \"Dark coat\",\n          \"lower_body\": \"Dark trousers\"\n        }\n      }\n    ],\n    \"objects\": [\n      {\n        \"name\": \"Convex Traffic Mirror\",\n        \"purpose\": \"Traffic safety/Visibility for blind corners\",\n        \"contribution_to_scene\": \"Acts as the focal point and frame for the self-portrait reflection\",\n        \"proportions\": \"Dominates the center foreground\",\n        \"color\": \"Orange (rim), Reflective silver (surface)\",\n        \"location\": \"Center of the image\"\n      },\n      {\n        \"name\": \"Street Sign\",\n        \"purpose\": \"Navigation/Location identifier\",\n        \"text_content\": \"MAKLIK (Partial visibility)\",\n        \"color\": \"Red background with white text\",\n        \"location\": \"Attached to the pole above the mirror\"\n      },\n      {\n        \"name\": \"Apartment Building (Left)\",\n        \"purpose\": \"Residential/Commercial\",\n        \"proportions\": \"Large, multi-story structure\",\n        \"color\": \"Grey and white facade\",\n        \"features\": \"Balconies with white railings, tall metal chimney/vent pipe attached to side\",\n        \"location\": \"Left side foreground\"\n      },\n      {\n        \"name\": \"Wooden Building (Background Left)\",\n        \"purpose\": \"Residential/Historic\",\n        \"color\": \"Faded Red/Pink\",\n        \"location\": \"Visible in the background behind the mirror\",\n        \"features\": \"Traditional architecture, wooden siding\"\n      },\n      {\n        \"name\": \"White Building (In Reflection)\",\n        \"purpose\": \"Public/Institutional\",\n        \"color\": \"Cream/White\",\n        \"location\": \"Reflected in the mirror\",\n        \"features\": \"Arched windows, historic style\"\n      },\n      {\n        \"name\": \"Trees/Vegetation\",\n        \"purpose\": \"Environment\",\n        \"color\": \"Dark Green/Brownish (Autumnal)\",\n        \"location\": \"Right side and background\"\n      }\n    ],\n    \"negative_prompt\": \"bright sunshine, blue sky, direct flash, nudity, summer clothing, high contrast, studio lighting, macro lens, detailed face view, clear text, modern glass skyscraper, noise, grain, watermark\"\n  }\n}",
    "image": null,
    "about": [
      "image",
      "lifestyle"
    ]
  }
]
```
