MODEL IDbfl:1@3
live

FLUX.1 Expand [pro]

Black Forest Labs
by Black Forest Labs

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.

FLUX.1 Expand [pro]
expand

Pipe Organ Restoration Editorial Panorama

Pipe Organ Restoration Editorial Panorama

Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'bfl:1@3',
  positivePrompt: 'Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text.',
  outpaint: {
    left: 512,
    right: 512,
    top: 256,
    bottom: 256
  },
  providerSettings: {
    bfl: {
      promptUpsampling: true
    }
  },
  inputs: {
    seedImage: 'https://assets.runware.ai/assets/inputs/7106fb71-4e64-45b4-b176-43ee4780b0c4.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": "bfl:1@3",
            "positivePrompt": "Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text.",
            "outpaint": {
                "left": 512,
                "right": 512,
                "top": 256,
                "bottom": 256
            },
            "providerSettings": {
                "bfl": {
                    "promptUpsampling": True
                }
            },
            "inputs": {
                "seedImage": "https://assets.runware.ai/assets/inputs/7106fb71-4e64-45b4-b176-43ee4780b0c4.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": "7bd3e475-d667-49f9-a1f3-237ca7295388",
      "model": "bfl:1@3",
      "positivePrompt": "Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text.",
      "outpaint": {
        "left": 512,
        "right": 512,
        "top": 256,
        "bottom": 256
      },
      "providerSettings": {
        "bfl": {
          "promptUpsampling": true
        }
      },
      "inputs": {
        "seedImage": "https://assets.runware.ai/assets/inputs/7106fb71-4e64-45b4-b176-43ee4780b0c4.jpg"
      }
    }
  ]'
runware run bfl:1@3 \
  positivePrompt="Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text." \
  outpaint.left=512 \
  outpaint.right=512 \
  outpaint.top=256 \
  outpaint.bottom=256 \
  providerSettings.bfl.promptUpsampling=true \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/7106fb71-4e64-45b4-b176-43ee4780b0c4.jpg
{
  "taskType": "imageInference",
  "taskUUID": "7bd3e475-d667-49f9-a1f3-237ca7295388",
  "model": "bfl:1@3",
  "positivePrompt": "Outpaint the source photograph horizontally into a seamless 2:1 editorial panorama while preserving the central organ restorer, her pose, face, clothing, tuning tool and pipe exactly as shown. Continue the historic workshop naturally beyond both original edges with correct eye-level perspective: on the left, a tall mullioned window casting the same warm directional light across a walnut workbench, neatly arranged leather bellows tools, calipers, cotton gloves and several horizontal wooden pipes awaiting repair; on the right, receding ranks of burnished tin and dark wooden organ pipes, a rolling library ladder, labeled archival drawers without legible writing, and part of an open organ wind-chest. Maintain consistent timber architecture, realistic scale, lens character, shadows, grain and shallow-to-moderate depth of field. Refined cultural-heritage magazine photography, quiet and meticulous mood, muted pewter, aged brass, walnut brown and indigo palette. Balanced panoramic composition with the craftsperson remaining the clear focal point. No duplicated people, no extra limbs, no warped pipes, no modern machinery, no signage, no logos, no added text.",
  "outpaint": {
    "left": 512,
    "right": 512,
    "top": 256,
    "bottom": 256
  },
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/7106fb71-4e64-45b4-b176-43ee4780b0c4.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "7bd3e475-d667-49f9-a1f3-237ca7295388",
  "imageUUID": "4d3e3435-5b7e-4be4-83dd-2284fb4ad7a1",
  "imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/4d3e3435-5b7e-4be4-83dd-2284fb4ad7a1.jpg",
  "seed": 138126638,
  "cost": 0.05
}
Image to Image

Cliffside Monastery Dawn Expansion

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.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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 \
  outpaint.right=512 \
  outpaint.top=256 \
  outpaint.bottom=256 \
  providerSettings.bfl.promptUpsampling=true \
  providerSettings.bfl.safetyTolerance=2 \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/e968767b-577b-4e44-aab2-922c656d5470.jpg
{
  "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"
  }
}
Response
{
  "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
}
Image to Image

