Qubico
  1. AI Hug
Qubico
  • Get Started
    • Overview
    • Quickstart
  • Endpoints
    • 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
    • AI Hug
      • Get Task
        GET
      • Create Task
        POST
    • Faceswap
      • Multi Faceswap
      • Image Faceswap
      • Video Faceswap
      • Get Task
    • TTS
      • Zeroshot Text-to-Speech F5-TTS
      • Get Task
    • Trellis
      • Create Task
      • Get Task
    • WanX
      • 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
      • Get Task
      • Generate Video
    • Mmaudio
      • Get Task
      • Generate Audio
    • DiffRhythm
      • Generate Audio
      • Get Task
    • Ace Step
      • Create Task
        • Text to Audio
        • Audio to Audio
        • Audio Edit
        • Audio Extend
      • Get Task
    • Tools
      • File Upload API
      • Video Upscale
      • Video Upscale-Get Task
      • Remove Background API
      • Remove Background-Get Task
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
      • Image Upscale(Super Resolution) API
      • Image Upscale-Get Task
    • Account Management
      • Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
    • Billings
  1. AI Hug

Create Task

POST
/api/v1/task
This service allows you to generate a hugging video of two people from an image using Qubico's hardware. It uses Qubico's unified task structure.
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/hug-video",
    "task_type": "image_to_video",
    "input": {
        "image_url": "https://i.ibb.co/znPyjxy/person2.jpg"
    }
}'
Response Response Example
200 - Success
{
    "code": 200,
    "data": {
        "task_id": "49439a00-465c-4501-9ce2-14581e01f616",
        "model": "Qubico/hug-video",
        "task_type": "image_to_video",
        "status": "",// pending/processing/failed/completed
        "config": {
            "webhook_config": {
                "endpoint": "",
                "secret": ""
            }
        },
        "input": { },
        "output": {},
        "meta": {},
        "detail": null,
        "logs": [],
        "error": {
            "code": 0,
            "raw_message": "",
            "message": "",
            "detail": null
        }
    },
    "message": "success"
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
OK-Successful Response.
Body

đźź 400Bad Request
đźź 401Unauthorized
Modified at 2025-06-25 07:03:16
Previous
Get Task
Next
Multi Faceswap
Built with