Algolia
Instant catalog search
Gemini
Image gen with model fallback
Multimodal
Photo upload, voice, presets
Production
Rate limits, SSRF guards, queueing

Algolia powers a live, typo-tolerant search across the full rug catalog, so any product can be staged in seconds.
Type out a room, upload a photo of your own space, or pick a curated editorial preset. Three ways to set the scene.
A prompt engine reads each rug's real size and aspect ratio so it lands at believable scale: runners stay narrow, room-size rugs fill the floor, tapestries hang on the wall.
SSRF allowlisting, MIME and magic-byte validation, and tiered daily limits keep the unauthenticated generation API safe.
A circuit breaker and automatic model fallback keep generations flowing when the primary model is overloaded, with a concurrency gate protecting the server.
Voice-to-text scene descriptions, plus a moderated gallery of approved generations from shoppers around the world.




Visitor
Shopper
Search
Algolia catalog
API
WP REST endpoint
AI
Gemini image gen
Store
MySQL log
Output
Staged image
AI & Image Generation
Search
Backend & Platform
Frontend