RequestBeam

Documentation

RequestBeam Docs

GPT Image 2.6

GPT Image 2.6 Flare and Sunburst integration contract.

POSThttps://api.requestbeam.com/openai/v1/images/generations

Concurrency limit

AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.

POST /openai/v1/images/generations
Default limit: 5
GET /v1/models
Default limit: 1

This contract covers gpt-image-2.6-flare and gpt-image-2.6-sunburst. Availability depends on the deployed gateway and your API key; check GET https://api.requestbeam.com/v1/models.

Request

http
POST https://api.requestbeam.com/openai/v1/images/generations
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
json
{
  "model": "gpt-image-2.6-flare",
  "prompt": "A red ceramic cup on a white table.",
  "size": "1:1",
  "resolution": "1k",
  "quality": "low",
  "output_format": "png",
  "n": 1
}

Parameters

ParameterValues
modelgpt-image-2.6-flare, gpt-image-2.6-sunburst
promptRequired text
n1–4
sizeauto, aspect ratio, WIDTHxHEIGHT
resolution1k, 2k, 4k
qualityauto, low, medium, high, xhigh, max
image_urls0–16 HTTP(S) URLs
output_formatpng, jpeg, webp, gif
output_compression0–100; JPEG/WebP
backgroundauto, opaque, transparent; PNG/WebP
complexitylow, medium, high
safety_identifierString, maximum 128 characters
streamfalse (JSON), true (SSE)
frame_count2–16; GIF
frame_duration_ms≥20; GIF

For static images, size accepts auto, a supported aspect ratio, or exact WIDTHxHEIGHT dimensions. resolution offers 1k, 2k, and 4k. Exact pixel dimensions must be multiples of 16, with each side at most 3840, an aspect ratio at most 3:1, and 655,360 to 8,294,400 total pixels. quality accepts auto, low, medium, high, xhigh, or max.

Both GPT Image 2.6 variants use the documented Images generations request. GIF supports text prompts and reference images. Base64 references, multipart uploads, masks, markup, SVG, and a separate Images edits endpoint remain unsupported.

GIF supports text prompts and reference images. Use up to 16 public HTTP(S) reference-image URLs in image_urls. Reference images incur an additional image input charge; final billing uses actual usage. n counts 1–4 animations. frame_count accepts 2–16 frames (default 9); frame_duration_ms is an integer of at least 20 (default 200), rounded to 10 ms increments. size is auto (512x512 by default) or exact frame dimensions divisible by 16, never an aspect-ratio name. The frame sheet uses 4x2 cells for 2–8 frames, 3x3 for 9, 4x3 for 10–12, or 4x4 for 13–16; rows and columns may be swapped. The whole sheet must have edges at most 3840, at most 8,294,400 pixels, and an aspect ratio at most 3:1. Do not include output_compression or a transparent background. Billing uses the whole sheet for each animation.

json
{
  "model": "gpt-image-2.6-sunburst",
  "prompt": "A small red train moves gently across green hills in a seamless looping animation. No text.",
  "output_format": "gif",
  "size": "512x512",
  "quality": "low",
  "frame_count": 8,
  "frame_duration_ms": 200,
  "n": 1
}

GIF + image_urls

json
{
  "model": "gpt-image-2.6-flare",
  "prompt": "Animate the subject in the reference image with a gentle wave, then return to the starting pose. Seamless loop.",
  "image_urls": [
    "https://example.com/character.png"
  ],
  "output_format": "gif",
  "size": "512x512",
  "quality": "low",
  "frame_count": 8,
  "frame_duration_ms": 200,
  "n": 1
}

Response

The platform does not provide permanent storage for generated images. As soon as you receive the results, download the images and save them to your own device or storage. Do not use the returned image links as long-term storage addresses.

The connection waits for completion. JSON returns final URLs in data[].url and available token usage. SSE completes with image_generation.completed and [DONE]; partial image previews are not guaranteed. Clients do not poll the upstream task. Do not resubmit requests whose completion status is unknown.

Pricing

Billing separates text input, cached text input, image input, cached image input, and image output tokens. Check the current catalog price; temporary reservations are reconciled after completion. Published APIMart reference prices do not prove account costs or live availability.