FLUX.1 Fill [dev]

FLUX.1 Fill [dev] is an open image editing model for inpainting and outpainting with text guidance and masks. It can replace objects, extend scenes, and adjust regions while preserving context. Ideal for pipelines that need controllable edits on real or generated images.
![FLUX.1 Fill [dev]](https://assets.runware.ai/covers/bfl-flux-1-fill-dev.jpg)
Complete technical specification for integration
Ready-to-use code snippets for common workflows
Cathedral Restoration Editorial Banner

Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:102@1',
positivePrompt: 'Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering.',
width: 1344,
height: 768,
steps: 26,
outpaint: {
left: 256,
right: 256,
blur: 12
},
inputs: {
seedImage: 'https://assets.runware.ai/assets/inputs/ee9cd35a-d1f3-4aa2-b53a-f53c0a1cf94e.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:102@1",
"positivePrompt": "Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering.",
"width": 1344,
"height": 768,
"steps": 26,
"outpaint": {
"left": 256,
"right": 256,
"blur": 12
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/ee9cd35a-d1f3-4aa2-b53a-f53c0a1cf94e.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "5f722b0b-c90a-40ab-a691-ce6c6962e546",
"model": "runware:102@1",
"positivePrompt": "Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering.",
"width": 1344,
"height": 768,
"steps": 26,
"outpaint": {
"left": 256,
"right": 256,
"blur": 12
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/ee9cd35a-d1f3-4aa2-b53a-f53c0a1cf94e.jpg"
}
}
]'runware run runware:102@1 \
positivePrompt="Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering." \
width=1344 \
height=768 \
steps=26 \
outpaint.left=256 \
outpaint.right=256 \
outpaint.blur=12 \
inputs.seedImage=https://assets.runware.ai/assets/inputs/ee9cd35a-d1f3-4aa2-b53a-f53c0a1cf94e.jpg{
"taskType": "imageInference",
"taskUUID": "5f722b0b-c90a-40ab-a691-ce6c6962e546",
"model": "runware:102@1",
"positivePrompt": "Seamlessly extend the existing cathedral restoration photograph beyond both horizontal edges to create a cohesive panoramic editorial image. Keep the original central conservator, organ pipes, scaffold and lighting unchanged. Continue the Gothic nave architecture naturally on both sides with matching pale limestone columns, pointed arches, shadowed side aisles and accurate perspective aligned to the existing vanishing point. Extend the timber-and-steel scaffold decks, rails, canvas dust sheets and neatly routed work cables through the new areas with believable structural connections. Add subtle conservation details near the outer edges: a closed wooden tool chest, labeled archival crates without readable text, coiled rope and a portable work lamp. Match the warm tungsten glow around the gilded pipes, cool blue clerestory daylight, suspended dust, restrained navy, stone, amber and oxidized-brass palette, lens character, grain, depth of field and exposure of the source. Photorealistic architectural documentary photography, quiet and reverent mood, balanced 16:9 composition, no additional people, no signage, no lettering.",
"width": 1344,
"height": 768,
"steps": 26,
"outpaint": {
"left": 256,
"right": 256,
"blur": 12
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/ee9cd35a-d1f3-4aa2-b53a-f53c0a1cf94e.jpg"
}
}{
"taskType": "imageInference",
"taskUUID": "5f722b0b-c90a-40ab-a691-ce6c6962e546",
"imageUUID": "bda2039d-6be0-4d07-835b-433f0c4981a6",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/bda2039d-6be0-4d07-835b-433f0c4981a6.jpg",
"seed": 417973137,
"cost": 0.0032
}Risograph Beekeeper Editorial Portrait

Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper's exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'runware:102@1',
positivePrompt: 'Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper\'s exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos.',
width: 1024,
height: 1024,
steps: 28,
acePlusPlus: {
type: 'local_editing',
images: [
'https://assets.runware.ai/assets/inputs/18db5dbc-f241-48ee-9448-5c774063c95d.jpg'
],
masks: [
'https://assets.runware.ai/assets/inputs/152ce72f-65eb-4456-be1d-d04846d5ee13.png'
],
repaintingScale: 0.7
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "runware:102@1",
"positivePrompt": "Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper's exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos.",
"width": 1024,
"height": 1024,
"steps": 28,
"acePlusPlus": {
"type": "local_editing",
"images": [
"https://assets.runware.ai/assets/inputs/18db5dbc-f241-48ee-9448-5c774063c95d.jpg"
],
"masks": [
"https://assets.runware.ai/assets/inputs/152ce72f-65eb-4456-be1d-d04846d5ee13.png"
],
"repaintingScale": 0.7
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "ced98ae9-451f-4206-8b68-1a09da42c0f5",
"model": "runware:102@1",
"positivePrompt": "Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper's exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos.",
"width": 1024,
"height": 1024,
"steps": 28,
"acePlusPlus": {
"type": "local_editing",
"images": [
"https://assets.runware.ai/assets/inputs/18db5dbc-f241-48ee-9448-5c774063c95d.jpg"
],
"masks": [
"https://assets.runware.ai/assets/inputs/152ce72f-65eb-4456-be1d-d04846d5ee13.png"
],
"repaintingScale": 0.7
}
}
]'runware run runware:102@1 \
positivePrompt="Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper's exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos." \
width=1024 \
height=1024 \
steps=28 \
acePlusPlus.type=local_editing \
acePlusPlus.images.0=https://assets.runware.ai/assets/inputs/18db5dbc-f241-48ee-9448-5c774063c95d.jpg \
acePlusPlus.masks.0=https://assets.runware.ai/assets/inputs/152ce72f-65eb-4456-be1d-d04846d5ee13.png \
acePlusPlus.repaintingScale=0.7{
"taskType": "imageInference",
"taskUUID": "ced98ae9-451f-4206-8b68-1a09da42c0f5",
"model": "runware:102@1",
"positivePrompt": "Using the supplied photograph, replace the entire photographed beekeeper with a handcrafted two-color risograph illustration while preserving the beekeeper's exact full-body pose, proportions, clothing silhouette, veil shape, glove placement, and stance. Render the whole figure with coarse indigo linework, fluorescent orange shadow blocks, visible halftone dots, slightly imperfect ink registration, dry paper grain, and confident editorial simplification. Keep the surrounding terracotta cyclorama, concrete floor, composition, camera angle, and existing light completely photographic and unchanged. Integrate the illustrated figure convincingly into the original scene by matching the direction of light, grounding the boots at the same position, and retaining the natural contact shadow. Sophisticated contemporary magazine art direction, graphic but recognizable, clean silhouette, no lettering or logos.",
"width": 1024,
"height": 1024,
"steps": 28,
"acePlusPlus": {
"type": "local_editing",
"images": [
"https://assets.runware.ai/assets/inputs/18db5dbc-f241-48ee-9448-5c774063c95d.jpg"
],
"masks": [
"https://assets.runware.ai/assets/inputs/152ce72f-65eb-4456-be1d-d04846d5ee13.png"
],
"repaintingScale": 0.7
}
}{
"taskType": "imageInference",
"taskUUID": "ced98ae9-451f-4206-8b68-1a09da42c0f5",
"imageUUID": "3107ee27-b08c-45cb-a29e-8d23073612a8",
"imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/3/ii/3107ee27-b08c-45cb-a29e-8d23073612a8.jpg",
"seed": 1369390403,
"cost": 0.0051
}