Guides

Color Background

Composite subject on solid color backgrounds.

Payload Example

{
  "bg_type": "color",
  "bg_color": [0.035, 0.635, 0.274],
  "output_format": "mp4"
}

Color Values

bg_color is normalized RGB in [0, 1] range.

ColorNormalized RGB
Green[0.035, 0.635, 0.274]
Black[0, 0, 0]
White[1, 1, 1]

Quality Guardrails

  • Prefer representative source clips when tuning model defaults.
  • Keep input compression moderate to preserve edge details.
  • Use explicit output format policy for transparent vs non-transparent workflows.
  • Run A/B validation with the same clip set before changing defaults.

Implementation Checklist

  1. Define payload schema validation in backend before forwarding requests.
  2. Store model/output_format/background settings with each job record.
  3. Add internal quality review for difficult scenes (hair, glass, motion blur).
  4. Create runbook entries for model-specific failure cases.

Brand Color Consistency

  1. Maintain centralized color token map for API payload generation.
  2. Validate normalized RGB conversion and rounding behavior.
  3. Snapshot-test key brand colors in output QA flows.