Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_image-generation-service

Image Generation Service (Async GPU Queue, Diffusion & Safety)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Image Generation Service (Async GPU Queue, Diffusion & Safety) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_image-generation-service/opengraph-image)](https://archos.sageideas.dev/d/dgm_image-generation-service)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_image-generation-service)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_image-generation-service" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Image Generation Service (Async GPU Queue, Diffusion & Safety) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Creative & API Users"]
  n1_1["Gen API & Safety Gate"]
  n2a_2[("Priority Job Queue")]
  n2b_3["GPU Diffusion Pool"]
  n3_4[("Post-Filter & CDN")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Submit job · HTTPS"| n1_1
  n1_1 -->|"2a. Enqueue · Kafka"| n2a_2
  n1_1 -.->|"2b. Denoise · CUDA"| n2b_3
  n2a_2 -->|"3a. Publish · S3"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Creative & API UsersSTATELESS
    Text-to-image & inpainting
  • Gen API & Safety GateSTATELESS
    Prompt moderation + quota
  • Priority Job QueueSTATEFUL
    Tiered queues + dedupe
  • GPU Diffusion PoolSTATELESS
    TensorRT Flux/SDXL workers
  • Post-Filter & CDNSTATEFUL
    NSFW check + C2PA + S3 CDN
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Creative & API Users → Gen API & Safety Gate (Submit job)[HTTPS]
  2. Gen API & Safety Gate → Priority Job Queue (Enqueue)[Kafka]
  3. Gen API & Safety Gate → GPU Diffusion Pool (Denoise)[CUDA]
  4. Priority Job Queue → Post-Filter & CDN (Publish)[S3]
  5. GPU Diffusion Pool → Post-Filter & CDN (Apply)[Async]
  6. Post-Filter & CDN → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →