change_background
Replace an existing image's background with a new studio scene described by a prompt, optionally matching subject lighting to the new backdrop.
Instructions
Swap or generate a new studio background for an existing image.
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": {
"imageUrl": "<imageUrl>",
"backgroundPrompt": "<backgroundPrompt>"
},
"name": "change_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Source photo URL to modify background. | |
| lightingMatch | No | Whether to match subject lighting to background. | |
| backgroundPrompt | Yes | Description of the new background scene. |