Remove background from uploaded images

API call cost
Each API call consumes 1 credits.
Request
- Method: POST
- URL:https://yimeta.ai/api/v1/remove-bg-generator
Request Header
Parameter | Type | Description |
authorization | string |
Request Body
Parameter | Type | Required | Description |
img_url | string |
Required | URL or file of the original image |
{
"img_url": "https://temp.yimeta.ai/ai-demo/upload-res/2024-11-26/13caa1eed81789e3cd8f31808741baea.webp"
}
Respones
Response Body
Parameter | Type | Description |
status | string | API task status |
task_id | string | The unique ID of the task. |
result | list | result image |
Example
####successed
{
"stauts": "successed",
"task_id": "f12400e2-5546-4286-92e9-2263d2f5c3fd",
"result": ["https://art-global.yimeta.ai/workflow/aa4a777e2644f16372fd0cf4b5baffcb.webp"]
}
####over time
{
"status": "executing",
"task_id": "f12400e2-5546-4286-92e9-2263d2f5c3fd"
}
####failed
{
"status": "failed",
"error": "error message"
}