- Deleted empty routers/image_studio_router.py (legacy file) - __init__.py now creates APIRouter directly instead of re-exporting from legacy - Same prefix, tags, and all 33 routes preserved - app.py imports unchanged: from routers.image_studio import router as image_studio_router Final package structure: routers/image_studio/ ├── __init__.py ← creates router, includes 10 sub-routers ├── models.py ← 40 Pydantic models ├── deps.py ← shared dependencies ├── create.py edit.py face_swap.py upscale.py ← endpoint groups ├── control.py social.py transform.py ├── compress.py convert.py health.py
1.1 KiB
1.1 KiB