FLUX.1 Kontext [max]

FLUX.1 Kontext [max] is a high quality text to image model for production workflows. It focuses on prompt accuracy, sharp local edits, and premium typography rendering. Use it for detailed visual design, branded visuals, and consistent character safe image generation.
![FLUX.1 Kontext [max]](https://assets.runware.ai/covers/bfl-flux-1-kontext-max.jpg)
Complete technical specification for integration
Ready-to-use code snippets for common workflows
text-to-image
Rooftop Beekeeping Suit Try-On$0.08~9s
Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit. Set the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface.
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:4@1',
positivePrompt: 'Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit.\n\nSet the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface.',
width: 1392,
height: 752,
providerSettings: {
bfl: {
promptUpsampling: true
}
}
})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:4@1",
"positivePrompt": "Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit.\n\nSet the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "bed88c34-5c77-4a8a-98e6-85faac65a547",
"model": "bfl:4@1",
"positivePrompt": "Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit.\n\nSet the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": true
}
}
}
]'runware run bfl:4@1 \
positivePrompt="Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit.
Set the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface." \
width=1392 \
height=752 \
providerSettings.bfl.promptUpsampling=true{
"taskType": "imageInference",
"taskUUID": "bed88c34-5c77-4a8a-98e6-85faac65a547",
"model": "bfl:4@1",
"positivePrompt": "Create a premium landscape apparel try-on image for a technical beekeeping suit. Show one adult female beekeeper, around 50 years old, standing full-length on a lush urban rooftop apiary at early morning. She is wearing a distinctive celadon-green one-piece beekeeping suit with coral-orange reinforced knees and elbows, an articulated waist, sealed ankle cuffs, cream leather gauntlet gloves, sturdy tan work boots, and a structured round veil hood made from fine black mesh. Make the garment construction exceptionally clear and commercially credible: visible double stitching, matte ripstop texture, practical zipped pockets, ventilation panels, reinforced seams, and realistic folds around the moving body. The fit should look protective yet tailored, with accurate anatomy and natural posture. She gently lifts one wooden honey frame at chest height while inspecting it through the veil; a few bees hover nearby without obscuring the outfit.\n\nSet the scene among orderly cedar hives, flowering lavender, rooftop vegetable beds, stainless steel watering cans, and the soft silhouette of a contemporary city beyond the parapet. Warm low sunlight catches amber honeycomb and the edges of the mesh veil, contrasting with cool blue morning shadows and dew-covered greenery. Compose as a wide editorial field image with the beekeeper slightly right of center, her entire outfit visible from hood to boots, and enough environmental context on the left to establish the rooftop pollinator farm. Eye-level camera, 50mm documentary-fashion perspective, crisp garment detail, controlled shallow depth of field, natural skin and hands, realistic bees, refined color grading, calm capable mood. Photorealistic outdoor workwear campaign photography, not a costume or fantasy scene. No logos, no lettering, no signage, no additional people, no duplicated tools, no border or interface.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": true
}
}
}Response
{
"taskType": "imageInference",
"taskUUID": "bed88c34-5c77-4a8a-98e6-85faac65a547",
"imageUUID": "a4d758bb-f0b7-4fb5-9559-60aa71564430",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/a4d758bb-f0b7-4fb5-9559-60aa71564430.jpg",
"seed": 1580575847,
"cost": 0.08
}text-to-image
Opera Costume Atelier Panorama$0.08~13s
Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos 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:4@1',
positivePrompt: 'Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos or on-image text.',
width: 1392,
height: 752,
providerSettings: {
bfl: {
promptUpsampling: true
}
}
})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:4@1",
"positivePrompt": "Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos or on-image text.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": True
}
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "84f567b2-3886-4131-8deb-60773d1aa678",
"model": "bfl:4@1",
"positivePrompt": "Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos or on-image text.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": true
}
}
}
]'runware run bfl:4@1 \
positivePrompt="Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos or on-image text." \
width=1392 \
height=752 \
providerSettings.bfl.promptUpsampling=true{
"taskType": "imageInference",
"taskUUID": "84f567b2-3886-4131-8deb-60773d1aa678",
"model": "bfl:4@1",
"positivePrompt": "Create the finished panoramic outpaint of an intimate portrait-oriented documentary photograph, expanding the scene naturally far beyond the original center composition into a 1392x752 landscape editorial image. In the center third, a senior opera costume dyer wearing a dark indigo work apron carefully gathers an enormous pleated sea-green silk cape across a waist-high cutting table. Preserve the feeling of a tightly observed human moment while revealing the full working atelier on both sides. Extend left into a deep stainless-steel dye sink, enamel buckets, clipped fabric swatches, wet turquoise silk and a small cloud of steam caught by window light. Extend right into rolling garment racks holding elaborate unfinished costumes in gradients of celadon, coral and smoky violet, with labeled kraft-paper pattern pieces, spools of thread and brass scissors on a worn oak workbench. The architecture must continue coherently across the entire frame: high old plaster walls, exposed pipes, tall north-facing windows and a scuffed checkerboard linoleum floor with correct perspective. Sophisticated backstage realism, tactile fabric detail, restrained theatrical color, soft overcast daylight mixed with warm practical lamps, subtle 35mm grain, deep but gentle shadows, editorial photography for a prestigious performing-arts publication. Wide visual rhythm with meaningful environmental storytelling at both edges, subject remaining the focal point, natural anatomy and hands, seamless spatial continuity, no visible crop boundary, no borders, no collage effect, no duplicated furniture or people, no signage, logos or on-image text.",
"width": 1392,
"height": 752,
"providerSettings": {
"bfl": {
"promptUpsampling": true
}
}
}Response
{
"taskType": "imageInference",
"taskUUID": "84f567b2-3886-4131-8deb-60773d1aa678",
"imageUUID": "ac346f19-8408-46ce-b2e6-898ac0aab855",
"imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/3/ii/ac346f19-8408-46ce-b2e6-898ac0aab855.jpg",
"seed": 1597635933,
"cost": 0.08
}reference-to-image
Maritime Auction Catalog Portrait$0.08~12s
Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image's deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object.
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:4@1',
positivePrompt: 'Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image\'s deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object.',
width: 880,
height: 1184,
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/8f275c98-4023-4d85-bb95-2b7ccdf11ceb.jpg',
'https://assets.runware.ai/assets/inputs/94de3b05-55b1-4aa2-99cb-e0b90c222be9.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:4@1",
"positivePrompt": "Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image's deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/8f275c98-4023-4d85-bb95-2b7ccdf11ceb.jpg",
"https://assets.runware.ai/assets/inputs/94de3b05-55b1-4aa2-99cb-e0b90c222be9.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": "ba069c5a-b668-4e94-945f-0620cad1c35a",
"model": "bfl:4@1",
"positivePrompt": "Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image's deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/8f275c98-4023-4d85-bb95-2b7ccdf11ceb.jpg",
"https://assets.runware.ai/assets/inputs/94de3b05-55b1-4aa2-99cb-e0b90c222be9.jpg"
]
}
}
]'runware run bfl:4@1 \
positivePrompt="Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image's deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object." \
width=880 \
height=1184 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/8f275c98-4023-4d85-bb95-2b7ccdf11ceb.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/94de3b05-55b1-4aa2-99cb-e0b90c222be9.jpg{
"taskType": "imageInference",
"taskUUID": "ba069c5a-b668-4e94-945f-0620cad1c35a",
"model": "bfl:4@1",
"positivePrompt": "Use the first reference image as the primary source and preserve the antique diving helmet as the exact recognizable subject: retain its silhouette, proportions, three-quarter orientation, circular glass faceplate, brass hardware, dents, seams, verdigris and distinctive copper patina without redesigning, restoring or replacing any component. Remove only its plain studio background and place the helmet naturally on a blackened oak conservation workbench inside the maritime conservation workshop visually guided by the second reference image. Match the second image's deep teal walls, shadowed specimen cabinetry, subtle industrial window structure, warm amber practical light and quiet museum atmosphere, but keep the surroundings understated and softly out of focus so the helmet remains dominant. Create believable contact, weight and a soft grounded shadow beneath the helmet; add restrained warm edge light across the copper while preserving authentic material texture and neutral color accuracy on the object. Premium specialist-auction catalog photography, elegant and documentary rather than theatrical, crisp subject detail, realistic optics, shallow depth of field, no people, no labels, no lettering, no logo. Compose vertically at 880x1184 with the complete helmet centered slightly below mid-frame, generous dark breathing room above, and no cropping of the object.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/8f275c98-4023-4d85-bb95-2b7ccdf11ceb.jpg",
"https://assets.runware.ai/assets/inputs/94de3b05-55b1-4aa2-99cb-e0b90c222be9.jpg"
]
}
}Response
{
"taskType": "imageInference",
"taskUUID": "ba069c5a-b668-4e94-945f-0620cad1c35a",
"imageUUID": "2282282a-0a4d-4610-a6aa-2c6a877c7c80",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/2282282a-0a4d-4610-a6aa-2c6a877c7c80.jpg",
"seed": 772595244,
"cost": 0.08
}reference-to-image
Alpine Observatory Winter Campaign Hero$0.08~17s
Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos.
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:4@1',
positivePrompt: 'Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos.',
width: 880,
height: 1184,
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/c273e296-7bf4-4fad-a421-81b9f25241ca.jpg',
'https://assets.runware.ai/assets/inputs/23a2c46d-468f-449d-ad6d-e6769ae35699.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:4@1",
"positivePrompt": "Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/c273e296-7bf4-4fad-a421-81b9f25241ca.jpg",
"https://assets.runware.ai/assets/inputs/23a2c46d-468f-449d-ad6d-e6769ae35699.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": "a313fc63-ceb8-4391-a93e-3e0e85243895",
"model": "bfl:4@1",
"positivePrompt": "Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/c273e296-7bf4-4fad-a421-81b9f25241ca.jpg",
"https://assets.runware.ai/assets/inputs/23a2c46d-468f-449d-ad6d-e6769ae35699.jpg"
]
}
}
]'runware run bfl:4@1 \
positivePrompt="Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos." \
width=880 \
height=1184 \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/c273e296-7bf4-4fad-a421-81b9f25241ca.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/23a2c46d-468f-449d-ad6d-e6769ae35699.jpg{
"taskType": "imageInference",
"taskUUID": "a313fc63-ceb8-4391-a93e-3e0e85243895",
"model": "bfl:4@1",
"positivePrompt": "Edit the first reference image as the primary source. Transform the same observatory from late-summer daylight into a credible deep-winter blue-hour scene for an alpine astrotourism campaign, using the second reference only as guidance for the wintry environment, cobalt-and-rose palette, snow texture and natural twilight lighting. Preserve the exact observatory architecture, proportions, two recognizable telescope domes, corrugated facade, antenna mast, window placement, camera position, perspective, mountain contours and overall composition from the first image. Replace the grass and exposed ground with deep, wind-sculpted snow that accumulates naturally along roof edges, steps and rocks without obscuring important structural details. Relight the building and landscape with soft cold moonlit ambience, long blue shadows and a faint rose glow at the horizon. Add restrained warm interior light through the existing windows and subtle practical light near the entrance, with physically accurate reflections on snow and metal. Keep the atmosphere crisp, remote and inviting rather than dramatic or fantastical. Premium photorealistic architectural and travel photography, fine material detail, realistic exposure, clean portrait framing with generous sky above the domes, no people, no vehicles, no added structures, no aurora, no lettering, no logos.",
"width": 880,
"height": 1184,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/c273e296-7bf4-4fad-a421-81b9f25241ca.jpg",
"https://assets.runware.ai/assets/inputs/23a2c46d-468f-449d-ad6d-e6769ae35699.jpg"
]
}
}Response
{
"taskType": "imageInference",
"taskUUID": "a313fc63-ceb8-4391-a93e-3e0e85243895",
"imageUUID": "a1f3645c-25fe-439f-b0f4-defad1f3fb36",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/a1f3645c-25fe-439f-b0f4-defad1f3fb36.jpg",
"seed": 116498876,
"cost": 0.08
}