Generate an illustration (NovelAI-compatible)
A synchronous, NovelAI-protocol image endpoint — point any client
that speaks NovelAI’s /ai/generate-image (e.g. RisuAI’s
Lightboard) at this path with your Square1 key as the Bearer token.
Checkpoint, LoRAs, sampler, and quality settings come from your
active illustration preset (dashboard → Images →
ILLUSTRATION), not from the request — the NAI model field is
accepted and ignored. See the Illustration API guide for the full
parameter-precedence rules.
The response is a ZIP archive containing one PNG (exactly what a
NovelAI client expects). Errors use NovelAI’s
{statusCode, message} shape, not the OpenAI envelope used by
the rest of this API. Generated images are private — they never
enter the public gallery.
Members-only: requires an active account (and a registered email when email enforcement is on). Image generation draws from the image queue capacity, not from your LLM token quota.
Authorizations
A Square1 API key: Authorization: Bearer sq-arca-... (legacy ws-... keys remain valid). Create and rotate keys from the dashboard.
Body
The prompt, in NovelAI syntax (converted server-side).
8000Accepted for protocol compatibility and ignored — the checkpoint comes from your active illustration preset.
128If present, must be generate.
Response
A ZIP archive containing the generated PNG.
The response is of type file.