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
inpaint
Terrazzo Sample Catalog Cleanup$0.0026~14s
Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly.
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: 'Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly.',
negativePrompt: 'calibration card, ruler, label, logo, text, rectangular outline, patch, seam, border, obvious repetition, mismatched aggregate, blur, warped texture, lighting discontinuity',
width: 1024,
height: 1024,
inputs: {
seedImage: 'https://assets.runware.ai/assets/inputs/5b70b9e9-ded8-48c9-930c-400328bd22bd.jpg',
maskImage: 'https://assets.runware.ai/assets/inputs/30520f16-115f-4639-a359-541764839236.png'
}
})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": "Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly.",
"negativePrompt": "calibration card, ruler, label, logo, text, rectangular outline, patch, seam, border, obvious repetition, mismatched aggregate, blur, warped texture, lighting discontinuity",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/5b70b9e9-ded8-48c9-930c-400328bd22bd.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/30520f16-115f-4639-a359-541764839236.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "3684d7d9-b02d-4892-8001-30fe68fc474d",
"model": "runware:102@1",
"positivePrompt": "Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly.",
"negativePrompt": "calibration card, ruler, label, logo, text, rectangular outline, patch, seam, border, obvious repetition, mismatched aggregate, blur, warped texture, lighting discontinuity",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/5b70b9e9-ded8-48c9-930c-400328bd22bd.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/30520f16-115f-4639-a359-541764839236.png"
}
}
]'runware run runware:102@1 \
positivePrompt="Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly." \
negativePrompt="calibration card, ruler, label, logo, text, rectangular outline, patch, seam, border, obvious repetition, mismatched aggregate, blur, warped texture, lighting discontinuity" \
width=1024 \
height=1024 \
inputs.seedImage=https://assets.runware.ai/assets/inputs/5b70b9e9-ded8-48c9-930c-400328bd22bd.jpg \
inputs.maskImage=https://assets.runware.ai/assets/inputs/30520f16-115f-4639-a359-541764839236.png{
"taskType": "imageInference",
"taskUUID": "3684d7d9-b02d-4892-8001-30fe68fc474d",
"model": "runware:102@1",
"positivePrompt": "Remove the calibration card completely and replace the entire masked area with a seamless, photorealistic continuation of the surrounding polished terrazzo slab. Reconstruct the dusty-rose cement matrix and naturally distributed irregular stone chips in cream, burgundy, sage green, and charcoal, matching the scale, density, edge sharpness, surface polish, subtle reflections, camera perspective, diffuse studio lighting, and fine material texture of the preserved surroundings. The repair must look like the uninterrupted original slab, with no card, shadow, outline, rectangular patch, seam, repeated pattern, text, label, or retouching artifact. Preserve every unmasked area exactly.",
"negativePrompt": "calibration card, ruler, label, logo, text, rectangular outline, patch, seam, border, obvious repetition, mismatched aggregate, blur, warped texture, lighting discontinuity",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/5b70b9e9-ded8-48c9-930c-400328bd22bd.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/30520f16-115f-4639-a359-541764839236.png"
}
}Response
{
"taskType": "imageInference",
"taskUUID": "3684d7d9-b02d-4892-8001-30fe68fc474d",
"imageUUID": "70fe68e3-85f5-442d-b2ca-c3d3553d5ffb",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/3/ii/70fe68e3-85f5-442d-b2ca-c3d3553d5ffb.jpg",
"seed": 912703247,
"cost": 0.0026
}inpaint
Apiary Smoker Enamel Colorway$0.0026~11s
Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects.
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: 'Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects.',
width: 1024,
height: 1024,
inputs: {
seedImage: 'https://assets.runware.ai/assets/inputs/c4c59d63-0c7f-4a97-8f0d-8244d3001ffc.jpg',
maskImage: 'https://assets.runware.ai/assets/inputs/5847a04a-0aed-4b49-972a-92bd610cfc96.png'
}
})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": "Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects.",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/c4c59d63-0c7f-4a97-8f0d-8244d3001ffc.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/5847a04a-0aed-4b49-972a-92bd610cfc96.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "99f52290-89c4-43ad-8e4c-3d792f91a8ec",
"model": "runware:102@1",
"positivePrompt": "Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects.",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/c4c59d63-0c7f-4a97-8f0d-8244d3001ffc.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/5847a04a-0aed-4b49-972a-92bd610cfc96.png"
}
}
]'runware run runware:102@1 \
positivePrompt="Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects." \
width=1024 \
height=1024 \
inputs.seedImage=https://assets.runware.ai/assets/inputs/c4c59d63-0c7f-4a97-8f0d-8244d3001ffc.jpg \
inputs.maskImage=https://assets.runware.ai/assets/inputs/5847a04a-0aed-4b49-972a-92bd610cfc96.png{
"taskType": "imageInference",
"taskUUID": "99f52290-89c4-43ad-8e4c-3d792f91a8ec",
"model": "runware:102@1",
"positivePrompt": "Replace the entire masked beekeeping smoker with a faithful colorway variant of the same product. Preserve its exact proportions, silhouette, three-quarter orientation, cylindrical chamber, protective wire cage, tapered lid and spout, hinge positions, bellows shape, fasteners and product scale. Finish the chamber and spout in smooth glossy cobalt-blue heat-resistant enamel, with subtle realistic reflections and crisp enamel edges. Render the protective cage and hardware in satin warm brass. Change the wooden bellows panels to saturated tangerine-orange lacquer while retaining visible fine wood grain; use deep navy leather for the pleated bellows. Keep the product mechanically credible, premium and manufacturable. Match the original studio lighting, perspective, contact shadow and edge sharpness so the recolored smoker integrates naturally into the preserved seamless warm light-gray background. High-end square ecommerce product photography, clean color accuracy, no branding, no added text, no props, no extra objects.",
"width": 1024,
"height": 1024,
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/c4c59d63-0c7f-4a97-8f0d-8244d3001ffc.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/5847a04a-0aed-4b49-972a-92bd610cfc96.png"
}
}Response
{
"taskType": "imageInference",
"taskUUID": "99f52290-89c4-43ad-8e4c-3d792f91a8ec",
"imageUUID": "b44e4123-10f4-428b-9ce7-249addaff8e7",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/3/ii/b44e4123-10f4-428b-9ce7-249addaff8e7.jpg",
"seed": 1526154488,
"cost": 0.0026
}expand
Vintage Snowmobile Auction Landscape$0.0019~27s
A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays.
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: 'A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays.',
width: 1280,
height: 704,
outpaint: {
left: 256,
right: 256,
blur: 16
},
inputs: {
seedImage: 'https://assets.runware.ai/assets/inputs/2c463c02-171f-466d-8124-956157ac9aae.jpg',
maskImage: 'https://assets.runware.ai/assets/inputs/74ee8674-7692-46b4-bfc5-43cb6d2a57f1.png'
}
})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": "A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays.",
"width": 1280,
"height": 704,
"outpaint": {
"left": 256,
"right": 256,
"blur": 16
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/2c463c02-171f-466d-8124-956157ac9aae.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/74ee8674-7692-46b4-bfc5-43cb6d2a57f1.png"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "0d1d2672-b224-4830-98fa-2cc791d1d7af",
"model": "runware:102@1",
"positivePrompt": "A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays.",
"width": 1280,
"height": 704,
"outpaint": {
"left": 256,
"right": 256,
"blur": 16
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/2c463c02-171f-466d-8124-956157ac9aae.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/74ee8674-7692-46b4-bfc5-43cb6d2a57f1.png"
}
}
]'runware run runware:102@1 \
positivePrompt="A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays." \
width=1280 \
height=704 \
outpaint.left=256 \
outpaint.right=256 \
outpaint.blur=16 \
inputs.seedImage=https://assets.runware.ai/assets/inputs/2c463c02-171f-466d-8124-956157ac9aae.jpg \
inputs.maskImage=https://assets.runware.ai/assets/inputs/74ee8674-7692-46b4-bfc5-43cb6d2a57f1.png{
"taskType": "imageInference",
"taskUUID": "0d1d2672-b224-4830-98fa-2cc791d1d7af",
"model": "runware:102@1",
"positivePrompt": "A continuous windswept frozen lake at blue hour stretches seamlessly across the entire landscape and beyond both horizontal edges. Hard-packed snow with shallow wind-carved ridges, faint parallel track marks, and a natural contact area in the foreground. A low dark spruce shoreline runs along the distant horizon beneath a pale cyan winter sky, with soft coral afterglow near the horizon and thin atmospheric haze. Cold directional light arrives from the left, producing realistic cool reflections and a long soft-edged shadow on the snow. Restrained cinematic automotive photography, authentic subarctic conditions, crisp foreground texture, subtle depth, premium collectible-vehicle auction art direction, photorealistic and naturally integrated, no people, buildings, signage, lettering, borders, or graphic overlays.",
"width": 1280,
"height": 704,
"outpaint": {
"left": 256,
"right": 256,
"blur": 16
},
"inputs": {
"seedImage": "https://assets.runware.ai/assets/inputs/2c463c02-171f-466d-8124-956157ac9aae.jpg",
"maskImage": "https://assets.runware.ai/assets/inputs/74ee8674-7692-46b4-bfc5-43cb6d2a57f1.png"
}
}Response
{
"taskType": "imageInference",
"taskUUID": "0d1d2672-b224-4830-98fa-2cc791d1d7af",
"imageUUID": "0d66383d-143c-4960-9929-b68017462471",
"imageURL": "https://im.runware.ai/image/os/a08dlim3/ws/3/ii/0d66383d-143c-4960-9929-b68017462471.jpg",
"seed": 1853316070,
"cost": 0.0019
}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
}