Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for Cauldron
Cauldron
Inspiration
We've all seen a Twitter bio so unhinged it deserved to be roasted publicly. We wanted to turn that impulse into a shareable Discord experience — the kind of thing you screenshot and send to your group chat immediately.
What it does
Cauldron is a Discord bot with three commands: /roast generates a savage AI roast with custom personality stats and a Magic Hour portrait; /versus pits two profiles in a fighter-card battle with live reaction voting; /wrapped produces a five-slide Spotify Wrapped–style recap with an AI-generated album cover. Any handle works — unknown ones get invented on the fly so the demo never breaks.
How we built it
Discord.js for slash commands and embeds, Google Gemini 2.0 Flash for structured JSON text generation, and Magic Hour (Seedream model) for AI portrait generation. A local JSON database of 22 pre-built profiles powers instant autocomplete with zero cold-start latency.
Challenges we ran into
Magic Hour rejected image prompts containing real celebrity names as copyright violations — we fixed this by instructing Gemini to describe people by archetype ("eccentric tech billionaire") instead of by name. We also caught a schema bug where imagePrompt was missing from the /versus Gemini response shape, causing a crash on every battle.
Accomplishments that we're proud of
The full flow — slash command to styled embed with AI portrait — completes in under 30 seconds. The /wrapped slide reveal with its gradient color progression genuinely feels like Spotify Wrapped, and any arbitrary handle producing coherent, funny output makes demos feel effortless.
What we learned
Gemini's structured JSON output mode nearly eliminates prompt formatting issues. Explicit "never do X" constraints (like naming real people in image prompts) work better than hoping the model infers safe behavior. Discord's deferReply + editReply pattern with progressive status updates makes 20-second AI waits feel fast.
What's next for Cauldron
Real profile scraping from public APIs, image compositing to overlay portraits onto styled card templates via Magic Hour, a server-wide /versus leaderboard, and shareable web links so content lives beyond Discord.
Built With
- discord.js
- dotenv
- google-gemini-2.0-flash
- magic-hour-seedream
- node.js
Log in or sign up for Devpost to join the conversation.