Skip to main content
Endpoint: POST https://fal.run/fal-ai/gpt-image-1.5 Endpoint ID: fal-ai/gpt-image-1.5

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

Input Schema

string
required
The prompt for image generation
ImageSizeEnum
default:"1024x1024"
Aspect ratio for the generated image Default value: "1024x1024"Possible values: 1024x1024, 1536x1024, 1024x1536
BackgroundEnum
default:"auto"
Background for the generated image Default value: "auto"Possible values: auto, transparent, opaque
QualityEnum
default:"high"
Quality for the generated image Default value: "high"Possible values: low, medium, high
integer
default:"1"
Number of images to generate Default value: 1Range: 1 to 4
OutputFormatEnum
default:"png"
Output format for the images Default value: "png"Possible values: jpeg, png, webp
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<ImageFile>
required
The generated images.

Input Example

Output Example

Limitations

  • image_size restricted to: 1024x1024, 1536x1024, 1024x1536
  • background restricted to: auto, transparent, opaque
  • quality restricted to: low, medium, high
  • num_images range: 1 to 4
  • output_format restricted to: jpeg, png, webp
  • image_size restricted to: auto, 1024x1024, 1536x1024, 1024x1536
  • input_fidelity restricted to: low, high