Skip to main content
Endpoint: POST https://fal.run/fal-ai/ideogram/v2/edit Endpoint ID: fal-ai/ideogram/v2/edit

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

Capabilities

  • Text prompt input
  • Image input
  • Inpainting (mask support)
  • Reproducible generation (seed)
  • Synchronous mode

API Reference

Input Schema

string
required
The prompt to fill the masked part of the image.
string
required
The image URL to generate an image from. Needs to match the dimensions of the mask.
string
required
The mask URL to inpaint the image. Needs to match the dimensions of the input image.
integer
Seed for the random number generator
StyleEnum
default:"auto"
The style of the generated image Default value: "auto"Possible values: auto, general, realistic, design, render_3D, anime
boolean
default:"true"
Whether to expand the prompt with MagicPrompt functionality. Default value: true
boolean
default:"false"
If True, the media will be returned as a data URI and the output data won’t be available in the request history.

Output Schema

list<File>
required
integer
required
Seed used for the random number generator

Input Example

Output Example

Limitations

  • style restricted to: auto, general, realistic, design, render_3D, anime