""" 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//. 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"]