File size: 770 Bytes
0422215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
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"]