hermosodocs

repurpose_video

Repurpose a video for every placement

Area: post-production & analysis · Creative generation. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
videorequiredstringthe video: an https / upload_file URL, a Library id (L0…), or a local path on the CLI
placementsstring | 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
padobjectthe 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.fillstring
pad.blurnumber
pad.dimnumber
pad.positionstring | number
captionsboolean | string | objecttrue = word-timed captions on every file (only when the user asks); a textStyle preset name or object sets the look
wordsPerCueintegercaptions: 1-8 words a cue (default 4)
languagesstring[]dub into these languages (paid), e.g. ['Spanish','de']; the original is kept too
namestringthe asset name the files are named after
dryRunbooleanprice only: nothing made, nothing charged
get_costbooleantrue: return the price only; nothing runs or bills
expected_creditsnumberthe get_cost price; refused unbilled if the live price differs
idempotency_keystringchosen 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.

All 102 Creative generation tools · tools.json