get_model
Fetch a model's input schema to see required parameters, defaults, and value ranges before building a request to run inference.
Instructions
Get one hosted model's input schema.
Backs ``GET /v1/models/{model_id}``. The ``input_schema`` is the
JSON Schema for ``run_model``'s ``inputs`` — property types,
defaults, enums, and min/max ranges — so read it before building a
request rather than guessing parameter names. Properties whose
``format`` is ``image_uri``/``video_uri``/``audio_uri`` take a
public HTTPS URL.
Also returns ``description``, ``categories``, ``base_price_usd``
per ``price_unit``, and ``model_url``.
Args:
model_id: The model's identifier, slashes included, e.g.
``blackforestlabs/flux-1-kontext/pro/edit``. Find one with
``list_models``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes |