Skip to content

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.

  1. Input
    • Photo
    • New setting
  2. 01
    Cut out the subjectBria RMBG 2.0
  3. 02
    Place and relightFLUX.1 Kontext [max]
  4. 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

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"
    }
  }'