Generate media
generateRun one image or video card from get_task: this spends the workspace credits, so ask your human first, naming the card and its price. Refused when the price is no longer accept_price or the card now leaves out other images; read get_task again without seen then. The result lands in the task roll; poll get_task for files.
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": {
"task_id": "<task_id>",
"card": "<card>",
"accept_price": "<accept_price>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | A card id from get_task cards. | |
| task_id | Yes | ||
| left_out | No | The card's left_out image ids, as get_task listed them. | |
| accept_price | Yes | The card price your human agreed to; null when get_task shows no price (set when it runs). |