NovelAI V5 API: params_version irrelevant, missing v4_prompt triggers 500 error

A developer testing the NovelAI V5 image generation API (nai-diffusion-5-full) on September 14, 2026, found that the params_version field — set differently across third-party tools — produces pixel-identical results whether set to 0, 1, 3, or 4. The API endpoint moved from api.novelai.net to image.novelai.net, and posting to the old host returns a misleading 400 error citing an invalid model enum value. Omitting either v4_prompt or v4_negative_prompt from the request body triggers a 500 Internal Server Error instead of a more informative 400 validation response. Manually setting the Content-Type header on a FormData body causes a 400 error due to a missing multipart boundary, since doing so strips the boundary that Node's fetch would otherwise attach automatically. The findings are aimed at developers calling the API directly from custom scripts rather than through GUI tools or ComfyUI nodes.
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