live
MODEL IDbfl:flux@outpainting

FLUX Outpainting

Black Forest Labs
by

FLUX Outpainting is a dedicated image expansion model from Black Forest Labs that extends an existing image beyond its original borders in a single call. It is tuned to continue scene content, lighting, texture, and composition naturally without requiring a text prompt, making it useful for aspect-ratio changes, social reformats, banner layouts, and other canvas-extension workflows.

FLUX Outpainting

expand

Equestrian Fly Sheet Lifestyle Hero$0.30~1m 8s
Equestrian Fly Sheet Lifestyle Hero
Try in Playground
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:flux@outpainting',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 256,
    right: 256
  },
  settings: {
    mode: 'high'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/69f5a686-a153-4b00-bae9-c63c3d20ae71.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:flux@outpainting",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 256,
                "right": 256
            },
            "settings": {
                "mode": "high"
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/69f5a686-a153-4b00-bae9-c63c3d20ae71.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": "d4012552-9ae6-4497-bb91-86f6f96a4f2a",
      "model": "bfl:flux@outpainting",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 256,
        "right": 256
      },
      "settings": {
        "mode": "high"
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/69f5a686-a153-4b00-bae9-c63c3d20ae71.jpg"
      }
    }
  ]'
runware run bfl:flux@outpainting \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=256 \
  outpaint.right=256 \
  settings.mode=high \
  inputs.image=https://assets.runware.ai/assets/inputs/69f5a686-a153-4b00-bae9-c63c3d20ae71.jpg
{
  "taskType": "imageInference",
  "taskUUID": "d4012552-9ae6-4497-bb91-86f6f96a4f2a",
  "model": "bfl:flux@outpainting",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 256,
    "right": 256
  },
  "settings": {
    "mode": "high"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/69f5a686-a153-4b00-bae9-c63c3d20ae71.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "d4012552-9ae6-4497-bb91-86f6f96a4f2a",
  "imageUUID": "6c78dff7-7959-4910-85d0-a94fe4fad008",
  "imageURL": "https://im.runware.ai/image/os/a05d22/ws/4/ii/6c78dff7-7959-4910-85d0-a94fe4fad008.jpg",
  "seed": 566118903,
  "cost": 0.3
}

expand

Mokuhanga Kelp Restoration Report Cover$0.30~1m 9s
Mokuhanga Kelp Restoration Report Cover
Try in Playground
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:flux@outpainting',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 256,
    right: 256
  },
  settings: {
    mode: 'high'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/379594b3-8227-498d-859d-0ed32056bbfe.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:flux@outpainting",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 256,
                "right": 256
            },
            "settings": {
                "mode": "high"
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/379594b3-8227-498d-859d-0ed32056bbfe.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": "447b0b76-b04c-463e-adb1-4d104a6ef676",
      "model": "bfl:flux@outpainting",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 256,
        "right": 256
      },
      "settings": {
        "mode": "high"
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/379594b3-8227-498d-859d-0ed32056bbfe.jpg"
      }
    }
  ]'
runware run bfl:flux@outpainting \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=256 \
  outpaint.right=256 \
  settings.mode=high \
  inputs.image=https://assets.runware.ai/assets/inputs/379594b3-8227-498d-859d-0ed32056bbfe.jpg
{
  "taskType": "imageInference",
  "taskUUID": "447b0b76-b04c-463e-adb1-4d104a6ef676",
  "model": "bfl:flux@outpainting",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 256,
    "right": 256
  },
  "settings": {
    "mode": "high"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/379594b3-8227-498d-859d-0ed32056bbfe.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "447b0b76-b04c-463e-adb1-4d104a6ef676",
  "imageUUID": "13f2eba1-0326-46af-a3ba-e83fdb61a6c9",
  "imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/4/ii/13f2eba1-0326-46af-a3ba-e83fdb61a6c9.jpg",
  "seed": 592711341,
  "cost": 0.3
}

expand

