# Ideogram 3.0 Inpaint

`ideogram/ideogram-3-inpaint` · Ideogram · image

Repaint the part of a source image marked in black on a mask. The prompt describes what belongs in that area.

[Model page](https://sociaro.com/models/ideogram/ideogram-3-inpaint) · [JSON](https://sociaro.com/models/ideogram/ideogram-3-inpaint.json) · [Model pricing](https://sociaro.com/pricing?model=ideogram%2Fideogram-3-inpaint) · [Documentation](https://docs.sociaro.com/models/ideogram-ideogram-3-inpaint/) · [Playground](https://my.sociaro.com/playground/?model=ideogram/ideogram-3-inpaint)

## Use cases

- Change the finish on a helmet visor
- Replace a detail on a product without redesigning the shot

## Technical details

- API model ID — ideogram/ideogram-3-inpaint
- Provider — Ideogram
- Modality — Image
- Input — Text prompt · Images · Edit mask
- Output — Image
- Endpoint — POST /v2/jobs
- Workflow — Image edit

## Request parameters

- `prompt` (string, required) — The prompt describing the repainted result, 1 to 10000 characters.
  - 1–10000 characters
- `magic_prompt` (string) — Controls magic prompt, the automatic rewriting of the prompt: `auto` (the default), `on` or `off`.
  - Allowed values — `auto`, `on`, `off`
- `seed` (integer) — Random seed, a whole number from 0 to 2147483647; set it for reproducible generation.
  - 0–2147483647
- `rendering_speed` (string) — The rendering speed: `turbo` is the fastest and cheapest, `quality` the slowest and best; it defaults to `default`.
  - Allowed values — `turbo`, `default`, `quality`
- `style_type` (string) — The style type to generate with: `auto`, `general`, `realistic`, `design`, `custom`, `fiction` or `stylized`.
  - Allowed values — `auto`, `general`, `realistic`, `design`, `custom`, `fiction`, `stylized`
- `style_preset` (string) — Apply a named artistic style. Use the preset on its own, without style codes or style reference images.
  - Allowed values — `80s_illustration`, `90s_nostalgia`, `abstract_organic`, `analog_nostalgia`, `art_brut`, `art_deco`, `art_poster`, `aura`, `avant_garde`, `bauhaus`, `blueprint`, `blurry_motion`, `bright_art`, `c4d_cartoon`, `childrens_book`, `collage`, `coloring_book_i`, `coloring_book_ii`, `cubism`, `dark_aura`, `doodle`, `double_exposure`, `dramatic_cinema`, `editorial`, `emotional_minimal`, `ethereal_party`, `expired_film`, `flat_art`, `flat_vector`, `forest_reverie`, `geo_minimalist`, `glass_prism`, `golden_hour`, `graffiti_i`, `graffiti_ii`, `halftone_print`, `high_contrast`, `hippie_era`, `iconic`, `japandi_fusion`, `jazzy`, `long_exposure`, `magazine_editorial`, `minimal_illustration`, `mixed_media`, `monochrome`, `nightlife`, `oil_painting`, `old_cartoons`, `paint_gesture`, `pop_art`, `retro_etching`, `riviera_pop`, `spotlight_80s`, `stylized_red`, `surreal_collage`, `travel_poster`, `vintage_geo`, `vintage_poster`, `watercolor`, `weird`, `woodblock_print`
- `style_codes` (array) — Up to 50 style codes, each 8 hexadecimal characters, that represent the style of an image; they cannot be combined with `style_preset`.
  - Up to 50 items
- `image` (string, required) — The source image to repaint; the output matches its size, snapped to the nearest supported resolution. A public https URL that answers without a redirect; JPEG, PNG or WEBP, up to 25 MB.
- `mask` (string, required) — A black-and-white mask the same size as `image`; black marks the region to repaint. A public https URL that answers without a redirect; JPEG, PNG or WEBP, up to 25 MB.
- `style_reference_images` (array) — Images whose style the result borrows; they cannot be combined with `style_preset`. 1 to 10 public https URLs that answer without a redirect; each JPEG, PNG or WEBP, up to 25 MB.
  - 1–10 items

## Pricing

Rates in USD. Catalogue timestamp 2026-11-21T02:23:44Z.

- USD 0.03 per image · rendering_speed: turbo · active
- USD 0.06 per image · rendering_speed: default · active
- USD 0.09 per image · rendering_speed: quality · active

- Leaving out rendering_speed gives default.
- Every image the generator produces is billed, including an image it withholds after its safety check (a withheld image is not delivered); num_images multiplies the price.

## Examples

### An iridescent visor

The black area of the mask selects the lime visor. The edit adds blue and violet reflections across its surface.

[Result (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/sapphire-visor.webp)

Source inputs

- [Source helmet (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/helmet-source-563fe76c.png) · [Thumbnail](https://previews.sociaro.com/shared/promo/gallery/ideogram/helmet-thumb.webp)
- [Visor mask (image)](https://previews.sociaro.com/shared/promo/gallery/ideogram/visor-mask-2a9a3b0e.png) · [Thumbnail](https://previews.sociaro.com/shared/promo/gallery/ideogram/helmet-mask.webp)
