Feature Request: Option to connect own LLM API key (e.g. Claude) in Magic's AI Shader Generator
Posted: Tue Mar 31, 2026 8:17 am
Hey everyone!
First of all — huge congratulations to Eric and the team on Magic 2.5 and the new AI prompting feature for ISF shaders! This is honestly a game-changer. I've been making AI ISF modules since the update dropped and it's amazing to have this built right into the workflow.
I wanted to bring up a feature request that I think could really benefit power users: the option to connect your own LLM API key — specifically something like Anthropic's Claude — as an alternative model in the AI shader settings.
Why I'm asking
I've been using Claude (via claude.ai subscription) to write ISF shaders for Magic for quite a long time now — way before 2.5 came out — and through dozens and dozens of sessions I've built up a really deep workflow with it. Here's a taste of what I've been able to create with Claude writing the GLSL code:
Fluid dynamics simulations — Navier-Stokes solvers, rotational CFD adapted from Flockaroo's Shadertoy work
Optical flow & datamosh feedback effects — the kind of glitchy video feedback that's normally a multi-pass nightmare
Delaunay mesh triangulation and Voronoi/foam cell systems
Plexus-style graph networks with animated connections
Volumetric cloud raymarchers
Curl noise tendril/smoke effects
Ribbed glass refraction and wave wobble deformation
Scribble portrait rendering and Saber-style glow effects
Sprite sheet animation tools with custom aesthetics
The critical thing is that Claude has learned (through our conversations) the specific constraints of Magic's ISF implementation — no persistent buffers between passes, no cyclic node connections, the difference between Shadertoy multipass and ISF multipass. When I describe an effect, it already knows to write single-pass procedural solutions or suggest manual feedback wiring workarounds specific to Magic. This context is incredibly valuable and took many sessions to build up.
The proposal
It would be fantastic if Magic 2.5+ could offer an "Advanced" or "Custom API" option in the AI settings where users can:
Paste their own API key (for Claude, or potentially other providers)
Select a model (e.g. Claude Opus, Sonnet, etc.)
Have Magic still handle the ISF-specific system prompt and format requirements on its side
This way, users who already pay for a Claude Pro subscription (or API access) could leverage their existing investment, potentially get access to more powerful models, and benefit from the provider's full context window for complex shader requests.
Benefits for the community
No extra cost for Magic team — the API calls go through the user's own account
Model choice — different LLMs have different strengths; Claude is particularly strong at GLSL/shader code in my experience
Longer context — Claude Opus has a massive context window, which really helps when you're iterating on complex shaders and want to reference previous attempts
Power user flexibility — casual users keep the built-in default (which is great!), advanced users get more control
For reference
I'm not the only one doing this kind of thing — over on the TroikaTronix (Isadora) forum, users have been sharing entire GLSL shader packs they created with Claude, including reference documents to make the AI more effective at writing shaders for their specific platform. The VJ/visual art community is clearly hungry for this kind of AI-assisted shader creation.
Would love to hear what Eric and the community think about this. Has anyone else been using external LLMs for shader writing? What models have you tried?
Cheers!
First of all — huge congratulations to Eric and the team on Magic 2.5 and the new AI prompting feature for ISF shaders! This is honestly a game-changer. I've been making AI ISF modules since the update dropped and it's amazing to have this built right into the workflow.
I wanted to bring up a feature request that I think could really benefit power users: the option to connect your own LLM API key — specifically something like Anthropic's Claude — as an alternative model in the AI shader settings.
Why I'm asking
I've been using Claude (via claude.ai subscription) to write ISF shaders for Magic for quite a long time now — way before 2.5 came out — and through dozens and dozens of sessions I've built up a really deep workflow with it. Here's a taste of what I've been able to create with Claude writing the GLSL code:
Fluid dynamics simulations — Navier-Stokes solvers, rotational CFD adapted from Flockaroo's Shadertoy work
Optical flow & datamosh feedback effects — the kind of glitchy video feedback that's normally a multi-pass nightmare
Delaunay mesh triangulation and Voronoi/foam cell systems
Plexus-style graph networks with animated connections
Volumetric cloud raymarchers
Curl noise tendril/smoke effects
Ribbed glass refraction and wave wobble deformation
Scribble portrait rendering and Saber-style glow effects
Sprite sheet animation tools with custom aesthetics
The critical thing is that Claude has learned (through our conversations) the specific constraints of Magic's ISF implementation — no persistent buffers between passes, no cyclic node connections, the difference between Shadertoy multipass and ISF multipass. When I describe an effect, it already knows to write single-pass procedural solutions or suggest manual feedback wiring workarounds specific to Magic. This context is incredibly valuable and took many sessions to build up.
The proposal
It would be fantastic if Magic 2.5+ could offer an "Advanced" or "Custom API" option in the AI settings where users can:
Paste their own API key (for Claude, or potentially other providers)
Select a model (e.g. Claude Opus, Sonnet, etc.)
Have Magic still handle the ISF-specific system prompt and format requirements on its side
This way, users who already pay for a Claude Pro subscription (or API access) could leverage their existing investment, potentially get access to more powerful models, and benefit from the provider's full context window for complex shader requests.
Benefits for the community
No extra cost for Magic team — the API calls go through the user's own account
Model choice — different LLMs have different strengths; Claude is particularly strong at GLSL/shader code in my experience
Longer context — Claude Opus has a massive context window, which really helps when you're iterating on complex shaders and want to reference previous attempts
Power user flexibility — casual users keep the built-in default (which is great!), advanced users get more control
For reference
I'm not the only one doing this kind of thing — over on the TroikaTronix (Isadora) forum, users have been sharing entire GLSL shader packs they created with Claude, including reference documents to make the AI more effective at writing shaders for their specific platform. The VJ/visual art community is clearly hungry for this kind of AI-assisted shader creation.
Would love to hear what Eric and the community think about this. Has anyone else been using external LLMs for shader writing? What models have you tried?
Cheers!