Glacial Viaduct Panorama Expansion

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.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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 \
  outpaint.left=384 \
  outpaint.right=384 \
  outpaint.bottom=256 \
  providerSettings.bfl.promptUpsampling=true \
  providerSettings.bfl.safetyTolerance=2 \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/c41d1e74-79ec-4066-8e6a-ac529129eba1.jpg
{
  "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"
  }
}
Response
{
  "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
}
expand

Meteorite Conservation Magazine Opener

Meteorite Conservation Magazine Opener

Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source's cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite's oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'bfl:1@3',
  positivePrompt: 'Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source\'s cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite\'s oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text.',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 512,
    right: 512
  },
  providerSettings: {
    bfl: {
      promptUpsampling: true
    }
  },
  inputs: {
    seedImage: 'https://assets.runware.ai/assets/inputs/dce387fa-cd2d-4f63-854d-0ef773174c2a.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": "bfl:1@3",
            "positivePrompt": "Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source's cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite's oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text.",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 512,
                "right": 512
            },
            "providerSettings": {
                "bfl": {
                    "promptUpsampling": True
                }
            },
            "inputs": {
                "seedImage": "https://assets.runware.ai/assets/inputs/dce387fa-cd2d-4f63-854d-0ef773174c2a.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": "552eb39a-fa76-478b-b98a-edfaa4e8f319",
      "model": "bfl:1@3",
      "positivePrompt": "Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source's cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite's oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text.",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 512,
        "right": 512
      },
      "providerSettings": {
        "bfl": {
          "promptUpsampling": true
        }
      },
      "inputs": {
        "seedImage": "https://assets.runware.ai/assets/inputs/dce387fa-cd2d-4f63-854d-0ef773174c2a.jpg"
      }
    }
  ]'
runware run bfl:1@3 \
  positivePrompt="Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source's cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite's oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text." \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=512 \
  outpaint.right=512 \
  providerSettings.bfl.promptUpsampling=true \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/dce387fa-cd2d-4f63-854d-0ef773174c2a.jpg
{
  "taskType": "imageInference",
  "taskUUID": "552eb39a-fa76-478b-b98a-edfaa4e8f319",
  "model": "bfl:1@3",
  "positivePrompt": "Extend the source photograph horizontally into a complete planetary-materials conservation laboratory for a wide science magazine opener. Preserve the conservator, meteorite, foam tray, workbench, pose, facial features, clothing, proportions, camera height, lens perspective, lighting direction, and documentary photographic style exactly as shown. Continue the stainless-steel bench naturally beyond both original edges. Reveal a meticulous working laboratory with matte gray cabinetry, a glass desiccator containing several small labeled-but-unreadable rock samples, precision calipers, a compact binocular microscope, archival specimen drawers, anti-static mats, pale storage boxes, and a wheeled instrument cart. Add a restrained glimpse of an amber-lit humidity chamber on the far left and neatly arranged mineral sample shelves on the far right. Match the source's cool fluorescent overhead light, subtle reflections, realistic shadows, moderate depth of field, and neutral color rendering; let the meteorite's oxidized rust and umber tones remain the visual accent. Keep the room credible, orderly, and actively used rather than futuristic or theatrical. Balanced editorial composition with generous uncluttered laboratory wall space around the central subject. Seamless photorealistic continuation with no visible borders, duplicated objects, warped furniture, added people, logos, captions, or on-image text.",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 512,
    "right": 512
  },
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/dce387fa-cd2d-4f63-854d-0ef773174c2a.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "552eb39a-fa76-478b-b98a-edfaa4e8f319",
  "imageUUID": "ffa698ae-e1b1-4cad-8379-6709b80f737e",
  "imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/ffa698ae-e1b1-4cad-8379-6709b80f737e.jpg",
  "seed": 964348319,
  "cost": 0.05
}
Image to Image

