estimate_video
Estimate video generation costs before generation, compare models by length, resolution, and aspect ratio, and check remaining budget and duplicate requests.
Instructions
과금 없이 비용을 견적한다. 조건(길이·해상도·화면 비율)에 맞는 모델을 싼 순서로, 남은 예산과 함께 돌려준다.
generate_video 를 부르기 전에 모델을 고르거나 예산이 충분한지 볼 때 쓴다. cheapest 는 예산 안에서 가장 싼 모델.
조건을 지정하지 않으면 모델별 가장 싼 값을 가정한다. 조건을 만족하지 못하는 모델은 unavailable 에 이유와 함께 나온다.
prompt 를 주면 같은 요청이 최근에 있었는지(duplicate_of)도 알려 준다.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "estimate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | No | ||
| resolution | No | ||
| aspect_ratio | No | ||
| duration_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||