Queue workers
Gemini image generation
Workers call Gemini image model with the cinematic prompt and optional portrait inlineData, then save WebP outputs.
Implemented Verified from source System
In one sentence
The image model returns inline image bytes; the worker writes local + B2 files, creates thumbnails, and inserts arcana_renders.
Models
- Image:
gemini-2.5-flash-image responseModalities: ["IMAGE"]withimageConfig.aspectRatio