---
title: Hyper-Realistic Marvel Comic Fusion Image Generation | RunAPI
description: '{ "image_generation": { "requirements": { "face_preservation": { "preserve_original": true, "accuracy_level": "100% identical to reference", "details": ...'
url: https://runapi.ai/prompts/prm_9kVBEjebDzxoCrBv4wNKY5MZ.md
canonical: https://runapi.ai/prompts/prm_9kVBEjebDzxoCrBv4wNKY5MZ
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
prompt_id: 13389
modality: image
endpoint: "/api/v1/runapi/text_to_image"
---

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


# Hyper-Realistic Marvel Comic Fusion Image Generation

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

**Prompts** · Image

## Prompt

```text
{
  "image_generation": {
    "requirements": {
      "face_preservation": {
        "preserve_original": true,
        "accuracy_level": "100% identical to reference",
        "details": [
          "real facial proportions",
          "exact skin texture",
          "true eye shape and color",
          "natural look without makeup"
        ]
      },
      "pose": {
        "match_reference_pose": true,
        "description": "Chest-up portrait, face forward with a gentle rightward tilt."
      },
      "lighting": {
        "match_reference_lighting": true,
        "type": "soft diffused indoor lighting",
        "direction": "front-left",
        "shadows": "gentle soft shadows",
        "background_tone": "neutral with slight bluish tint"
      }
    },

    "subject": {
      "gender": "male",
      "age": "child",
      "hairstyle": {
        "match_reference": true,
        "description": "same hairstyle as reference, adapted naturally for a young boy"
      },
      "expression": "neutral, slightly curious",
      "clothing": {
        "top": "Avengers-style suit top (child version), subtle tech-textured fabric",
        "accessory": "miniature Avengers emblem on the chest"
      }
    },

    "composition": {
      "frame": "chest-up portrait",
      "orientation": "frontal with slight rightward tilt",
      "style": "hyper-realistic with split real/comic effect"
    },

    "special_effects": {
      "split_effect": {
        "type": "irregular centered tear",
        "edges": "white angled torn-paper look",
        "description": "image looks ripped down the middle"
      },

      "realistic_side": {
        "background": "soft, neutral, bluish environment",
        "filters": [
          "soft analog grain",
          "light vintage texture",
          "reduced saturation",
          "subtle film imperfections"
        ],
        "overlays": [
          "small holographic HUD icons (Iron Man–style)",
          "mini Captain America shield doodle",
          "tiny Thor hammer sketch",
          "stylized blue tech sparks"
        ]
      },

      "illustrated_side": {
        "art_style": "bold comic-style illustration inspired by Marvel",
        "color_palette": "vibrant, high-contrast superhero palette",
        "hair": "same color as realistic half but stylized sharply",
        "eyes": "slightly exaggerated heroic emphasis",
        "background": "dynamic red-blue comic burst pattern",
        "decorations": {
          "elements": [
            "chibi Iron Man flying",
            "pixel-style Captain America",
            "small cartoon lightning bolts",
            "comic-style 'POW!' and 'WHOOSH!' text bubbles",
            "floating colorful Avengers symbols"
          ]
        }
      }
    },

    "aesthetic": {
      "overall_tone": "heroic, energetic, lightly vintage",
      "lighting_consistency": "perfectly matching the reference",
      "skin_texture_realism": "high",
      "blending_quality": "smooth transition with crisp tear edge"
    },

    "output": {
      "style": "hyper-realistic + Marvel comic fusion",
      "quality": "ultra-high-resolution",
      "filters": [
        "subtle analog film",
        "soft grain"
      ]
    }
  }
}
```

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

Hyper-Realistic Marvel Comic Fusion Image Generation

### Atmosphere

art / Image

### Technical

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

### Style

child, comic, holographic, illustrated, portrait, realistic, superhero, vintage

<!-- /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 | child, comic, holographic, illustrated, portrait, realistic, superhero, vintage |

## 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_generation": {
    "requirements": {
      "face_preservation": {
        "preserve_original": true,
        "accuracy_level": "100% identical to reference",
        "details": [
          "real facial proportions",
          "exact skin texture",
          "true eye shape and color",
          "natural look without makeup"
        ]
      },
      "pose": {
        "match_reference_pose": true,
        "description": "Chest-up portrait, face forward with a gentle rightward tilt."
      },
      "lighting": {
        "match_reference_lighting": true,
        "type": "soft diffused indoor lighting",
        "direction": "front-left",
        "shadows": "gentle soft shadows",
        "background_tone": "neutral with slight bluish tint"
      }
    },

    "subject": {
      "gender": "male",
      "age": "child",
      "hairstyle": {
        "match_reference": true,
        "description": "same hairstyle as reference, adapted naturally for a young boy"
      },
      "expression": "neutral, slightly curious",
      "clothing": {
        "top": "Avengers-style suit top (child version), subtle tech-textured fabric",
        "accessory": "miniature Avengers emblem on the chest"
      }
    },

    "composition": {
      "frame": "chest-up portrait",
      "orientation": "frontal with slight rightward tilt",
      "style": "hyper-realistic with split real/comic effect"
    },

    "special_effects": {
      "split_effect": {
        "type": "irregular centered tear",
        "edges": "white angled torn-paper look",
        "description": "image looks ripped down the middle"
      },

      "realistic_side": {
        "background": "soft, neutral, bluish environment",
        "filters": [
          "soft analog grain",
          "light vintage texture",
          "reduced saturation",
          "subtle film imperfections"
        ],
        "overlays": [
          "small holographic HUD icons (Iron Man–style)",
          "mini Captain America shield doodle",
          "tiny Thor hammer sketch",
          "stylized blue tech sparks"
        ]
      },

      "illustrated_side": {
        "art_style": "bold comic-style illustration inspired by Marvel",
        "color_palette": "vibrant, high-contrast superhero palette",
        "hair": "same color as realistic half but stylized sharply",
        "eyes": "slightly exaggerated heroic emphasis",
        "background": "dynamic red-blue comic burst pattern",
        "decorations": {
          "elements": [
            "chibi Iron Man flying",
            "pixel-style Captain America",
            "small cartoon lightning bolts",
            "comic-style 'POW!' and 'WHOOSH!' text bubbles",
            "floating colorful Avengers symbols"
          ]
        }
      }
    },

    "aesthetic": {
      "overall_tone": "heroic, energetic, lightly vintage",
      "lighting_consistency": "perfectly matching the reference",
      "skin_texture_realism": "high",
      "blending_quality": "smooth transition with crisp tear edge"
    },

    "output": {
      "style": "hyper-realistic + Marvel comic fusion",
      "quality": "ultra-high-resolution",
      "filters": [
        "subtle analog film",
        "soft grain"
      ]
    }
  }
}"

### Codex

