Qubico
  1. Tools
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
        • Remove Background-Get Task
    • 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
        POST
      • Segment With Prompt API-Get Task
        GET
    • Account Management
      • Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
  • Schemas
    • Schemas
      • wan22-txt2video-14b
      • wan22-img2video-14b
      • motion brush
      • Create Task
      • camera control
      • Cancel Params
      • Float2 Point
      • Control Points
      • Txt2video-1_3B
      • Txt2video-14B
      • Txt2video-14B-lora
      • Img2video-14B
      • Img2video-14B-lora
      • Img2video-14B-keyframe
      • Img2video-14B-control-camera
      • hunyuan-txt2video-lora
      • Trellis API/text-to-3D
      • Trellis API/image-to-3D
      • VideoGenerationRequest
      • TaskRequest
      • VideoGenerationResponse
      • TaskConfig
      • TaskInput
      • TaskResponse
      • ErrorResponse
    • Response
      • Unified-Task-Response
    • RequestBodies
      • Unified-Task-Request-Body
    • config
    • control_net_setting
    • lora_setting
  1. Tools

Segment With Prompt API

POST
/api/v1/task
ModelPrice (USD)
Qubico/image-toolkit$0.01 per million pixels, rounded up if less than 1 million.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/task' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "Qubico/image-toolkit",
    "task_type": "segment",
    "input": {
        "image": "https://st.mngbcn.com/rcs/pics/static/T5/fotos/outfit/S20/57034757_56-99999999_01.jpg",
        "prompt": "clothes,shoes",
        "negative_prompt": "pants",
        "segment_factor": -15
    } 
}'
Response Response Example
{
    "code": 200,
    "data": {
        "task_id": "75a20dc9-ac3f-4869-b8d5-b9xxxxx7",
        "model": "Qubico/image-toolkit",
        "task_type": "segment",
        "status": "",
        "config": {
            "service_mode": "",
            "webhook_config": {
                "endpoint": "",
                "secret": ""
            }
        },
        "input": {
            "image": "https://img.midjourneyapi.xyz/ephemeral/4xxxxxxx.jpg",
            "prompt": "clothes,shoes",
            "negative_prompt": "pants",
            "segment_factor": -15
        },
        "output": null,
        "meta": {
            "created_at": "2024-10-23T10:31:31.012033927Z",
            "started_at": "0001-01-01T00:00:00Z",
            "ended_at": "0001-01-01T00:00:00Z"
        },
        "detail": null,
        "logs": [],
        "error": {
            "code": 0,
            "raw_message": "",
            "message": "",
            "detail": null
        }
    },
    "message": "success"
}
Modified at 2025-06-25 07:03:16
Previous
Get Task
Next
Segment With Prompt API-Get Task
Built with