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
+40
View File
@@ -0,0 +1,40 @@
# Environment and secrets
.env
.env.*
!.env.example
# Generated output
output/
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/
# Virtual environments
.venv/
venv/
env/
# Packaging
build/
dist/
*.egg-info/
# IDE and OS
.vscode/
.idea/
*.iml
.DS_Store
Thumbs.db
# Logs and local databases
*.log
*.sqlite3