1. codex plugin install runapi-mcp@agents
2. Restart Codex
3. Paste this prompt: Generate an image: "{
  "image_generation": {
    "requirements": {
      "face_preservation": {
        "preserve_original": true,
        "accuracy_level": "100% identical to reference",
        "details": [
          "real facial proportions",
          "exact skin texture",
          "true eye shape and color",
          "natural look without makeup"
        ]
      },
      "pose": {
        "match_reference_pose": true,
        "description": "Chest-up portrait, face forward with a gentle rightward tilt."
      },
      "lighting": {
        "match_reference_lighting": true,
        "type": "soft diffused indoor lighting",
        "direction": "front-left",
        "shadows": "gentle soft shadows",
        "background_tone": "neutral with slight bluish tint"
      }
    },

    "subject": {
      "gender": "male",
      "age": "child",
      "hairstyle": {
        "match_reference": true,
        "description": "same hairstyle as reference, adapted naturally for a young boy"
      },
      "expression": "neutral, slightly curious",
      "clothing": {
        "top": "Avengers-style suit top (child version), subtle tech-textured fabric",
        "accessory": "miniature Avengers emblem on the chest"
      }
    },

    "composition": {
      "frame": "chest-up portrait",
      "orientation": "frontal with slight rightward tilt",
      "style": "hyper-realistic with split real/comic effect"
    },

    "special_effects": {
      "split_effect": {
        "type": "irregular centered tear",
        "edges": "white angled torn-paper look",
        "description": "image looks ripped down the middle"
      },

      "realistic_side": {
        "background": "soft, neutral, bluish environment",
        "filters": [
          "soft analog grain",
          "light vintage texture",
          "reduced saturation",
          "subtle film imperfections"
        ],
        "overlays": [
          "small holographic HUD icons (Iron Man–style)",
          "mini Captain America shield doodle",
          "tiny Thor hammer sketch",
          "stylized blue tech sparks"
        ]
      },

      "illustrated_side": {
        "art_style": "bold comic-style illustration inspired by Marvel",
        "color_palette": "vibrant, high-contrast superhero palette",
        "hair": "same color as realistic half but stylized sharply",
        "eyes": "slightly exaggerated heroic emphasis",
        "background": "dynamic red-blue comic burst pattern",
        "decorations": {
          "elements": [
            "chibi Iron Man flying",
            "pixel-style Captain America",
            "small cartoon lightning bolts",
            "comic-style 'POW!' and 'WHOOSH!' text bubbles",
            "floating colorful Avengers symbols"
          ]
        }
      }
    },

    "aesthetic": {
      "overall_tone": "heroic, energetic, lightly vintage",
      "lighting_consistency": "perfectly matching the reference",
      "skin_texture_realism": "high",
      "blending_quality": "smooth transition with crisp tear edge"
    },

    "output": {
      "style": "hyper-realistic + Marvel comic fusion",
      "quality": "ultra-high-resolution",
      "filters": [
        "subtle analog film",
        "soft grain"
      ]
    }
  }
}"

### Cursor

1. npx @runapi.ai/mcp init cursor
2. Restart Cursor
3. Paste this prompt: Generate an image: "{
  "image_generation": {
    "requirements": {
      "face_preservation": {
        "preserve_original": true,
        "accuracy_level": "100% identical to reference",
        "details": [
          "real facial proportions",
          "exact skin texture",
          "true eye shape and color",
          "natural look without makeup"
        ]
      },
      "pose": {
        "match_reference_pose": true,
        "description": "Chest-up portrait, face forward with a gentle rightward tilt."
      },
      "lighting": {
        "match_reference_lighting": true,
        "type": "soft diffused indoor lighting",
        "direction": "front-left",
        "shadows": "gentle soft shadows",
        "background_tone": "neutral with slight bluish tint"
      }
    },

    "subject": {
      "gender": "male",
      "age": "child",
      "hairstyle": {
        "match_reference": true,
        "description": "same hairstyle as reference, adapted naturally for a young boy"
      },
      "expression": "neutral, slightly curious",
      "clothing": {
        "top": "Avengers-style suit top (child version), subtle tech-textured fabric",
        "accessory": "miniature Avengers emblem on the chest"
      }
    },

    "composition": {
      "frame": "chest-up portrait",
      "orientation": "frontal with slight rightward tilt",
      "style": "hyper-realistic with split real/comic effect"
    },

    "special_effects": {
      "split_effect": {
        "type": "irregular centered tear",
        "edges": "white angled torn-paper look",
        "description": "image looks ripped down the middle"
      },

      "realistic_side": {
        "background": "soft, neutral, bluish environment",
        "filters": [
          "soft analog grain",
          "light vintage texture",
          "reduced saturation",
          "subtle film imperfections"
        ],
        "overlays": [
          "small holographic HUD icons (Iron Man–style)",
          "mini Captain America shield doodle",
          "tiny Thor hammer sketch",
          "stylized blue tech sparks"
        ]
      },

      "illustrated_side": {
        "art_style": "bold comic-style illustration inspired by Marvel",
        "color_palette": "vibrant, high-contrast superhero palette",
        "hair": "same color as realistic half but stylized sharply",
        "eyes": "slightly exaggerated heroic emphasis",
        "background": "dynamic red-blue comic burst pattern",
        "decorations": {
          "elements": [
            "chibi Iron Man flying",
            "pixel-style Captain America",
            "small cartoon lightning bolts",
            "comic-style 'POW!' and 'WHOOSH!' text bubbles",
            "floating colorful Avengers symbols"
          ]
        }
      }
    },

    "aesthetic": {
      "overall_tone": "heroic, energetic, lightly vintage",
      "lighting_consistency": "perfectly matching the reference",
      "skin_texture_realism": "high",
      "blending_quality": "smooth transition with crisp tear edge"
    },

    "output": {
      "style": "hyper-realistic + Marvel comic fusion",
      "quality": "ultra-high-resolution",
      "filters": [
        "subtle analog film",
        "soft grain"
      ]
    }
  }
}"

### Windsurf

1. npx @runapi.ai/mcp init windsurf
2. Restart Windsurf
3. Paste this prompt: Generate an image: "{
  "image_generation": {
    "requirements": {
      "face_preservation": {
        "preserve_original": true,
        "accuracy_level": "100% identical to reference",
        "details": [
          "real facial proportions",
          "exact skin texture",
          "true eye shape and color",
          "natural look without makeup"
        ]
      },
      "pose": {
        "match_reference_pose": true,
        "description": "Chest-up portrait, face forward with a gentle rightward tilt."
      },
      "lighting": {
        "match_reference_lighting": true,
        "type": "soft diffused indoor lighting",
        "direction": "front-left",
        "shadows": "gentle soft shadows",
        "background_tone": "neutral with slight bluish tint"
      }
    },

    "subject": {
      "gender": "male",
      "age": "child",
      "hairstyle": {
        "match_reference": true,
        "description": "same hairstyle as reference, adapted naturally for a young boy"
      },
      "expression": "neutral, slightly curious",
      "clothing": {
        "top": "Avengers-style suit top (child version), subtle tech-textured fabric",
        "accessory": "miniature Avengers emblem on the chest"
      }
    },

    "composition": {
      "frame": "chest-up portrait",
      "orientation": "frontal with slight rightward tilt",
      "style": "hyper-realistic with split real/comic effect"
    },

    "special_effects": {
      "split_effect": {
        "type": "irregular centered tear",
        "edges": "white angled torn-paper look",
        "description": "image looks ripped down the middle"
      },

      "realistic_side": {
        "background": "soft, neutral, bluish environment",
        "filters": [
          "soft analog grain",
          "light vintage texture",
          "reduced saturation",
          "subtle film imperfections"
        ],
        "overlays": [
          "small holographic HUD icons (Iron Man–style)",
          "mini Captain America shield doodle",
          "tiny Thor hammer sketch",
          "stylized blue tech sparks"
        ]
      },

      "illustrated_side": {
        "art_style": "bold comic-style illustration inspired by Marvel",
        "color_palette": "vibrant, high-contrast superhero palette",
        "hair": "same color as realistic half but stylized sharply",
        "eyes": "slightly exaggerated heroic emphasis",
        "background": "dynamic red-blue comic burst pattern",
        "decorations": {
          "elements": [
            "chibi Iron Man flying",
            "pixel-style Captain America",
            "small cartoon lightning bolts",
            "comic-style 'POW!' and 'WHOOSH!' text bubbles",
            "floating colorful Avengers symbols"
          ]
        }
      }
    },

    "aesthetic": {
      "overall_tone": "heroic, energetic, lightly vintage",
      "lighting_consistency": "perfectly matching the reference",
      "skin_texture_realism": "high",
      "blending_quality": "smooth transition with crisp tear edge"
    },

    "output": {
      "style": "hyper-realistic + Marvel comic fusion",
      "quality": "ultra-high-resolution",
      "filters": [
        "subtle analog film",
        "soft grain"
      ]
    }
  }
}"

