---
title: Mixed Media Portrait Illustration —  Prompt | RunAPI | RunAPI
description: Copy this RunAPI prompt, view agent setup steps, and use API code for .
url: https://runapi.ai/prompts/prm_GqW79wzlyMLeHVj94Od3m5K1.md
canonical: https://runapi.ai/prompts/prm_GqW79wzlyMLeHVj94Od3m5K1
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 14193
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Mixed Media Portrait Illustration

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

**Prompts** · Image

## Prompt

```text
{
  "subject": {
    "description": "A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.",
    "count": 1,
    "orientation": "front-facing",
    "pose_or_state": "static, head tilted slightly up",
    "expression": "neutral, contemplative"
  },
  "scale_and_proportion": {
    "subject_to_frame_ratio": "Subject occupies ~75% of the frame height",
    "proportions": "locked to reference",
    "negative_space": "Moderate, occupied by paint splatters and newspaper text"
  },
  "composition": {
    "shot_type": "close-up portrait",
    "camera_angle": "eye-level, looking slightly up",
    "framing": "centered",
    "symmetry": "Face is centered and mostly symmetrical; background splatters are asymmetrical",
    "background": "Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips",
    "depth_of_field": "flat (2D mixed media style)"
  },
  "temporal_context": {
    "era": "Contemporary mixed media art with mid-century vintage newspaper and glasses style",
    "modern_elements": false,
    "retro_stylization": true,
    "trend_influence": false
  },
  "style": {
    "visual_type": "Mixed media illustration",
    "realism_level": "maximum for the specified art style",
    "art_style": "Pen and ink sketch over newspaper collage",
    "stylization": "Literal reproduction of the specific mixed media style",
    "interpretation": "literal reproduction only"
  },
  "lighting": {
    "setup_type": "Simulated in the sketch",
    "light_direction": "Frontal/top-down, defined by shadows under the jaw, nose, and brow",
    "light_quality": "High contrast rendering",
    "contrast": "high (black ink against light paper)",
    "shadow_behavior": "rendered through hatching and solid black areas",
    "color_temperature": "warm overall due to paper, with cool blue accents",
    "lighting_variation": "none"
  },
  "materials": {
    "primary_materials": [
      "yellowed vintage newspaper",
      "black ink / charcoal",
      "vibrant blue and orange paint (acrylic or spray paint look)"
    ],
    "surface_finish": "matte paper and ink",
    "light_reflection": "minimal, only visible as highlights on the glasses frames and in the pupils",
    "material_accuracy": "exact"
  },
  "color_palette": {
    "dominant_colors": [
      "Sepia/Cream (newspaper)",
      "Black (ink lines)",
      "Vibrant Orange (glasses and splatters)",
      "Bright Blue (splatters)"
    ],
    "saturation": "High in orange and blue; low/natural in the newspaper background",
    "contrast_level": "High (chromatic and tonal contrast)",
    "color_shift": false
  },
  "texture_and_detail": {
    "surface_detail": "Fine newsprint texture, visible ink lines, paint drip edges",
    "grain_noise": "paper grain texture preserved",
    "micro_details": "Text on newspaper remains visible through the facial features",
    "sharpness": "sharp ink lines and crisp paint edges"
  },
  "camera_render_settings": {
    "lens_equivalent": "50mm look",
    "perspective_distortion": "none",
    "aperture_look": "N/A (flat illustration)",
    "resolution": "high",
    "render_quality": "clean, no digital compression artifacts"
  },
  "constraints": {
    "no_additional_objects": true,
    "no_reframing": true,
    "no_crop": true,
    "no_stylization": true,
    "no_artistic_license": true,
    "no_text": false,
    "no_watermark": true,
    "no_effects": true,
    "no_dramatic_lighting": true,
    "no_color_grading": true
  },
  "iteration_instruction": {
    "compare_to_reference": true,
    "fix_geometry_first": true,
    "then_fix_composition": true,
    "then_fix_lighting": true,
    "then_fix_color": true,
    "ignore_aesthetic_improvements": true
  },
  "negative_prompt": [
    "creative",
    "cinematic",
    "artistic",
    "stylized",
    "illustration (different from reference)",
    "abstract",
    "dramatic",
    "wide-angle",
    "fisheye",
    "exaggeration",
    "reinterpretation",
    "extra elements",
    "modernized",
    "retro look (different from reference)",
    "color grading",
    "AI artifacts",
    "blur",
    "depth of field"
  ]
}
```

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

Mixed Media Portrait Illustration

### Atmosphere

art / Image

### Technical

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

### Style

close-up-portrait, cross-hatching, mixed-media, newspaper-collage, orange-glasses, paint-splatters, vintage-newspaper

<!-- /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 | art |
| Tags | close-up-portrait, cross-hatching, mixed-media, newspaper-collage, orange-glasses, paint-splatters, vintage-newspaper |

