repurpose_video
Repurpose a video for every placement
Description
ONE video in, EVERY placement out, in one job, as a named file list (<name>_<placement>_<WxH>[_<lang>].mp4) with a manifest. Placements: 'everywhere' (default: 9:16, 4:5, 1:1, 16:9), any W:H, a pixel size (1200x628) or a platform word (tiktok, reels, stories, feed, square, youtube, linkedin, pinterest). Each is reframed by a BLUR-PAD by default (the whole frame over a blurred copy of itself; free, no AI), reframe 'crop' (fill, edges cut; free) or 'ai' (the new canvas generated around the frame; paid, for a canvas the engine makes, else padded and said). A placement may be {placement, reframe} to mix. Optional captions (word-timed, ~4 words a cue, placed for each canvas) and languages (a lip-synced dub per language; every placement of each). A pack of pads and crops only is billed 0. dryRun:true = the exact price (the sum of every leg's own price), which is what it charges. For ONE canvas use post_edit op pad.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the video: an https / upload_file URL, a Library id (L0…), or a local path on the CLI |
placements | string | object[] | default ['everywhere']; a canvas, a WxH size, a platform word, or {placement, reframe} |
reframe | "pad" | "crop" | "ai" | default 'pad' (free); 'ai' is paid and only when the user asks |
pad | object | the pad's look: fill 'blur' (default) or a #rrggbb colour, blur 0-1, dim 0-0.6, position top/center/bottom or 0-1 |
pad.fill | string | |
pad.blur | number | |
pad.dim | number | |
pad.position | string | number | |
captions | boolean | string | object | true = word-timed captions on every file (only when the user asks); a textStyle preset name or object sets the look |
wordsPerCue | integer | captions: 1-8 words a cue (default 4) |
languages | string[] | dub into these languages (paid), e.g. ['Spanish','de']; the original is kept too |
name | string | the asset name the files are named after |
dryRun | boolean | price only: nothing made, nothing charged |
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/repurpose_video.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"repurpose_video","arguments":{"video":"<string>"}}}
CLI
hermoso call repurpose_video --json '{"video":"<string>"}'
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
post_editPost-production editreframe_videoReframe videorepurpose_imageRepurpose a static ad into variants × formatscheck_videoCheck a videolayerize_imageSplit an image into editable layersscore_adScore adsplit_imageCut a picture into tilesmake_insertMake an insert clipproduct_moveSix-second product movefind_soundFind a sound