create_job
Start a generation job and CHARGE its price in credits to the account. model is an id from list_models; input holds that model's fields (for example prompt, seconds, resolution, aspect, image_urls for video; prompt, size, aspect for images). Returns the job with its id, status and price; poll get_job until status is done (the result links are in output) or failed (refunded).
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>",
"input": "<input>"
},
"name": "create_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The model's input fields, as list_models describes them | |
| model | Yes | Model id from list_models, e.g. seedance-2.5 |