Add an AIGen-only generate API for external tools.

Cursor and similar clients can enqueue Studio 2 stills with the same steps and CFG the bench uses, through session or AIGEN_API_KEY.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-26 19:05:28 -05:00
co-authored by Cursor
parent 68469d9c71
commit 2b603b1d58
12 changed files with 399 additions and 9 deletions
+2
View File
@@ -19,6 +19,8 @@ COMFY_CONTROL_TOKEN=
# COMFY_IDLE_MS=1800000
NUXT_SESSION_SECRET=change-me
# Optional. Bearer token for POST /api/aigen/generate and GET /api/aigen/jobs/:id (AIGen only).
# AIGEN_API_KEY=
NUXT_PUBLIC_AUTH_ENABLED=true
NUXT_OIDC_CLIENT_ID=
NUXT_OIDC_CLIENT_SECRET=