Create the video
create_videoUse this when the user accepted the price from quote_video: makes the video with Deepnia from that quote_id and credits, paid with the user's Deepnia credits and saved in their Deepnia account. Refunded if it fails; the same quote_id never charges twice. Then follow it with get_creation.
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": {
"quote_id": "<quote_id>",
"credits": "<credits>"
},
"name": "create_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credits | Yes | The price in credits from quote_video, as shown to and accepted by the user. | |
| quote_id | Yes | The quote_id returned by quote_video. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | Yes | ||
| type | Yes | ||
| state | Yes | ||
| credits | Yes | ||
| results | Yes | ||
| open_in_deepnia | Yes | ||
| check_again_in_seconds | Yes |