List an image model's endpoints
One endpoint per provider that may serve the image model to you: provider_name, provider_slug, provider_tag (with /eu for an EU provider), supported_parameters as on the image model list, allowed_passthrough_parameters (always [], since every field is checked against the model), supports_streaming (false) and pricing at your rate: an input_text and an output_image line in US dollars per token for a model priced per token, one output_image line with the price of one image for a model priced per image. GET /api/v1/images/models/{model_id}/endpoints for a name with no /. A key is required, and the answer is never cached.
Also answers GET /api/v1/images/models/{model_id}/endpoints.
curl https://api.llm.buzz/api/v1/images/models/qwen/qwen-image-3/endpoints \
-H "Authorization: Bearer $LLM_BUZZ_KEY"{
"id": "qwen/qwen-image-3",
"endpoints": [
{
"provider_name": "Alibaba",
"provider_slug": "alibaba",
"provider_tag": "alibaba",
"supported_parameters": {
"aspect_ratio": {
"type": "enum",
"values": [
"1:1",
"4:3",
"3:4",
"16:9",
"9:16",
"3:2",
"2:3"
]
},
"n": {
"type": "range",
"min": 1,
"max": 6
}
},
"allowed_passthrough_parameters": [],
"supports_streaming": false,
"pricing": [
{
"billable": "output_image",
"unit": "image",
"cost_usd": 0.03
}
]
}
]
}{
"error": {
"code": 401,
"message": "A valid gateway Bearer key is required. Send the virtual key as 'Authorization: Bearer <key>'.",
"metadata": {
"error_type": "authentication",
"gateway_code": "invalid_key"
}
}
}Authorization
An inference key, as Authorization: Bearer KEY.
Parameters
authorstringpathrequiredThe part of the model's name before
/, such asqwen.slugstringpathrequiredThe part after
/, such asqwen-image-3.
Response 200
The model's id and its endpoints.
Errors
401No key, or the key is unknown, expired, revoked or disabled.
404No model has this name or your key may not call it; a model that makes no images answers a 404 naming
GET /api/v1/images/models.