<!-- 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_generation\": {\n    \"requirements\": {\n      \"face_preservation\": {\n        \"preserve_original\": true,\n        \"accuracy_level\": \"100% identical to reference\",\n        \"details\": [\n          \"real facial proportions\",\n          \"exact skin texture\",\n          \"true eye shape and color\",\n          \"natural look without makeup\"\n        ]\n      },\n      \"pose\": {\n        \"match_reference_pose\": true,\n        \"description\": \"Chest-up portrait, face forward with a gentle rightward tilt.\"\n      },\n      \"lighting\": {\n        \"match_reference_lighting\": true,\n        \"type\": \"soft diffused indoor lighting\",\n        \"direction\": \"front-left\",\n        \"shadows\": \"gentle soft shadows\",\n        \"background_tone\": \"neutral with slight bluish tint\"\n      }\n    },\n\n    \"subject\": {\n      \"gender\": \"male\",\n      \"age\": \"child\",\n      \"hairstyle\": {\n        \"match_reference\": true,\n        \"description\": \"same hairstyle as reference, adapted naturally for a young boy\"\n      },\n      \"expression\": \"neutral, slightly curious\",\n      \"clothing\": {\n        \"top\": \"Avengers-style suit top (child version), subtle tech-textured fabric\",\n        \"accessory\": \"miniature Avengers emblem on the chest\"\n      }\n    },\n\n    \"composition\": {\n      \"frame\": \"chest-up portrait\",\n      \"orientation\": \"frontal with slight rightward tilt\",\n      \"style\": \"hyper-realistic with split real/comic effect\"\n    },\n\n    \"special_effects\": {\n      \"split_effect\": {\n        \"type\": \"irregular centered tear\",\n        \"edges\": \"white angled torn-paper look\",\n        \"description\": \"image looks ripped down the middle\"\n      },\n\n      \"realistic_side\": {\n        \"background\": \"soft, neutral, bluish environment\",\n        \"filters\": [\n          \"soft analog grain\",\n          \"light vintage texture\",\n          \"reduced saturation\",\n          \"subtle film imperfections\"\n        ],\n        \"overlays\": [\n          \"small holographic HUD icons (Iron Man–style)\",\n          \"mini Captain America shield doodle\",\n          \"tiny Thor hammer sketch\",\n          \"stylized blue tech sparks\"\n        ]\n      },\n\n      \"illustrated_side\": {\n        \"art_style\": \"bold comic-style illustration inspired by Marvel\",\n        \"color_palette\": \"vibrant, high-contrast superhero palette\",\n        \"hair\": \"same color as realistic half but stylized sharply\",\n        \"eyes\": \"slightly exaggerated heroic emphasis\",\n        \"background\": \"dynamic red-blue comic burst pattern\",\n        \"decorations\": {\n          \"elements\": [\n            \"chibi Iron Man flying\",\n            \"pixel-style Captain America\",\n            \"small cartoon lightning bolts\",\n            \"comic-style 'POW!' and 'WHOOSH!' text bubbles\",\n            \"floating colorful Avengers symbols\"\n          ]\n        }\n      }\n    },\n\n    \"aesthetic\": {\n      \"overall_tone\": \"heroic, energetic, lightly vintage\",\n      \"lighting_consistency\": \"perfectly matching the reference\",\n      \"skin_texture_realism\": \"high\",\n      \"blending_quality\": \"smooth transition with crisp tear edge\"\n    },\n\n    \"output\": {\n      \"style\": \"hyper-realistic + Marvel comic fusion\",\n      \"quality\": \"ultra-high-resolution\",\n      \"filters\": [\n        \"subtle analog film\",\n        \"soft grain\"\n      ]\n    }\n  }\n}"
}
JSON
```

### Node.js

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

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

const result = await client.textToImage.run({
  "prompt": "{\n  \"image_generation\": {\n    \"requirements\": {\n      \"face_preservation\": {\n        \"preserve_original\": true,\n        \"accuracy_level\": \"100% identical to reference\",\n        \"details\": [\n          \"real facial proportions\",\n          \"exact skin texture\",\n          \"true eye shape and color\",\n          \"natural look without makeup\"\n        ]\n      },\n      \"pose\": {\n        \"match_reference_pose\": true,\n        \"description\": \"Chest-up portrait, face forward with a gentle rightward tilt.\"\n      },\n      \"lighting\": {\n        \"match_reference_lighting\": true,\n        \"type\": \"soft diffused indoor lighting\",\n        \"direction\": \"front-left\",\n        \"shadows\": \"gentle soft shadows\",\n        \"background_tone\": \"neutral with slight bluish tint\"\n      }\n    },\n\n    \"subject\": {\n      \"gender\": \"male\",\n      \"age\": \"child\",\n      \"hairstyle\": {\n        \"match_reference\": true,\n        \"description\": \"same hairstyle as reference, adapted naturally for a young boy\"\n      },\n      \"expression\": \"neutral, slightly curious\",\n      \"clothing\": {\n        \"top\": \"Avengers-style suit top (child version), subtle tech-textured fabric\",\n        \"accessory\": \"miniature Avengers emblem on the chest\"\n      }\n    },\n\n    \"composition\": {\n      \"frame\": \"chest-up portrait\",\n      \"orientation\": \"frontal with slight rightward tilt\",\n      \"style\": \"hyper-realistic with split real/comic effect\"\n    },\n\n    \"special_effects\": {\n      \"split_effect\": {\n        \"type\": \"irregular centered tear\",\n        \"edges\": \"white angled torn-paper look\",\n        \"description\": \"image looks ripped down the middle\"\n      },\n\n      \"realistic_side\": {\n        \"background\": \"soft, neutral, bluish environment\",\n        \"filters\": [\n          \"soft analog grain\",\n          \"light vintage texture\",\n          \"reduced saturation\",\n          \"subtle film imperfections\"\n        ],\n        \"overlays\": [\n          \"small holographic HUD icons (Iron Man–style)\",\n          \"mini Captain America shield doodle\",\n          \"tiny Thor hammer sketch\",\n          \"stylized blue tech sparks\"\n        ]\n      },\n\n      \"illustrated_side\": {\n        \"art_style\": \"bold comic-style illustration inspired by Marvel\",\n        \"color_palette\": \"vibrant, high-contrast superhero palette\",\n        \"hair\": \"same color as realistic half but stylized sharply\",\n        \"eyes\": \"slightly exaggerated heroic emphasis\",\n        \"background\": \"dynamic red-blue comic burst pattern\",\n        \"decorations\": {\n          \"elements\": [\n            \"chibi Iron Man flying\",\n            \"pixel-style Captain America\",\n            \"small cartoon lightning bolts\",\n            \"comic-style 'POW!' and 'WHOOSH!' text bubbles\",\n            \"floating colorful Avengers symbols\"\n          ]\n        }\n      }\n    },\n\n    \"aesthetic\": {\n      \"overall_tone\": \"heroic, energetic, lightly vintage\",\n      \"lighting_consistency\": \"perfectly matching the reference\",\n      \"skin_texture_realism\": \"high\",\n      \"blending_quality\": \"smooth transition with crisp tear edge\"\n    },\n\n    \"output\": {\n      \"style\": \"hyper-realistic + Marvel comic fusion\",\n      \"quality\": \"ultra-high-resolution\",\n      \"filters\": [\n        \"subtle analog film\",\n        \"soft grain\"\n      ]\n    }\n  }\n}"
});
console.log(result.id);
```

