run_model
Run a model synchronously with the caller's API key. Images return URLs; videos are queued and this waits up to 60 s before returning the queue status instead.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Force the task kind (inferred otherwise) | |
| input | Yes | Model input: prompt, size, n, image, seconds … | |
| model | Yes | Model id |