Get Hedra Model Input Schema
hedra_get_model_input_schemaRetrieve a model's exact input JSON schema to see required fields, enums, and accepted media references before submitting a job.
Instructions
Get the exact, typed JSON Schema for one model's submit "input" object — required fields, enums (e.g. allowed resolutions, aspect ratios, durations), and which fields accept media references (images/videos/audios/start_image/end_image) versus plain text/numbers.
ALWAYS call this before hedra_submit_job for a model you haven't used yet in this session — model input shapes vary significantly (e.g. Seedance uses duration_ms as an enum of fixed values; image models use a "quality" tier instead). Guessing the shape wastes a submit call and API validation is strict.
Args:
model_id (string, required): the model's public id (e.g. "seedance-20").
Returns: A standalone OpenAPI operation object for this model's POST endpoint. The interesting part is components.schemas.Input_ (or similarly named) — its "properties" lists every input field with type, enum, and description; "required" lists which are mandatory.
Examples:
Use when: about to call hedra_submit_job for "seedance-20" and unsure of valid resolutions -> call this first, read the resolution enum
Don't use when: you already fetched this model's schema earlier in the same conversation and nothing has changed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The model's public id (e.g. 'seedance-20', 'gpt-image-2', 'hedra-avatar'). Get valid ids from hedra_list_models. |