Field Microscope Colorway Catalog Hero$0.40~2m 27s
Field Microscope Colorway Catalog Hero
Try in Playground
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:flux@outpainting',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 256,
    right: 256
  },
  settings: {
    mode: 'high'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/b53708ec-9bec-404f-8923-73118c743bec.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:flux@outpainting",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 256,
                "right": 256
            },
            "settings": {
                "mode": "high"
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/b53708ec-9bec-404f-8923-73118c743bec.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": "0b8cffb7-f73c-4f3d-885e-a9c9684a14dd",
      "model": "bfl:flux@outpainting",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 256,
        "right": 256
      },
      "settings": {
        "mode": "high"
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/b53708ec-9bec-404f-8923-73118c743bec.jpg"
      }
    }
  ]'
runware run bfl:flux@outpainting \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=256 \
  outpaint.right=256 \
  settings.mode=high \
  inputs.image=https://assets.runware.ai/assets/inputs/b53708ec-9bec-404f-8923-73118c743bec.jpg
{
  "taskType": "imageInference",
  "taskUUID": "0b8cffb7-f73c-4f3d-885e-a9c9684a14dd",
  "model": "bfl:flux@outpainting",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 256,
    "right": 256
  },
  "settings": {
    "mode": "high"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/b53708ec-9bec-404f-8923-73118c743bec.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "0b8cffb7-f73c-4f3d-885e-a9c9684a14dd",
  "imageUUID": "e45d03fb-eeff-4a2f-951c-4b0e32dbd4c2",
  "imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/4/ii/e45d03fb-eeff-4a2f-951c-4b0e32dbd4c2.jpg",
  "seed": 2009863407,
  "cost": 0.4
}

expand

Rooftop Apiary Crew Portrait$0.30~1m 36s
Rooftop Apiary Crew Portrait
Try in Playground
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:flux@outpainting',
  outpaint: {
    top: 256,
    bottom: 256,
    left: 256,
    right: 256
  },
  settings: {
    mode: 'high'
  },
  inputs: {
    image: 'https://assets.runware.ai/assets/inputs/c06c27e3-ed2e-4aea-bb0c-110519f9d527.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:flux@outpainting",
            "outpaint": {
                "top": 256,
                "bottom": 256,
                "left": 256,
                "right": 256
            },
            "settings": {
                "mode": "high"
            },
            "inputs": {
                "image": "https://assets.runware.ai/assets/inputs/c06c27e3-ed2e-4aea-bb0c-110519f9d527.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": "0da66449-ed47-4f88-87ab-31e8afb89be2",
      "model": "bfl:flux@outpainting",
      "outpaint": {
        "top": 256,
        "bottom": 256,
        "left": 256,
        "right": 256
      },
      "settings": {
        "mode": "high"
      },
      "inputs": {
        "image": "https://assets.runware.ai/assets/inputs/c06c27e3-ed2e-4aea-bb0c-110519f9d527.jpg"
      }
    }
  ]'
runware run bfl:flux@outpainting \
  outpaint.top=256 \
  outpaint.bottom=256 \
  outpaint.left=256 \
  outpaint.right=256 \
  settings.mode=high \
  inputs.image=https://assets.runware.ai/assets/inputs/c06c27e3-ed2e-4aea-bb0c-110519f9d527.jpg
{
  "taskType": "imageInference",
  "taskUUID": "0da66449-ed47-4f88-87ab-31e8afb89be2",
  "model": "bfl:flux@outpainting",
  "outpaint": {
    "top": 256,
    "bottom": 256,
    "left": 256,
    "right": 256
  },
  "settings": {
    "mode": "high"
  },
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/c06c27e3-ed2e-4aea-bb0c-110519f9d527.jpg"
  }
}
Response
{
  "taskType": "imageInference",
  "taskUUID": "0da66449-ed47-4f88-87ab-31e8afb89be2",
  "imageUUID": "fb5f292e-19eb-4fea-a127-462a7b2ed1f0",
  "imageURL": "https://im.runware.ai/image/os/a05d22/ws/4/ii/fb5f292e-19eb-4fea-a127-462a7b2ed1f0.jpg",
  "seed": 2057024341,
  "cost": 0.3
}