run_model
Run any WaveSpeed model by ID with matching inputs. Pass @path to upload local files, then retrieve output URLs or recover unfinished runs using the prediction ID.
Instructions
Run any WaveSpeed model. input keys come from get_model_schema. Local files: pass "@./path" string values — they are uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns output URLs. If the wait limit is hit, the task keeps running; recover it with get_prediction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Model inputs per its schema (e.g. {"prompt": "...", "aspect_ratio": "16:9"}) | |
| model | Yes | Model ID from list_models | |
| wait_seconds | No | Max seconds to wait; 0 = submit only and return the prediction id |