GPT Image 2.6 Flare API — Image Generation and Editing
GPT Image 2.6 Flare generates a PNG from a text prompt or edits an uploaded image using a separate edit model ID. Both operations were quoted at 2 site credits per job on December 4, 2026.
Generate a new image
Describe the composition, lighting and subject in a text prompt. The completed image job returns a PNG output.
Model ID: openai-gpt-image-2-6-flare. The site catalog listed 2 credits per job on December 4, 2026. Check this model’s current availability and quote.
Find “ai image generator” in the public catalog. Try the image generator in your browser.
Submit the job
Use an active paid plan and a developer key. Set APPROVED_CREDITS to the amount you accept and REQUEST_KEY to a unique key for this request. Reuse that key when retrying the same job.
api='https://freeaigenerator.ai/api/v1/developer'
auth="Authorization: Bearer ${FREEAIGENERATOR_API_KEY:?}"
id='openai-gpt-image-2-6-flare'
body=$(curl -fsS -H "$auth" "$api/models" | \
jq -e --arg id "$id" --arg prompt 'A cobalt ceramic mug on a pale oak tabletop in soft morning light.' \
'.items[] | select(.id == $id and .status == "available" and .executable != false) |
{mode, modelId:.id, modelVersion:.version, quotedCredits:.creditCost.base, prompt:$prompt, parameters:{aspectRatio:"1:1"}}') &&
printf '%s\n' "$body" | jq -e --argjson credits "${APPROVED_CREDITS:?}" 'select(.quotedCredits == $credits)' >/dev/null &&
curl -fsS -X POST "$api/models/$id/jobs" -H "$auth" -H 'Content-Type: application/json' \
-H "Idempotency-Key: ${REQUEST_KEY:?}" --data "$body"The same quoted request also works at POST /api/v1/developer/tasks/text-to-image/jobs. Keep the returned job ID and check GET /api/v1/developer/jobs/{jobId} before fetching its outputs. Image generation quickstart.
Edit a reference image
Upload a reference image with the same developer key. Put its asset ID in inputAssetIds and describe the change to make. The edit uses a separate model ID.
Model ID: openai-gpt-image-2-6-flare-edit. The site catalog listed 2 credits per job on December 4, 2026. Check this model’s current availability and quote.
Find “ai image editor” in the public catalog. View a photo editing example.
Submit the job
Use an active paid plan and a developer key. Set APPROVED_CREDITS to the amount you accept and REQUEST_KEY to a unique key for this request. Reuse that key when retrying the same job. Set REFERENCE_ASSET_ID to your uploaded asset ID.
api='https://freeaigenerator.ai/api/v1/developer'
auth="Authorization: Bearer ${FREEAIGENERATOR_API_KEY:?}"
id='openai-gpt-image-2-6-flare-edit'
body=$(curl -fsS -H "$auth" "$api/models" | \
jq -e --arg id "$id" --arg prompt 'Make the mug red and keep the background unchanged.' --arg ref "${REFERENCE_ASSET_ID:?}" \
'.items[] | select(.id == $id and .status == "available" and .executable != false) |
{mode, modelId:.id, modelVersion:.version, quotedCredits:.creditCost.base, prompt:$prompt, parameters:{}, inputAssetIds:[$ref]}') &&
printf '%s\n' "$body" | jq -e --argjson credits "${APPROVED_CREDITS:?}" 'select(.quotedCredits == $credits)' >/dev/null &&
curl -fsS -X POST "$api/models/$id/jobs" -H "$auth" -H 'Content-Type: application/json' \
-H "Idempotency-Key: ${REQUEST_KEY:?}" --data "$body"The same quoted request also works at POST /api/v1/developer/tasks/image-edit/jobs. Keep the returned job ID and check GET /api/v1/developer/jobs/{jobId} before fetching its outputs. Upload and edit a photo.
Developer access
Manage developer keys · OpenAPI reference · Plans and credits