FLUX.1 Expand [pro]
FLUX.1 Expand [pro] is an outpainting model that extends images beyond their original frame while preserving structure, lighting, and style. It supports controlled expansion from real or generated inputs and integrates into image editing or generative workflows that need precise, coherent borders.
Complete technical specification for integration
Ready-to-use code snippets for common workflows
Moonlit Marsh Caravan Encampment
Expand the scene outward into a broad moonlit marsh landscape surrounding the existing caravan encampment. Preserve the original wagon, mule, travelers, firelight, and cool lunar illumination. Add winding reflective water channels, clumps of reeds, distant cypress silhouettes, low drifting mist, scattered bedrolls and travel crates near the camp, faint wheel tracks fading into wet ground, a far treeline, and a dramatic open sky with layered clouds around a bright moon. Maintain realistic cinematic detail, natural perspective, seamless continuity, and balanced negative space around the central camp.
{
"taskType": "imageInference",
"taskUUID": "567a4534-6ee4-464a-8a66-3ba4be47cd3e",
"model": "bfl:1@3",
"positivePrompt": "Expand the scene outward into a broad moonlit marsh landscape surrounding the existing caravan encampment. Preserve the original wagon, mule, travelers, firelight, and cool lunar illumination. Add winding reflective water channels, clumps of reeds, distant cypress silhouettes, low drifting mist, scattered bedrolls and travel crates near the camp, faint wheel tracks fading into wet ground, a far treeline, and a dramatic open sky with layered clouds around a bright moon. Maintain realistic cinematic detail, natural perspective, seamless continuity, and balanced negative space around the central camp.",
"steps": 40,
"CFGScale": 55,
"outpaint": {
"left": 384,
"right": 384,
"top": 256,
"bottom": 256
},
"providerSettings": {
"bfl": {
"promptUpsampling": true,
"safetyTolerance": 2
}
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/552fdf32-900e-434b-8f50-ad876925ccc8.jpg"
}
}{
"taskType": "imageInference",
"taskUUID": "567a4534-6ee4-464a-8a66-3ba4be47cd3e",
"imageUUID": "1b2519f3-5b22-4a54-89c2-c0a53e43e592",
"imageURL": "https://im.runware.ai/image/os/a16d07/ws/2/ii/1b2519f3-5b22-4a54-89c2-c0a53e43e592.jpg",
"seed": 2141894651,
"cost": 0.05
}Grand Aquarium Rotunda Expansion
Expand the existing aquarium rotunda beyond the original frame with seamless architectural continuity: more sweeping arches, vaulted ceiling ribs, suspended directional signs, additional cylindrical side tanks, reflective stone flooring, benches, distant visitors, subtle refractions from the water, soft teal glow balanced with warm interior lighting, realistic perspective lines, refined high-end public space design, richly detailed but natural, cohesive materials and shadows, photographic realism
{
"taskType": "imageInference",
"taskUUID": "9a48ce30-8355-4b7f-9e15-617b5f8a4fd7",
"model": "bfl:1@3",
"positivePrompt": "Expand the existing aquarium rotunda beyond the original frame with seamless architectural continuity: more sweeping arches, vaulted ceiling ribs, suspended directional signs, additional cylindrical side tanks, reflective stone flooring, benches, distant visitors, subtle refractions from the water, soft teal glow balanced with warm interior lighting, realistic perspective lines, refined high-end public space design, richly detailed but natural, cohesive materials and shadows, photographic realism",
"steps": 40,
"CFGScale": 55,
"outpaint": {
"left": 384,
"right": 384,
"top": 256,
"bottom": 320
},
"providerSettings": {
"bfl": {
"promptUpsampling": true,
"safetyTolerance": 2
}
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/10ab549f-109e-4c55-b256-e18aa74c6f1d.jpg"
}
}{
"taskType": "imageInference",
"taskUUID": "9a48ce30-8355-4b7f-9e15-617b5f8a4fd7",
"imageUUID": "c41386bd-a690-4215-94ea-5271c72c1524",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/2/ii/c41386bd-a690-4215-94ea-5271c72c1524.jpg",
"seed": 1556062672,
"cost": 0.05
}Glacial Viaduct Panorama Expansion
Extend the existing glacier-valley viaduct scene into a grand panoramic vista. Preserve the original bridge, train, scale, perspective, and blue-hour dawn lighting. Reveal towering snow-covered peaks beyond the current frame, additional fractured ice fields below, wind-carved ridges, faint alpine clouds catching pale pink sunlight, and deeper valley depth on both sides. Keep the image photorealistic, cinematic, crisp, and geographically believable, with seamless continuation of stone texture, rail lines, mist layers, shadows, and atmospheric depth.
{
"taskType": "imageInference",
"taskUUID": "22ed3e04-4497-4e68-a3b5-61811c85a92e",
"model": "bfl:1@3",
"positivePrompt": "Extend the existing glacier-valley viaduct scene into a grand panoramic vista. Preserve the original bridge, train, scale, perspective, and blue-hour dawn lighting. Reveal towering snow-covered peaks beyond the current frame, additional fractured ice fields below, wind-carved ridges, faint alpine clouds catching pale pink sunlight, and deeper valley depth on both sides. Keep the image photorealistic, cinematic, crisp, and geographically believable, with seamless continuation of stone texture, rail lines, mist layers, shadows, and atmospheric depth.",
"steps": 40,
"CFGScale": 55,
"outpaint": {
"top": 512,
"left": 384,
"right": 384,
"bottom": 256
},
"providerSettings": {
"bfl": {
"promptUpsampling": true,
"safetyTolerance": 2
}
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/c41d1e74-79ec-4066-8e6a-ac529129eba1.jpg"
}
}{
"taskType": "imageInference",
"taskUUID": "22ed3e04-4497-4e68-a3b5-61811c85a92e",
"imageUUID": "b84d218b-4907-42eb-b0b8-754e212912e0",
"imageURL": "https://im.runware.ai/image/os/a10d08/ws/2/ii/b84d218b-4907-42eb-b0b8-754e212912e0.jpg",
"seed": 1238429443,
"cost": 0.05
}Cliffside Monastery Dawn Expansion
Expand the scene outward into a grand panoramic mountain sanctuary. Preserve the original cliffside monastery, stone materials, perspective, and soft dawn light. Add vast surrounding rock walls, layered alpine peaks fading into the distance, a winding path chiselled into the cliffs, suspended rope bridges, sparse wind-shaped pines, low valley mist, subtle birds circling far away, and golden sunlight catching ridgelines. Keep the image realistic, serene, majestic, and compositionally seamless with natural atmospheric perspective.
{
"taskType": "imageInference",
"taskUUID": "f6f41d51-db5f-45ce-8b36-89c9860a9602",
"model": "bfl:1@3",
"positivePrompt": "Expand the scene outward into a grand panoramic mountain sanctuary. Preserve the original cliffside monastery, stone materials, perspective, and soft dawn light. Add vast surrounding rock walls, layered alpine peaks fading into the distance, a winding path chiselled into the cliffs, suspended rope bridges, sparse wind-shaped pines, low valley mist, subtle birds circling far away, and golden sunlight catching ridgelines. Keep the image realistic, serene, majestic, and compositionally seamless with natural atmospheric perspective.",
"steps": 40,
"CFGScale": 55,
"outpaint": {
"left": 512,
"right": 512,
"top": 256,
"bottom": 256
},
"providerSettings": {
"bfl": {
"promptUpsampling": true,
"safetyTolerance": 2
}
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/e968767b-577b-4e44-aab2-922c656d5470.jpg"
}
}{
"taskType": "imageInference",
"taskUUID": "f6f41d51-db5f-45ce-8b36-89c9860a9602",
"imageUUID": "ef43418c-8f03-4fcc-9509-635e2737d651",
"imageURL": "https://im.runware.ai/image/os/a11d13/ws/2/ii/ef43418c-8f03-4fcc-9509-635e2737d651.jpg",
"seed": 367135997,
"cost": 0.05
}