Qubico
  1. Flux
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
        GET
    • AI Hug
      • Get Task
      • Create Task
    • 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. 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-06-30 09:58:24
Previous
Available LoRA and Controlnet
Next
Kontext
Built with