---
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. The default tier: medium quality at the default (1k) resolution. See `pricing` for the full quality/resolution matrix.
  - `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.
  - `pricing` ImagePricingTier[] — Per-image prices by (quality, resolution) tier. One entry per combination the model serves; omitted when the model prices all qualities identically (see `image_price`).
    - `price_per_image` integer, required — Price per generated image, in 1/100,000,000ths of a USD cent.
    - `quality` string, required — Quality tier this price applies to: `"low"`, `"medium"`, or `"high"`. Medium is the default quality a request serves at when it leaves `quality` unset.
    - `resolution` string, required — Output resolution this price applies to: `"1k"` or `"2k"`. 1k is the default when a request leaves `resolution` unset.
  - `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/revisions/0b56d0413ce0/schema)
