Image To Video Price
image_to_video_priceCalculate the cost of an image-to-video generation job before running it, factoring in model, resolution, frames, FPS, steps, and reference-file surcharges.
Instructions
Calculate price for image-to-video generation.
For reference mode, pass the number of reference files the job will carry (not the files themselves). Surcharges do not stack: the highest applies, so 4 images plus a video is x3, not x6.
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": "image_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) | |
| ref_audios_count | No | How many ref_audios the job will send. No surcharge | |
| ref_images_count | No | How many ref_images the job will send. More than 2 doubles the price | |
| ref_videos_count | No | How many ref_videos the job will send. Any video triples the price |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||