face_swap_video
Swap only the face in a video
Description
VIDEO FACE SWAP, face only: every frame gets the new face; hair, body, clothes, expressions, background and sound stay (recast_motion swaps the whole person). Up to 30 s with one face clearly in view (longer clips are cut to 30 s). A frame with no face keeps its own picture and is not charged. Priced per frame; dryRun returns this clip's price. Using a real person’s face, likeness or voice confirms you are them or have their consent, take full, unlimited responsibility for its use and will cover any claim against Hermoso (hermoso.ai/terms). Paid plan only; recorded.
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 |
imagerequired | string | a clear photo of the new face, one person looking at the camera |
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/face_swap_video.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"face_swap_video","arguments":{"video":"<string>","image":"<string>"}}}
CLI
hermoso call face_swap_video --json '{"video":"<string>","image":"<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
recast_motionRecast motionproduct_photoshootProduct photoshoottrack_objectsTrack objects in a videoface_match_cutFace match cutchange_voiceChange narrator voicephoto_to_modelPhoto to 3D modeldub_videoDub videoupscale_imageUpscale an imagerewrite_ad_lineChange the hook or call to actionsplit_vocalsRemove vocals (split a song into stems)