ideogram-image-edit
Ideogram Image Edit - Edit an image using inpainting
Edit an image using Ideogram AI's inpainting capabilities. Provide an image and a mask to specify the areas to edit, along with a prompt describing the desired changes.
Key features:
- Inpainting: Edit specific areas of an image using a mask
- Multiple rendering speeds: TURBO, DEFAULT, or QUALITY
- MagicPrompt: Automatically enhance your prompt for better results
- Style customization: Use style codes, style types, and reference images
- Character reference: Use reference images to maintain character consistency
Supported formats: JPEG, WebP, PNG (max 10MB each)
post/v1/ai/ideogram-image-edit
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/ai/ideogram-image-edit
- Auth: API key in header x-magnific-api-key
Request body
Example request
{
"prompt": "A beautiful sunset over the ocean",
"image": "iVBORw0KGgoAAAANSUhEUgAA...",
"mask": "iVBORw0KGgoAAAANSUhEUgAA...",
"seed": 12345,
"rendering_speed": "DEFAULT",
"magic_prompt": "AUTO",
"color_palette": {
"members": [
{
"color_hex": "#FF5733",
"color_weight": 0.5
}
]
},
"style_codes": [
"style_code_1",
"style_code_2"
],
"style_type": "AUTO",
"style_reference_images": [
"https://example.com/style-ref.jpg"
],
"character_reference_images": [
"https://example.com/character-ref.jpg"
],
"webhook_url": "https://www.example.com/webhook"
}Response
OK - The task exists and the status is returned
Example response
{
"data": {
"generated": [
"https://openapi-generator.tech",
"https://openapi-generator.tech"
],
"task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
"status": "CREATED"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.