Take Fake Photos with your real friends!
Fauxto Booth — AI-Generated Group Photos That Never Happened
A Cloudflare-native photo kiosk that composites guests into AI-generated scenes using Durable Objects, Workflows, and Replicate.
About Fauxto Booth
Fauxto Booth lets you create fake group photos with real people. A host sets up a booth with a theme or backdrop, guests join from their phones, snap selfies, and an AI model composites everyone into a single scene. The finished “fauxto” appears moments later.
The host controls the booth from a dashboard: choosing backgrounds, managing who’s in the shot, and kicking off generation. Guests scan a QR code or follow a link to upload their photo from any device. Each person gets a personal /me hub where they can browse all the fauxtos they’ve appeared in.
Behind the scenes, the app uses four Durable Object agents (booth, user, hub, and fauxto) coordinated through Cloudflare Workflows. The booth agent manages uploads and queues generation jobs. Workflows handle the long-running AI compositing without blocking HTTP requests. All guest photos and finished fauxtos are stored in R2.
Frameworks & Technologies Used
- Frontend: React with Vite (kiosk UI, booth dashboard, personal hub)
- Backend: Cloudflare Workers with Agents SDK (stateful booth and user agents)
- AI Model: ByteDance SeeDream 4.5 on Replicate (image compositing)
- Real-time: WebSockets via
useAgenthooks for live updates
Why Cloudflare for This Project?
- Durable Objects for Stateful Booths: Each booth is its own Durable Object instance with persistent state. Guest uploads, booth settings, and fauxto queues survive restarts and deploys without an external database.
- Workflows for Reliable Generation: AI image compositing takes time. Cloudflare Workflows run these jobs durably with automatic retries, so a network hiccup doesn’t lose a generation in progress.
- R2 for Media Storage: Guest selfies, booth backgrounds, and finished fauxtos all land in R2. Replicate fetches source images directly from R2 URLs during compositing.
- Edge-First Latency: The kiosk UI, API routes, and agent logic all run on Workers. Guests uploading photos from their phones hit the nearest Cloudflare data center.