Requests
Requests in the selected window, excluding refund records.
This GPT Image 2 route is listed for the 4K specification and has its own price and unique model ID. Check its route parameters for supported dimensions and quality settings.
Different providers serve this model. Compare pricing and performance, select a provider, or use automatic routing.
| Provider | Variant / API model ID | Applicable price | Request latency | Request success | Connect |
|---|---|---|---|---|---|
gpt-image-2 · 经济线gpt-image-2-xz | ¥0.02 / requestStandard | 28.69 s | 100.00% | Use route ↗ | |
gpt-image-2-4kgpt-image-2-4k-xp | ¥0.32 / requestStandard | 22.90 s | 100.00% | Use route ↗ | |
gpt-image-2 · 标准线gpt-image-2-pro-xp | ¥0.13 / requestStandard | 22.75 s | 100.00% | Use route ↗ |
Values apply to the currently selected API model ID. gpt-image-2-xz
Declared and manually configured parameters are informational. They do not enable capabilities or change gateway limits; actual requests remain subject to the selected route’s validation and upstream support.
| Specification | Sale price | Comparable official price | Official price comparison |
|---|---|---|---|
| Current model | CNY ¥0.02 / request | — | Different currencies; discount not calculated |
Discounts require a verified reference and matching billing units and specifications. USD references use the explicitly configured exchange rate; no rate means no conversion.
Use your platform API key. A unique model ID fixes this route; a family ID selects the lowest-priced route.
{
"model": "gpt-image-2-xz",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}curl https://api.ai526.com/v1/images/generations \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-image-2-xz","prompt":"A quiet mountain lake at sunrise, soft natural light"}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.import requests
response = requests.post(
"https://api.ai526.com/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "gpt-image-2-xz",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.const response = await fetch("https://api.ai526.com/v1/images/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-xz",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.
// size: use a supported image size; fixed-size IDs require their own size.Values apply to the currently selected API model ID. gpt-image-2-4k-xp
Declared and manually configured parameters are informational. They do not enable capabilities or change gateway limits; actual requests remain subject to the selected route’s validation and upstream support.
| Specification | Sale price |
|---|---|
| Current model | CNY ¥0.32 / request |
Use your platform API key. A unique model ID fixes this route; a family ID selects the lowest-priced route.
{
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}curl https://api.ai526.com/v1/images/generations \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-image-2-4k-xp","prompt":"A quiet mountain lake at sunrise, soft natural light"}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.import requests
response = requests.post(
"https://api.ai526.com/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.const response = await fetch("https://api.ai526.com/v1/images/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.
// size: use a supported image size; fixed-size IDs require their own size.Values apply to the currently selected API model ID. gpt-image-2-pro-xp
Declared and manually configured parameters are informational. They do not enable capabilities or change gateway limits; actual requests remain subject to the selected route’s validation and upstream support.
| Specification | Sale price |
|---|---|
| Current model | CNY ¥0.13 / request |
Use your platform API key. A unique model ID fixes this route; a family ID selects the lowest-priced route.
{
"model": "gpt-image-2-pro-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}curl https://api.ai526.com/v1/images/generations \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-image-2-pro-xp","prompt":"A quiet mountain lake at sunrise, soft natural light"}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.import requests
response = requests.post(
"https://api.ai526.com/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "gpt-image-2-pro-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.const response = await fetch("https://api.ai526.com/v1/images/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-pro-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.
// size: use a supported image size; fixed-size IDs require their own size.Providers for the same API model ID currently share model pricing; variants have independent rates. A selected provider retries only within its own keys, never across variants or providers. Official badges apply to their individual routes.
Provider XP · UTC
2026-10-30 00:00 — 2026-11-05 07:05 UTC
Requests in the selected window, excluding refund records.
Mean end-to-end duration of successful requests, not time to first token.
Successful requests divided by total requests, not an SLA.
Non-estimated output tokens per end-to-end second, shown only from valid logs.
Statistics use UTC. Metrics without valid records display —. Request volume uses the configured public display scale.
This example uses the unique route model ID. No provider header is needed.
Base URL: https://api.ai526.com/v1 · /v1/images/generations
curl https://api.ai526.com/v1/images/generations \
-H 'Authorization: Bearer YOUR_AI526_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"gpt-image-2-4k-xp","prompt":"A quiet mountain lake at sunrise, soft natural light"}'
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.import requests
response = requests.post(
"https://api.ai526.com/v1/images/generations",
headers={
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
json={
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
},
)
response.raise_for_status()
print(response.json())
# API URL: use the URL above.
# YOUR_AI526_API_KEY: replace with your own platform key.
# model: use the copied unique ID, or a family ID for the lowest-priced route.
# prompt / messages: replace with your task.
# size: use a supported image size; fixed-size IDs require their own size.const response = await fetch("https://api.ai526.com/v1/images/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_AI526_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
// API URL: use the URL above.
// YOUR_AI526_API_KEY: replace with your own platform key.
// model: use the copied unique ID, or a family ID for the lowest-priced route.
// prompt / messages: replace with your task.
// size: use a supported image size; fixed-size IDs require their own size.Anthropic Messages is a chat protocol and does not support image or video generation for this model. Use the media endpoint above.
Replace the placeholder key before calling. Media options depend on model support.
Prepare a request, then send it from the dashboard. This page makes no model calls.
{
"model": "gpt-image-2-4k-xp",
"prompt": "A quiet mountain lake at sunrise, soft natural light"
}This is a request preview. Results appear in the dashboard after a request completes.
Start with automatic routing. To select a public provider, choose its code and copy the updated example. Retries remain within that provider.
Metrics update from request records. Latency covers completed successful requests; metrics without valid records display —.
The client must support the model’s protocol and a custom API URL. See tool integration guides ↗