Submit Image Background Change Task
Image Tools
Submit Image Background Change Task
Replace or modify the background of an image. Either prompt or bg_color must be provided.
POST
Submit Image Background Change Task
Authorizations
Authenticate using Bearer token. Get your API Key from the WeryAI Console.
Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx
Body
application/json
Source image URL
Example:
"https://example.com/image.jpg"
Background description prompt (either prompt or bg_color must be provided)
Example:
"beach sunset background"
Background color code (either prompt or bg_color must be provided)
Example:
"#FFFFFF"
Callback URL where results will be sent when task completes
Example:
"https://your-server.com/webhook"
Caller ID (for business association)
