Remove Background
remove_backgroundCut the main subject out of one of the user's own HalalGen pictures onto a see-through background and return the PNG link. Pass image_id (from list_generations or search_vault) or a link to a picture they made or uploaded on HalalGen; links to other sites are refused. Call without a picture to list their latest ones. Costs credits (see list_models or estimate_cost).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "remove_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_id | No | Image or upload ID from list_generations, search_vault or an earlier tool result. | |
| image_url | No | Link to the user's own picture on HalalGen (https://cdn.halalgen.ai/... or https://api.halalgen.ai/image/...), if you don't have the ID. Other links are refused. |