Models
get/models/{model}

Request

  • Base URL
    https://api.hedra.com/v3
  • Auth
    none required

Path parameters

modelstring required

The model's public id (GET /v3/models).

Response

Successful Response

idstring required

The model's public id — the value POST /v3/models/{model} takes.

modality'image' | 'video' | 'audio' | 'text' required

The kind of output a model produces — the axis ?modality= filters on.

namestring nullable

Human-readable name.

descriptionstring nullable

One-line summary of what the model does.

price_descriptionstring

Short USD pricing summary for this model. Exact cost depends on input.

logo_urlstring nullable

URL of the provider's logo.

context_lengthinteger nullable

A chat model's context window in tokens; null for other models.

max_output_tokensinteger nullable

The largest max_tokens a chat model accepts; null for other models.

input_schemaobject

JSON Schema for this model's input object on submit — the same schema GET /v3/models/{model}/openapi.json embeds. For a chat model, the JSON Schema of the POST /v3/chat/completions request body as this model accepts it; a chat model has no per-model OpenAPI document.

output_schemaobject

JSON Schema of one item of a completed job's outputs[]. Empty for a chat model.

Changes