Image model API
GPT Image 2 5 Flare API
GPT Image 2.5 Flare – Image to Image is OpenAI’s fast image-generation and editing model for transforming existing images using natural-language instructions. Flare is optimized for speed while maintaining high-quality visual output, and supports image inputs for reference-based generation and editing. OpenAI also highlights improvements in precise editing and subject preservation across GPT Image 2.5. Through Kie.ai, this variant supports image-to-image editing with reference images, along with 1K, 2K, and 4K output resolutions, multiple aspect ratios, and transparent or opaque backgrounds.
- Model id
gpt-image-2-5-flare- Takes
- Text (required)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- OpenAI
- Mode
- Async (job polling)
Call GPT Image 2 5 Flare
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model gpt-image-2-5-flare
POST /api/v1/images/generationsasync · poll /v1/jobs/:id
curl https://payload.rentprompts.com/api/v1/images/generations \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2-5-flare",
"prompt": "A lighthouse at dusk, watercolor",
"n": 1
}'
# Async models answer HTTP 202 with a job. Poll it until status is
# "succeeded" (output.url / output.urls) or "failed" (error):
curl https://payload.rentprompts.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer rp_live_YOUR_KEY"Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1 image4 Joules
- 4 images16 Joules
Send requests to POST /api/v1/images/generations. GPT Image 2 5 Flare runs asynchronously: the request answers HTTP 202 with a job, and you poll GET /api/v1/jobs/{id} until the result is ready.