After Effects expressions with AI (ChatGPT, Claude)
Yes, ChatGPT, Claude or any MCP client connected to Prism can write After Effects expressions for you: it reads the property in your open composition, writes the expression, applies it, and reads back any error.
Most people already ask ChatGPT for an expression, paste it in and debug it against a red error bar. With Prism the AI is inside that loop: it knows what the property is called, whether it holds one value or an array, and what After Effects said when the expression was applied.
What you say, and what lands
| You type | What appears in your comp |
|---|---|
| "Wiggle the selected layer's position, with a slider on the layer for the amount." | A Slider Control on the layer and a wiggle expression on Position that reads it |
| "Give this scale an inertial bounce when it lands on its last keyframe." | An overshoot expression on Scale driven by the keyframe velocity, no extra keyframes |
| "Loop these rotation keyframes forever." | A loop expression on Rotation, cycling the keyframes you already set |
| "Count this text from 0 to 1,250 over three seconds, with a comma." | A slider keyframed 0 to 1250 and a Source Text expression that formats it |
| "Time-remap this precomp to half speed, then hold the last frame." | Time Remap enabled, keyframes at half speed, an expression that holds the final frame |
It sits in the property's expression field like any other. Open it, edit it, delete it.
Test it on your own project. A Free account is enough to start: Sign up, then connect your AI and ask for this.
How to do it
The fix loop
| Stage | Paste from a chat | With Prism |
|---|---|---|
| Write | Guessed from your description | Written against the property's real name, type and keyframes |
| Apply | You paste it into the expression field | Applied to the property you selected |
| Error | You paste the red bar into the chat | The error returns to the AI, which rewrites and reapplies |
| Change | Another paste | Another sentence |
What it needs
| After Effects | 2024, 2025 or 2026, macOS or Windows |
| AI client | any MCP client: ChatGPT, Claude, Claude Code, Cursor, Codex and others |
| Plan | a Free account is enough; expressions use MCP actions, not Prism AI credits |
What it does not do
There is no library of expressions to browse. Each one is written for the property in front of it by the AI you connected, and it is only as good as the sentence that asked for it. It does not add a property a layer or effect does not have, and it does not read a spreadsheet file to drive a value; paste the numbers.
Common questions
Related
Batch rename
Batch rename layers in After Effects with AI: describe the naming rule once and every layer, precomp and project item is renamed by what it is, across every comp.
Scripts
Write After Effects scripts with AI: ChatGPT or Claude writes the script, runs it in your open project through Prism and checks the result. No .jsx to paste.