effects.set
Turns on the first effect of a kind with these settings, adding one when there's none.
JSON-RPC 2.0project.write
Name one target: object or source for video effects; track, bus, mix or master: true for audio effects. Used for the studio looks (studio.beauty, studio.bg_blur, studio.bg_remove, …), of which a source has one each.
Parameters
- objectstringAn object's id or name (its source's effects).
- scenestringThe object's scene. Default: the scene being edited.
- sourcestringA source's id or name.
- trackstringA mixer track's id or name (or its source's).
- busstringA bus's id or name.
- mixstringA mix's id or name.
- masterbooleantrue for the master.
- kindstringrequiredAn effect kind.
- settingsobjectSettings merged into its own.
- enabledbooleanDefault true.
Result
- effectstringThe effect's id.
- addedbooleanWhether it was added.
Errors
As effects.add.
Events
Subscribers to events get workspace.changed.
From an AI agent
The MCP server's studio_fx (action: set) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "effects.set", "params": {}}lightair call effects.setconst result = lightair.call("effects.set", {});