### Python

```python
import json
import os
import requests

response = requests.post(
    "https://runapi.ai/api/v1/runapi/text_to_image",
    headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
    json=json.loads("{\n  \"prompt\": \"{\\n  \\\"image_generation\\\": {\\n    \\\"requirements\\\": {\\n      \\\"face_preservation\\\": {\\n        \\\"preserve_original\\\": true,\\n        \\\"accuracy_level\\\": \\\"100% identical to reference\\\",\\n        \\\"details\\\": [\\n          \\\"real facial proportions\\\",\\n          \\\"exact skin texture\\\",\\n          \\\"true eye shape and color\\\",\\n          \\\"natural look without makeup\\\"\\n        ]\\n      },\\n      \\\"pose\\\": {\\n        \\\"match_reference_pose\\\": true,\\n        \\\"description\\\": \\\"Chest-up portrait, face forward with a gentle rightward tilt.\\\"\\n      },\\n      \\\"lighting\\\": {\\n        \\\"match_reference_lighting\\\": true,\\n        \\\"type\\\": \\\"soft diffused indoor lighting\\\",\\n        \\\"direction\\\": \\\"front-left\\\",\\n        \\\"shadows\\\": \\\"gentle soft shadows\\\",\\n        \\\"background_tone\\\": \\\"neutral with slight bluish tint\\\"\\n      }\\n    },\\n\\n    \\\"subject\\\": {\\n      \\\"gender\\\": \\\"male\\\",\\n      \\\"age\\\": \\\"child\\\",\\n      \\\"hairstyle\\\": {\\n        \\\"match_reference\\\": true,\\n        \\\"description\\\": \\\"same hairstyle as reference, adapted naturally for a young boy\\\"\\n      },\\n      \\\"expression\\\": \\\"neutral, slightly curious\\\",\\n      \\\"clothing\\\": {\\n        \\\"top\\\": \\\"Avengers-style suit top (child version), subtle tech-textured fabric\\\",\\n        \\\"accessory\\\": \\\"miniature Avengers emblem on the chest\\\"\\n      }\\n    },\\n\\n    \\\"composition\\\": {\\n      \\\"frame\\\": \\\"chest-up portrait\\\",\\n      \\\"orientation\\\": \\\"frontal with slight rightward tilt\\\",\\n      \\\"style\\\": \\\"hyper-realistic with split real/comic effect\\\"\\n    },\\n\\n    \\\"special_effects\\\": {\\n      \\\"split_effect\\\": {\\n        \\\"type\\\": \\\"irregular centered tear\\\",\\n        \\\"edges\\\": \\\"white angled torn-paper look\\\",\\n        \\\"description\\\": \\\"image looks ripped down the middle\\\"\\n      },\\n\\n      \\\"realistic_side\\\": {\\n        \\\"background\\\": \\\"soft, neutral, bluish environment\\\",\\n        \\\"filters\\\": [\\n          \\\"soft analog grain\\\",\\n          \\\"light vintage texture\\\",\\n          \\\"reduced saturation\\\",\\n          \\\"subtle film imperfections\\\"\\n        ],\\n        \\\"overlays\\\": [\\n          \\\"small holographic HUD icons (Iron Man–style)\\\",\\n          \\\"mini Captain America shield doodle\\\",\\n          \\\"tiny Thor hammer sketch\\\",\\n          \\\"stylized blue tech sparks\\\"\\n        ]\\n      },\\n\\n      \\\"illustrated_side\\\": {\\n        \\\"art_style\\\": \\\"bold comic-style illustration inspired by Marvel\\\",\\n        \\\"color_palette\\\": \\\"vibrant, high-contrast superhero palette\\\",\\n        \\\"hair\\\": \\\"same color as realistic half but stylized sharply\\\",\\n        \\\"eyes\\\": \\\"slightly exaggerated heroic emphasis\\\",\\n        \\\"background\\\": \\\"dynamic red-blue comic burst pattern\\\",\\n        \\\"decorations\\\": {\\n          \\\"elements\\\": [\\n            \\\"chibi Iron Man flying\\\",\\n            \\\"pixel-style Captain America\\\",\\n            \\\"small cartoon lightning bolts\\\",\\n            \\\"comic-style 'POW!' and 'WHOOSH!' text bubbles\\\",\\n            \\\"floating colorful Avengers symbols\\\"\\n          ]\\n        }\\n      }\\n    },\\n\\n    \\\"aesthetic\\\": {\\n      \\\"overall_tone\\\": \\\"heroic, energetic, lightly vintage\\\",\\n      \\\"lighting_consistency\\\": \\\"perfectly matching the reference\\\",\\n      \\\"skin_texture_realism\\\": \\\"high\\\",\\n      \\\"blending_quality\\\": \\\"smooth transition with crisp tear edge\\\"\\n    },\\n\\n    \\\"output\\\": {\\n      \\\"style\\\": \\\"hyper-realistic + Marvel comic fusion\\\",\\n      \\\"quality\\\": \\\"ultra-high-resolution\\\",\\n      \\\"filters\\\": [\\n        \\\"subtle analog film\\\",\\n        \\\"soft grain\\\"\\n      ]\\n    }\\n  }\\n}\"\n}")
)
response.raise_for_status()
print(response.json()["id"])
```

### PHP

