Technical Specifications of flux-pro-1-0-fill
| Specification | Details |
|---|---|
| Model ID | flux-pro-1-0-fill |
| Model family | FLUX.1 Fill [pro] |
| Provider / origin | Black Forest Labs |
| Primary capability | Image editing with inpainting and outpainting using an input image, mask, and text prompt |
| Input type | Input image plus either a separate mask or alpha-channel mask, along with a text prompt |
| Typical use cases | Object replacement, scene cleanup, canvas extension, localized edits, and style-guided image modifications |
| Output | Edited image generations, commonly in JPEG or PNG formats depending on the hosting API layer |
| Request style | Asynchronous generation workflow with task submission and result polling on official BFL endpoints |
| Strengths | Strong prompt following, seamless blending, preservation of lighting, perspective, text, and scene context during edits |
What is flux-pro-1-0-fill?
flux-pro-1-0-fill is CometAPI’s platform identifier for FLUX.1 Fill [pro], an image editing model from Black Forest Labs designed for high-quality inpainting and outpainting. Instead of generating a brand-new image from scratch, it is built to modify selected regions of an existing image based on a prompt and mask.
The model is positioned for precise, professional-grade edits: you mark what should change, describe the desired result in natural language, and the model fills or extends the image while trying to keep the rest of the composition visually coherent. Public descriptions emphasize natural blending, scene understanding, and consistency with the original image’s lighting, perspective, and context.
In practice, this makes flux-pro-1-0-fill useful for workflows such as removing unwanted objects, replacing products or props, extending backgrounds, retouching commercial assets, and making targeted creative edits without regenerating the full image.
Main features of flux-pro-1-0-fill
- Mask-based editing: The model is designed around localized image editing, where a mask defines exactly which region should be changed.
- Professional inpainting and outpainting: It supports both filling selected areas inside an image and extending content beyond the original frame.
- Natural scene consistency: Public model descriptions highlight preservation of lighting, perspective, context, and overall visual continuity during edits.
- Strong prompt adherence: The model is intended to follow textual instructions closely when replacing or adding visual content in masked regions.
- Text and complex-scene handling: Source materials note that the model understands complex scenes and text better than simpler editing pipelines, which helps with realistic composite results.
- Flexible mask submission: Official BFL documentation states that masks can be provided separately or via an alpha channel, which helps fit different production pipelines.
- Asynchronous API workflow: On official BFL infrastructure, requests are submitted as tasks and then retrieved through polling or webhook-based result handling.
How to access and integrate flux-pro-1-0-fill
Step 1: Sign Up for API Key
To get started, sign up on CometAPI and generate your API key from the dashboard. After that, store the key securely and use it in the Authorization header for all requests. CometAPI provides OpenAI-compatible API access, so you can integrate using standard SDKs and existing API workflows.
Step 2: Send Requests to flux-pro-1-0-fill API
Use CometAPI's Flux-compatible endpoint at POST /flux/v1/{model}.
curl https://api.cometapi.com/flux/v1/flux-pro-1-0-fill \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COMETAPI_API_KEY" \
-d '{
"prompt": "A breathtaking landscape painting with golden hour lighting",
"width": 1024,
"height": 768,
"steps": 20,
"prompt_upsampling": true
}'
Step 3: Retrieve and Verify Results
The API returns a task ID. Poll GET /flux/v1/get_result?id={task_id} to check generation status and retrieve the output image when complete.