Spaces:
Running on Zero
Running on Zero
| """ | |
| tools_api β Standalone endpoints for creator quick tools. | |
| Lives alongside the main pipeline (server.py) but stays decoupled: | |
| - No shared job state, no SSE, no GPU semaphore. | |
| - Reuses step modules as libraries only (no edits to steps/). | |
| - Artifacts written under ARTIFACTS_ROOT/tools/<run_id>/. | |
| Endpoints (mounted by router.router): | |
| POST /api/tools/subtitles β captions (sidecar or burn-in MP4) | |
| POST /api/tools/voice-clone β single-segment TTS with voice clone | |
| POST /api/tools/audio-cleanup β Demucs source separation | |
| POST /api/tools/dramabox β Resemble Dramabox directable speech (dramabox Space only) | |
| GET /api/tools/file/{run}/{f} β download generated artifact | |
| """ | |
| from .router import router | |
| __all__ = ["router"] | |