```php
<?php

$ch = curl_init("https://runapi.ai/api/v1/runapi/text_to_image");
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => [
        "Authorization: Bearer " . getenv("RUNAPI_API_KEY"),
        "Content-Type: application/json",
    ],
    CURLOPT_POSTFIELDS => "{\n  \"prompt\": \"{\\n  \\\"image_generation\\\": {\\n    \\\"requirements\\\": {\\n      \\\"face_preservation\\\": {\\n        \\\"preserve_original\\\": true,\\n        \\\"accuracy_level\\\": \\\"100% identical to reference\\\",\\n        \\\"details\\\": [\\n          \\\"real facial proportions\\\",\\n          \\\"exact skin texture\\\",\\n          \\\"true eye shape and color\\\",\\n          \\\"natural look without makeup\\\"\\n        ]\\n      },\\n      \\\"pose\\\": {\\n        \\\"match_reference_pose\\\": true,\\n        \\\"description\\\": \\\"Chest-up portrait, face forward with a gentle rightward tilt.\\\"\\n      },\\n      \\\"lighting\\\": {\\n        \\\"match_reference_lighting\\\": true,\\n        \\\"type\\\": \\\"soft diffused indoor lighting\\\",\\n        \\\"direction\\\": \\\"front-left\\\",\\n        \\\"shadows\\\": \\\"gentle soft shadows\\\",\\n        \\\"background_tone\\\": \\\"neutral with slight bluish tint\\\"\\n      }\\n    },\\n\\n    \\\"subject\\\": {\\n      \\\"gender\\\": \\\"male\\\",\\n      \\\"age\\\": \\\"child\\\",\\n      \\\"hairstyle\\\": {\\n        \\\"match_reference\\\": true,\\n        \\\"description\\\": \\\"same hairstyle as reference, adapted naturally for a young boy\\\"\\n      },\\n      \\\"expression\\\": \\\"neutral, slightly curious\\\",\\n      \\\"clothing\\\": {\\n        \\\"top\\\": \\\"Avengers-style suit top (child version), subtle tech-textured fabric\\\",\\n        \\\"accessory\\\": \\\"miniature Avengers emblem on the chest\\\"\\n      }\\n    },\\n\\n    \\\"composition\\\": {\\n      \\\"frame\\\": \\\"chest-up portrait\\\",\\n      \\\"orientation\\\": \\\"frontal with slight rightward tilt\\\",\\n      \\\"style\\\": \\\"hyper-realistic with split real/comic effect\\\"\\n    },\\n\\n    \\\"special_effects\\\": {\\n      \\\"split_effect\\\": {\\n        \\\"type\\\": \\\"irregular centered tear\\\",\\n        \\\"edges\\\": \\\"white angled torn-paper look\\\",\\n        \\\"description\\\": \\\"image looks ripped down the middle\\\"\\n      },\\n\\n      \\\"realistic_side\\\": {\\n        \\\"background\\\": \\\"soft, neutral, bluish environment\\\",\\n        \\\"filters\\\": [\\n          \\\"soft analog grain\\\",\\n          \\\"light vintage texture\\\",\\n          \\\"reduced saturation\\\",\\n          \\\"subtle film imperfections\\\"\\n        ],\\n        \\\"overlays\\\": [\\n          \\\"small holographic HUD icons (Iron Man–style)\\\",\\n          \\\"mini Captain America shield doodle\\\",\\n          \\\"tiny Thor hammer sketch\\\",\\n          \\\"stylized blue tech sparks\\\"\\n        ]\\n      },\\n\\n      \\\"illustrated_side\\\": {\\n        \\\"art_style\\\": \\\"bold comic-style illustration inspired by Marvel\\\",\\n        \\\"color_palette\\\": \\\"vibrant, high-contrast superhero palette\\\",\\n        \\\"hair\\\": \\\"same color as realistic half but stylized sharply\\\",\\n        \\\"eyes\\\": \\\"slightly exaggerated heroic emphasis\\\",\\n        \\\"background\\\": \\\"dynamic red-blue comic burst pattern\\\",\\n        \\\"decorations\\\": {\\n          \\\"elements\\\": [\\n            \\\"chibi Iron Man flying\\\",\\n            \\\"pixel-style Captain America\\\",\\n            \\\"small cartoon lightning bolts\\\",\\n            \\\"comic-style 'POW!' and 'WHOOSH!' text bubbles\\\",\\n            \\\"floating colorful Avengers symbols\\\"\\n          ]\\n        }\\n      }\\n    },\\n\\n    \\\"aesthetic\\\": {\\n      \\\"overall_tone\\\": \\\"heroic, energetic, lightly vintage\\\",\\n      \\\"lighting_consistency\\\": \\\"perfectly matching the reference\\\",\\n      \\\"skin_texture_realism\\\": \\\"high\\\",\\n      \\\"blending_quality\\\": \\\"smooth transition with crisp tear edge\\\"\\n    },\\n\\n    \\\"output\\\": {\\n      \\\"style\\\": \\\"hyper-realistic + Marvel comic fusion\\\",\\n      \\\"quality\\\": \\\"ultra-high-resolution\\\",\\n      \\\"filters\\\": [\\n        \\\"subtle analog film\\\",\\n        \\\"soft grain\\\"\\n      ]\\n    }\\n  }\\n}\"\n}",
    CURLOPT_RETURNTRANSFER => true,
]);

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

### Java

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

var request = HttpRequest.newBuilder(URI.create("https://runapi.ai/api/v1/runapi/text_to_image"))
    .header("Authorization", "Bearer " + System.getenv("RUNAPI_API_KEY"))
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString("{\n  \"prompt\": \"{\\n  \\\"image_generation\\\": {\\n    \\\"requirements\\\": {\\n      \\\"face_preservation\\\": {\\n        \\\"preserve_original\\\": true,\\n        \\\"accuracy_level\\\": \\\"100% identical to reference\\\",\\n        \\\"details\\\": [\\n          \\\"real facial proportions\\\",\\n          \\\"exact skin texture\\\",\\n          \\\"true eye shape and color\\\",\\n          \\\"natural look without makeup\\\"\\n        ]\\n      },\\n      \\\"pose\\\": {\\n        \\\"match_reference_pose\\\": true,\\n        \\\"description\\\": \\\"Chest-up portrait, face forward with a gentle rightward tilt.\\\"\\n      },\\n      \\\"lighting\\\": {\\n        \\\"match_reference_lighting\\\": true,\\n        \\\"type\\\": \\\"soft diffused indoor lighting\\\",\\n        \\\"direction\\\": \\\"front-left\\\",\\n        \\\"shadows\\\": \\\"gentle soft shadows\\\",\\n        \\\"background_tone\\\": \\\"neutral with slight bluish tint\\\"\\n      }\\n    },\\n\\n    \\\"subject\\\": {\\n      \\\"gender\\\": \\\"male\\\",\\n      \\\"age\\\": \\\"child\\\",\\n      \\\"hairstyle\\\": {\\n        \\\"match_reference\\\": true,\\n        \\\"description\\\": \\\"same hairstyle as reference, adapted naturally for a young boy\\\"\\n      },\\n      \\\"expression\\\": \\\"neutral, slightly curious\\\",\\n      \\\"clothing\\\": {\\n        \\\"top\\\": \\\"Avengers-style suit top (child version), subtle tech-textured fabric\\\",\\n        \\\"accessory\\\": \\\"miniature Avengers emblem on the chest\\\"\\n      }\\n    },\\n\\n    \\\"composition\\\": {\\n      \\\"frame\\\": \\\"chest-up portrait\\\",\\n      \\\"orientation\\\": \\\"frontal with slight rightward tilt\\\",\\n      \\\"style\\\": \\\"hyper-realistic with split real/comic effect\\\"\\n    },\\n\\n    \\\"special_effects\\\": {\\n      \\\"split_effect\\\": {\\n        \\\"type\\\": \\\"irregular centered tear\\\",\\n        \\\"edges\\\": \\\"white angled torn-paper look\\\",\\n        \\\"description\\\": \\\"image looks ripped down the middle\\\"\\n      },\\n\\n      \\\"realistic_side\\\": {\\n        \\\"background\\\": \\\"soft, neutral, bluish environment\\\",\\n        \\\"filters\\\": [\\n          \\\"soft analog grain\\\",\\n          \\\"light vintage texture\\\",\\n          \\\"reduced saturation\\\",\\n          \\\"subtle film imperfections\\\"\\n        ],\\n        \\\"overlays\\\": [\\n          \\\"small holographic HUD icons (Iron Man–style)\\\",\\n          \\\"mini Captain America shield doodle\\\",\\n          \\\"tiny Thor hammer sketch\\\",\\n          \\\"stylized blue tech sparks\\\"\\n        ]\\n      },\\n\\n      \\\"illustrated_side\\\": {\\n        \\\"art_style\\\": \\\"bold comic-style illustration inspired by Marvel\\\",\\n        \\\"color_palette\\\": \\\"vibrant, high-contrast superhero palette\\\",\\n        \\\"hair\\\": \\\"same color as realistic half but stylized sharply\\\",\\n        \\\"eyes\\\": \\\"slightly exaggerated heroic emphasis\\\",\\n        \\\"background\\\": \\\"dynamic red-blue comic burst pattern\\\",\\n        \\\"decorations\\\": {\\n          \\\"elements\\\": [\\n            \\\"chibi Iron Man flying\\\",\\n            \\\"pixel-style Captain America\\\",\\n            \\\"small cartoon lightning bolts\\\",\\n            \\\"comic-style 'POW!' and 'WHOOSH!' text bubbles\\\",\\n            \\\"floating colorful Avengers symbols\\\"\\n          ]\\n        }\\n      }\\n    },\\n\\n    \\\"aesthetic\\\": {\\n      \\\"overall_tone\\\": \\\"heroic, energetic, lightly vintage\\\",\\n      \\\"lighting_consistency\\\": \\\"perfectly matching the reference\\\",\\n      \\\"skin_texture_realism\\\": \\\"high\\\",\\n      \\\"blending_quality\\\": \\\"smooth transition with crisp tear edge\\\"\\n    },\\n\\n    \\\"output\\\": {\\n      \\\"style\\\": \\\"hyper-realistic + Marvel comic fusion\\\",\\n      \\\"quality\\\": \\\"ultra-high-resolution\\\",\\n      \\\"filters\\\": [\\n        \\\"subtle analog film\\\",\\n        \\\"soft grain\\\"\\n      ]\\n    }\\n  }\\n}\"\n}"))
    .build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

### Ruby

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

uri = URI("https://runapi.ai/api/v1/runapi/text_to_image")
request = Net::HTTP::Post.new(uri)
request["Authorization"] = "Bearer " + ENV.fetch("RUNAPI_API_KEY")
request["Content-Type"] = "application/json"
request.body = "{\n  \"prompt\": \"{\\n  \\\"image_generation\\\": {\\n    \\\"requirements\\\": {\\n      \\\"face_preservation\\\": {\\n        \\\"preserve_original\\\": true,\\n        \\\"accuracy_level\\\": \\\"100% identical to reference\\\",\\n        \\\"details\\\": [\\n          \\\"real facial proportions\\\",\\n          \\\"exact skin texture\\\",\\n          \\\"true eye shape and color\\\",\\n          \\\"natural look without makeup\\\"\\n        ]\\n      },\\n      \\\"pose\\\": {\\n        \\\"match_reference_pose\\\": true,\\n        \\\"description\\\": \\\"Chest-up portrait, face forward with a gentle rightward tilt.\\\"\\n      },\\n      \\\"lighting\\\": {\\n        \\\"match_reference_lighting\\\": true,\\n        \\\"type\\\": \\\"soft diffused indoor lighting\\\",\\n        \\\"direction\\\": \\\"front-left\\\",\\n        \\\"shadows\\\": \\\"gentle soft shadows\\\",\\n        \\\"background_tone\\\": \\\"neutral with slight bluish tint\\\"\\n      }\\n    },\\n\\n    \\\"subject\\\": {\\n      \\\"gender\\\": \\\"male\\\",\\n      \\\"age\\\": \\\"child\\\",\\n      \\\"hairstyle\\\": {\\n        \\\"match_reference\\\": true,\\n        \\\"description\\\": \\\"same hairstyle as reference, adapted naturally for a young boy\\\"\\n      },\\n      \\\"expression\\\": \\\"neutral, slightly curious\\\",\\n      \\\"clothing\\\": {\\n        \\\"top\\\": \\\"Avengers-style suit top (child version), subtle tech-textured fabric\\\",\\n        \\\"accessory\\\": \\\"miniature Avengers emblem on the chest\\\"\\n      }\\n    },\\n\\n    \\\"composition\\\": {\\n      \\\"frame\\\": \\\"chest-up portrait\\\",\\n      \\\"orientation\\\": \\\"frontal with slight rightward tilt\\\",\\n      \\\"style\\\": \\\"hyper-realistic with split real/comic effect\\\"\\n    },\\n\\n    \\\"special_effects\\\": {\\n      \\\"split_effect\\\": {\\n        \\\"type\\\": \\\"irregular centered tear\\\",\\n        \\\"edges\\\": \\\"white angled torn-paper look\\\",\\n        \\\"description\\\": \\\"image looks ripped down the middle\\\"\\n      },\\n\\n      \\\"realistic_side\\\": {\\n        \\\"background\\\": \\\"soft, neutral, bluish environment\\\",\\n        \\\"filters\\\": [\\n          \\\"soft analog grain\\\",\\n          \\\"light vintage texture\\\",\\n          \\\"reduced saturation\\\",\\n          \\\"subtle film imperfections\\\"\\n        ],\\n        \\\"overlays\\\": [\\n          \\\"small holographic HUD icons (Iron Man–style)\\\",\\n          \\\"mini Captain America shield doodle\\\",\\n          \\\"tiny Thor hammer sketch\\\",\\n          \\\"stylized blue tech sparks\\\"\\n        ]\\n      },\\n\\n      \\\"illustrated_side\\\": {\\n        \\\"art_style\\\": \\\"bold comic-style illustration inspired by Marvel\\\",\\n        \\\"color_palette\\\": \\\"vibrant, high-contrast superhero palette\\\",\\n        \\\"hair\\\": \\\"same color as realistic half but stylized sharply\\\",\\n        \\\"eyes\\\": \\\"slightly exaggerated heroic emphasis\\\",\\n        \\\"background\\\": \\\"dynamic red-blue comic burst pattern\\\",\\n        \\\"decorations\\\": {\\n          \\\"elements\\\": [\\n            \\\"chibi Iron Man flying\\\",\\n            \\\"pixel-style Captain America\\\",\\n            \\\"small cartoon lightning bolts\\\",\\n            \\\"comic-style 'POW!' and 'WHOOSH!' text bubbles\\\",\\n            \\\"floating colorful Avengers symbols\\\"\\n          ]\\n        }\\n      }\\n    },\\n\\n    \\\"aesthetic\\\": {\\n      \\\"overall_tone\\\": \\\"heroic, energetic, lightly vintage\\\",\\n      \\\"lighting_consistency\\\": \\\"perfectly matching the reference\\\",\\n      \\\"skin_texture_realism\\\": \\\"high\\\",\\n      \\\"blending_quality\\\": \\\"smooth transition with crisp tear edge\\\"\\n    },\\n\\n    \\\"output\\\": {\\n      \\\"style\\\": \\\"hyper-realistic + Marvel comic fusion\\\",\\n      \\\"quality\\\": \\\"ultra-high-resolution\\\",\\n      \\\"filters\\\": [\\n        \\\"subtle analog film\\\",\\n        \\\"soft grain\\\"\\n      ]\\n    }\\n  }\\n}\"\n}"

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

### Go

```go
package main

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

