Ai Photo Background Change
AI-Photo-Background-ChangeThe AI Photo Background Change API enhances images by isolating the subject from the original background, enabling a wide range of applications including product-focused use cases in business. This API enables developers to replace the background using custom prompts or predefined templates. Sample Usage Before: After: Before: After:
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": {
"request": "<request>"
},
"name": "AI-Photo-Background-Change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polling | No | If true (default), keep polling until the task finishes, returning the final result. If false, return immediately without waiting for the task to finish. | |
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |