Cloudflare Small App Garden
Back to all apps

Virtual Try On

Shipped Dec 23, 2025
Virtual Try On
Workers R2 KV TanStack Start

An app that allows users to try on an ugly winter jumper, virtually! Built with Workers and Replicate

Virtual Try On — AI-Powered Clothing Preview

Upload a photo and see yourself wearing a virtual outfit, powered by Replicate models running through Cloudflare AI Gateway.

About Virtual Try On

Virtual Try On lets you upload a photo and virtually try on clothing. The app sends your image along with a garment photo to an AI model that composites the outfit onto your body. Two model endpoints are available: Google’s nano-banana-pro and OpenAI’s gpt-image-1.5, each producing different results you can compare.

The backend runs on Cloudflare Workers with Hono for routing. API calls to Replicate go through Cloudflare AI Gateway, which adds logging, rate limiting, and caching to model requests. Generated images are stored in R2, and session state is managed through KV.

Frameworks & Technologies Used

Why Cloudflare for This Project?

Links