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
expand
Cathedral Restoration Editorial Banner$0.0032~9s
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"
}
}Response
{
"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
}