Image generation
Image-generation form
Authenticated generator UI collects band, song, lyrics, style, aspect, portraits, and queues a pending job.
Implemented Verified from source User-facing
In one sentence
The main generator page validates inputs and inserts a pending arcana_queue row instead of calling Gemini inline.
Current behavior
Requires login and credits. Accepts band, song, lyrics, custom instructions, aspect ratio, image style, optional portraits, t-shirt mode, and admin-only no-watermark. Returns JSON with queue_id. Polls via check_queue.
Step-by-step flow
- Auth + plan flags loaded.
- Validate credits, band/song, portraits permissions.
- Optionally ensure
custom_instructionscolumn exists. - Insert pending queue row.
- Client polls status.
Known limitations
- Alternate generators exist (
batch,csv,queue.submit) with older/weaker checks. - CSV generator accepts a posted
user_idwithout an obvious admin gate.