Qubico
  1. Image Background Remover
Qubico
  • Get Started
    • Overview
    • Quickstart
  • Endpoints
    • image
      • Flux
        • Flux with LoRA and Controlnet
        • Available LoRA and Controlnet
        • Flux API with Redux Variation, Fill, Inpaint and Outpaint
        • Create Task
          • Kontext
          • Text to Image
          • Image to Image
        • Get task
      • Qwen Image
        • Text to Image
        • Image Edit
        • Get Task
      • Image Upscaler
        • Image Upscale(Super Resolution) API
        • Image Upscale-Get Task
      • Image Background Remover
        • Remove Background API
          POST
        • Remove Background-Get Task
          GET
    • video
      • Wan
        • Generate WanX Task with LoRA Using Qubico
        • Available LoRA Types for Wanx
        • Use Cases for Wanx LoRA
        • Use Cases for Wanx Control Camera
        • Create Task
        • Get Task
      • Skyreels
        • Create Task
        • Get Task
      • Framepack
        • Create Task
        • Get Task
      • Hunyuan Video
        • How to Make a Hunyuan API Call
        • Generate Video
        • Get Task
      • AI Hug
        • Create Task
        • Get Task
      • Video Upscale
        • Video Upscale
        • Video Upscale-Get Task
    • other
      • Trellis
        • Create Task
        • Get Task
    • Tools
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
    • Account Management
      • Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
  1. Image Background Remover

Remove Background-Get Task

Developing
GET
/api/v1/task/{task_id}
This endpoint from PiAPI's Remove Background API retrieves the output of the Remove Background task where users could check their task output.

Request

Path Params

Header Params

Responses

🟢200OK
application/json
OK-Successful Response
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/task/' \
--header 'X-API-Key;'
Response Response Example
200 - Example 1
{
    "code": 200,
    "data": {
        "task_id": "6b9bd015-8f13-4ff5-9081-c87e716427f1",
        "model": "Qubico/image-toolkit",
        "task_type": "background-remove",
        "status": "pending",
        "config": {
            "service_mode": "",
            "webhook_config": {
                "endpoint": "",
                "secret": ""
            }
        },
        "input": {
            "image": "https://static.flomoapp.com/file/2024-10-13/895452/1728800202.451645_xYWPucOx.jpg?OSSAccessKeyId=LTAI5tAXfrgN5cBQ7Bym1EcM&Expires=1742648337&Signature=wDuQPlO4VwL2BFtGAkhZU44%2BkFU%3D"
        },
        "output": null,
        "meta": {
            "created_at": "2025-03-20T16:09:27.880300789Z",
            "started_at": "0001-01-01T00:00:00Z",
            "ended_at": "0001-01-01T00:00:00Z",
            "usage": {
                "type": "llm",
                "frozen": 0,
                "consume": 10000
            },
            "is_using_private_pool": false
        },
        "detail": null,
        "logs": [],
        "error": {
            "code": 0,
            "raw_message": "",
            "message": "",
            "detail": null
        }
    },
    "message": "success"
}
Modified at 2025-12-03 09:10:04
Previous
Remove Background API
Next
Generate WanX Task with LoRA Using Qubico
Built with