Architecture
A complex AI pipeline for generating custom tarot decks based on literary text, combining textual archetype extraction, style-locked image generation, and multimodal editing.
Pipeline
- Ideation (Gemini 2.5 Pro). User inputs a massive text (e.g., a novel). Gemini 2.5 Pro analyzes the themes and maps them to traditional Tarot archetypes.
- Styling (Gemini 2.5 Flash). The model analyzes a user-provided reference image to extract a rigid style guide: linework, color palette, negative space, compositional rhythm.
- Generation (Imagen 4). Concurrent workers batch-generate the full deck (up to 78 cards) using combined archetype + style guide prompts.
- Editing (Gemini Flash, multimodal). Users issue natural-language commands to edit cards while the pipeline strictly enforces adherence to the original style guide.