Generation inputs
Select an exact model ID in the catalogue. Its endpoint, required fields, input types and defaults apply to that ID. Models from the same provider can accept different inputs.
Discover the schema
| Source | What it provides |
|---|---|
| Model catalogue | The model’s submit endpoint, parameter names and examples. |
GET /v1/models |
Model IDs visible to the key. The response does not include the generation endpoint. |
GET /model/info |
Inspect model_info.supported_openai_params for the field names declared by a model. Consult its model page for types and accepted values. |
GET /v2/models |
Jobs API model IDs and each model’s input_schema, including required fields. |
Select an input mode
Use the input field defined by the model. Some endpoints accept flat fields, others take nested objects or an ordered array of content parts. A URL, an uploaded file and a reference ID are interchangeable only where the model documents each format.
Example. HappyHorse image-to-video accepts a starting image in first_frame_url. Its reference-to-video variant accepts an ordered reference_image_urls array. Use the ID and fields from the same model page.
Media URLs
Provide publicly reachable URLs that remain valid while the job is queued and processed. The host must serve the original file to an automated client. For private local inputs, upload a file and use the returned URL where the model accepts it. Supported file types, sizes, durations and reference counts are model-specific.
Request body
Use the native endpoint’s JSON or multipart format. Use input on Jobs API requests. For a native route, nest fields under input only when the model schema specifies that object. See the worked submission.