reframe_video
Reframe video
Description
Reframe a video to a different aspect ratio (e.g. 16:9 master -> 9:16 vertical): the whole original frame is kept and the new canvas around it is generated, with the sound and timing unchanged. Clips up to 300 seconds. Paid render; returns the served URL of the reframed video. Every placement at once (a free blur-pad by default): repurpose_video. A presenter on any video: add_presenter.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the source video URL; a URL, not a local file path; use upload_file for local files |
aspectRatiorequired | "9:16" | "1:1" | "16:9" | "4:3" | "3:4" | "21:9" | "9:21" | the target aspect ratio |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/reframe_video.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reframe_video","arguments":{"video":"<string>","aspectRatio":"<one of the listed values>"}}}
CLI
hermoso call reframe_video --json '{"video":"<string>","aspectRatio":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
repurpose_videoRepurpose a video for every placementadd_presenterAdd a presenter to any videocheck_videoCheck a videoscore_adScore adrepurpose_imageRepurpose a static ad into variants × formatsmake_insertMake an insert cliplayerize_imageSplit an image into editable layersfind_soundFind a soundsplit_imageCut a picture into tilesrepurpose_transcriptRepurpose a video transcript