---
title: "Get full information about an image generation model with its model_id."
method: GET
path: "/v1/image-generation-models/{model_id}"
tags: ["v1"]
---

# Get full information about an image generation model with its model_id.

`GET /v1/image-generation-models/{model_id}`

## Path parameters

- `model_id` string, required

## Response `200`

Success

- ImageGenerationModel — Details of an image generation model
  - `aliases` string[], required — Alias ID(s) of the model that user can use in a request's model field.
  - `created` integer, required — Model creation time in Unix timestamp.
  - `fingerprint` string, required — Fingerprint of the xAI system configuration hosting the model.
  - `id` string, required — Model ID.
  - `image_price` integer, required — Price of a single image in USD cents.
  - `input_modalities` string[], required — The input modalities supported by the model.
  - `max_prompt_length` integer, required
  - `object` string, required — The object type, which is always `"model"`.
  - `output_modalities` string[], required — The output modalities supported by the model.
  - `owned_by` string, required — Owner of the model.
  - `version` string, required — Version of the model.

## Other responses

- `400` — Bad request. The request is invalid or an invalid API key is provided.
- `404` — Model not found

---

[API](https://skmtc.net/x/apis/xai-s-rest-api.md) · [All operations](https://skmtc.net/x/apis/xai-s-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/x/xai-s-rest-api/versions/8f6014272113/schema)