## 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: "{
  "subject": {
    "description": "A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.",
    "count": 1,
    "orientation": "front-facing",
    "pose_or_state": "static, head tilted slightly up",
    "expression": "neutral, contemplative"
  },
  "scale_and_proportion": {
    "subject_to_frame_ratio": "Subject occupies ~75% of the frame height",
    "proportions": "locked to reference",
    "negative_space": "Moderate, occupied by paint splatters and newspaper text"
  },
  "composition": {
    "shot_type": "close-up portrait",
    "camera_angle": "eye-level, looking slightly up",
    "framing": "centered",
    "symmetry": "Face is centered and mostly symmetrical; background splatters are asymmetrical",
    "background": "Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips",
    "depth_of_field": "flat (2D mixed media style)"
  },
  "temporal_context": {
    "era": "Contemporary mixed media art with mid-century vintage newspaper and glasses style",
    "modern_elements": false,
    "retro_stylization": true,
    "trend_influence": false
  },
  "style": {
    "visual_type": "Mixed media illustration",
    "realism_level": "maximum for the specified art style",
    "art_style": "Pen and ink sketch over newspaper collage",
    "stylization": "Literal reproduction of the specific mixed media style",
    "interpretation": "literal reproduction only"
  },
  "lighting": {
    "setup_type": "Simulated in the sketch",
    "light_direction": "Frontal/top-down, defined by shadows under the jaw, nose, and brow",
    "light_quality": "High contrast rendering",
    "contrast": "high (black ink against light paper)",
    "shadow_behavior": "rendered through hatching and solid black areas",
    "color_temperature": "warm overall due to paper, with cool blue accents",
    "lighting_variation": "none"
  },
  "materials": {
    "primary_materials": [
      "yellowed vintage newspaper",
      "black ink / charcoal",
      "vibrant blue and orange paint (acrylic or spray paint look)"
    ],
    "surface_finish": "matte paper and ink",
    "light_reflection": "minimal, only visible as highlights on the glasses frames and in the pupils",
    "material_accuracy": "exact"
  },
  "color_palette": {
    "dominant_colors": [
      "Sepia/Cream (newspaper)",
      "Black (ink lines)",
      "Vibrant Orange (glasses and splatters)",
      "Bright Blue (splatters)"
    ],
    "saturation": "High in orange and blue; low/natural in the newspaper background",
    "contrast_level": "High (chromatic and tonal contrast)",
    "color_shift": false
  },
  "texture_and_detail": {
    "surface_detail": "Fine newsprint texture, visible ink lines, paint drip edges",
    "grain_noise": "paper grain texture preserved",
    "micro_details": "Text on newspaper remains visible through the facial features",
    "sharpness": "sharp ink lines and crisp paint edges"
  },
  "camera_render_settings": {
    "lens_equivalent": "50mm look",
    "perspective_distortion": "none",
    "aperture_look": "N/A (flat illustration)",
    "resolution": "high",
    "render_quality": "clean, no digital compression artifacts"
  },
  "constraints": {
    "no_additional_objects": true,
    "no_reframing": true,
    "no_crop": true,
    "no_stylization": true,
    "no_artistic_license": true,
    "no_text": false,
    "no_watermark": true,
    "no_effects": true,
    "no_dramatic_lighting": true,
    "no_color_grading": true
  },
  "iteration_instruction": {
    "compare_to_reference": true,
    "fix_geometry_first": true,
    "then_fix_composition": true,
    "then_fix_lighting": true,
    "then_fix_color": true,
    "ignore_aesthetic_improvements": true
  },
  "negative_prompt": [
    "creative",
    "cinematic",
    "artistic",
    "stylized",
    "illustration (different from reference)",
    "abstract",
    "dramatic",
    "wide-angle",
    "fisheye",
    "exaggeration",
    "reinterpretation",
    "extra elements",
    "modernized",
    "retro look (different from reference)",
    "color grading",
    "AI artifacts",
    "blur",
    "depth of field"
  ]
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "subject": {
    "description": "A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.",
    "count": 1,
    "orientation": "front-facing",
    "pose_or_state": "static, head tilted slightly up",
    "expression": "neutral, contemplative"
  },
  "scale_and_proportion": {
    "subject_to_frame_ratio": "Subject occupies ~75% of the frame height",
    "proportions": "locked to reference",
    "negative_space": "Moderate, occupied by paint splatters and newspaper text"
  },
  "composition": {
    "shot_type": "close-up portrait",
    "camera_angle": "eye-level, looking slightly up",
    "framing": "centered",
    "symmetry": "Face is centered and mostly symmetrical; background splatters are asymmetrical",
    "background": "Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips",
    "depth_of_field": "flat (2D mixed media style)"
  },
  "temporal_context": {
    "era": "Contemporary mixed media art with mid-century vintage newspaper and glasses style",
    "modern_elements": false,
    "retro_stylization": true,
    "trend_influence": false
  },
  "style": {
    "visual_type": "Mixed media illustration",
    "realism_level": "maximum for the specified art style",
    "art_style": "Pen and ink sketch over newspaper collage",
    "stylization": "Literal reproduction of the specific mixed media style",
    "interpretation": "literal reproduction only"
  },
  "lighting": {
    "setup_type": "Simulated in the sketch",
    "light_direction": "Frontal/top-down, defined by shadows under the jaw, nose, and brow",
    "light_quality": "High contrast rendering",
    "contrast": "high (black ink against light paper)",
    "shadow_behavior": "rendered through hatching and solid black areas",
    "color_temperature": "warm overall due to paper, with cool blue accents",
    "lighting_variation": "none"
  },
  "materials": {
    "primary_materials": [
      "yellowed vintage newspaper",
      "black ink / charcoal",
      "vibrant blue and orange paint (acrylic or spray paint look)"
    ],
    "surface_finish": "matte paper and ink",
    "light_reflection": "minimal, only visible as highlights on the glasses frames and in the pupils",
    "material_accuracy": "exact"
  },
  "color_palette": {
    "dominant_colors": [
      "Sepia/Cream (newspaper)",
      "Black (ink lines)",
      "Vibrant Orange (glasses and splatters)",
      "Bright Blue (splatters)"
    ],
    "saturation": "High in orange and blue; low/natural in the newspaper background",
    "contrast_level": "High (chromatic and tonal contrast)",
    "color_shift": false
  },
  "texture_and_detail": {
    "surface_detail": "Fine newsprint texture, visible ink lines, paint drip edges",
    "grain_noise": "paper grain texture preserved",
    "micro_details": "Text on newspaper remains visible through the facial features",
    "sharpness": "sharp ink lines and crisp paint edges"
  },
  "camera_render_settings": {
    "lens_equivalent": "50mm look",
    "perspective_distortion": "none",
    "aperture_look": "N/A (flat illustration)",
    "resolution": "high",
    "render_quality": "clean, no digital compression artifacts"
  },
  "constraints": {
    "no_additional_objects": true,
    "no_reframing": true,
    "no_crop": true,
    "no_stylization": true,
    "no_artistic_license": true,
    "no_text": false,
    "no_watermark": true,
    "no_effects": true,
    "no_dramatic_lighting": true,
    "no_color_grading": true
  },
  "iteration_instruction": {
    "compare_to_reference": true,
    "fix_geometry_first": true,
    "then_fix_composition": true,
    "then_fix_lighting": true,
    "then_fix_color": true,
    "ignore_aesthetic_improvements": true
  },
  "negative_prompt": [
    "creative",
    "cinematic",
    "artistic",
    "stylized",
    "illustration (different from reference)",
    "abstract",
    "dramatic",
    "wide-angle",
    "fisheye",
    "exaggeration",
    "reinterpretation",
    "extra elements",
    "modernized",
    "retro look (different from reference)",
    "color grading",
    "AI artifacts",
    "blur",
    "depth of field"
  ]
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "subject": {
    "description": "A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.",
    "count": 1,
    "orientation": "front-facing",
    "pose_or_state": "static, head tilted slightly up",
    "expression": "neutral, contemplative"
  },
  "scale_and_proportion": {
    "subject_to_frame_ratio": "Subject occupies ~75% of the frame height",
    "proportions": "locked to reference",
    "negative_space": "Moderate, occupied by paint splatters and newspaper text"
  },
  "composition": {
    "shot_type": "close-up portrait",
    "camera_angle": "eye-level, looking slightly up",
    "framing": "centered",
    "symmetry": "Face is centered and mostly symmetrical; background splatters are asymmetrical",
    "background": "Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips",
    "depth_of_field": "flat (2D mixed media style)"
  },
  "temporal_context": {
    "era": "Contemporary mixed media art with mid-century vintage newspaper and glasses style",
    "modern_elements": false,
    "retro_stylization": true,
    "trend_influence": false
  },
  "style": {
    "visual_type": "Mixed media illustration",
    "realism_level": "maximum for the specified art style",
    "art_style": "Pen and ink sketch over newspaper collage",
    "stylization": "Literal reproduction of the specific mixed media style",
    "interpretation": "literal reproduction only"
  },
  "lighting": {
    "setup_type": "Simulated in the sketch",
    "light_direction": "Frontal/top-down, defined by shadows under the jaw, nose, and brow",
    "light_quality": "High contrast rendering",
    "contrast": "high (black ink against light paper)",
    "shadow_behavior": "rendered through hatching and solid black areas",
    "color_temperature": "warm overall due to paper, with cool blue accents",
    "lighting_variation": "none"
  },
  "materials": {
    "primary_materials": [
      "yellowed vintage newspaper",
      "black ink / charcoal",
      "vibrant blue and orange paint (acrylic or spray paint look)"
    ],
    "surface_finish": "matte paper and ink",
    "light_reflection": "minimal, only visible as highlights on the glasses frames and in the pupils",
    "material_accuracy": "exact"
  },
  "color_palette": {
    "dominant_colors": [
      "Sepia/Cream (newspaper)",
      "Black (ink lines)",
      "Vibrant Orange (glasses and splatters)",
      "Bright Blue (splatters)"
    ],
    "saturation": "High in orange and blue; low/natural in the newspaper background",
    "contrast_level": "High (chromatic and tonal contrast)",
    "color_shift": false
  },
  "texture_and_detail": {
    "surface_detail": "Fine newsprint texture, visible ink lines, paint drip edges",
    "grain_noise": "paper grain texture preserved",
    "micro_details": "Text on newspaper remains visible through the facial features",
    "sharpness": "sharp ink lines and crisp paint edges"
  },
  "camera_render_settings": {
    "lens_equivalent": "50mm look",
    "perspective_distortion": "none",
    "aperture_look": "N/A (flat illustration)",
    "resolution": "high",
    "render_quality": "clean, no digital compression artifacts"
  },
  "constraints": {
    "no_additional_objects": true,
    "no_reframing": true,
    "no_crop": true,
    "no_stylization": true,
    "no_artistic_license": true,
    "no_text": false,
    "no_watermark": true,
    "no_effects": true,
    "no_dramatic_lighting": true,
    "no_color_grading": true
  },
  "iteration_instruction": {
    "compare_to_reference": true,
    "fix_geometry_first": true,
    "then_fix_composition": true,
    "then_fix_lighting": true,
    "then_fix_color": true,
    "ignore_aesthetic_improvements": true
  },
  "negative_prompt": [
    "creative",
    "cinematic",
    "artistic",
    "stylized",
    "illustration (different from reference)",
    "abstract",
    "dramatic",
    "wide-angle",
    "fisheye",
    "exaggeration",
    "reinterpretation",
    "extra elements",
    "modernized",
    "retro look (different from reference)",
    "color grading",
    "AI artifacts",
    "blur",
    "depth of field"
  ]
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "subject": {
    "description": "A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.",
    "count": 1,
    "orientation": "front-facing",
    "pose_or_state": "static, head tilted slightly up",
    "expression": "neutral, contemplative"
  },
  "scale_and_proportion": {
    "subject_to_frame_ratio": "Subject occupies ~75% of the frame height",
    "proportions": "locked to reference",
    "negative_space": "Moderate, occupied by paint splatters and newspaper text"
  },
  "composition": {
    "shot_type": "close-up portrait",
    "camera_angle": "eye-level, looking slightly up",
    "framing": "centered",
    "symmetry": "Face is centered and mostly symmetrical; background splatters are asymmetrical",
    "background": "Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips",
    "depth_of_field": "flat (2D mixed media style)"
  },
  "temporal_context": {
    "era": "Contemporary mixed media art with mid-century vintage newspaper and glasses style",
    "modern_elements": false,
    "retro_stylization": true,
    "trend_influence": false
  },
  "style": {
    "visual_type": "Mixed media illustration",
    "realism_level": "maximum for the specified art style",
    "art_style": "Pen and ink sketch over newspaper collage",
    "stylization": "Literal reproduction of the specific mixed media style",
    "interpretation": "literal reproduction only"
  },
  "lighting": {
    "setup_type": "Simulated in the sketch",
    "light_direction": "Frontal/top-down, defined by shadows under the jaw, nose, and brow",
    "light_quality": "High contrast rendering",
    "contrast": "high (black ink against light paper)",
    "shadow_behavior": "rendered through hatching and solid black areas",
    "color_temperature": "warm overall due to paper, with cool blue accents",
    "lighting_variation": "none"
  },
  "materials": {
    "primary_materials": [
      "yellowed vintage newspaper",
      "black ink / charcoal",
      "vibrant blue and orange paint (acrylic or spray paint look)"
    ],
    "surface_finish": "matte paper and ink",
    "light_reflection": "minimal, only visible as highlights on the glasses frames and in the pupils",
    "material_accuracy": "exact"
  },
  "color_palette": {
    "dominant_colors": [
      "Sepia/Cream (newspaper)",
      "Black (ink lines)",
      "Vibrant Orange (glasses and splatters)",
      "Bright Blue (splatters)"
    ],
    "saturation": "High in orange and blue; low/natural in the newspaper background",
    "contrast_level": "High (chromatic and tonal contrast)",
    "color_shift": false
  },
  "texture_and_detail": {
    "surface_detail": "Fine newsprint texture, visible ink lines, paint drip edges",
    "grain_noise": "paper grain texture preserved",
    "micro_details": "Text on newspaper remains visible through the facial features",
    "sharpness": "sharp ink lines and crisp paint edges"
  },
  "camera_render_settings": {
    "lens_equivalent": "50mm look",
    "perspective_distortion": "none",
    "aperture_look": "N/A (flat illustration)",
    "resolution": "high",
    "render_quality": "clean, no digital compression artifacts"
  },
  "constraints": {
    "no_additional_objects": true,
    "no_reframing": true,
    "no_crop": true,
    "no_stylization": true,
    "no_artistic_license": true,
    "no_text": false,
    "no_watermark": true,
    "no_effects": true,
    "no_dramatic_lighting": true,
    "no_color_grading": true
  },
  "iteration_instruction": {
    "compare_to_reference": true,
    "fix_geometry_first": true,
    "then_fix_composition": true,
    "then_fix_lighting": true,
    "then_fix_color": true,
    "ignore_aesthetic_improvements": true
  },
  "negative_prompt": [
    "creative",
    "cinematic",
    "artistic",
    "stylized",
    "illustration (different from reference)",
    "abstract",
    "dramatic",
    "wide-angle",
    "fisheye",
    "exaggeration",
    "reinterpretation",
    "extra elements",
    "modernized",
    "retro look (different from reference)",
    "color grading",
    "AI artifacts",
    "blur",
    "depth of field"
  ]
}"

