cut_out_background
Remove the background from a picture
Description
Cut the subject out of an existing PICTURE: a transparent PNG of the same picture, nothing re-drawn (generate_image background:'transparent' paints a new one). A flat price per picture; dryRun returns it. Lands in the Library.
Parameters
| Parameter | Type | Description |
|---|---|---|
imagerequired | string | the picture: an https / upload_file URL, a Library id (L0…), or a local path on the CLI |
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/cut_out_background.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cut_out_background","arguments":{"image":"<string>"}}}
CLI
hermoso call cut_out_background --json '{"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
generate_imageGenerate ad imagevideo_filterApply a retro or camera filter to a videocut_out_video_backgroundRemove the background from a videosplit_vocalsRemove vocals (split a song into stems)reangle_imageTurn the camera around a pictureupscale_imageUpscale an imagemake_singing_adMake a singing adphoto_to_modelPhoto to 3D modelcheck_hookCheck a video’s hookface_match_cutFace match cut