Grand Aquarium Rotunda Expansion

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

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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 \
  outpaint.right=384 \
  outpaint.top=256 \
  outpaint.bottom=320 \
  providerSettings.bfl.promptUpsampling=true \
  providerSettings.bfl.safetyTolerance=2 \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/10ab549f-109e-4c55-b256-e18aa74c6f1d.jpg
{
  "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"
  }
}
Response
{
  "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
}
Image to Image

Moonlit Marsh Caravan Encampment

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.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  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'
  }
})
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": "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"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "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"
      }
    }
  ]'
runware run 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 \
  outpaint.right=384 \
  outpaint.top=256 \
  outpaint.bottom=256 \
  providerSettings.bfl.promptUpsampling=true \
  providerSettings.bfl.safetyTolerance=2 \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/552fdf32-900e-434b-8f50-ad876925ccc8.jpg
{
  "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"
  }
}
Response
{
  "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
}
expand

Avalanche Patrol Team Portrait

Avalanche Patrol Team Portrait

Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler's lowered gloved hand should rest naturally near the dog's shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'bfl:1@3',
  positivePrompt: 'Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler\'s lowered gloved hand should rest naturally near the dog\'s shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people.',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 512,
    right: 512
  },
  providerSettings: {
    bfl: {
      promptUpsampling: true
    }
  },
  inputs: {
    seedImage: 'https://assets.runware.ai/assets/inputs/6a85de55-37f1-404f-b0ef-89725a085489.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": "bfl:1@3",
            "positivePrompt": "Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler's lowered gloved hand should rest naturally near the dog's shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people.",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 512,
                "right": 512
            },
            "providerSettings": {
                "bfl": {
                    "promptUpsampling": True
                }
            },
            "inputs": {
                "seedImage": "https://assets.runware.ai/assets/inputs/6a85de55-37f1-404f-b0ef-89725a085489.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": "677c6c45-32cb-47ae-b78f-caccd3dd6be2",
      "model": "bfl:1@3",
      "positivePrompt": "Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler's lowered gloved hand should rest naturally near the dog's shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people.",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 512,
        "right": 512
      },
      "providerSettings": {
        "bfl": {
          "promptUpsampling": true
        }
      },
      "inputs": {
        "seedImage": "https://assets.runware.ai/assets/inputs/6a85de55-37f1-404f-b0ef-89725a085489.jpg"
      }
    }
  ]'
runware run bfl:1@3 \
  positivePrompt="Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler's lowered gloved hand should rest naturally near the dog's shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people." \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=512 \
  outpaint.right=512 \
  providerSettings.bfl.promptUpsampling=true \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/6a85de55-37f1-404f-b0ef-89725a085489.jpg
{
  "taskType": "imageInference",
  "taskUUID": "677c6c45-32cb-47ae-b78f-caccd3dd6be2",
  "model": "bfl:1@3",
  "positivePrompt": "Naturally extend the existing documentary group portrait beyond its original frame and preserve every visible patrol member, their faces, uniforms, poses, proportions, and spacing. In the newly revealed area beside the kneeling handler, add one alert avalanche rescue dog: a medium-sized golden retriever sitting calmly in the snow, wearing a practical burnt-orange search-and-rescue harness with reflective trim. The handler's lowered gloved hand should rest naturally near the dog's shoulder, making the dog feel like an original member of the group. Continue the packed snow, rescue-hut exterior, snow-dusted fir trees, and muted alpine ridgeline seamlessly into the expanded area. Match the source camera height, lens perspective, overcast winter daylight, restrained fill flash, cool blue-gray shadows, crisp editorial detail, and understated annual-report aesthetic. Maintain a credible professional team portrait with realistic paw placement, harness construction, fur texture, footprints, contact shadows, and gentle snow compression beneath the dog. No lettering, logos, borders, collage seams, or duplicated people.",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 512,
    "right": 512
  },
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/6a85de55-37f1-404f-b0ef-89725a085489.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "677c6c45-32cb-47ae-b78f-caccd3dd6be2",
  "imageUUID": "7c62a3f0-c6da-4bba-ac98-4244f56611ac",
  "imageURL": "https://im.runware.ai/image/os/a01d21/ws/3/ii/7c62a3f0-c6da-4bba-ac98-4244f56611ac.jpg",
  "seed": 1819796342,
  "cost": 0.05
}
expand

