Back

EZ Works Architecture

Scalable AI Image Generation Pipeline

EZ Works ArchitectureScalable AI Image Generation PipelineCLIENT LAYERNext.js ApplicationReact 19 • Server ComponentsWorkflow BuilderNode-based InterfaceReal-time PreviewWebSocket ListenerAsset GalleryS3 Image LoaderINFRASTRUCTUREAPI GatewayNext.js API Routes• Auth (Clerk)• Rate Limiting• Validation• Billing (Stripe)Job QueueRedis / BullMQPriority Queuing • Job DeduplicationSocket ServerReal-time Status UpdatesAI PROCESSINGGPU ClusterFastAPI Workers + ComfyUIWorker Node (Python)ComfyUI EngineLoadKSamplerVAE DecodeS3 / R2 Storage UploaderREST / POSTPush JobPoll / PopProgress EventsTECHNOLOGIESNext.js 16FastAPIRedisComfyUIWebSocket