narrate: F5-TTS HTTP client + skald narrate CLI
skald-core::narrate ships a thin reqwest client + voice DB access (get_by_name, get_default, get_by_id). The boundary is the f5-tts container's purpose-built FastAPI sidecar (python lives there because torch + transformers + safetensors do); skald never touches python. CLI: skald narrate --chapter <uuid> [--voice slug] [--speed 1.0]. Voice resolution: --voice flag → story.preferred_voice_id → system default. Persists narration_runs row (engine='f5-tts', engine_version pinned, status: running → succeeded|failed). Output path stored is the f5-tts container's view (/audio/<story>-<n>-<run>.wav); web playback wiring deferred.
This commit is contained in:
parent
a291f44a10
commit
1f2dd40105
6 changed files with 388 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ tracing = { workspace = true }
|
|||
chrono = { workspace = true }
|
||||
uuid = { workspace = true }
|
||||
regex = { workspace = true }
|
||||
reqwest = { workspace = true }
|
||||
clawdforge = { path = "../vendor/clawdforge" }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue