Skip to main content

Overview

Creates an edited or extended image given one or more source images and a prompt, using fal.ai’s GPT Image 1.5 model.
  • Output Type: image
  • Estimated Cost: 5 * num_images credits
  • Handler: fal

Parameters

Required Parameters

prompt
string
required
A description of what you want the model to do with your images.
Describe the edits you want to make to the image.
  • Label: Prompt
image_urls
array<image>
required
The image(s) to edit. These will be used as reference for the generation.
  • Label: Input Image(s)

Optional Parameters

mask_image_url
image
The mask image to use for the generation. White areas indicate where the image should be edited.
  • Label: Mask Image (optional)
image_size
string
default:"auto"
Aspect ratio for the generated image.
  • Label: Image Size
  • Options: auto, 1024x1024, 1536x1024, 1024x1536
input_fidelity
string
default:"high"
How strongly to preserve the input image’s content.
High fidelity preserves more of the original details like text, faces, logos, etc.
  • Label: Input Fidelity
  • Options: low, high
num_images
integer
default:1
Number of images to generate.
  • Label: Number of Images
  • Minimum: 1
  • Maximum: 4