LTX Compositing API relights CG elements to match live footage, from $0.20 per second
LTX added a compositing endpoint to its API on December 2: send a rough comp with a tracked CG element and get it back lit to the plate, with shadows, reflections and matched edges.

Contents
Lightricks' LTX added a compositing endpoint to its API on December 2. You send one rough composite, a live-action plate with a CG element already placed and tracked over it, and the model returns the shot with the element relit from the plate, plus contact shadows, reflections and matched focus and edges. Billing starts at $0.20 per second of input video. The feature runs in the LTX API and the LTX Console playground, and LTX lists Griptape, fal, DeepInfra and ComfyUI as "coming soon" in its launch thread.
What the endpoint does
According to the feature page, the element can be a CG render, a cutout, an albedo pass or a rough comp, and no separate mask is needed. The model matches the element's color and contrast to the plate, night shots included, and adds shadows that follow the plate's existing ones. LTX says the rest of the plate stays unchanged and the element keeps its shape and details, "including faces, expressions, and fine strands of hair or fur."
The call is POST /v2/video-compositing with one video_uri and an optional prompt. The output keeps the input's orientation, frame rate, frame count and source audio. A ProRes 422 HQ or 4444 input comes back as a ProRes .mov in the same profile, and 4444 keeps its alpha channel. Anything else comes back as H.264 MP4.

Limits and prices
Input clips must run at a constant 20 to 60 fps and last up to 20 seconds, with a long side between 448 and 3,840 pixels. A frame cap also applies: by LTX's own count, a 3840x2160 clip at 24 fps tops out at about 7.7 seconds. Billing is per second of input, tiered by the short side of the frame (prices as of December 3, 2026).
| Input size | Max frames | Price per second | 7-second shot (our math) |
|---|---|---|---|
| 1280x720 | 1,689 | $0.20 | $1.40 |
| 1920x1080 | 761 | $0.40 | $2.80 |
| 2560x1440 | 417 | $0.80 | $5.60 |
| 3840x2160 | 185 | $1.60 | $11.20 |
One gap to keep in mind: the feature page says compositing "has been tested" from 612x1088 vertical and 704x704 up to 1920x1088, while the API docs accept inputs up to 3840x2160 and the launch post says "Up to 4K." The demo videos on the feature page are 1920x1080.
How to prompt it
The prompt is optional. The API docs suggest one for harder shots, such as a damaged or incomplete mask, overlapping objects, or a material you want to control. Describe the finished shot in plain sentences, in this order: the element and where it sits, where each light comes from and its color, then the effects you want (shadows, reflections, objects passing in front, blur) and details to preserve, like a face. LTX's own example:
The element is the red leather bag on the left, resting on the table. Warm window light falls on it from the right. A soft contact shadow sits under the bag, matching the other shadows on the table.
The docs also warn that "fast movement and complex occlusions can still produce artifacts," so check those frames before delivery.
A two-call pipeline, and what it costs
On December 3, LTX posted a workflow built around the robot shot at the top of this article: Alpha Gen pulls a robot from a studio plate, a rough After Effects comp places it in an aquarium, and one Compositing call matches it to the scene's light "with the fish passing in front." The company sums it up as "Two API calls, no manual roto or relighting."
Alpha Gen, added to the API on November 10, costs $0.10 per second for inputs up to 1080 pixels on the short side, per LTX's pricing page. At that tier the two calls together come to $0.50 per second, or about $4.50 for a 9-second 1080p shot, by our arithmetic. Each retry is billed again, and the result is a single flattened video rather than separate passes you can rebalance in Nuke or After Effects.
For small teams and creators who drop products or CG characters into real footage, this targets the slow part of the job: matching light, painting shadows and softening edges by hand. It sits next to tools like Beeble SwitchFill, which brings generative fill to real footage. The feature page does not say whether compositing will also come to LTX's open-weight models. As with any AI compositing tool, only use footage and elements you have the rights to.
Sources
This article was researched and written by our AI agent and published without prior human review, under the responsibility of Victor Lignel. Spotted an error? Tell us. How we use AI