<!-- 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  \"subject\": {\n    \"description\": \"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\",\n    \"count\": 1,\n    \"orientation\": \"front-facing\",\n    \"pose_or_state\": \"static, head tilted slightly up\",\n    \"expression\": \"neutral, contemplative\"\n  },\n  \"scale_and_proportion\": {\n    \"subject_to_frame_ratio\": \"Subject occupies ~75% of the frame height\",\n    \"proportions\": \"locked to reference\",\n    \"negative_space\": \"Moderate, occupied by paint splatters and newspaper text\"\n  },\n  \"composition\": {\n    \"shot_type\": \"close-up portrait\",\n    \"camera_angle\": \"eye-level, looking slightly up\",\n    \"framing\": \"centered\",\n    \"symmetry\": \"Face is centered and mostly symmetrical; background splatters are asymmetrical\",\n    \"background\": \"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\",\n    \"depth_of_field\": \"flat (2D mixed media style)\"\n  },\n  \"temporal_context\": {\n    \"era\": \"Contemporary mixed media art with mid-century vintage newspaper and glasses style\",\n    \"modern_elements\": false,\n    \"retro_stylization\": true,\n    \"trend_influence\": false\n  },\n  \"style\": {\n    \"visual_type\": \"Mixed media illustration\",\n    \"realism_level\": \"maximum for the specified art style\",\n    \"art_style\": \"Pen and ink sketch over newspaper collage\",\n    \"stylization\": \"Literal reproduction of the specific mixed media style\",\n    \"interpretation\": \"literal reproduction only\"\n  },\n  \"lighting\": {\n    \"setup_type\": \"Simulated in the sketch\",\n    \"light_direction\": \"Frontal/top-down, defined by shadows under the jaw, nose, and brow\",\n    \"light_quality\": \"High contrast rendering\",\n    \"contrast\": \"high (black ink against light paper)\",\n    \"shadow_behavior\": \"rendered through hatching and solid black areas\",\n    \"color_temperature\": \"warm overall due to paper, with cool blue accents\",\n    \"lighting_variation\": \"none\"\n  },\n  \"materials\": {\n    \"primary_materials\": [\n      \"yellowed vintage newspaper\",\n      \"black ink / charcoal\",\n      \"vibrant blue and orange paint (acrylic or spray paint look)\"\n    ],\n    \"surface_finish\": \"matte paper and ink\",\n    \"light_reflection\": \"minimal, only visible as highlights on the glasses frames and in the pupils\",\n    \"material_accuracy\": \"exact\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"Sepia/Cream (newspaper)\",\n      \"Black (ink lines)\",\n      \"Vibrant Orange (glasses and splatters)\",\n      \"Bright Blue (splatters)\"\n    ],\n    \"saturation\": \"High in orange and blue; low/natural in the newspaper background\",\n    \"contrast_level\": \"High (chromatic and tonal contrast)\",\n    \"color_shift\": false\n  },\n  \"texture_and_detail\": {\n    \"surface_detail\": \"Fine newsprint texture, visible ink lines, paint drip edges\",\n    \"grain_noise\": \"paper grain texture preserved\",\n    \"micro_details\": \"Text on newspaper remains visible through the facial features\",\n    \"sharpness\": \"sharp ink lines and crisp paint edges\"\n  },\n  \"camera_render_settings\": {\n    \"lens_equivalent\": \"50mm look\",\n    \"perspective_distortion\": \"none\",\n    \"aperture_look\": \"N/A (flat illustration)\",\n    \"resolution\": \"high\",\n    \"render_quality\": \"clean, no digital compression artifacts\"\n  },\n  \"constraints\": {\n    \"no_additional_objects\": true,\n    \"no_reframing\": true,\n    \"no_crop\": true,\n    \"no_stylization\": true,\n    \"no_artistic_license\": true,\n    \"no_text\": false,\n    \"no_watermark\": true,\n    \"no_effects\": true,\n    \"no_dramatic_lighting\": true,\n    \"no_color_grading\": true\n  },\n  \"iteration_instruction\": {\n    \"compare_to_reference\": true,\n    \"fix_geometry_first\": true,\n    \"then_fix_composition\": true,\n    \"then_fix_lighting\": true,\n    \"then_fix_color\": true,\n    \"ignore_aesthetic_improvements\": true\n  },\n  \"negative_prompt\": [\n    \"creative\",\n    \"cinematic\",\n    \"artistic\",\n    \"stylized\",\n    \"illustration (different from reference)\",\n    \"abstract\",\n    \"dramatic\",\n    \"wide-angle\",\n    \"fisheye\",\n    \"exaggeration\",\n    \"reinterpretation\",\n    \"extra elements\",\n    \"modernized\",\n    \"retro look (different from reference)\",\n    \"color grading\",\n    \"AI artifacts\",\n    \"blur\",\n    \"depth of field\"\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  \"subject\": {\n    \"description\": \"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\",\n    \"count\": 1,\n    \"orientation\": \"front-facing\",\n    \"pose_or_state\": \"static, head tilted slightly up\",\n    \"expression\": \"neutral, contemplative\"\n  },\n  \"scale_and_proportion\": {\n    \"subject_to_frame_ratio\": \"Subject occupies ~75% of the frame height\",\n    \"proportions\": \"locked to reference\",\n    \"negative_space\": \"Moderate, occupied by paint splatters and newspaper text\"\n  },\n  \"composition\": {\n    \"shot_type\": \"close-up portrait\",\n    \"camera_angle\": \"eye-level, looking slightly up\",\n    \"framing\": \"centered\",\n    \"symmetry\": \"Face is centered and mostly symmetrical; background splatters are asymmetrical\",\n    \"background\": \"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\",\n    \"depth_of_field\": \"flat (2D mixed media style)\"\n  },\n  \"temporal_context\": {\n    \"era\": \"Contemporary mixed media art with mid-century vintage newspaper and glasses style\",\n    \"modern_elements\": false,\n    \"retro_stylization\": true,\n    \"trend_influence\": false\n  },\n  \"style\": {\n    \"visual_type\": \"Mixed media illustration\",\n    \"realism_level\": \"maximum for the specified art style\",\n    \"art_style\": \"Pen and ink sketch over newspaper collage\",\n    \"stylization\": \"Literal reproduction of the specific mixed media style\",\n    \"interpretation\": \"literal reproduction only\"\n  },\n  \"lighting\": {\n    \"setup_type\": \"Simulated in the sketch\",\n    \"light_direction\": \"Frontal/top-down, defined by shadows under the jaw, nose, and brow\",\n    \"light_quality\": \"High contrast rendering\",\n    \"contrast\": \"high (black ink against light paper)\",\n    \"shadow_behavior\": \"rendered through hatching and solid black areas\",\n    \"color_temperature\": \"warm overall due to paper, with cool blue accents\",\n    \"lighting_variation\": \"none\"\n  },\n  \"materials\": {\n    \"primary_materials\": [\n      \"yellowed vintage newspaper\",\n      \"black ink / charcoal\",\n      \"vibrant blue and orange paint (acrylic or spray paint look)\"\n    ],\n    \"surface_finish\": \"matte paper and ink\",\n    \"light_reflection\": \"minimal, only visible as highlights on the glasses frames and in the pupils\",\n    \"material_accuracy\": \"exact\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"Sepia/Cream (newspaper)\",\n      \"Black (ink lines)\",\n      \"Vibrant Orange (glasses and splatters)\",\n      \"Bright Blue (splatters)\"\n    ],\n    \"saturation\": \"High in orange and blue; low/natural in the newspaper background\",\n    \"contrast_level\": \"High (chromatic and tonal contrast)\",\n    \"color_shift\": false\n  },\n  \"texture_and_detail\": {\n    \"surface_detail\": \"Fine newsprint texture, visible ink lines, paint drip edges\",\n    \"grain_noise\": \"paper grain texture preserved\",\n    \"micro_details\": \"Text on newspaper remains visible through the facial features\",\n    \"sharpness\": \"sharp ink lines and crisp paint edges\"\n  },\n  \"camera_render_settings\": {\n    \"lens_equivalent\": \"50mm look\",\n    \"perspective_distortion\": \"none\",\n    \"aperture_look\": \"N/A (flat illustration)\",\n    \"resolution\": \"high\",\n    \"render_quality\": \"clean, no digital compression artifacts\"\n  },\n  \"constraints\": {\n    \"no_additional_objects\": true,\n    \"no_reframing\": true,\n    \"no_crop\": true,\n    \"no_stylization\": true,\n    \"no_artistic_license\": true,\n    \"no_text\": false,\n    \"no_watermark\": true,\n    \"no_effects\": true,\n    \"no_dramatic_lighting\": true,\n    \"no_color_grading\": true\n  },\n  \"iteration_instruction\": {\n    \"compare_to_reference\": true,\n    \"fix_geometry_first\": true,\n    \"then_fix_composition\": true,\n    \"then_fix_lighting\": true,\n    \"then_fix_color\": true,\n    \"ignore_aesthetic_improvements\": true\n  },\n  \"negative_prompt\": [\n    \"creative\",\n    \"cinematic\",\n    \"artistic\",\n    \"stylized\",\n    \"illustration (different from reference)\",\n    \"abstract\",\n    \"dramatic\",\n    \"wide-angle\",\n    \"fisheye\",\n    \"exaggeration\",\n    \"reinterpretation\",\n    \"extra elements\",\n    \"modernized\",\n    \"retro look (different from reference)\",\n    \"color grading\",\n    \"AI artifacts\",\n    \"blur\",\n    \"depth of field\"\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  \\\"subject\\\": {\\n    \\\"description\\\": \\\"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\\\",\\n    \\\"count\\\": 1,\\n    \\\"orientation\\\": \\\"front-facing\\\",\\n    \\\"pose_or_state\\\": \\\"static, head tilted slightly up\\\",\\n    \\\"expression\\\": \\\"neutral, contemplative\\\"\\n  },\\n  \\\"scale_and_proportion\\\": {\\n    \\\"subject_to_frame_ratio\\\": \\\"Subject occupies ~75% of the frame height\\\",\\n    \\\"proportions\\\": \\\"locked to reference\\\",\\n    \\\"negative_space\\\": \\\"Moderate, occupied by paint splatters and newspaper text\\\"\\n  },\\n  \\\"composition\\\": {\\n    \\\"shot_type\\\": \\\"close-up portrait\\\",\\n    \\\"camera_angle\\\": \\\"eye-level, looking slightly up\\\",\\n    \\\"framing\\\": \\\"centered\\\",\\n    \\\"symmetry\\\": \\\"Face is centered and mostly symmetrical; background splatters are asymmetrical\\\",\\n    \\\"background\\\": \\\"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\\\",\\n    \\\"depth_of_field\\\": \\\"flat (2D mixed media style)\\\"\\n  },\\n  \\\"temporal_context\\\": {\\n    \\\"era\\\": \\\"Contemporary mixed media art with mid-century vintage newspaper and glasses style\\\",\\n    \\\"modern_elements\\\": false,\\n    \\\"retro_stylization\\\": true,\\n    \\\"trend_influence\\\": false\\n  },\\n  \\\"style\\\": {\\n    \\\"visual_type\\\": \\\"Mixed media illustration\\\",\\n    \\\"realism_level\\\": \\\"maximum for the specified art style\\\",\\n    \\\"art_style\\\": \\\"Pen and ink sketch over newspaper collage\\\",\\n    \\\"stylization\\\": \\\"Literal reproduction of the specific mixed media style\\\",\\n    \\\"interpretation\\\": \\\"literal reproduction only\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"setup_type\\\": \\\"Simulated in the sketch\\\",\\n    \\\"light_direction\\\": \\\"Frontal/top-down, defined by shadows under the jaw, nose, and brow\\\",\\n    \\\"light_quality\\\": \\\"High contrast rendering\\\",\\n    \\\"contrast\\\": \\\"high (black ink against light paper)\\\",\\n    \\\"shadow_behavior\\\": \\\"rendered through hatching and solid black areas\\\",\\n    \\\"color_temperature\\\": \\\"warm overall due to paper, with cool blue accents\\\",\\n    \\\"lighting_variation\\\": \\\"none\\\"\\n  },\\n  \\\"materials\\\": {\\n    \\\"primary_materials\\\": [\\n      \\\"yellowed vintage newspaper\\\",\\n      \\\"black ink / charcoal\\\",\\n      \\\"vibrant blue and orange paint (acrylic or spray paint look)\\\"\\n    ],\\n    \\\"surface_finish\\\": \\\"matte paper and ink\\\",\\n    \\\"light_reflection\\\": \\\"minimal, only visible as highlights on the glasses frames and in the pupils\\\",\\n    \\\"material_accuracy\\\": \\\"exact\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"Sepia/Cream (newspaper)\\\",\\n      \\\"Black (ink lines)\\\",\\n      \\\"Vibrant Orange (glasses and splatters)\\\",\\n      \\\"Bright Blue (splatters)\\\"\\n    ],\\n    \\\"saturation\\\": \\\"High in orange and blue; low/natural in the newspaper background\\\",\\n    \\\"contrast_level\\\": \\\"High (chromatic and tonal contrast)\\\",\\n    \\\"color_shift\\\": false\\n  },\\n  \\\"texture_and_detail\\\": {\\n    \\\"surface_detail\\\": \\\"Fine newsprint texture, visible ink lines, paint drip edges\\\",\\n    \\\"grain_noise\\\": \\\"paper grain texture preserved\\\",\\n    \\\"micro_details\\\": \\\"Text on newspaper remains visible through the facial features\\\",\\n    \\\"sharpness\\\": \\\"sharp ink lines and crisp paint edges\\\"\\n  },\\n  \\\"camera_render_settings\\\": {\\n    \\\"lens_equivalent\\\": \\\"50mm look\\\",\\n    \\\"perspective_distortion\\\": \\\"none\\\",\\n    \\\"aperture_look\\\": \\\"N/A (flat illustration)\\\",\\n    \\\"resolution\\\": \\\"high\\\",\\n    \\\"render_quality\\\": \\\"clean, no digital compression artifacts\\\"\\n  },\\n  \\\"constraints\\\": {\\n    \\\"no_additional_objects\\\": true,\\n    \\\"no_reframing\\\": true,\\n    \\\"no_crop\\\": true,\\n    \\\"no_stylization\\\": true,\\n    \\\"no_artistic_license\\\": true,\\n    \\\"no_text\\\": false,\\n    \\\"no_watermark\\\": true,\\n    \\\"no_effects\\\": true,\\n    \\\"no_dramatic_lighting\\\": true,\\n    \\\"no_color_grading\\\": true\\n  },\\n  \\\"iteration_instruction\\\": {\\n    \\\"compare_to_reference\\\": true,\\n    \\\"fix_geometry_first\\\": true,\\n    \\\"then_fix_composition\\\": true,\\n    \\\"then_fix_lighting\\\": true,\\n    \\\"then_fix_color\\\": true,\\n    \\\"ignore_aesthetic_improvements\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"creative\\\",\\n    \\\"cinematic\\\",\\n    \\\"artistic\\\",\\n    \\\"stylized\\\",\\n    \\\"illustration (different from reference)\\\",\\n    \\\"abstract\\\",\\n    \\\"dramatic\\\",\\n    \\\"wide-angle\\\",\\n    \\\"fisheye\\\",\\n    \\\"exaggeration\\\",\\n    \\\"reinterpretation\\\",\\n    \\\"extra elements\\\",\\n    \\\"modernized\\\",\\n    \\\"retro look (different from reference)\\\",\\n    \\\"color grading\\\",\\n    \\\"AI artifacts\\\",\\n    \\\"blur\\\",\\n    \\\"depth of field\\\"\\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  \\\"subject\\\": {\\n    \\\"description\\\": \\\"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\\\",\\n    \\\"count\\\": 1,\\n    \\\"orientation\\\": \\\"front-facing\\\",\\n    \\\"pose_or_state\\\": \\\"static, head tilted slightly up\\\",\\n    \\\"expression\\\": \\\"neutral, contemplative\\\"\\n  },\\n  \\\"scale_and_proportion\\\": {\\n    \\\"subject_to_frame_ratio\\\": \\\"Subject occupies ~75% of the frame height\\\",\\n    \\\"proportions\\\": \\\"locked to reference\\\",\\n    \\\"negative_space\\\": \\\"Moderate, occupied by paint splatters and newspaper text\\\"\\n  },\\n  \\\"composition\\\": {\\n    \\\"shot_type\\\": \\\"close-up portrait\\\",\\n    \\\"camera_angle\\\": \\\"eye-level, looking slightly up\\\",\\n    \\\"framing\\\": \\\"centered\\\",\\n    \\\"symmetry\\\": \\\"Face is centered and mostly symmetrical; background splatters are asymmetrical\\\",\\n    \\\"background\\\": \\\"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\\\",\\n    \\\"depth_of_field\\\": \\\"flat (2D mixed media style)\\\"\\n  },\\n  \\\"temporal_context\\\": {\\n    \\\"era\\\": \\\"Contemporary mixed media art with mid-century vintage newspaper and glasses style\\\",\\n    \\\"modern_elements\\\": false,\\n    \\\"retro_stylization\\\": true,\\n    \\\"trend_influence\\\": false\\n  },\\n  \\\"style\\\": {\\n    \\\"visual_type\\\": \\\"Mixed media illustration\\\",\\n    \\\"realism_level\\\": \\\"maximum for the specified art style\\\",\\n    \\\"art_style\\\": \\\"Pen and ink sketch over newspaper collage\\\",\\n    \\\"stylization\\\": \\\"Literal reproduction of the specific mixed media style\\\",\\n    \\\"interpretation\\\": \\\"literal reproduction only\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"setup_type\\\": \\\"Simulated in the sketch\\\",\\n    \\\"light_direction\\\": \\\"Frontal/top-down, defined by shadows under the jaw, nose, and brow\\\",\\n    \\\"light_quality\\\": \\\"High contrast rendering\\\",\\n    \\\"contrast\\\": \\\"high (black ink against light paper)\\\",\\n    \\\"shadow_behavior\\\": \\\"rendered through hatching and solid black areas\\\",\\n    \\\"color_temperature\\\": \\\"warm overall due to paper, with cool blue accents\\\",\\n    \\\"lighting_variation\\\": \\\"none\\\"\\n  },\\n  \\\"materials\\\": {\\n    \\\"primary_materials\\\": [\\n      \\\"yellowed vintage newspaper\\\",\\n      \\\"black ink / charcoal\\\",\\n      \\\"vibrant blue and orange paint (acrylic or spray paint look)\\\"\\n    ],\\n    \\\"surface_finish\\\": \\\"matte paper and ink\\\",\\n    \\\"light_reflection\\\": \\\"minimal, only visible as highlights on the glasses frames and in the pupils\\\",\\n    \\\"material_accuracy\\\": \\\"exact\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"Sepia/Cream (newspaper)\\\",\\n      \\\"Black (ink lines)\\\",\\n      \\\"Vibrant Orange (glasses and splatters)\\\",\\n      \\\"Bright Blue (splatters)\\\"\\n    ],\\n    \\\"saturation\\\": \\\"High in orange and blue; low/natural in the newspaper background\\\",\\n    \\\"contrast_level\\\": \\\"High (chromatic and tonal contrast)\\\",\\n    \\\"color_shift\\\": false\\n  },\\n  \\\"texture_and_detail\\\": {\\n    \\\"surface_detail\\\": \\\"Fine newsprint texture, visible ink lines, paint drip edges\\\",\\n    \\\"grain_noise\\\": \\\"paper grain texture preserved\\\",\\n    \\\"micro_details\\\": \\\"Text on newspaper remains visible through the facial features\\\",\\n    \\\"sharpness\\\": \\\"sharp ink lines and crisp paint edges\\\"\\n  },\\n  \\\"camera_render_settings\\\": {\\n    \\\"lens_equivalent\\\": \\\"50mm look\\\",\\n    \\\"perspective_distortion\\\": \\\"none\\\",\\n    \\\"aperture_look\\\": \\\"N/A (flat illustration)\\\",\\n    \\\"resolution\\\": \\\"high\\\",\\n    \\\"render_quality\\\": \\\"clean, no digital compression artifacts\\\"\\n  },\\n  \\\"constraints\\\": {\\n    \\\"no_additional_objects\\\": true,\\n    \\\"no_reframing\\\": true,\\n    \\\"no_crop\\\": true,\\n    \\\"no_stylization\\\": true,\\n    \\\"no_artistic_license\\\": true,\\n    \\\"no_text\\\": false,\\n    \\\"no_watermark\\\": true,\\n    \\\"no_effects\\\": true,\\n    \\\"no_dramatic_lighting\\\": true,\\n    \\\"no_color_grading\\\": true\\n  },\\n  \\\"iteration_instruction\\\": {\\n    \\\"compare_to_reference\\\": true,\\n    \\\"fix_geometry_first\\\": true,\\n    \\\"then_fix_composition\\\": true,\\n    \\\"then_fix_lighting\\\": true,\\n    \\\"then_fix_color\\\": true,\\n    \\\"ignore_aesthetic_improvements\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"creative\\\",\\n    \\\"cinematic\\\",\\n    \\\"artistic\\\",\\n    \\\"stylized\\\",\\n    \\\"illustration (different from reference)\\\",\\n    \\\"abstract\\\",\\n    \\\"dramatic\\\",\\n    \\\"wide-angle\\\",\\n    \\\"fisheye\\\",\\n    \\\"exaggeration\\\",\\n    \\\"reinterpretation\\\",\\n    \\\"extra elements\\\",\\n    \\\"modernized\\\",\\n    \\\"retro look (different from reference)\\\",\\n    \\\"color grading\\\",\\n    \\\"AI artifacts\\\",\\n    \\\"blur\\\",\\n    \\\"depth of field\\\"\\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  \\\"subject\\\": {\\n    \\\"description\\\": \\\"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\\\",\\n    \\\"count\\\": 1,\\n    \\\"orientation\\\": \\\"front-facing\\\",\\n    \\\"pose_or_state\\\": \\\"static, head tilted slightly up\\\",\\n    \\\"expression\\\": \\\"neutral, contemplative\\\"\\n  },\\n  \\\"scale_and_proportion\\\": {\\n    \\\"subject_to_frame_ratio\\\": \\\"Subject occupies ~75% of the frame height\\\",\\n    \\\"proportions\\\": \\\"locked to reference\\\",\\n    \\\"negative_space\\\": \\\"Moderate, occupied by paint splatters and newspaper text\\\"\\n  },\\n  \\\"composition\\\": {\\n    \\\"shot_type\\\": \\\"close-up portrait\\\",\\n    \\\"camera_angle\\\": \\\"eye-level, looking slightly up\\\",\\n    \\\"framing\\\": \\\"centered\\\",\\n    \\\"symmetry\\\": \\\"Face is centered and mostly symmetrical; background splatters are asymmetrical\\\",\\n    \\\"background\\\": \\\"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\\\",\\n    \\\"depth_of_field\\\": \\\"flat (2D mixed media style)\\\"\\n  },\\n  \\\"temporal_context\\\": {\\n    \\\"era\\\": \\\"Contemporary mixed media art with mid-century vintage newspaper and glasses style\\\",\\n    \\\"modern_elements\\\": false,\\n    \\\"retro_stylization\\\": true,\\n    \\\"trend_influence\\\": false\\n  },\\n  \\\"style\\\": {\\n    \\\"visual_type\\\": \\\"Mixed media illustration\\\",\\n    \\\"realism_level\\\": \\\"maximum for the specified art style\\\",\\n    \\\"art_style\\\": \\\"Pen and ink sketch over newspaper collage\\\",\\n    \\\"stylization\\\": \\\"Literal reproduction of the specific mixed media style\\\",\\n    \\\"interpretation\\\": \\\"literal reproduction only\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"setup_type\\\": \\\"Simulated in the sketch\\\",\\n    \\\"light_direction\\\": \\\"Frontal/top-down, defined by shadows under the jaw, nose, and brow\\\",\\n    \\\"light_quality\\\": \\\"High contrast rendering\\\",\\n    \\\"contrast\\\": \\\"high (black ink against light paper)\\\",\\n    \\\"shadow_behavior\\\": \\\"rendered through hatching and solid black areas\\\",\\n    \\\"color_temperature\\\": \\\"warm overall due to paper, with cool blue accents\\\",\\n    \\\"lighting_variation\\\": \\\"none\\\"\\n  },\\n  \\\"materials\\\": {\\n    \\\"primary_materials\\\": [\\n      \\\"yellowed vintage newspaper\\\",\\n      \\\"black ink / charcoal\\\",\\n      \\\"vibrant blue and orange paint (acrylic or spray paint look)\\\"\\n    ],\\n    \\\"surface_finish\\\": \\\"matte paper and ink\\\",\\n    \\\"light_reflection\\\": \\\"minimal, only visible as highlights on the glasses frames and in the pupils\\\",\\n    \\\"material_accuracy\\\": \\\"exact\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"Sepia/Cream (newspaper)\\\",\\n      \\\"Black (ink lines)\\\",\\n      \\\"Vibrant Orange (glasses and splatters)\\\",\\n      \\\"Bright Blue (splatters)\\\"\\n    ],\\n    \\\"saturation\\\": \\\"High in orange and blue; low/natural in the newspaper background\\\",\\n    \\\"contrast_level\\\": \\\"High (chromatic and tonal contrast)\\\",\\n    \\\"color_shift\\\": false\\n  },\\n  \\\"texture_and_detail\\\": {\\n    \\\"surface_detail\\\": \\\"Fine newsprint texture, visible ink lines, paint drip edges\\\",\\n    \\\"grain_noise\\\": \\\"paper grain texture preserved\\\",\\n    \\\"micro_details\\\": \\\"Text on newspaper remains visible through the facial features\\\",\\n    \\\"sharpness\\\": \\\"sharp ink lines and crisp paint edges\\\"\\n  },\\n  \\\"camera_render_settings\\\": {\\n    \\\"lens_equivalent\\\": \\\"50mm look\\\",\\n    \\\"perspective_distortion\\\": \\\"none\\\",\\n    \\\"aperture_look\\\": \\\"N/A (flat illustration)\\\",\\n    \\\"resolution\\\": \\\"high\\\",\\n    \\\"render_quality\\\": \\\"clean, no digital compression artifacts\\\"\\n  },\\n  \\\"constraints\\\": {\\n    \\\"no_additional_objects\\\": true,\\n    \\\"no_reframing\\\": true,\\n    \\\"no_crop\\\": true,\\n    \\\"no_stylization\\\": true,\\n    \\\"no_artistic_license\\\": true,\\n    \\\"no_text\\\": false,\\n    \\\"no_watermark\\\": true,\\n    \\\"no_effects\\\": true,\\n    \\\"no_dramatic_lighting\\\": true,\\n    \\\"no_color_grading\\\": true\\n  },\\n  \\\"iteration_instruction\\\": {\\n    \\\"compare_to_reference\\\": true,\\n    \\\"fix_geometry_first\\\": true,\\n    \\\"then_fix_composition\\\": true,\\n    \\\"then_fix_lighting\\\": true,\\n    \\\"then_fix_color\\\": true,\\n    \\\"ignore_aesthetic_improvements\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"creative\\\",\\n    \\\"cinematic\\\",\\n    \\\"artistic\\\",\\n    \\\"stylized\\\",\\n    \\\"illustration (different from reference)\\\",\\n    \\\"abstract\\\",\\n    \\\"dramatic\\\",\\n    \\\"wide-angle\\\",\\n    \\\"fisheye\\\",\\n    \\\"exaggeration\\\",\\n    \\\"reinterpretation\\\",\\n    \\\"extra elements\\\",\\n    \\\"modernized\\\",\\n    \\\"retro look (different from reference)\\\",\\n    \\\"color grading\\\",\\n    \\\"AI artifacts\\\",\\n    \\\"blur\\\",\\n    \\\"depth of field\\\"\\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  \\\"subject\\\": {\\n    \\\"description\\\": \\\"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\\\",\\n    \\\"count\\\": 1,\\n    \\\"orientation\\\": \\\"front-facing\\\",\\n    \\\"pose_or_state\\\": \\\"static, head tilted slightly up\\\",\\n    \\\"expression\\\": \\\"neutral, contemplative\\\"\\n  },\\n  \\\"scale_and_proportion\\\": {\\n    \\\"subject_to_frame_ratio\\\": \\\"Subject occupies ~75% of the frame height\\\",\\n    \\\"proportions\\\": \\\"locked to reference\\\",\\n    \\\"negative_space\\\": \\\"Moderate, occupied by paint splatters and newspaper text\\\"\\n  },\\n  \\\"composition\\\": {\\n    \\\"shot_type\\\": \\\"close-up portrait\\\",\\n    \\\"camera_angle\\\": \\\"eye-level, looking slightly up\\\",\\n    \\\"framing\\\": \\\"centered\\\",\\n    \\\"symmetry\\\": \\\"Face is centered and mostly symmetrical; background splatters are asymmetrical\\\",\\n    \\\"background\\\": \\\"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\\\",\\n    \\\"depth_of_field\\\": \\\"flat (2D mixed media style)\\\"\\n  },\\n  \\\"temporal_context\\\": {\\n    \\\"era\\\": \\\"Contemporary mixed media art with mid-century vintage newspaper and glasses style\\\",\\n    \\\"modern_elements\\\": false,\\n    \\\"retro_stylization\\\": true,\\n    \\\"trend_influence\\\": false\\n  },\\n  \\\"style\\\": {\\n    \\\"visual_type\\\": \\\"Mixed media illustration\\\",\\n    \\\"realism_level\\\": \\\"maximum for the specified art style\\\",\\n    \\\"art_style\\\": \\\"Pen and ink sketch over newspaper collage\\\",\\n    \\\"stylization\\\": \\\"Literal reproduction of the specific mixed media style\\\",\\n    \\\"interpretation\\\": \\\"literal reproduction only\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"setup_type\\\": \\\"Simulated in the sketch\\\",\\n    \\\"light_direction\\\": \\\"Frontal/top-down, defined by shadows under the jaw, nose, and brow\\\",\\n    \\\"light_quality\\\": \\\"High contrast rendering\\\",\\n    \\\"contrast\\\": \\\"high (black ink against light paper)\\\",\\n    \\\"shadow_behavior\\\": \\\"rendered through hatching and solid black areas\\\",\\n    \\\"color_temperature\\\": \\\"warm overall due to paper, with cool blue accents\\\",\\n    \\\"lighting_variation\\\": \\\"none\\\"\\n  },\\n  \\\"materials\\\": {\\n    \\\"primary_materials\\\": [\\n      \\\"yellowed vintage newspaper\\\",\\n      \\\"black ink / charcoal\\\",\\n      \\\"vibrant blue and orange paint (acrylic or spray paint look)\\\"\\n    ],\\n    \\\"surface_finish\\\": \\\"matte paper and ink\\\",\\n    \\\"light_reflection\\\": \\\"minimal, only visible as highlights on the glasses frames and in the pupils\\\",\\n    \\\"material_accuracy\\\": \\\"exact\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"Sepia/Cream (newspaper)\\\",\\n      \\\"Black (ink lines)\\\",\\n      \\\"Vibrant Orange (glasses and splatters)\\\",\\n      \\\"Bright Blue (splatters)\\\"\\n    ],\\n    \\\"saturation\\\": \\\"High in orange and blue; low/natural in the newspaper background\\\",\\n    \\\"contrast_level\\\": \\\"High (chromatic and tonal contrast)\\\",\\n    \\\"color_shift\\\": false\\n  },\\n  \\\"texture_and_detail\\\": {\\n    \\\"surface_detail\\\": \\\"Fine newsprint texture, visible ink lines, paint drip edges\\\",\\n    \\\"grain_noise\\\": \\\"paper grain texture preserved\\\",\\n    \\\"micro_details\\\": \\\"Text on newspaper remains visible through the facial features\\\",\\n    \\\"sharpness\\\": \\\"sharp ink lines and crisp paint edges\\\"\\n  },\\n  \\\"camera_render_settings\\\": {\\n    \\\"lens_equivalent\\\": \\\"50mm look\\\",\\n    \\\"perspective_distortion\\\": \\\"none\\\",\\n    \\\"aperture_look\\\": \\\"N/A (flat illustration)\\\",\\n    \\\"resolution\\\": \\\"high\\\",\\n    \\\"render_quality\\\": \\\"clean, no digital compression artifacts\\\"\\n  },\\n  \\\"constraints\\\": {\\n    \\\"no_additional_objects\\\": true,\\n    \\\"no_reframing\\\": true,\\n    \\\"no_crop\\\": true,\\n    \\\"no_stylization\\\": true,\\n    \\\"no_artistic_license\\\": true,\\n    \\\"no_text\\\": false,\\n    \\\"no_watermark\\\": true,\\n    \\\"no_effects\\\": true,\\n    \\\"no_dramatic_lighting\\\": true,\\n    \\\"no_color_grading\\\": true\\n  },\\n  \\\"iteration_instruction\\\": {\\n    \\\"compare_to_reference\\\": true,\\n    \\\"fix_geometry_first\\\": true,\\n    \\\"then_fix_composition\\\": true,\\n    \\\"then_fix_lighting\\\": true,\\n    \\\"then_fix_color\\\": true,\\n    \\\"ignore_aesthetic_improvements\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"creative\\\",\\n    \\\"cinematic\\\",\\n    \\\"artistic\\\",\\n    \\\"stylized\\\",\\n    \\\"illustration (different from reference)\\\",\\n    \\\"abstract\\\",\\n    \\\"dramatic\\\",\\n    \\\"wide-angle\\\",\\n    \\\"fisheye\\\",\\n    \\\"exaggeration\\\",\\n    \\\"reinterpretation\\\",\\n    \\\"extra elements\\\",\\n    \\\"modernized\\\",\\n    \\\"retro look (different from reference)\\\",\\n    \\\"color grading\\\",\\n    \\\"AI artifacts\\\",\\n    \\\"blur\\\",\\n    \\\"depth of field\\\"\\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  \\\"subject\\\": {\\n    \\\"description\\\": \\\"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\\\",\\n    \\\"count\\\": 1,\\n    \\\"orientation\\\": \\\"front-facing\\\",\\n    \\\"pose_or_state\\\": \\\"static, head tilted slightly up\\\",\\n    \\\"expression\\\": \\\"neutral, contemplative\\\"\\n  },\\n  \\\"scale_and_proportion\\\": {\\n    \\\"subject_to_frame_ratio\\\": \\\"Subject occupies ~75% of the frame height\\\",\\n    \\\"proportions\\\": \\\"locked to reference\\\",\\n    \\\"negative_space\\\": \\\"Moderate, occupied by paint splatters and newspaper text\\\"\\n  },\\n  \\\"composition\\\": {\\n    \\\"shot_type\\\": \\\"close-up portrait\\\",\\n    \\\"camera_angle\\\": \\\"eye-level, looking slightly up\\\",\\n    \\\"framing\\\": \\\"centered\\\",\\n    \\\"symmetry\\\": \\\"Face is centered and mostly symmetrical; background splatters are asymmetrical\\\",\\n    \\\"background\\\": \\\"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\\\",\\n    \\\"depth_of_field\\\": \\\"flat (2D mixed media style)\\\"\\n  },\\n  \\\"temporal_context\\\": {\\n    \\\"era\\\": \\\"Contemporary mixed media art with mid-century vintage newspaper and glasses style\\\",\\n    \\\"modern_elements\\\": false,\\n    \\\"retro_stylization\\\": true,\\n    \\\"trend_influence\\\": false\\n  },\\n  \\\"style\\\": {\\n    \\\"visual_type\\\": \\\"Mixed media illustration\\\",\\n    \\\"realism_level\\\": \\\"maximum for the specified art style\\\",\\n    \\\"art_style\\\": \\\"Pen and ink sketch over newspaper collage\\\",\\n    \\\"stylization\\\": \\\"Literal reproduction of the specific mixed media style\\\",\\n    \\\"interpretation\\\": \\\"literal reproduction only\\\"\\n  },\\n  \\\"lighting\\\": {\\n    \\\"setup_type\\\": \\\"Simulated in the sketch\\\",\\n    \\\"light_direction\\\": \\\"Frontal/top-down, defined by shadows under the jaw, nose, and brow\\\",\\n    \\\"light_quality\\\": \\\"High contrast rendering\\\",\\n    \\\"contrast\\\": \\\"high (black ink against light paper)\\\",\\n    \\\"shadow_behavior\\\": \\\"rendered through hatching and solid black areas\\\",\\n    \\\"color_temperature\\\": \\\"warm overall due to paper, with cool blue accents\\\",\\n    \\\"lighting_variation\\\": \\\"none\\\"\\n  },\\n  \\\"materials\\\": {\\n    \\\"primary_materials\\\": [\\n      \\\"yellowed vintage newspaper\\\",\\n      \\\"black ink / charcoal\\\",\\n      \\\"vibrant blue and orange paint (acrylic or spray paint look)\\\"\\n    ],\\n    \\\"surface_finish\\\": \\\"matte paper and ink\\\",\\n    \\\"light_reflection\\\": \\\"minimal, only visible as highlights on the glasses frames and in the pupils\\\",\\n    \\\"material_accuracy\\\": \\\"exact\\\"\\n  },\\n  \\\"color_palette\\\": {\\n    \\\"dominant_colors\\\": [\\n      \\\"Sepia/Cream (newspaper)\\\",\\n      \\\"Black (ink lines)\\\",\\n      \\\"Vibrant Orange (glasses and splatters)\\\",\\n      \\\"Bright Blue (splatters)\\\"\\n    ],\\n    \\\"saturation\\\": \\\"High in orange and blue; low/natural in the newspaper background\\\",\\n    \\\"contrast_level\\\": \\\"High (chromatic and tonal contrast)\\\",\\n    \\\"color_shift\\\": false\\n  },\\n  \\\"texture_and_detail\\\": {\\n    \\\"surface_detail\\\": \\\"Fine newsprint texture, visible ink lines, paint drip edges\\\",\\n    \\\"grain_noise\\\": \\\"paper grain texture preserved\\\",\\n    \\\"micro_details\\\": \\\"Text on newspaper remains visible through the facial features\\\",\\n    \\\"sharpness\\\": \\\"sharp ink lines and crisp paint edges\\\"\\n  },\\n  \\\"camera_render_settings\\\": {\\n    \\\"lens_equivalent\\\": \\\"50mm look\\\",\\n    \\\"perspective_distortion\\\": \\\"none\\\",\\n    \\\"aperture_look\\\": \\\"N/A (flat illustration)\\\",\\n    \\\"resolution\\\": \\\"high\\\",\\n    \\\"render_quality\\\": \\\"clean, no digital compression artifacts\\\"\\n  },\\n  \\\"constraints\\\": {\\n    \\\"no_additional_objects\\\": true,\\n    \\\"no_reframing\\\": true,\\n    \\\"no_crop\\\": true,\\n    \\\"no_stylization\\\": true,\\n    \\\"no_artistic_license\\\": true,\\n    \\\"no_text\\\": false,\\n    \\\"no_watermark\\\": true,\\n    \\\"no_effects\\\": true,\\n    \\\"no_dramatic_lighting\\\": true,\\n    \\\"no_color_grading\\\": true\\n  },\\n  \\\"iteration_instruction\\\": {\\n    \\\"compare_to_reference\\\": true,\\n    \\\"fix_geometry_first\\\": true,\\n    \\\"then_fix_composition\\\": true,\\n    \\\"then_fix_lighting\\\": true,\\n    \\\"then_fix_color\\\": true,\\n    \\\"ignore_aesthetic_improvements\\\": true\\n  },\\n  \\\"negative_prompt\\\": [\\n    \\\"creative\\\",\\n    \\\"cinematic\\\",\\n    \\\"artistic\\\",\\n    \\\"stylized\\\",\\n    \\\"illustration (different from reference)\\\",\\n    \\\"abstract\\\",\\n    \\\"dramatic\\\",\\n    \\\"wide-angle\\\",\\n    \\\"fisheye\\\",\\n    \\\"exaggeration\\\",\\n    \\\"reinterpretation\\\",\\n    \\\"extra elements\\\",\\n    \\\"modernized\\\",\\n    \\\"retro look (different from reference)\\\",\\n    \\\"color grading\\\",\\n    \\\"AI artifacts\\\",\\n    \\\"blur\\\",\\n    \\\"depth of field\\\"\\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  \"subject\": {\n    \"description\": \"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\",\n    \"count\": 1,\n    \"orientation\": \"front-facing\",\n    \"pose_or_state\": \"static, head tilted slightly up\",\n    \"expression\": \"neutral, contemplative\"\n  },\n  \"scale_and_proportion\": {\n    \"subject_to_frame_ratio\": \"Subject occupies ~75% of the frame height\",\n    \"proportions\": \"locked to reference\",\n    \"negative_space\": \"Moderate, occupied by paint splatters and newspaper text\"\n  },\n  \"composition\": {\n    \"shot_type\": \"close-up portrait\",\n    \"camera_angle\": \"eye-level, looking slightly up\",\n    \"framing\": \"centered\",\n    \"symmetry\": \"Face is centered and mostly symmetrical; background splatters are asymmetrical\",\n    \"background\": \"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\",\n    \"depth_of_field\": \"flat (2D mixed media style)\"\n  },\n  \"temporal_context\": {\n    \"era\": \"Contemporary mixed media art with mid-century vintage newspaper and glasses style\",\n    \"modern_elements\": false,\n    \"retro_stylization\": true,\n    \"trend_influence\": false\n  },\n  \"style\": {\n    \"visual_type\": \"Mixed media illustration\",\n    \"realism_level\": \"maximum for the specified art style\",\n    \"art_style\": \"Pen and ink sketch over newspaper collage\",\n    \"stylization\": \"Literal reproduction of the specific mixed media style\",\n    \"interpretation\": \"literal reproduction only\"\n  },\n  \"lighting\": {\n    \"setup_type\": \"Simulated in the sketch\",\n    \"light_direction\": \"Frontal/top-down, defined by shadows under the jaw, nose, and brow\",\n    \"light_quality\": \"High contrast rendering\",\n    \"contrast\": \"high (black ink against light paper)\",\n    \"shadow_behavior\": \"rendered through hatching and solid black areas\",\n    \"color_temperature\": \"warm overall due to paper, with cool blue accents\",\n    \"lighting_variation\": \"none\"\n  },\n  \"materials\": {\n    \"primary_materials\": [\n      \"yellowed vintage newspaper\",\n      \"black ink / charcoal\",\n      \"vibrant blue and orange paint (acrylic or spray paint look)\"\n    ],\n    \"surface_finish\": \"matte paper and ink\",\n    \"light_reflection\": \"minimal, only visible as highlights on the glasses frames and in the pupils\",\n    \"material_accuracy\": \"exact\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"Sepia/Cream (newspaper)\",\n      \"Black (ink lines)\",\n      \"Vibrant Orange (glasses and splatters)\",\n      \"Bright Blue (splatters)\"\n    ],\n    \"saturation\": \"High in orange and blue; low/natural in the newspaper background\",\n    \"contrast_level\": \"High (chromatic and tonal contrast)\",\n    \"color_shift\": false\n  },\n  \"texture_and_detail\": {\n    \"surface_detail\": \"Fine newsprint texture, visible ink lines, paint drip edges\",\n    \"grain_noise\": \"paper grain texture preserved\",\n    \"micro_details\": \"Text on newspaper remains visible through the facial features\",\n    \"sharpness\": \"sharp ink lines and crisp paint edges\"\n  },\n  \"camera_render_settings\": {\n    \"lens_equivalent\": \"50mm look\",\n    \"perspective_distortion\": \"none\",\n    \"aperture_look\": \"N/A (flat illustration)\",\n    \"resolution\": \"high\",\n    \"render_quality\": \"clean, no digital compression artifacts\"\n  },\n  \"constraints\": {\n    \"no_additional_objects\": true,\n    \"no_reframing\": true,\n    \"no_crop\": true,\n    \"no_stylization\": true,\n    \"no_artistic_license\": true,\n    \"no_text\": false,\n    \"no_watermark\": true,\n    \"no_effects\": true,\n    \"no_dramatic_lighting\": true,\n    \"no_color_grading\": true\n  },\n  \"iteration_instruction\": {\n    \"compare_to_reference\": true,\n    \"fix_geometry_first\": true,\n    \"then_fix_composition\": true,\n    \"then_fix_lighting\": true,\n    \"then_fix_color\": true,\n    \"ignore_aesthetic_improvements\": true\n  },\n  \"negative_prompt\": [\n    \"creative\",\n    \"cinematic\",\n    \"artistic\",\n    \"stylized\",\n    \"illustration (different from reference)\",\n    \"abstract\",\n    \"dramatic\",\n    \"wide-angle\",\n    \"fisheye\",\n    \"exaggeration\",\n    \"reinterpretation\",\n    \"extra elements\",\n    \"modernized\",\n    \"retro look (different from reference)\",\n    \"color grading\",\n    \"AI artifacts\",\n    \"blur\",\n    \"depth of field\"\n  ]\n}" \
    --wait
