Skip to Content
Cheapest Imagen
API reference

List models

Lists the models your API key can use, with the id to pass in the model field. Every listed model is one the image endpoints accept.

GET
/models

Lists the models your API key can use, with the id to pass in the model field. Every listed model is one the image endpoints accept.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, sent as Authorization: Bearer <key>.

Response Body

List models

application/json
  1. response
object?"list"
Value in"list"
data?array<>
Example Request
curl -X GET 'https://api.cheapestimagen.com/v1/models'
Example Response
{  "object": "list",  "data": [    {      "id": "string",      "object": "model",      "created": 0,      "owned_by": "string",      "official_model": "string",      "resolutions": [        "1K"      ],      "credits_per_image": 0    }  ]}