Get Image Model Endpoints
Endpoint Examples
Get Image Model Endpoints
Inspect endpoint metadata, pricing, and image-input constraints for an image model
GET
Get Image Model Endpoints
Overview
UseGET /api/v1/images/models/{modelId}/endpoints to inspect public endpoint metadata for a specific image model. The response includes supported parameters, public NanoGPT pricing, streaming support, and image reference constraints when the model supports image inputs.
For model IDs that contain slashes, use the endpoints URL returned by GET /api/v1/images/models.
Authentication
Authentication is optional.Authorization: Bearer YOUR_API_KEYx-api-key: YOUR_API_KEY
Request
Response
Fields
| Field | Type | Description |
|---|---|---|
id | string | Image model ID. |
endpoints | array | Public endpoint metadata for the model. Currently one public endpoint is returned per model. |
provider_name | string | Public provider display name. |
provider_slug | string | Public provider slug. |
provider_tag | string or null | Currently null; provider selection is not exposed on this API surface. |
supported_parameters | object | Machine-readable parameter metadata for this model endpoint. |
allowed_passthrough_parameters | array | Empty for now; provider passthrough is not supported. |
supports_streaming | boolean | Currently false. |
pricing | array | Public NanoGPT pricing metadata. This is not provider at-cost pricing. |
input_reference_constraints | object | Included when the model supports image inputs. |
Example
Notes
- Provider selection, provider passthrough options, and provider-specific endpoint choice are not supported yet.
pricinguses public NanoGPT pricing.- Check
supported_parametersbefore deciding which request controls to show.