r/vfx • Compositor - 15 years experience • 6h ago

Question / Discussion Claude or ChatGPT for Nuke Python / Blinkscript

Hey all,

I was wondering what your experience is with either Claude or ChatGPT for assisting in developing Nuke tools / gizmos and also creating and modifying Blink kernels. One of them better / less "hit or miss" than the other?

Additional question is how you integrate them into your work? Simple copy & paste approach or in a more sophisticated manner?

Thanks!

0 Upvotes

3 comments sorted by

3

u/_comoema_ 5h ago

CLI version for Codex and Claude works fine, even better delegating to local LLM workers.
Crucial is to provide a good base to start with, feed information and whatever is related to your goal.
You can automate everything from scratch, and going deeper and deeper regarding debugging and testing it within Nuke itself, can achieve different level of complexity (NDK, Python etc.)
It really depends what you wanna do.

3

u/bonalex01 4h ago

Hi, I had decent results using Hermes agent for blinkscript coding. Actually I mainly used more basic LLMs ( Qwen / GLM).
The fun part is the LLM discovered by itself that different ways of accessing Nuke had various qualities.
IF I remember well:
- Nuke headless was good for running short scripts
- MCP allowed testing interactions through python
- computer used revealed different UI behaviors than scripting.
The LLM found a hacky way to intercept multiple blinkscript compilation errors by sneaking into the Qt objects.

For the algorithmic part, results were so-so. It created test images ( eg single black pixel on white background) and processed them with the blinkscript but was not so good at interpreting the results. A better LLM would have probably been better.

syntax wise, giving all the example blinkscript possible was helpfull ( i searched all those from "nuke survival toolkit" folder) to limit api hallucinations.

Anyway I babysitted heavily the process as I wanted to have a good understanding of the code to see what optimisations were made. Blinkscript is so fast it accepts brute force algoritms but it still usefull to optimize for processing large image areas or in case of cpu fallback when rendering on cpu farms

2

u/SuperFantastic Compositor - 7 years experience 2h ago

Why not actually just try for yourself?