---
title: Ideogram 2.0 Edit | Runware Docs
url: https://runware.ai/docs/models/ideogram-2-0-edit
description: Precise inpainting edits for Ideogram 2.0 images
---
# Ideogram 2.0 Edit

Ideogram 2.0 Edit enables localized inpainting on generated or uploaded images. Select a region, adjust the prompt, and refine logos or text without altering the rest of the frame. Ideal for brand assets, layout tweaks, and fast correction workflows in production apps.

- **ID**: `ideogram:3@3`
- **Status**: live
- **Creator**: Ideogram
- **Release Date**: October 22, 2024
- **Capabilities**: Image to Image

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/ideogram-2-0-edit#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/ideogram-2-0-edit#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/ideogram-2-0-edit#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/ideogram-2-0-edit#request-outputformat)

- **Type**: `string`
- **Default**: `JPG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`JPG\`: Best for photorealistic images with smaller file sizes (no transparency).
- \`PNG\`: Lossless compression, supports high quality and transparency (alpha channel).
- \`WEBP\`: Modern format providing superior compression and transparency support.

> [!NOTE]
> \*\*Transparency\*\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \`PNG\`, \`WEBP\`, \`TIFF\`). \`JPG\` does not support transparency.

**Allowed values**: `JPG` `PNG` `WEBP`

### [outputQuality](https://runware.ai/docs/models/ideogram-2-0-edit#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/ideogram-2-0-edit#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/ideogram-2-0-edit#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/ideogram-2-0-edit#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/ideogram-2-0-edit#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for image generation.

#### [checkContent](https://runware.ai/docs/models/ideogram-2-0-edit#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`
- **Default**: `false`

Enable or disable content safety checking. When enabled, defaults to `fast` mode.

#### [mode](https://runware.ai/docs/models/ideogram-2-0-edit#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `none`

Safety checking mode for image generation.

**Allowed values**:

- `none` Disables checking.
- `fast` Performs a single check.

### [ttl](https://runware.ai/docs/models/ideogram-2-0-edit#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/ideogram-2-0-edit#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/ideogram-2-0-edit#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `20`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [seedImage](https://runware.ai/docs/models/ideogram-2-0-edit#request-inputs-seedimage)

- **Path**: `inputs.seedImage`
- **Type**: `string`
- **Required**: true

Image used as a starting point for the generation (UUID, URL, Data URI, or Base64).

**Learn more** (3 resources):

