remove background by recraft/remove-background
All APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
The model name to use for generation. Required field.
recraft/remove-background for this endpointrecraft/remove-background "recraft/remove-background"
The URL to receive generation task completion updates. Optional but recommended for production use.
"https://your-domain.com/api/callback"
Input parameters for the generation task
Request successful
Response status code
200, 401, 402, 404, 422, 429, 455, 500, 501, 505 Response message, error description when failed
"success"