OpenAI-compatible image generation
Image APIs
Generate images with explicit size and quality controls
Discover supported image models, documented parameters, result behavior, and per-image billing.
Use generated media URLs according to the endpoint documentation and keep request records for operational traceability.
Built for a specific job
For applications that need generated images and auditable usage.
Reference-image editing where the model contract supports it
Complete JSON responses or SSE streaming, as supported by the selected model
Billing unit
Know how usage is measured
USD per image or configured image specification.
Operational limits
- Available resolutions and aspect ratios depend on the selected model.
- Generated media retention follows the documented API behavior.
Integration guides
Choose your next step
Current catalog coverage
Available APIs and billing units
Compare API IDs, operations, providers, protocols, and prices. Check the catalog date and each operation's billing unit before estimating usage costs.
Generate images with GPT Image 2.
- Provider
- OpenAI
- Catalog protocol
- HTTP
- Billing unit
- image
1k
Official price
- Image
-
$0.0106/image
Our price
- Image
- $0.0085 /image
2k
Official price
- Image
-
$0.0175/image
Our price
- Image
- $0.0140 /image
4k
Official price
- Image
-
$0.0263/image
Our price
- Image
- $0.0210 /image
Generate images with GPT Image 2.5 Flare.
- Provider
- OpenAI
- Catalog protocol
- HTTP
- Billing unit
- 1M tokens
0-1M input tokens
Official price
- Text input
-
$5.0000/M - Cached text input
-
$1.2500/M - Image input
-
$8.0000/M - Cached image input
-
$2.0000/M - Image output
-
$30.0000/M
Our price
- Text input
- $4.0000 /M
- Cached text input
- $1.0000 /M
- Image input
- $6.4000 /M
- Cached image input
- $1.6000 /M
- Image output
- $24.0000 /M
Generate images with GPT Image 2.5 Sunburst.
- Provider
- OpenAI
- Catalog protocol
- HTTP
- Billing unit
- 1M tokens
0-1M input tokens
Official price
- Text input
-
$5.0000/M - Cached text input
-
$1.2500/M - Image input
-
$8.0000/M - Cached image input
-
$2.0000/M - Image output
-
$30.0000/M
Our price
- Text input
- $4.0000 /M
- Cached text input
- $1.0000 /M
- Image input
- $6.4000 /M
- Cached image input
- $1.6000 /M
- Image output
- $24.0000 /M
Request example
Start from the documented operation
curl -X POST "https://api.requestbeam.com/openai/v1/images/generations" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2","prompt":"A precise product illustration","n":1}'const response = await fetch("https://api.requestbeam.com/openai/v1/images/generations", {
method: "POST",
headers: {
Authorization: "Bearer <API_KEY>",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2",
"prompt": "A precise product illustration",
"n": 1
})
});
const data = await response.json();
console.log(data);import requests
url = "https://api.requestbeam.com/openai/v1/images/generations"
headers = {"Authorization": "Bearer <API_KEY>"}
payload = {
"model": "gpt-image-2",
"prompt": "A precise product illustration",
"n": 1
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
response.raise_for_status()
print(response.json()) Use the API base URL from your account documentation and replace the example placeholders. Send your API key in the Authorization header; never include it in a URL or committed file.