Skip to content

Models

GET https://api.studiolm.dev/v1/models

Returns all available models — both text and image.

Example

for m in client.models.list():
    print(m["type"], m["id"])
# text  gemma-3-12b-it-qat
# text  gemma-3-27b-it-qat
# image RealisticV1
# image AnythingV2
curl https://api.studiolm.dev/v1/models \
  -H "Authorization: Bearer sk-..."

Response

{
  "object": "list",
  "data": [
    {
      "id": "gemma-3-12b-it-qat",
      "object": "model",
      "created": 1677858242,
      "owned_by": "studiolm",
      "display_name": "StudioLM 3.1",
      "type": "text"
    },
    {
      "id": "RealisticV1",
      "object": "model",
      "created": 1677858242,
      "owned_by": "studiolm",
      "display_name": "RealisticV1",
      "description": "Highly realistic portraits and photography.",
      "type": "image"
    }
  ]
}

The id field always contains the human-readable display name — internal model identifiers are never exposed.

Info

Use the type field to filter between "text" and "image" models.