Skill2 steps
Background Swap
Place any subject in a new setting with matching light.
How it runs
The right model for every step.
Describe the new location and the skill moves your subject there, relighting it to match the scene so the composite holds up at full size.
Every intermediate result is kept with the run, so you can inspect a step, reuse its output or rerun it with different settings.
- Input
- Photo
- New setting
- 01Cut out the subjectBria RMBG 2.0
- 02Place and relightFLUX.1 Kontext [max]
- OutputThe composited image
Run it
Call the skill by name.
Send the inputs, get back a run you can wait on or follow with a webhook. The same skill is available in the studio and to AI agents through the MCP server.
You get back
The composited image
run.sh
curl https://api.monogram.dev/v1/skills/background-swap/runs \
-H "Authorization: Bearer $MONOGRAM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image_url": "https://files.example.com/portrait.jpg",
"setting": "A rooftop bar in 1930s Manhattan at night"
}
}'Pairs well with
All skillsEditing2 steps
Clean Cutout
Remove the background and get a crisp transparent PNG.
- Remove the background
- Refine the edges
Editing1 step
Upscale
Make small or soft images ready for print.
- Restore and enlarge
Editing3 steps
Sketch to Render
Turn a rough sketch into a finished, photoreal render.
- Read the sketch
- Render the scene
- Upscale