NovelAI V5 Models Work in ComfyUI but Anlas Balance Error Needs a Manual Fix

Both nai-diffusion-5-full and nai-diffusion-5-curated model IDs function correctly through the ComfyUI_NAIDGenerator node, despite a README caveat stating they had not been verified against the live API. A widely reported 'Error fetching Anlas 400' is unrelated to the models themselves and stems from NovelAI having moved its user endpoints from api.novelai.net to image.novelai.net around the V5 launch. The fix requires updating USER_API_BASE_URL in two places within nodes.py to point to the new host. An additional complication arises because the new endpoint returns trainingStepsLeft as a nested object rather than an integer, causing a TypeError when the node attempts arithmetic on the balance. On an Opus-tier account, generating a standard 832×1216 image at 28 steps consumed zero Anlas, confirming the generation pipeline itself works as expected.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in