Background Color
Replace the background of a portrait or product shot with a flat color. Pick any RGB value; shading_percent baked at 30% for soft falloff.
By Runflow
Pricing: $0.12 per request
Overview
**Background Color** replaces the background of a portrait or product shot
with a flat color of your choice. Fully controllable via three RGB channel
inputs (0–255 each); a fixed shading falloff keeps the result soft and
photographic.
How it works
Provide an image URL plus the three RGB channel values. The pipeline detects
the subject, replaces the background with your color, applies a 30% gradient
falloff, and returns the result at the original resolution.
Common use cases
- Catalog pages — uniform backgrounds across thousands of products
- Branded marketing — match exact corporate colors
- Studio standardisation — pure white, soft grey, or vivid hues without re-shooting
API call shape
```json
POST /v1/models/runflow/background-color/runs
{ "image_url": "https://…/portrait.jpg",
"color_red": 240, "color_green": 240, "color_blue": 240 }
```
Examples
- 06-portrait-suit-corporate
- 01-portrait-grey-to-warm-orange
- 03-portrait-curly-hair-bg-glow
- 04-product-mug-shadow
- 05-portrait-glasses-stubble
- 07-portrait-loose-hair-bg-noise
- 08-product-perfume-bottle
- 09-portrait-hat-floral
- 10-product-headphones-stand
Frequently asked questions
- What is Background Color?
- A first-party Runflow workflow that swaps the background of a photo for a flat color you specify via RGB channel values.
- How much does Background Color cost on Runflow?
- Simple fixed pricing: $0.12 per image.
- How do I specify the color?
- Send three integers (color_red, color_green, color_blue), each 0–255. Standard RGB.
- Can I control the gradient/shading?
- Shading is fixed at 30% (a soft falloff that looks photographic). For full control, pair with our Background Separation model and composite client-side.
- Can I use Background Color commercially?
- Yes. Commercial license; you retain ownership of inputs and outputs.
- Do I need to manage GPUs or infrastructure?
- No. Runflow handles all compute, queueing, and retries.
Related models
- Multi Angles, Re-render the same subject from a different camera angle. Pick a horizontal view, a vertical angle, and a shot distance: the model rotates the camera around the subject and re-renders the scene from that pose.
- Logo Inpaint, Place a logo onto a target image, with optional mask to constrain placement. When the mask is omitted, the workflow picks a placement automatically.
- Background Replace, Swap the background of any product photo for a new scene defined by a reference image and a short prompt. The model preserves the foreground subject while matching camera angle and lighting to the new background.
- Reference Inpaint, Inpaint a region of a target photo using a reference image as the visual guide. Provide the target, a black-and-white mask of the area to fill, and a reference image. The model paints the masked region with content matching the reference.
Discoverable surfaces
- Dispatch endpoint:
POST https://api.runflow.io/v1/models/background-color/runs - Per-model spec (markdown): https://app.runflow.io/models/background-color/llms.txt
- Docs page: https://docs.runflow.io/models/background-color
- Public OpenAPI spec: https://docs.runflow.io/api/openapi.public.json
- Agent skill (start here): https://www.runflow.io/.well-known/agent-skills/runflow/SKILL.md