AI keying vs Keylight: neural unmixing compared to After Effects' built-in chroma keyer
Every After Effects user knows Keylight. It ships free with AE. You pick the screen color, dial in clip black and clip white, adjust despill, and you have a key. For decades, that was the entire conversation.
AI chroma keying changes the equation. Tools like CorridorKey and BlaceKey use neural networks to physically unmix the foreground subject from the green screen. Instead of picking a color range to remove, the network separates the layers the way a printer separates inks. The results on difficult footage (hair, motion blur, sheer fabric) can be dramatically better than anything color-based keying can produce.
But AI keying is not a drop-in replacement. It is slower, runs outside your NLE, and requires GPU horsepower. This guide compares the two approaches honestly so you can decide when each one makes sense.
What is Keylight?
Keylight is a color-based chroma keyer developed by The Foundry and bundled with every copy of After Effects. It has been the default AE keyer since the mid-2000s.
The core idea is straightforward. You sample the green (or blue) screen color with the Screen Colour eyedropper. Keylight subtracts that color from the image and generates an alpha channel. You then refine the result with clip black (crushing dark areas of the matte to solid black), clip white (pushing bright areas to solid white), screen gain, screen balance, and despill controls.
Keylight works in real time. You can scrub your timeline and see the keyed result instantly. Every parameter is keyframeable. The entire workflow stays inside After Effects.
For clean, well-lit green screen footage, Keylight produces excellent results. There is a reason it has been the industry standard for over fifteen years.
What is AI keying?
AI keying takes a fundamentally different approach. Instead of identifying pixels by color and removing them, a neural network learns what foreground subjects look like and physically separates them from the background.
The specific technique used by CorridorKey (and by extension, forks like EZ-CorridorKey) is called neural unmixing. Think of it like spectral unmixing in satellite imaging: the network decomposes each pixel into its foreground and background contributions. The output is a clean foreground color plate (with the green spill already removed) and a linear alpha matte.
This is a batch process, not real-time. You feed the network a sequence of frames. It processes them on your GPU (typically requiring an NVIDIA card with CUDA support). You get back the separated layers. Then you bring those layers into your compositor for final assembly.
Current AI keying tools include:
- ☼ CorridorKey by Corridor Digital (the original open-source release)
- ☼ EZ-CorridorKey by EZSCAPE (source-available fork, work in progress, 4,000+ stars on GitHub, supports green and blue screen keying as of v2.0)
- ☼ BlaceKey (commercial AI keying service)
Feature comparison
| Feature | Keylight | AI keying (CorridorKey-based) |
|---|---|---|
| Type | Color-based chroma keyer | Neural network unmixing |
| Speed | Real-time preview | Batch processing (seconds per frame) |
| Hair detail | Good with careful tuning | Excellent, minimal chatter |
| Motion blur | Loses transparency in blur | Preserves blur naturally |
| Semi-transparent materials | Difficult, requires manual roto assist | Handles sheer fabric, glass, smoke |
| Ease of use | Eyedropper + 5-6 sliders | Export frames, run script, import result |
| Cost | Free (bundled with AE) | Free / open source |
| Learning curve | Moderate (many tutorials available) | Moderate (CLI or GUI, GPU setup required) |
| Integration | Native After Effects effect | External tool, import results into AE |
| Despill | Manual (screen balance, despill bias) | Automatic (built into unmixing) |
| Consistency across shots | Requires per-shot tuning | More consistent, less per-shot adjustment |
| GPU requirements | Whatever AE needs | NVIDIA GPU with 6+ GB VRAM recommended |
Where Keylight wins
Real-time feedback
Keylight gives you instant visual feedback. Move a slider, see the result. Scrub the timeline, watch the key update frame by frame. This tight feedback loop is extremely valuable when you are dialing in a look or troubleshooting a problem area.
AI keying requires you to process an entire shot (or at least a representative range), then review the output. If something is wrong, you adjust parameters and reprocess. That cycle is measured in minutes, not milliseconds.
Native After Effects integration
Keylight lives inside your comp. It stacks with other effects. It respects AE's layer system, blending modes, and expressions. You can mask areas, add a second Keylight instance for a different screen color region, or chain it into an Advanced Spill Suppressor and Key Cleaner pipeline.
AI keying requires a round-trip. You export your plate, process it externally, then bring back the foreground and alpha as separate layers. That is extra steps, extra files, and extra room for frame-count mismatches.
Massive tutorial ecosystem
Search YouTube for "Keylight After Effects tutorial" and you will find hundreds of results from the past decade. Every skill level is covered. Every edge case has been documented by someone. Common problems like uneven screen lighting, wrinkles in the backdrop, and green spill on blonde hair all have well-known Keylight solutions.
AI keying is new enough that tutorial coverage is thin. You are more likely to be reading GitHub READMEs than watching polished walkthroughs.
No additional GPU requirements
Keylight runs wherever After Effects runs. If your machine handles AE, it handles Keylight. No CUDA requirement. No VRAM minimum. No separate Python environment.
AI keying tools typically need an NVIDIA GPU with significant VRAM. Running CorridorKey on a laptop with integrated graphics is not practical.
Clean screen footage
On a properly lit green screen with even coverage, Keylight produces professional results in minutes. The subject has hard edges or short hair. The backdrop has no wrinkles or hot spots. In these conditions, Keylight is faster to a finished key than any AI tool.
Most studio footage falls into this category. That is why Keylight has been the standard for so long. When the shoot is done right, color-based keying works.
Where AI keying wins
Hair edges without chatter
This is where AI keying earns its keep. Fine hair against a green screen is the hardest problem in chroma keying. Keylight handles it reasonably well on a single frame, but across a sequence, the matte edge on individual hair strands flickers and chatters. You end up stacking edge refinement effects, adding choke and feather, or resorting to manual roto on the worst frames.
Neural unmixing produces clean, temporally stable hair mattes because it understands what hair looks like, not just what green looks like. Individual strands maintain consistent alpha values across frames. The chatter problem largely disappears.
Motion blur preservation
When a subject moves fast, the edges of their body blur into the green screen. Those blurred pixels are a mix of foreground and background color. Keylight treats them as partially green and pulls them toward transparency, which makes fast-moving edges look hard and clipped.
AI keying preserves the blur because the network can distinguish "foreground color blended with background due to motion" from "actual background." The blur renders with correct transparency gradients, so motion feels natural in the composite.
Semi-transparent materials
Sheer fabric, glass, smoke, and water spray all pass some light from the green screen through the foreground material. Keylight sees that transmitted green and removes it, which makes the transparent material disappear along with the screen.
Fixing this in a color-based workflow means extensive holdout mattes, garbage masks, and manual compositing. AI keying handles it directly because the network separates the layers by content, not by color.
Automatic despill
Green spill on the subject (green light bouncing off the screen and tinting skin, hair, and clothing) requires manual correction in Keylight. You use the despill bias controls, or you add a separate Spill Suppressor effect, or you color-correct the foreground after keying. Getting despill right without making skin look lifeless takes practice.
AI keying produces a clean foreground plate with spill already removed as part of the unmixing process. The foreground colors represent what the subject actually looks like, not what they look like under green contamination.
Less per-shot tuning
A typical Keylight workflow requires adjusting settings for every shot. Different lighting angles, different screen distances, different wardrobe colors all demand different Keylight parameters. On a multi-shot project, you might spend significant time just matching keys across cuts.
AI keying tends to be more consistent across shots from the same production. The network adapts to varying conditions without manual intervention. You may still need to adjust some parameters, but the baseline result is usually closer to finished.
When to use which
Use Keylight when:
- ☼ The green screen is well-lit and evenly exposed
- ☼ The subject has hard edges or short hair
- ☼ You need instant preview while adjusting parameters
- ☼ The shot has no motion blur or transparent elements
- ☼ You want to stay entirely inside After Effects
- ☼ You are on a tight deadline with clean footage
Use AI keying when:
- ☼ The subject has long or wispy hair that chatters in Keylight
- ☼ There is significant motion blur on the edges
- ☼ Semi-transparent materials (veils, glass, smoke) are present
- ☼ The green screen has uneven lighting or wrinkles
- ☼ You are keying many shots and want consistent results with less per-shot tweaking
- ☼ You have already tried Keylight and the result is not holding up
Many editors use a practical hybrid approach. Keylight first. If the footage keys cleanly, ship it. If a specific shot has problem areas (hair chatter, motion blur, transparent wardrobe), send that shot through AI keying. This way you get the speed of Keylight where it works and the quality of AI keying only where you need it.
Practical workflow: AI keying with After Effects
AI keying tools work outside After Effects, but the final composite still happens in your AE timeline. Here is the general process using a CorridorKey-based tool:
Step 1: Export the green screen plate. Render your green screen footage from AE (or use the original camera files directly). Use a high-quality format. PNG image sequence is safest for preserving quality.
Step 2: Process with the AI keyer. Run the footage through your chosen tool. EZ-CorridorKey provides a GUI and CLI interface. Point it at your image sequence folder, select your output directory, and start the batch process. Processing time depends on resolution, frame count, and GPU speed. Expect roughly 1-5 seconds per frame at 1080p on a modern NVIDIA GPU.
Step 3: Import the results. The AI keyer outputs two things: a clean foreground plate (RGB with no green screen) and an alpha matte (grayscale). Import both into After Effects as image sequences.
Step 4: Composite. Set up your comp with the clean foreground on top, your new background underneath. Apply the alpha matte using Track Matte or a Set Matte effect. The clean foreground already has despill removed, so you typically do not need additional spill suppression.
Step 5: Final adjustments. Color-correct the foreground to match your background. Add edge treatments if needed (light wrap, edge blur). These steps are the same regardless of whether you used Keylight or AI keying to get your matte.
FAQ
Is AI keying better than Keylight for green screen?
It depends on the footage. AI keying produces better results on difficult material: hair, motion blur, semi-transparent elements, and unevenly lit screens. Keylight is faster and simpler on clean, well-lit footage. Most professional workflows will use both depending on what each shot demands.
Can I use CorridorKey inside After Effects?
No. CorridorKey and its forks (including EZ-CorridorKey) run as standalone tools outside After Effects. You process your footage externally and import the results back into AE for compositing. There is no native AE plugin version at this time.
Is AI chroma keying free?
Yes. CorridorKey is open source, released by Corridor Digital. EZ-CorridorKey is a source-available fork maintained by EZSCAPE with 4,000+ stars on GitHub. Both are free to download and use. You can get EZ-CorridorKey from Gumroad. You need an NVIDIA GPU with adequate VRAM (6 GB minimum recommended) to run them. BlaceKey offers a commercial cloud-based alternative if you do not have a compatible GPU.
Does AI keying replace rotoscoping?
For green screen footage, AI keying can eliminate many cases where you would otherwise resort to manual roto to fix a bad key. It does not replace rotoscoping for footage shot without a green screen. If there is no chroma screen in the original shot, you still need roto (or a different AI tool designed for natural background removal).
EZ-CorridorKey is developed by Ed Zisk at EZSCAPE, creator of DITHERON, CRTified, and Cucolori.