func main() {
  body := strings.NewReader("{\"prompt\":\"{\\n  \\\"image_generation\\\": {\\n    \\\"requirements\\\": {\\n      \\\"face_preservation\\\": {\\n        \\\"preserve_original\\\": true,\\n        \\\"accuracy_level\\\": \\\"100% identical to reference\\\",\\n        \\\"details\\\": [\\n          \\\"real facial proportions\\\",\\n          \\\"exact skin texture\\\",\\n          \\\"true eye shape and color\\\",\\n          \\\"natural look without makeup\\\"\\n        ]\\n      },\\n      \\\"pose\\\": {\\n        \\\"match_reference_pose\\\": true,\\n        \\\"description\\\": \\\"Chest-up portrait, face forward with a gentle rightward tilt.\\\"\\n      },\\n      \\\"lighting\\\": {\\n        \\\"match_reference_lighting\\\": true,\\n        \\\"type\\\": \\\"soft diffused indoor lighting\\\",\\n        \\\"direction\\\": \\\"front-left\\\",\\n        \\\"shadows\\\": \\\"gentle soft shadows\\\",\\n        \\\"background_tone\\\": \\\"neutral with slight bluish tint\\\"\\n      }\\n    },\\n\\n    \\\"subject\\\": {\\n      \\\"gender\\\": \\\"male\\\",\\n      \\\"age\\\": \\\"child\\\",\\n      \\\"hairstyle\\\": {\\n        \\\"match_reference\\\": true,\\n        \\\"description\\\": \\\"same hairstyle as reference, adapted naturally for a young boy\\\"\\n      },\\n      \\\"expression\\\": \\\"neutral, slightly curious\\\",\\n      \\\"clothing\\\": {\\n        \\\"top\\\": \\\"Avengers-style suit top (child version), subtle tech-textured fabric\\\",\\n        \\\"accessory\\\": \\\"miniature Avengers emblem on the chest\\\"\\n      }\\n    },\\n\\n    \\\"composition\\\": {\\n      \\\"frame\\\": \\\"chest-up portrait\\\",\\n      \\\"orientation\\\": \\\"frontal with slight rightward tilt\\\",\\n      \\\"style\\\": \\\"hyper-realistic with split real/comic effect\\\"\\n    },\\n\\n    \\\"special_effects\\\": {\\n      \\\"split_effect\\\": {\\n        \\\"type\\\": \\\"irregular centered tear\\\",\\n        \\\"edges\\\": \\\"white angled torn-paper look\\\",\\n        \\\"description\\\": \\\"image looks ripped down the middle\\\"\\n      },\\n\\n      \\\"realistic_side\\\": {\\n        \\\"background\\\": \\\"soft, neutral, bluish environment\\\",\\n        \\\"filters\\\": [\\n          \\\"soft analog grain\\\",\\n          \\\"light vintage texture\\\",\\n          \\\"reduced saturation\\\",\\n          \\\"subtle film imperfections\\\"\\n        ],\\n        \\\"overlays\\\": [\\n          \\\"small holographic HUD icons (Iron Man–style)\\\",\\n          \\\"mini Captain America shield doodle\\\",\\n          \\\"tiny Thor hammer sketch\\\",\\n          \\\"stylized blue tech sparks\\\"\\n        ]\\n      },\\n\\n      \\\"illustrated_side\\\": {\\n        \\\"art_style\\\": \\\"bold comic-style illustration inspired by Marvel\\\",\\n        \\\"color_palette\\\": \\\"vibrant, high-contrast superhero palette\\\",\\n        \\\"hair\\\": \\\"same color as realistic half but stylized sharply\\\",\\n        \\\"eyes\\\": \\\"slightly exaggerated heroic emphasis\\\",\\n        \\\"background\\\": \\\"dynamic red-blue comic burst pattern\\\",\\n        \\\"decorations\\\": {\\n          \\\"elements\\\": [\\n            \\\"chibi Iron Man flying\\\",\\n            \\\"pixel-style Captain America\\\",\\n            \\\"small cartoon lightning bolts\\\",\\n            \\\"comic-style 'POW!' and 'WHOOSH!' text bubbles\\\",\\n            \\\"floating colorful Avengers symbols\\\"\\n          ]\\n        }\\n      }\\n    },\\n\\n    \\\"aesthetic\\\": {\\n      \\\"overall_tone\\\": \\\"heroic, energetic, lightly vintage\\\",\\n      \\\"lighting_consistency\\\": \\\"perfectly matching the reference\\\",\\n      \\\"skin_texture_realism\\\": \\\"high\\\",\\n      \\\"blending_quality\\\": \\\"smooth transition with crisp tear edge\\\"\\n    },\\n\\n    \\\"output\\\": {\\n      \\\"style\\\": \\\"hyper-realistic + Marvel comic fusion\\\",\\n      \\\"quality\\\": \\\"ultra-high-resolution\\\",\\n      \\\"filters\\\": [\\n        \\\"subtle analog film\\\",\\n        \\\"soft grain\\\"\\n      ]\\n    }\\n  }\\n}\"}")
  req, err := http.NewRequestWithContext(context.Background(), http.MethodPost, "https://runapi.ai/api/v1/runapi/text_to_image", body)
  if err != nil {
    log.Fatal(err)
  }

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

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

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

### CLI

```cli
$ runapi generate \
    --model  \
    --prompt "{\n  \"image_generation\": {\n    \"requirements\": {\n      \"face_preservation\": {\n        \"preserve_original\": true,\n        \"accuracy_level\": \"100% identical to reference\",\n        \"details\": [\n          \"real facial proportions\",\n          \"exact skin texture\",\n          \"true eye shape and color\",\n          \"natural look without makeup\"\n        ]\n      },\n      \"pose\": {\n        \"match_reference_pose\": true,\n        \"description\": \"Chest-up portrait, face forward with a gentle rightward tilt.\"\n      },\n      \"lighting\": {\n        \"match_reference_lighting\": true,\n        \"type\": \"soft diffused indoor lighting\",\n        \"direction\": \"front-left\",\n        \"shadows\": \"gentle soft shadows\",\n        \"background_tone\": \"neutral with slight bluish tint\"\n      }\n    },\n\n    \"subject\": {\n      \"gender\": \"male\",\n      \"age\": \"child\",\n      \"hairstyle\": {\n        \"match_reference\": true,\n        \"description\": \"same hairstyle as reference, adapted naturally for a young boy\"\n      },\n      \"expression\": \"neutral, slightly curious\",\n      \"clothing\": {\n        \"top\": \"Avengers-style suit top (child version), subtle tech-textured fabric\",\n        \"accessory\": \"miniature Avengers emblem on the chest\"\n      }\n    },\n\n    \"composition\": {\n      \"frame\": \"chest-up portrait\",\n      \"orientation\": \"frontal with slight rightward tilt\",\n      \"style\": \"hyper-realistic with split real/comic effect\"\n    },\n\n    \"special_effects\": {\n      \"split_effect\": {\n        \"type\": \"irregular centered tear\",\n        \"edges\": \"white angled torn-paper look\",\n        \"description\": \"image looks ripped down the middle\"\n      },\n\n      \"realistic_side\": {\n        \"background\": \"soft, neutral, bluish environment\",\n        \"filters\": [\n          \"soft analog grain\",\n          \"light vintage texture\",\n          \"reduced saturation\",\n          \"subtle film imperfections\"\n        ],\n        \"overlays\": [\n          \"small holographic HUD icons (Iron Man–style)\",\n          \"mini Captain America shield doodle\",\n          \"tiny Thor hammer sketch\",\n          \"stylized blue tech sparks\"\n        ]\n      },\n\n      \"illustrated_side\": {\n        \"art_style\": \"bold comic-style illustration inspired by Marvel\",\n        \"color_palette\": \"vibrant, high-contrast superhero palette\",\n        \"hair\": \"same color as realistic half but stylized sharply\",\n        \"eyes\": \"slightly exaggerated heroic emphasis\",\n        \"background\": \"dynamic red-blue comic burst pattern\",\n        \"decorations\": {\n          \"elements\": [\n            \"chibi Iron Man flying\",\n            \"pixel-style Captain America\",\n            \"small cartoon lightning bolts\",\n            \"comic-style 'POW!' and 'WHOOSH!' text bubbles\",\n            \"floating colorful Avengers symbols\"\n          ]\n        }\n      }\n    },\n\n    \"aesthetic\": {\n      \"overall_tone\": \"heroic, energetic, lightly vintage\",\n      \"lighting_consistency\": \"perfectly matching the reference\",\n      \"skin_texture_realism\": \"high\",\n      \"blending_quality\": \"smooth transition with crisp tear edge\"\n    },\n\n    \"output\": {\n      \"style\": \"hyper-realistic + Marvel comic fusion\",\n      \"quality\": \"ultra-high-resolution\",\n      \"filters\": [\n        \"subtle analog film\",\n        \"soft grain\"\n      ]\n    }\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": "Hyper-Realistic Marvel Comic Fusion Image Generation",
        "item": "https://runapi.ai/prompts/prm_9kVBEjebDzxoCrBv4wNKY5MZ"
      }
    ]
  },
  {
    "@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": "Hyper-Realistic Marvel Comic Fusion Image Generation",
    "text": "{\n  \"image_generation\": {\n    \"requirements\": {\n      \"face_preservation\": {\n        \"preserve_original\": true,\n        \"accuracy_level\": \"100% identical to reference\",\n        \"details\": [\n          \"real facial proportions\",\n          \"exact skin texture\",\n          \"true eye shape and color\",\n          \"natural look without makeup\"\n        ]\n      },\n      \"pose\": {\n        \"match_reference_pose\": true,\n        \"description\": \"Chest-up portrait, face forward with a gentle rightward tilt.\"\n      },\n      \"lighting\": {\n        \"match_reference_lighting\": true,\n        \"type\": \"soft diffused indoor lighting\",\n        \"direction\": \"front-left\",\n        \"shadows\": \"gentle soft shadows\",\n        \"background_tone\": \"neutral with slight bluish tint\"\n      }\n    },\n\n    \"subject\": {\n      \"gender\": \"male\",\n      \"age\": \"child\",\n      \"hairstyle\": {\n        \"match_reference\": true,\n        \"description\": \"same hairstyle as reference, adapted naturally for a young boy\"\n      },\n      \"expression\": \"neutral, slightly curious\",\n      \"clothing\": {\n        \"top\": \"Avengers-style suit top (child version), subtle tech-textured fabric\",\n        \"accessory\": \"miniature Avengers emblem on the chest\"\n      }\n    },\n\n    \"composition\": {\n      \"frame\": \"chest-up portrait\",\n      \"orientation\": \"frontal with slight rightward tilt\",\n      \"style\": \"hyper-realistic with split real/comic effect\"\n    },\n\n    \"special_effects\": {\n      \"split_effect\": {\n        \"type\": \"irregular centered tear\",\n        \"edges\": \"white angled torn-paper look\",\n        \"description\": \"image looks ripped down the middle\"\n      },\n\n      \"realistic_side\": {\n        \"background\": \"soft, neutral, bluish environment\",\n        \"filters\": [\n          \"soft analog grain\",\n          \"light vintage texture\",\n          \"reduced saturation\",\n          \"subtle film imperfections\"\n        ],\n        \"overlays\": [\n          \"small holographic HUD icons (Iron Man–style)\",\n          \"mini Captain America shield doodle\",\n          \"tiny Thor hammer sketch\",\n          \"stylized blue tech sparks\"\n        ]\n      },\n\n      \"illustrated_side\": {\n        \"art_style\": \"bold comic-style illustration inspired by Marvel\",\n        \"color_palette\": \"vibrant, high-contrast superhero palette\",\n        \"hair\": \"same color as realistic half but stylized sharply\",\n        \"eyes\": \"slightly exaggerated heroic emphasis\",\n        \"background\": \"dynamic red-blue comic burst pattern\",\n        \"decorations\": {\n          \"elements\": [\n            \"chibi Iron Man flying\",\n            \"pixel-style Captain America\",\n            \"small cartoon lightning bolts\",\n            \"comic-style 'POW!' and 'WHOOSH!' text bubbles\",\n            \"floating colorful Avengers symbols\"\n          ]\n        }\n      }\n    },\n\n    \"aesthetic\": {\n      \"overall_tone\": \"heroic, energetic, lightly vintage\",\n      \"lighting_consistency\": \"perfectly matching the reference\",\n      \"skin_texture_realism\": \"high\",\n      \"blending_quality\": \"smooth transition with crisp tear edge\"\n    },\n\n    \"output\": {\n      \"style\": \"hyper-realistic + Marvel comic fusion\",\n      \"quality\": \"ultra-high-resolution\",\n      \"filters\": [\n        \"subtle analog film\",\n        \"soft grain\"\n      ]\n    }\n  }\n}",
    "image": null,
    "about": [
      "image",
      "art"
    ]
  }
]
```
