Add FastAPI image generation service

Provide containerized GPT and Grok image generation with environment-based configuration.
This commit is contained in:
2026-08-18 23:23:46 +08:00
commit cf8b6c067d
8 changed files with 492 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
services:
ai-image-t2i:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
env_file:
- .env
volumes:
- ./output:/app/output
restart: unless-stopped