- [Image To Image: Seed Image The Foundation](https://runware.ai/docs/guides/image-to-image#seed-image-the-foundation) (guide)
- [Image Inpainting: Seed And Mask Image The Foundation](https://runware.ai/docs/guides/image-inpainting#seed-and-mask-image-the-foundation) (guide)
- [Image Outpainting: Seed Image The Starting Point](https://runware.ai/docs/guides/image-outpainting#seed-image-the-starting-point) (guide)

### [maskImage](https://runware.ai/docs/models/ideogram-2-0-edit#request-inputs-maskimage)

- **Path**: `inputs.maskImage`
- **Type**: `string`
- **Required**: true

Image used to specify which areas of the seed image should be edited (UUID, URL, Data URI, or Base64).

**Learn more** (1 resource):

- [Image Inpainting: Seed And Mask Image The Foundation](https://runware.ai/docs/guides/image-inpainting#seed-and-mask-image-the-foundation) (guide)

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/ideogram-2-0-edit#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `ideogram:3@3`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

### [positivePrompt](https://runware.ai/docs/models/ideogram-2-0-edit#request-positiveprompt)

- **Type**: `string`
- **Required**: true
- **Min**: `1`
- **Max**: `2000`

Text prompt describing elements to include in the generated output.

**Learn more** (2 resources):

- [Text To Image: Prompts Guiding The Generation](https://runware.ai/docs/guides/text-to-image#prompts-guiding-the-generation) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

**Provider Settings**

Parameters specific to this model provider. These must be nested inside the \`providerSettings.ideogram\` object.

### [magicPrompt](https://runware.ai/docs/models/ideogram-2-0-edit#request-providersettings-ideogram-magicprompt)

- **Path**: `providerSettings.ideogram.magicPrompt`
- **Type**: `string`
- **Default**: `AUTO`

Automatic prompt enhancement.

**Allowed values**:

- `AUTO` Content-based enhancement.
- `ON` Always enhance.
- `OFF` No enhancement.

### [renderingSpeed](https://runware.ai/docs/models/ideogram-2-0-edit#request-providersettings-ideogram-renderingspeed)

- **Path**: `providerSettings.ideogram.renderingSpeed`
- **Type**: `string`
- **Default**: `DEFAULT`

Generation speed/quality tradeoff.

**Allowed values**:

- `TURBO` Fastest generation.
- `DEFAULT` Balanced speed and quality.
- `QUALITY` Best quality.

### [styleReferenceImages](https://runware.ai/docs/models/ideogram-2-0-edit#request-providersettings-ideogram-stylereferenceimages)

- **Path**: `providerSettings.ideogram.styleReferenceImages`
- **Type**: `array of strings`

Reference images for visual style transfer. The model extracts and applies the artistic style from these images.

### [styleType](https://runware.ai/docs/models/ideogram-2-0-edit#request-providersettings-ideogram-styletype)

- **Path**: `providerSettings.ideogram.styleType`
- **Type**: `string`
- **Default**: `AUTO`

Visual style and rendering approach.

**Allowed values**:

- `AUTO` Automatically selects the most appropriate style.
- `GENERAL` Versatile style suitable for most content types.
- `REALISTIC` Photorealistic rendering with natural lighting and textures.
- `DESIGN` Optimized for graphic design, logos, and typography.
- `RENDER_3D` Three-dimensional rendering with depth and modeling effects.
- `ANIME` Anime/manga visual style.
- `FICTION` Stylized rendering for fictional and fantasy content.

## Response Parameters

### [taskType](https://runware.ai/docs/models/ideogram-2-0-edit#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `imageInference`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/ideogram-2-0-edit#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/ideogram-2-0-edit#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/ideogram-2-0-edit#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/ideogram-2-0-edit#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/ideogram-2-0-edit#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [seed](https://runware.ai/docs/models/ideogram-2-0-edit#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/ideogram-2-0-edit#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/ideogram-2-0-edit#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Art Deco Bakery Signage (Image to Image)

![Art Deco Bakery Signage](https://assets.runware.ai/examples/ideogram-2-0-edit/d0178f3b-965c-49af-890b-661d80672a43.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d01113cd-fe21-4a0f-a480-706372b78c09",
  "model": "ideogram:3@3",
  "positivePrompt": "Replace the masked storefront sign with refined Art Deco signage for a pastry shop reading \"MIRELLE PATISSERIE\" in elegant gold geometric lettering, subtle enamel panel, symmetrical flourishes, tasteful border lines, premium handcrafted branding, realistic integration with the facade, natural reflections, correct perspective, crisp legible text",
  "providerSettings": {
    "ideogram": {
      "magicPrompt": "ON",
      "styleType": "DESIGN"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/c53d98e6-ef94-46bf-a4d5-be5161491ab2.jpg",
    "maskImage": "https://assets.runware.ai/assets/inputs/3bc05101-1d24-4d3e-8343-1c819f926e37.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d01113cd-fe21-4a0f-a480-706372b78c09",
  "imageUUID": "370bc363-a051-47fb-b6de-2e453d54370c",
  "imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/370bc363-a051-47fb-b6de-2e453d54370c.jpg",
  "seed": 1236666318,
  "cost": 0.08
}
```

---

### Retro Diner Menu Lightbox (Image to Image)

![Retro Diner Menu Lightbox](https://assets.runware.ai/examples/ideogram-2-0-edit/47b95df2-c84b-4839-b71c-bfed4f1e9bfa.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "59c61125-3d21-4bf0-a54b-66c851f8b951",
  "model": "ideogram:3@3",
  "positivePrompt": "Replace only the masked lightbox with a polished mid-century American diner menu board design. Clean cream background, cherry-red borders, teal accent lines, subtle worn print texture, legible retro sans-serif typography. Include the exact text: 'SUNRISE STACK', 'MALTED SHAKES', 'PIE BY THE SLICE', and 'OPEN ALL NIGHT'. Add small icons of pancakes, a milkshake glass, and a pie slice. Keep perspective perfectly aligned to the original sign, maintain realistic backlit glow, and do not alter any other part of the diner.",
  "providerSettings": {
    "ideogram": {
      "magicPrompt": "OFF",
      "styleType": "DESIGN"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/268eff84-a705-48e2-9d18-f7b8b1808140.jpg",
    "maskImage": "https://assets.runware.ai/assets/inputs/d467f200-90d2-4d23-9406-0f6e58710f8a.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "59c61125-3d21-4bf0-a54b-66c851f8b951",
  "imageUUID": "e5c1b002-daff-4a1e-9846-e46bbe2cda03",
  "imageURL": "https://im.runware.ai/image/os/a23d05/ws/2/ii/e5c1b002-daff-4a1e-9846-e46bbe2cda03.jpg",
  "seed": 1627514637,
  "cost": 0.08
}
```

---

### Hand-Painted Record Shop Marquee (Image to Image)

![Hand-Painted Record Shop Marquee](https://assets.runware.ai/examples/ideogram-2-0-edit/16a98f33-c382-423f-8ce7-6efd8f6d86b5.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d177911e-73c7-4e53-ace2-04a997a131fc",
  "model": "ideogram:3@3",
  "positivePrompt": "Replace only the masked shop sign with a hand-painted vintage-inspired marquee reading \"GROOVE VAULT\" in bold cream lettering with burnt orange shadowing, small illustrated vinyl record icon, subtle weathered brush texture, tasteful decorative linework, cohesive with the rainy neighborhood storefront, authentic sign-painter craftsmanship, legible text, realistic materials, preserve the rest of the image unchanged",
  "providerSettings": {
    "ideogram": {
      "magicPrompt": "ON",
      "styleType": "DESIGN"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/7c6db472-9027-4f53-aa1a-9353f7e2cc6b.jpg",
    "maskImage": "https://assets.runware.ai/assets/inputs/9666d486-baa6-4f88-90f8-ea8897d0619a.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "d177911e-73c7-4e53-ace2-04a997a131fc",
  "imageUUID": "2c7e604e-78ed-43a5-b6fd-3e15e7c47cbb",
  "imageURL": "https://im.runware.ai/image/os/a08d21/ws/2/ii/2c7e604e-78ed-43a5-b6fd-3e15e7c47cbb.jpg",
  "seed": 1100422442,
  "cost": 0.08
}
```

---

### Rainy Bookshop Window Signage (Image to Image)

![Rainy Bookshop Window Signage](https://assets.runware.ai/examples/ideogram-2-0-edit/4e12b09f-8b89-4749-9833-6b082d98ce37.jpg)

**Request**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "f5902a82-1b92-4092-ac26-c74552b6f8a1",
  "model": "ideogram:3@3",
  "positivePrompt": "Edit only the masked areas of the storefront window. Replace the plain old lettering with elegant hand-lettered text reading 'STORY & SPINE' and add a small illustrated emblem of an open book with a comet trail. Make it look professionally painted on glass in a refined contemporary editorial style, cream and muted copper colors, subtle gilded accents, crisp legibility, tasteful composition, authentic adherence to the window perspective, realistic interaction with rain streaks and street reflections, preserving the rest of the shop exterior and interior exactly as in the original image.",
  "providerSettings": {
    "ideogram": {
      "magicPrompt": "ON",
      "styleType": "DESIGN"
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/ca870478-dd01-4ada-bac2-d3ec2b2d4297.jpg",
    "maskImage": "https://assets.runware.ai/assets/inputs/8c8b8a31-c8f1-4159-857f-28d354f7be07.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "f5902a82-1b92-4092-ac26-c74552b6f8a1",
  "imageUUID": "aa2459d1-be92-44fd-9a1e-533aa3171e15",
  "imageURL": "https://im.runware.ai/image/os/a05d22/ws/2/ii/aa2459d1-be92-44fd-9a1e-533aa3171e15.jpg",
  "seed": 753102671,
  "cost": 0.08
}
```