```

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

## More prompts like this

- [日系 Chibi 互动小插画](https://runapi.ai/prompts/prm_kmRYo59JDRL7H9pM4Xd72QnB.md) — `gpt-image-2`
- [动漫动作短片设定分镜板](https://runapi.ai/prompts/prm_W0Z7vkad4vKWcgBayqKpJrxg.md) — `gpt-image-2`
- [Photo to Split Editorial Poster: Realistic Photo Above, Hand-Painted Illustration Below (4:5)](https://runapi.ai/prompts/prm_vxONpLV7DlBqupxe4zd1mWMb.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": "Mixed Media Portrait Illustration",
        "item": "https://runapi.ai/prompts/prm_GqW79wzlyMLeHVj94Od3m5K1"
      }
    ]
  },
  {
    "@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": "Mixed Media Portrait Illustration",
    "text": "{\n  \"subject\": {\n    \"description\": \"A portrait of a man with short, dark, textured hair, looking slightly upward. He wears thick-framed, vibrant orange glasses. The face is rendered with black ink-style cross-hatching directly over a newspaper background.\",\n    \"count\": 1,\n    \"orientation\": \"front-facing\",\n    \"pose_or_state\": \"static, head tilted slightly up\",\n    \"expression\": \"neutral, contemplative\"\n  },\n  \"scale_and_proportion\": {\n    \"subject_to_frame_ratio\": \"Subject occupies ~75% of the frame height\",\n    \"proportions\": \"locked to reference\",\n    \"negative_space\": \"Moderate, occupied by paint splatters and newspaper text\"\n  },\n  \"composition\": {\n    \"shot_type\": \"close-up portrait\",\n    \"camera_angle\": \"eye-level, looking slightly up\",\n    \"framing\": \"centered\",\n    \"symmetry\": \"Face is centered and mostly symmetrical; background splatters are asymmetrical\",\n    \"background\": \"Aged, yellowed vintage newspaper with columns of text and small faded images, layered with large blue and orange paint splatters and drips\",\n    \"depth_of_field\": \"flat (2D mixed media style)\"\n  },\n  \"temporal_context\": {\n    \"era\": \"Contemporary mixed media art with mid-century vintage newspaper and glasses style\",\n    \"modern_elements\": false,\n    \"retro_stylization\": true,\n    \"trend_influence\": false\n  },\n  \"style\": {\n    \"visual_type\": \"Mixed media illustration\",\n    \"realism_level\": \"maximum for the specified art style\",\n    \"art_style\": \"Pen and ink sketch over newspaper collage\",\n    \"stylization\": \"Literal reproduction of the specific mixed media style\",\n    \"interpretation\": \"literal reproduction only\"\n  },\n  \"lighting\": {\n    \"setup_type\": \"Simulated in the sketch\",\n    \"light_direction\": \"Frontal/top-down, defined by shadows under the jaw, nose, and brow\",\n    \"light_quality\": \"High contrast rendering\",\n    \"contrast\": \"high (black ink against light paper)\",\n    \"shadow_behavior\": \"rendered through hatching and solid black areas\",\n    \"color_temperature\": \"warm overall due to paper, with cool blue accents\",\n    \"lighting_variation\": \"none\"\n  },\n  \"materials\": {\n    \"primary_materials\": [\n      \"yellowed vintage newspaper\",\n      \"black ink / charcoal\",\n      \"vibrant blue and orange paint (acrylic or spray paint look)\"\n    ],\n    \"surface_finish\": \"matte paper and ink\",\n    \"light_reflection\": \"minimal, only visible as highlights on the glasses frames and in the pupils\",\n    \"material_accuracy\": \"exact\"\n  },\n  \"color_palette\": {\n    \"dominant_colors\": [\n      \"Sepia/Cream (newspaper)\",\n      \"Black (ink lines)\",\n      \"Vibrant Orange (glasses and splatters)\",\n      \"Bright Blue (splatters)\"\n    ],\n    \"saturation\": \"High in orange and blue; low/natural in the newspaper background\",\n    \"contrast_level\": \"High (chromatic and tonal contrast)\",\n    \"color_shift\": false\n  },\n  \"texture_and_detail\": {\n    \"surface_detail\": \"Fine newsprint texture, visible ink lines, paint drip edges\",\n    \"grain_noise\": \"paper grain texture preserved\",\n    \"micro_details\": \"Text on newspaper remains visible through the facial features\",\n    \"sharpness\": \"sharp ink lines and crisp paint edges\"\n  },\n  \"camera_render_settings\": {\n    \"lens_equivalent\": \"50mm look\",\n    \"perspective_distortion\": \"none\",\n    \"aperture_look\": \"N/A (flat illustration)\",\n    \"resolution\": \"high\",\n    \"render_quality\": \"clean, no digital compression artifacts\"\n  },\n  \"constraints\": {\n    \"no_additional_objects\": true,\n    \"no_reframing\": true,\n    \"no_crop\": true,\n    \"no_stylization\": true,\n    \"no_artistic_license\": true,\n    \"no_text\": false,\n    \"no_watermark\": true,\n    \"no_effects\": true,\n    \"no_dramatic_lighting\": true,\n    \"no_color_grading\": true\n  },\n  \"iteration_instruction\": {\n    \"compare_to_reference\": true,\n    \"fix_geometry_first\": true,\n    \"then_fix_composition\": true,\n    \"then_fix_lighting\": true,\n    \"then_fix_color\": true,\n    \"ignore_aesthetic_improvements\": true\n  },\n  \"negative_prompt\": [\n    \"creative\",\n    \"cinematic\",\n    \"artistic\",\n    \"stylized\",\n    \"illustration (different from reference)\",\n    \"abstract\",\n    \"dramatic\",\n    \"wide-angle\",\n    \"fisheye\",\n    \"exaggeration\",\n    \"reinterpretation\",\n    \"extra elements\",\n    \"modernized\",\n    \"retro look (different from reference)\",\n    \"color grading\",\n    \"AI artifacts\",\n    \"blur\",\n    \"depth of field\"\n  ]\n}",
    "image": null,
    "about": [
      "image",
      "art"
    ]
  }
]
```
