支持fastapi服务

This commit is contained in:
puke
2025-10-28 01:33:36 +08:00
committed by puke
parent c387137446
commit c200761b97
28 changed files with 1854 additions and 4 deletions

15
api/__init__.py Normal file
View File

@@ -0,0 +1,15 @@
"""
ReelForge API Layer
FastAPI-based REST API for video generation services.
"""
# Lazy import to avoid loading dependencies until needed
def get_app():
"""Get FastAPI app instance (lazy loading)"""
from api.app import app
return app
__all__ = ["get_app"]