Scale Video
scale_videoResize a video to new dimensions with FFmpeg. This does not add visual detail; use upscale_video for AI enhancement. Costs 2 credits. Returns a job immediately; check_job returns the permanent URL once it is completed. A failed job is refunded automatically.
Give just width or just height to keep the aspect ratio. Width and height must be even. Give both with mode=crop or mode=pad to change the aspect ratio (for example 16:9 to 9:16); stretch distorts the picture.
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": {
"video_url": "<video_url>"
},
"name": "scale_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | stretch distorts to fit, pad letterboxes, crop center-crops. Default: stretch. | |
| width | No | Target width, 2-7680, even. | |
| height | No | Target height, 2-4320, even. | |
| force_new | No | An identical request submitted in the last 10 minutes returns that job without charging again; true generates it again. | |
| pad_color | No | Bar color for mode=pad. Default: black. | |
| video_url | Yes | Video to scale. | |
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| budget_project | No | Optional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project. |