---
title: "Get a model version"
description: "Reads one model version by its version ID, the ID that generation endpoints take. Use it to look up a LoRA's trigger words and base model before generating."
canonical: "https://platform.pixai.art/en/docs/api-v2/model/getGenerationModelVersion"
last-updated: "2026-11-02"
---

# Get a model version

Reads one model version by its version ID, the ID that generation endpoints take. Use it to look up a LoRA's trigger words and base model before generating.



## GET https://api.pixai.art/v2/generation-model-version/{id}

Authentication: optional. Send your API key as `Authorization: Bearer <API key>` to read as your account.

Machine-readable OpenAPI spec: https://platform.pixai.art/openapi-spec.v2.yaml

### Parameters

- `id` (in path, string, required)
  The model version ID.

### Responses

- `200`
  The version.
  Body fields:
  - `id` (string, required)
    The version ID. Pass it as `modelVersionId`, or as `loras[].modelId` for a LoRA.
  - `modelId` (string, required)
    The ID of the model this version belongs to.
  - `modelTitle` (string, optional)
  - `name` (string, optional)
    Version name.
  - `modelType` (string | null, optional)
    e.g. `SDXL_MODEL`, `MMDIT26B_MODEL` or `SDXL_LORA`.
  - `loraBaseModelType` (string | null, optional)
    For a LoRA, the base model type it was trained for. Use a base model of this type.
  - `loraBaseModelId` (string | null, optional)
    For a LoRA, the base model it was trained on.
  - `status` (string | null, optional)
    Only `available` versions can be used for generation.
  - `extra` (object, optional)
    Version details. `triggerWords` holds the default trigger words of a LoRA.
  - `extra.triggerWords` (string, optional)
  - `mediaId` (string | null, optional)
    Cover image media ID.
- `404`
  `NOT_FOUND`: no such model or version, or it is private. The two cases are not told apart.
