curl https://router.requesty.ai/v1/models/image \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/image",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/image", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "image",
"id": "azure/openai/gpt-image-2",
"object": "model",
"created": 1776868154,
"updated": 1776868154,
"owned_by": "system",
"pricing": {
"input_text": 5e-06,
"input_image": 8e-06,
"output_text": 1e-05,
"output_image": 3e-05
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": false,
"privacy_comments": "",
"geolocation": "global"
}
]
}
List Image Models
Get all available image models. If authenticated with a Requesty API key, returns only the models approved for your organization. Otherwise, returns all public models. Aliases and routing policies are chat-only and are never returned here.
GET
/
v1
/
models
/
image
curl https://router.requesty.ai/v1/models/image \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/image",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/image", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "image",
"id": "azure/openai/gpt-image-2",
"object": "model",
"created": 1776868154,
"updated": 1776868154,
"owned_by": "system",
"pricing": {
"input_text": 5e-06,
"input_image": 8e-06,
"output_text": 1e-05,
"output_image": 3e-05
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": false,
"privacy_comments": "",
"geolocation": "global"
}
]
}
curl https://router.requesty.ai/v1/models/image \
-H "Authorization: Bearer YOUR_REQUESTY_API_KEY"
import httpx
response = httpx.get(
"https://router.requesty.ai/v1/models/image",
headers={"Authorization": "Bearer YOUR_REQUESTY_API_KEY"},
)
for model in response.json()["data"]:
print(model["id"])
const response = await fetch("https://router.requesty.ai/v1/models/image", {
headers: { Authorization: `Bearer ${process.env.REQUESTY_API_KEY}` },
});
const { data } = await response.json();
for (const model of data) {
console.log(model.id);
}
{
"object": "list",
"data": [
{
"api": "image",
"id": "azure/openai/gpt-image-2",
"object": "model",
"created": 1776868154,
"updated": 1776868154,
"owned_by": "system",
"pricing": {
"input_text": 5e-06,
"input_image": 8e-06,
"output_text": 1e-05,
"output_image": 3e-05
},
"data_retention": false,
"data_retention_days": 0,
"data_used_for_training": false,
"privacy_comments": "",
"geolocation": "global"
}
]
}
/v1/images/generations and /v1/images/edits endpoints.
Aliases and routing policies exist for chat only, so they never appear here.
Authentication
Authentication is optional. The API key can be sent as eitherAuthorization: Bearer YOUR_REQUESTY_API_KEY or X-Api-Key: YOUR_REQUESTY_API_KEY; both headers behave identically.
| Request | Status | Result |
|---|---|---|
No Authorization or X-Api-Key header | 200 | All publicly available models |
| Valid API key | 200 | Only the models approved for your organization and allowed by the key’s access list |
| Invalid, expired or revoked API key | 403 | Invalid authorization token — the request is rejected, not treated as anonymous |
Last modified on September 10, 2026
Was this page helpful?