---
title: "モデルバージョンの取得"
description: "バージョン ID（生成エンドポイントが受け取る ID）で 1 つのモデルバージョンを取得します。生成前に LoRA のトリガーワードやベースモデルを調べるのに使います。"
canonical: "https://platform.pixai.art/ja/docs/api-v2/model/getGenerationModelVersion"
last-updated: "2026-11-02"
---

# モデルバージョンの取得

バージョン ID（生成エンドポイントが受け取る ID）で 1 つのモデルバージョンを取得します。生成前に LoRA のトリガーワードやベースモデルを調べるのに使います。



## 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.ja.yaml

### Parameters

- `id` (in path, string, required)
  モデルバージョン ID です。

### Responses

- `200`
  バージョン。
  Body fields:
  - `id` (string, required)
    バージョン ID です。`modelVersionId` として、LoRA の場合は `loras[].modelId` として渡します。
  - `modelId` (string, required)
    このバージョンが属するモデルの ID です。
  - `modelTitle` (string, optional)
  - `name` (string, optional)
    バージョン名です。
  - `modelType` (string | null, optional)
    例: `SDXL_MODEL`、`MMDIT26B_MODEL`、`SDXL_LORA`。
  - `loraBaseModelType` (string | null, optional)
    LoRA の場合、学習対象のベースモデルタイプです。このタイプのベースモデルと組み合わせてください。
  - `loraBaseModelId` (string | null, optional)
    LoRA の場合、学習に使われたベースモデルです。
  - `status` (string | null, optional)
    生成に使えるのは `available` のバージョンのみです。
  - `extra` (object, optional)
    バージョンの詳細です。`triggerWords` には LoRA のデフォルトのトリガーワードが入ります。
  - `extra.triggerWords` (string, optional)
  - `mediaId` (string | null, optional)
    カバー画像のメディア ID です。
- `404`
  `NOT_FOUND`: モデルまたはバージョンが存在しないか、非公開です。この 2 つのケースは区別されません。
