Skip to main content
POST
Generate an illustration (NovelAI-compatible)

Authorizations

Authorization
string
header
required

A Square1 API key: Authorization: Bearer sq-arca-... (legacy ws-... keys remain valid). Create and rotate keys from the dashboard.

Body

application/json
input
string
required

The prompt, in NovelAI syntax (converted server-side).

Maximum string length: 8000
model
string

Accepted for protocol compatibility and ignored — the checkpoint comes from your active illustration preset.

Maximum string length: 128
action
string

If present, must be generate.

parameters
object

Response

A ZIP archive containing the generated PNG.

The response is of type file.