GPT Image API
8 endpoints on fal.ai, paid per call at the provider's price.
Versions
- GPT Image 1.5 image editUsage based
- GPT Image 1.5 text to imageUsage based
- GPT Image 2 image editUsage based
- GPT Image 2 text to imageUsage based
- GPT Image 2.5 Flare editUsage based
- GPT Image 2.5 Flare text to imageUsage based
- GPT Image 2.5 Sunburst editUsage based
- GPT Image 2.5 Sunburst text to imageUsage based
Inputs
- Prompt
- The prompt for image generation
- Image URLs
- The URLs of the images to use as a reference for the generation
- Image size
- Aspect ratio for the generated image (auto, 1024x1024, 1536x1024 or 1024x1536). Optional
- Output format
- Output format for the images (jpeg, png or webp). Optional
- Background
- Background for the generated image (auto, transparent or opaque). Optional
- Quality
- Quality for the generated image (low, medium or high). Optional
- Num images
- Number of images to generate. Optional
- Output compression
- Compression level from 0 to 100. Optional
- Mask URL
- The URL of the mask image to use for the generation. Optional
- Mask image URL
- The URL of the mask image to use for the generation. Optional
Other image generation models
Questions
Which GPT Image versions can my agent run?
GPT Image 1.5 image edit, GPT Image 1.5 text to image, GPT Image 2 image edit, GPT Image 2 text to image, GPT Image 2.5 Flare edit and 3 more.
How is it billed?
At the cost the provider reports for each call, with no markup. Your agent sees the maximum before it runs a tool.
Connect your agent to 3,500+ tools for free
Sign in with Google or GitHub. No card required.