Qubico
  1. Flux
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
          GET
      • 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
      • 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. Flux

Flux API with Redux Variation, Fill, Inpaint and Outpaint

Flux API (Task Creation with fill or redux)#

Model, Task Type and Usage#

Model NameTask TypeUsage
Qubico/flux1-dev-advancedfill-inpaintInpaint a masked area of a given image
Qubico/flux1-dev-advancedfill-outpaintOutpaint / pan / expand a given image
Qubico/flux1-dev-advancedredux-variationRemix / variation on a given image
Contact UsContact us if you need a complex workflow customization-
Note: Qubico/flux1-dev-advanced is the only model that supports fill-inpaint, fill-outpaint, and redux-variation in Qubico's Flux API.

Example: Request Body of Inpaint Task#

{
    "model": "Qubico/flux1-dev-advanced",
    "task_type": "fill-inpaint",
    "input": {
        "prompt": "a girl in blue and red skirt",
        "image": "https://i.ibb.co/TH7xMvd/girl-mask.png"//should come with a white pixel masked area 
    },
    "config": {
        "webhook_config": {
            "endpoint": "",
            "secret": ""
        }
    }
}

Example: Request Body of Outpaint Task#

{
    "model": "Qubico/flux1-dev-advanced",
    "task_type": "fill-outpaint",
    "input": {
        "prompt": "a girl in a great grass sea",
        "image": "https://i.ibb.co/TH7xMvd/girl-mask.png",
        "custom_settings": [ //the total delta pixel size should be less than 1024*1024
            {
                "setting_type": "outpaint",
                "outpaint_left": 500,
                "outpaint_right": 500,//this result in a 2024x1024 final image
                "outpaint_top": 0,
                "outpaint_bottom": 0
            }
        ]
    },
    "config": {
        "webhook_config": {
            "endpoint": "",
            "secret": ""
        }
    }
}

Example: Request Body of Variation(remix) Task#

{
    "model": "Qubico/flux1-dev-advanced",
    "task_type": "redux-variation",
    "input": {
        "prompt": "a superman",
        "image": "https://i.ibb.co/TH7xMvd/girl-mask.png"
    },
    "config": {
        "webhook_config": {
            "endpoint": "",
            "secret": ""
        }
    }
}
Modified at 2025-12-03 22:14:55
Previous
Available LoRA and Controlnet
Next
Kontext
Built with