latestOpenAPI 3.1.02026-08-2243193211.3 KB

0b56d0413ce0

v1

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

get/v1/image-generation-models/{model_id}

Path parameters

model_idstring required

ID of the model to get.

Response

Success

aliasesstring[] required

Alias ID(s) of the model that user can use in a request's model field.

createdinteger required

Model creation time in Unix timestamp.

fingerprintstring required

Fingerprint of the xAI system configuration hosting the model.

idstring required

Model ID.

image_priceinteger 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_modalitiesstring[] required

The input modalities supported by the model.

max_prompt_lengthinteger required
objectstring required

The object type, which is always "model".

output_modalitiesstring[] required

The output modalities supported by the model.

owned_bystring required

Owner of the model.

versionstring required

Version of the model.