Muse API
Muse API runs the AI features on the Birdy Grey storefront:
- Virtual try-on: a customer uploads a photo and gets back an image of themselves wearing the product.
- Palette generation: a customer uploads inspiration photos and gets back a palette of Birdy Grey colors.
| Stack | Bun, Hono, TypeScript |
| Hosting | Cloud Run, muse-api service |
| Production | https://api.birdygrey.com/muse |
| Staging | https://api.birdystaging.com/muse |
| Repository | birdygrey/muse-api |
| API reference | api.birdygrey.com/muse/public/docs |
Who calls itβ
| Caller | Endpoint |
|---|---|
| hydrogen-storefront, for signed-in customers | POST /muse/try-on |
| hydrogen-storefront, forwarding uploads | POST /muse/generate-palette |
Every call goes through API Gateway with an API key.