Monsoon Observatory Campaign Banner

Monsoon Observatory Campaign Banner

Extend the source photograph into a wide panoramic campaign image for an astronomical observatory's summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory's warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage.

import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'bfl:1@3',
  positivePrompt: 'Extend the source photograph into a wide panoramic campaign image for an astronomical observatory\'s summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory\'s warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage.',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 512,
    right: 512
  },
  providerSettings: {
    bfl: {
      promptUpsampling: true
    }
  },
  inputs: {
    seedImage: 'https://assets.runware.ai/assets/inputs/569c461c-150c-4d20-b5e3-ba4ead859f3a.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": "bfl:1@3",
            "positivePrompt": "Extend the source photograph into a wide panoramic campaign image for an astronomical observatory's summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory's warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage.",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 512,
                "right": 512
            },
            "providerSettings": {
                "bfl": {
                    "promptUpsampling": True
                }
            },
            "inputs": {
                "seedImage": "https://assets.runware.ai/assets/inputs/569c461c-150c-4d20-b5e3-ba4ead859f3a.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": "7fb2e9e7-31c3-4e13-81df-08924fd7e856",
      "model": "bfl:1@3",
      "positivePrompt": "Extend the source photograph into a wide panoramic campaign image for an astronomical observatory's summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory's warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage.",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 512,
        "right": 512
      },
      "providerSettings": {
        "bfl": {
          "promptUpsampling": true
        }
      },
      "inputs": {
        "seedImage": "https://assets.runware.ai/assets/inputs/569c461c-150c-4d20-b5e3-ba4ead859f3a.jpg"
      }
    }
  ]'
runware run bfl:1@3 \
  positivePrompt="Extend the source photograph into a wide panoramic campaign image for an astronomical observatory's summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory's warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage." \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=512 \
  outpaint.right=512 \
  providerSettings.bfl.promptUpsampling=true \
  inputs.seedImage=https://assets.runware.ai/assets/inputs/569c461c-150c-4d20-b5e3-ba4ead859f3a.jpg
{
  "taskType": "imageInference",
  "taskUUID": "7fb2e9e7-31c3-4e13-81df-08924fd7e856",
  "model": "bfl:1@3",
  "positivePrompt": "Extend the source photograph into a wide panoramic campaign image for an astronomical observatory's summer night program. Preserve the exact white observatory dome, entrance, proportions, camera height, 50mm perspective, post-rain blue-hour lighting, realistic materials, and restrained documentary photographic style. Continue the rust-red Arizona hillside naturally beyond the original frame with wet gravel, shallow reflective puddles, creosote bushes, ocotillo, and scattered saguaros. Broaden the indigo sky into a dramatic but credible late-monsoon dusk: a retreating charcoal storm shelf on the distant horizon, a subtle rain shaft far away, thin breaks revealing the first stars, and a faint warm afterglow beneath the clouds. Extend the observatory's warm practical lights and their reflections consistently into the surrounding path. Create a spacious, sophisticated panoramic composition with strong environmental context and quiet anticipation, using deep indigo, oxidized red earth, muted sage, and small amber highlights. Photorealistic editorial architecture photography, natural atmospheric depth, no added lettering or signage.",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 512,
    "right": 512
  },
  "providerSettings": {
    "bfl": {
      "promptUpsampling": true
    }
  },
  "inputs": {
    "seedImage": "https://assets.runware.ai/assets/inputs/569c461c-150c-4d20-b5e3-ba4ead859f3a.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "7fb2e9e7-31c3-4e13-81df-08924fd7e856",
  "imageUUID": "63c59b68-b766-4f8b-8534-e10b8f4ae362",
  "imageURL": "https://im.runware.ai/image/os/a07dlim3/ws/3/ii/63c59b68-b766-4f8b-8534-e10b8f4ae362.jpg",
  "seed": 990221234,
  "cost": 0.05
}