Ideogram
Ideogram 4.6
ideogram-v4.6/precise-edit
An image generation and editing model released by Ideogram, supporting text-to-image and image editing based on up to five reference images; there is also a Precise Edit endpoint for localized refinements, and it offers native output tiers of up to 4K
Try ideogram-v4.6/precise-edit
Input
Showcases
View all showcasesOutput
imagePricing
ideogram-v4.6/precise-edit per image
| Specifications | Unit Price |
|---|---|
| low | $0.0429 |
| high | $0.3143 |
| very_low | $0.0115 |
Overview
An image editing model for image retouching scenarios. It accepts a publicly accessible source image and a text prompt, and outputs an edited static image. During editing, it keeps the picture outside the modified area as stable as possible, making it suitable for design and commercial image production work that requires local replacement, detail adjustment, or multiple rounds of iteration. Users provide an HTTPS image URL and describe the intended modification to obtain a finished image that preserves the original composition, for tasks such as e-commerce retouching, poster refinement, and series visual extension that require visual continuity.
Key Highlights
- Local retouching reduces image drift — When modifying a specified area, pixels outside that area remain relatively stable, making it easy to progressively layer adjustments onto the original composition.
- Output follows source image dimensions — The edited result keeps the source image's resolution and aspect ratio, so it can directly replace the original asset and continue downstream workflows.
- Ample prompt capacity — Prompts can be up to 2000 characters, enough to describe relatively complex local modification requirements and detail constraints.
- Quality tier selection — Output quality can be set to one of three tiers: low, medium, or high, balancing image quality and processing cost according to use case.
Capabilities
- Image-to-image local editing: Input an HTTPS source image and a prompt to modify specified content in the picture and output a static image; the result follows the source image's dimensions and composition.
- Fine prompt control: Prompts can be up to 2000 characters, allowing fairly complete description of modification targets, areas to preserve, and style requirements, reducing trial and error.
- Quality tier adjustment: quality provides low, medium, and high tiers; choose one per request. Higher tiers are better suited for final output that demands high image detail.
- Context window setting: context_window defaults to auto and can be adjusted according to the context needs of the editing task, working together with the prompt to organize modification intent.
Use Cases
- E-commerce operators recolor part of a product image — Upload an existing product image and use a prompt to specify color or material areas to modify; the output preserves the original composition and can be used directly for product detail page display.
- Designers refine a poster over multiple rounds — Use an already laid-out poster as the source image and adjust elements around the text or local details round by round; the output images are used for extending a series of materials.
- Photo post-processors fix local blemishes — Use a finished photo as the source image and describe the local content to clean up or replace with a prompt to obtain a corrected version that keeps the overall picture consistent.
- Content teams unify series visuals — Use one style-reference image as the source and modify local elements separately to generate a series of images for multi-image social media layouts and ad materials.
Limitations and Selection Advice
The prompt length limit is 2000 characters, and the source image must be a publicly accessible URL starting with https. The edited output follows the source image dimensions and cannot change resolution through this capability; the quality tier can only be one of low, medium, or high. Fine local structures may still contain errors in complex composite scenes, so check each item before finalizing.
Ideogram image editing model
Precise local editing that preserves the original picture
Upload a source image and describe in text what to change; the model outputs an edited result while preserving the original composition and dimensions. Suitable for tasks requiring visual continuity, such as product image recoloring, local poster refinement, and multiple rounds of iteration.
- InputHTTPS source image + text prompt
- Output typeStatic image, following source image dimensions
- Prompt limitUp to 2000 characters
- Quality tierChoose one of low / medium / high
First use a short prompt to verify the direction of the modification, then add detail descriptions and raise the quality tier once confirmed.
01
Capabilities
How it performs: four verifiable capabilities
The following explains usage from three aspects: input requirements, parameter settings, and output form. The key checks are whether the source image URL is accessible and whether the prompt clearly points to the area to be modified.
Local editing based on a source image
Provide a publicly accessible HTTPS image as the source image and use text to describe the content to modify. The output preserves the source image's dimensions and overall composition, making it suitable for targeted adjustments on an existing picture rather than regeneration.
Describe modification intent fully
Prompts can be up to 2000 characters, enough to specify which elements to change, which parts to preserve, and the desired style and details. The more specific the description, the better the modification scope can be focused on the target area.
Choose a quality tier by use case
quality provides low, medium, and high tiers; choose one per request. For final output with high detail requirements, choose a higher tier; for quickly verifying the direction of a modification, a lower tier works.
Context window configuration
context_window defaults to auto and can be adjusted according to the context needs of the editing task. Combined with prompts to organize the modification sequence, it suits step-by-step refinement workflows on the same source image.
Preserving composition, focusing on local areas, and proceeding in rounds is the most suitable way to use this model.
02
Getting Started
From source image to refined final image
Try it →From preparing the source image to accepting the output, adjust only one type of content at a time so you can pinpoint the effects of prompts and parameters.
- Source image URLPublic image link starting with https://
Obtain a source image the model can read
01
Prepare an accessible source image
Choose the image to modify, ensure it is accessible via a public HTTPS URL, and confirm that its resolution and composition meet delivery requirements, because the output follows the source image dimensions.
- PromptDescribe the area to modify and content to preserve
- Quality tierChoose one of low / medium / high
Form a complete editing request
02
Write a local modification prompt
Use text to describe the area to change and the target effect, keep it within 2000 characters, and clearly state which parts should be preserved to prevent changes from spreading to unrelated areas.
- Key checksConsistency of composition, dimensions, and modified area
Obtain a deliverable edited image
03
Check the output and iterate
Check whether the edited result preserves the original composition and whether the modified area meets expectations. If further adjustments are needed, submit another editing request based on the new image to gradually approach the target effect.
03
Scenarios
Where to use it: three typical image assets
Local recoloring of product images
Use an existing product image as the source image and specify the color or material area to adjust with a prompt. The output preserves the original composition and dimensions and can directly replace detail page assets. Key checks are whether edge transitions are natural and whether unmodified areas remain stable.
Poster and series visual refinement
Use a laid-out picture as the source image and modify local elements or details round by round. Suitable for extending a series of materials under the same visual tone; the output images are used for multi-size placements and social media layouts.
Fixing local blemishes on final photos
Use a finished photograph as the source image and describe the local content to clean up or replace with a prompt. The output follows the original picture's aspect ratio, making it convenient for later layout and archiving. During acceptance, focus on whether refined structures are correct; fine details in complex composite scenes need to be confirmed item by item.
04
Integration
Integration: call ideogram-v4.6/precise-edit in your product or AI tool
A single HiAPI API Key is all you need; all methods share the same account and billing.
- Create an API Key
- Choose an integration method
Pick one on the right and copy it
- AI coding tools Recommended
Connect via MCP with commands for Claude Code, Cursor, Codex, etc.
- Direct API
Your own product, backend services, or automation workflows
- Not sure which to choose
Copy a message to AI and let it help you choose and provide the steps
Terminal · Claude Code
claude mcp add --transport http hiapi https://mcp.hiapi.ai/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Once connected, tell AI your goal and let it call ideogram-v4.6/precise-edit, query task progress, and get results. For configuration steps for Cursor, Codex, and other tools, see the tutorial below.
View the Agent integration tutorial →Integrate with your product via API
Use the API Key to submit tasks for the current model and query status by the returned task ID. The request parameters use the same route data as the API documentation on this page; replace the example inputs with your actual assets.
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ideogram-v4.6/precise-edit",
"input": {
"image": "…",
"prompt": "…",
"quality": "medium",
"context_window": "auto"
}
}'Let AI help you choose an integration method
Please read the HiAPI documentation index at https://hiapi.ai/llms.txt. I want to use ideogram-v4.6/precise-edit in my project. Based on my use case, first determine whether Remote MCP, Agent Skills, or direct API is suitable; if necessary, ask me one key question first, then provide the simplest integration steps and the configuration to fill in.
Copy this message to the AI tool you use, then add your project language, input assets, and expected results. It can use this to explain the integration method and next steps.
What's new
View changelog →- Parameter change ideogram-v4.6/image-to-image parameter update
- New model New model available: ideogram-v4.6/text-to-image-4k
- New model New model available: ideogram-v4.6/text-to-image
Frequently asked questions
View all FAQs →-
How many reference images can I upload for image-to-image at most?
Up to 5 images, minimum 1, all must be publicly accessible HTTPS image URLs. Put the main image first and use the rest as style or detail references. If you have more than 5, you'll need to choose which ones to keep.
-
Which resolutions can I choose for image-to-image?
You can choose auto, auto_2k, or fixed sizes such as 1024x1024 and 2048x2048. Portrait and landscape orientations each offer multiple options, with the longest edge reaching 2560. If you are unsure about the composition, use auto or auto_2k; if you need to match the specifications of existing assets, specify a concrete size directly.
-
How do I choose between this model and precise-edit?
To generate a new image based on a reference image, use image-to-image; to change only part of the source image while keeping the rest unchanged, use precise-edit. precise-edit output keeps the source image size, and the size cannot be changed in this mode. If you need a different size, first regenerate with image-to-image.
-
To keep a character's appearance consistent, how should I write the prompt?
First write the parts to keep, then the parts to change. The suggested order is: subject and appearance features (hairstyle, clothing, color scheme), the elements that remain unchanged, the local areas to be replaced this time, and the output aspect ratio and texture; put constraints such as "keep the character's face and clothing unchanged" before the description of changes, and repeat them once in each round of multi-round editing.
Create a generation task
https://api.hiapi.ai/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: ideogram-v4.6/precise-edit
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for ideogram-v4.6/precise-edit and route default — see the parameter table below.
imagestringRequiredpattern ^https://The source image to edit, provided as a public HTTPS link.
promptstringRequiredminLength 1maxLength 2000The edit instruction text, describing the modifications to be made to the source image.
qualitystringOptionalDefault: "medium"The generation quality level, given as a string value, defaulting to medium.
lowmediumhighcontext_windowstringOptionalDefault: "auto"The context window setting, which controls the reference range during editing, given as a string value, defaulting to auto.
callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ideogram-v4.6/precise-edit",
"input": {
"image": "…",
"prompt": "…",
"quality": "medium",
"context_window": "auto"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "ideogram-v4.6/precise-edit",
input: {
"image": "…",
"prompt": "…",
"quality": "medium",
"context_window": "auto"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "ideogram-v4.6/precise-edit",
"input": {
"image": "…",
"prompt": "…",
"quality": "medium",
"context_window": "auto"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.ai/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Guide
ideogram-v4.6/precise-edit Getting Started Guide: Image Editing Capabilities, Pricing, and Integration Practices
Integration decisions from capability boundaries to per-image billing
-
Tutorial
ideogram-v4.6/precise-edit in Practice: 5 High-Value Image Editing Scenarios and Integration Essentials
A Developer's Guide to Landing Image Editing, from Cost and Calling Flow to Troubleshooting
-
Comparison
ideogram-v4.6/precise-edit Side-by-Side Comparison: How to Choose an Image Editing Model and Migrate
Starting from capability boundaries, per-image cost, and integration methods, a selection and migration checklist for engineering teams
Related Models
View all models →Same Type
-
BRIA Eraser Bria $0.058 /image -
FIBO 2.0 Bria $0.057 /image -
Grok Imagine Quality xAI $0.070 /image -
FASHN Tryon v1.6 FASHN $0.107 /image -
BRIA Product Shot Bria $0.058 /image -
Seedream 5.5 ByteDance $0.019 /image -
FLUX.1 Schnell Black Forest Labs $0.005 /image -
MiniMax H3 Image MiniMax $0.013 /image -
Wan 2.7 Image Alibaba $0.035 /image -
Grok Imagine Image 2.0 xAI $0.052 /image -
Nano Banana 2 Lite Google $0.033 /image -
Imagen 4 Google $0.030 /image



