remove_background
Removes the background from a previously generated picture, updates the saved image, and optionally places the cut-out in a shot or the Media bin; credit use requires confirmation.
Instructions
Take the background off a picture made before (generated_pictures id) with Higgsfield's remover; the saved picture is changed. Uses a little of the person's Higgsfield credits: the first call only says so; call again with confirm: true after they agree. Optionally puts the result into a shot or the Media bin (as). For free trimming, cropping or flipping of a picture already in a shot, use cutout.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Where to put the cut-out; leave out to only change the saved picture. | |
| id | Yes | A picture id from generated_pictures. | |
| shot | No | Shot id (from get_project). Default: the shot on screen. | |
| confirm | No | true only after the person agreed to spend the credits. | |
| replace | No | A cast member id in that shot whose picture this replaces. |