track_objects
Track objects in a video
Description
OBJECT TRACKING: say what to follow ('person', 'car, dog'); every match gets a box and label that keep their id for the whole clip, drawn over the original frames (sound kept). Up to 30 s. Nothing found is said and not charged. Paid; dryRun returns this clip's price.
Parameters
| Parameter | Type | Description |
|---|---|---|
videorequired | string | the video: an https / upload_file URL, a post link, a Library id (L0…), or a local path on the CLI |
trackrequired | string | what to follow, comma separated, e.g. 'person, dog' |
faces | boolean | also box every face |
box | "corners" | "full" | "dashed" | "none" | default 'corners' |
palette | "neon" | "single" | "pastel" | "acid" | "mono" | "warm" | box colours, default 'neon' |
links | "none" | "sequential" | "star" | "mst" | "full" | lines between the objects with their distance: sequential (in order), star (from the first), mst (shortest path), full; default 'none' |
trail | boolean | false = no motion trail |
hud | boolean | false = no corner readout |
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/track_objects.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"track_objects","arguments":{"video":"<string>","track":"<string>"}}}
CLI
hermoso call track_objects --json '{"video":"<string>","track":"<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
face_swap_videoSwap only the face in a videoface_match_cutFace match cutproduct_photoshootProduct photoshootphoto_to_modelPhoto to 3D modelrecast_motionRecast motionupscale_imageUpscale an imagechange_voiceChange narrator voicesplit_vocalsRemove vocals (split a song into stems)dub_videoDub videovideo_filterApply a retro or camera filter to a video