POST /v1/predict
predictPredict what happens next with a world model (video from a prompt and/or frames, or future latents). Long-running: returns a queued job; poll it with get_job. Models: list_models with endpoint "predict", e.g. "nvidia/cosmos-predict-2.5". Billed per call unless the key is a sandbox key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "predict"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| image | No | first frame to continue from (image-to-world); or an https:// URL of an image or video (fetched for you, up to 4 MB) | |
| model | Yes | Model id from GET /v1/models, e.g. provider/name | |
| width | No | ||
| camera | No | ||
| frames | No | clip to continue, oldest first (video-to-world) | |
| future | No | latent models: the observed continuation of `frames`, scored against the prediction (`surprise`) | |
| height | No | ||
| prompt | No | what should happen; required by video models | |
| states | No | action-conditioned models: robot state per context frame (e.g. end-effector xyz, euler xyz, gripper) | |
| actions | No | action-conditioned models: the actions between the context frames, then one per step to predict | |
| control | No | ||
| driving | No | ||
| controls | No | several control clips of different kinds, all the same length; metric-depth models take depth as 16-bit PNGs in millimetres | |
| goal_image | No | latent models: a goal observation; rollouts get an `energy` per step, planners return a `plan` toward it; or an https:// URL of an image or video (fetched for you, up to 4 MB) | |
| num_frames | No | frames to generate (video) or to predict (latent); default and limits are per model | |
| reference_frames | No | action-transfer models: a source clip, oldest first, whose motion (the latent action between each pair of consecutive frames) is replayed from `image` |