# Ideogram | Character Create consistent characters from one reference image, with outputs available in multiple styles. Inpainting lets you place your character into existing images. ## API Information - **Model Slug:** ideogram-character - **Branded URL:** https://www.eachlabs.ai/ideogram/ideogram/ideogram-character - **Provider:** Ideogram - **Category:** Image to Image - **Output Type:** image - **Status:** active - **Base Cost:** $0.10–$0.20 per execution, depending on rendering speed - **Estimated Processing Time:** 20 seconds - **Interactive Demo:** https://www.eachlabs.ai/ai-models/ideogram-character ## Pricing - **Charge Type:** dynamic - **Estimate:** $0.10–$0.20 per execution, depending on rendering speed - **Pricing Details:** Default: $0.15 - **Pricing Details:** Turbo: $0.1 - **Pricing Details:** Quality: $0.2 - **Pricing Details:** default: $0.15 ## Input Schema | Parameter | Type | Required | Default | Constraints | Description | |-----------|------|----------|---------|-------------|-------------| | prompt | string | Yes | - | - | Text prompt for image generation | | rendering_speed | string | No | Default | Default, Turbo, Quality | An enumeration. | | character_reference_image | string | Yes | - | - | An image to use as a character reference. | | style_type | string | No | Auto | Auto, Fiction, Realistic | An enumeration. | | aspect_ratio | string | No | 1:1 | 1:3, 3:1, 1:2, 2:1, 9:16, 16:9, 10:16, 16:10, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 1:1 | An enumeration. | | resolution | string | No | - | None, 512x1536, 576x1408, 576x1472, 576x1536, 640x1344, 640x1408, 640x1472, 640x1536, 704x1152, 704x1216, 704x1280, 704x1344, 704x1408, 704x1472, 736x1312, 768x1088, 768x1216, 768x1280, 768x1344, 800x1280, 832x960, 832x1024, 832x1088, 832x1152, 832x1216, 832x1248, 864x1152, 896x960, 896x1024, 896x1088, 896x1120, 896x1152, 960x832, 960x896, 960x1024, 960x1088, 1024x832, 1024x896, 1024x960, 1024x1024, 1088x768, 1088x832, 1088x896, 1088x960, 1120x896, 1152x704, 1152x832, 1152x864, 1152x896, 1216x704, 1216x768, 1216x832, 1248x832, 1280x704, 1280x768, 1280x800, 1312x736, 1344x640, 1344x704, 1344x768, 1408x576, 1408x640, 1408x704, 1472x576, 1472x640, 1472x704, 1536x512, 1536x576, 1536x640 | An enumeration. | | magic_prompt_option | string | No | Auto | Auto, On, Off | An enumeration. | | image | string | No | - | - | An image file to use for inpainting. You must also use a mask. | | mask | string | No | - | - | A black and white image. Black pixels are inpainted, white pixels are preserved. The mask will be resized to match the image size. | | seed | integer | No | - | 1–0 | Random seed. Set for reproducible generation | ## Example Request ```bash curl -X POST https://api.eachlabs.ai/v1/prediction/ \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "ideogram-character", "input": { "character_reference_image": "https://cdn-us.eachlabs.ai/defaults/050a508b1fdfe1fe82dd13d74c70f65a8ebbaceb2328268d13ae9c9efda17f91.jpg", "prompt": "A realistic close-up portrait photo of a young woman in a forest, standing among trees, soft natural daylight, sharp focus, natural expression, professional photography style." } }' ``` ## Output Schema Response returned by `GET /v1/prediction/{id}` when the job completes: ```json { "status": "success", "predictionID": "string", "output": "string (URL of generated image)", "metrics": { "predict_time": "number (seconds)" } } ``` ## Polling ```bash curl https://api.eachlabs.ai/v1/prediction/{PREDICTION_ID} \ -H "Authorization: Bearer YOUR_API_KEY" ``` | Status | Meaning | |--------|---------| | `processing` | Still running — poll again | | `success` | Done — read `output` | | `error` | Failed — read `message` / `details` | ## Webhook (alternative to polling) Pass `"webhook_url": "https://your.host/path"` in the create request. Eachlabs POSTs this payload when the job ends: ```json { "exec_id": "prediction-uuid", "status": "succeeded", "output": "https://...", "error": "" } ``` `status` is `"succeeded"` or `"failed"`. `exec_id` equals the `predictionID` from create. Return 2xx within 30 seconds. ## Errors Error body: `{ "status": "error", "message": "...", "details": "..." }` | Code | Meaning | |------|---------| | `400` | Invalid input | | `401` | Missing / invalid `Authorization` bearer token | | `404` | Unknown model or prediction id | | `429` | Rate limit — 100 creates / min, 10 concurrent per key | | `5xx` | Retry with backoff | ## Overview **ideogram-character — Image-to-Image AI Model** ideogram-character empowers creators to generate consistent characters from a single reference image, transforming one photo into multiple styles while maintaining facial identity and details. Developed by Ideogram as part of the ideogram family, this **image-to-image AI model** excels at character consistency, solving the challenge of repetitive redesigns in storytelling, marketing, and game development. With inpainting capabilities, it seamlessly places characters into existing scenes, delivering high-fidelity outputs up to 2048x2048 resolution after upscaling. Ideal for users seeking "Ideogram image-to-image" tools, ideogram-character supports diverse aspect ratios like 1:1, 16:9, and 9:16, producing results in seconds via efficient processing. Whether you're building an AI image editor API or crafting visuals for e-commerce, this model ensures reliable character preservation across generations. ## Usage Notes - API Base URL: `https://api.eachlabs.ai/v1` - Authentication: send `Authorization: Bearer YOUR_API_KEY`. Generate a key from the Eachlabs dashboard at https://www.eachlabs.ai/dashboard/api-keys. - File-typed parameters (`*_url`, `image_url`, `video_url`, `audio_url`, etc.) accept publicly-reachable HTTPS URLs only. Upload your asset first (GCS / S3 / your CDN) and pass the resulting URL. Data-URIs and localhost URLs are rejected. - For structured parameters (arrays / objects) send real JSON values, not stringified payloads. - Monetary values are reported in USD; per-token / per-megapixel rates may be billed in micro-cents internally. - Prefer `webhook_url` over polling for long-running predictions — see the Webhook Callback section.