estimate_generation
Calculate credit costs for Wan 3.0 text-to-video, image-to-video, or reference-to-video requests before generation. Provide model, resolution, aspect ratio, and duration to preview required credits.
Instructions
Quote credits before generation.
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": {
"input": "<input>"
},
"name": "estimate_generation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |