PRODUCTION · October 14, 2026 · 5 MIN READ

Composite a VFX Shot Online: Matte, Color Match, Light Wrap and Grain

Shot Composer mattes a subject with AI background removal or a chroma key, places it on a new image, video or generated plate, and color matches it with a Lab .cube LUT. It adds light wrap, shadow and grain, and returns the composite plus every layer as a Studio project.

A basic After Effects composite is the same five steps every time: pull a matte, drop the plate behind it, match the color, wrap a little background light around the edges and add grain so both layers look like one camera. Shot Composer runs those steps as one hosted job. You can call it over MCP, the CLI or REST without keying plugins or a render queue, and you still get every layer back separately.

Beach to glacier

AI MATTE, COLOR MATCHED, LIGHT WRAP 0.4, GRAIN 0.25

INPUT

Foreground: vertical beach clip · 5.2s

MCP CALL

composite_shot {
  "video_url": "https://.../man-on-beach.mp4",
  "image_url": "https://.../glacial-valley.webp",
  "key": "ai",
  "match_color": true,
  "light_wrap": 0.4,
  "grain": 0.25,
  "wait_seconds": 300
}

OUTPUT — GENERATED WITH MANIFOLDGEN

Composite · 5.2s

Background plate: glacial valley at sunrise
Background plate: glacial valley at sunrise

This 5.2 s clip took about 57 seconds. It billed as 6 seconds: $0.10 + 6 × $0.10 per second for the AI matte = $0.70. The match LUT moved the warm beach skin tones toward the cool dawn light of the valley.

How the job runs

  1. Foreground. The clip is trimmed to the requested duration (up to 30 s) and scaled to at most 1920 px wide.
  2. Matte. With key ai, background removal produces an alpha WebM. With key chroma, a green or blue (or any hex) key with spill suppression produces it locally.
  3. Background. This is your image_url, a background_video_url looped to the clip length, or a plate generated from prompt. A generated plate is 1344x768, 768x1344 or 1024x1024 to match the subject's orientation.
  4. Color match. Foreground and background are sampled and compared in Lab space, and a 17³ .cube LUT moves the subject toward the plate.
  5. Composite. Position and scale place the subject. Light wrap spills background light over the edges, and an optional drop shadow and film grain finish the frame.

Parameters

FieldValuesDefault
video_urlForeground subject videoRequired
image_url / background_video_url / promptOne background source, checked in that orderOne is required
keyai, chromaai
key_colorgreen, blue or hex (chroma only)green
positioncenter, left, right, bottomcenter
scale0.3-1.5, relative to fitting the frame1
match_colortrue / falsetrue
light_wrap0-10
grain0-10
shadowtrue / falsefalse
keep_audiotrue / falsetrue
duration1-30 s from the startWhole clip up to 30 s

Pricing

Billed seconds are rounded up, up to 30. The AI matte costs $0.10 plus the video background removal rate for each second ($0.10 per second at the time of writing, so 10 s = $1.10). A chroma key costs $0.10 plus $0.01 per second (10 s = $0.20). Generating the background from a prompt adds $0.04. If you shot on green or blue screen, use key chroma: it is cheaper and keeps hair detail as well as your screen allows.

CLI and REST

mg generate shot-composer --video take.mp4 --prompt "neon alley at night, wet asphalt" \
  --param key=chroma --param key_color=green --param light_wrap=0.3 --param shadow=true --dry-run

curl -X POST https://manifoldgen.com/api/service \
  -H "Authorization: Bearer $MANIFOLDGEN_API_KEY" -H 'Content-Type: application/json' \
  -d '{"service":"shot-composer","video_url":"https://.../take.mp4","image_url":"https://.../plate.jpg","duration":8,
       "params":{"position":"left","scale":0.8,"grain":0.2}}'

In REST, video_url, image_url, prompt and duration stay at the top level. background_video_url and the look settings go in params. MCP takes every field flat.

Keep it editable

The composite MP4 is only one of the outputs. The job also returns:

  • fg_alpha_url: the matted foreground as an alpha WebM (color graded when matching is on). Drop it into any editor that reads alpha.
  • background_url: the plate, including a generated one or the looped background video.
  • lut_url: the color-match .cube. Reuse it on other shots of the same subject, or load it into Color Grade and refine it.
  • audio_url: the foreground audio track when keep_audio is on.
  • studio_project_url and studio_url: a Studio project with the background, foreground and audio on separate layers, with the foreground already placed and scaled. Move, re-time or regrade it without re-running the job.
Light it like the plate

Matching and light wrap fix color and edges, but they can't change the direction of the light. Choose a plate whose key light comes from the same side as your subject's, or generate one with that direction in the prompt.

Try these prompts on your own shot.

Every example on this page was generated with ManifoldGen. Open the Studio and run the same structure on your idea.

Open Studio
Give $5, get $5 Invite a creator