Text To Video Price
text_to_video_priceCalculate the cost of generating a video from text by entering a model and optional settings such as dimensions, frames, FPS, and steps before running the job.
Instructions
Calculate price for text-to-video 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": {
"model": "<model>"
},
"name": "text_to_video_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second (optional; limits per model, see the model list) | |
| model | Yes | Video generation model name | |
| steps | No | Number of inference steps. Limits per model (see the model list) | |
| width | No | Video width in pixels. Limits per model (see the model list) | |
| frames | No | Number of video frames. Limits per model (see the model list) | |
| height | No | Video height in pixels. Limits per model (see the model list) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||