mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-16 21:51:24 +08:00
Add FishAudioTTS (capability=tts) so tts_selector auto-discovers a new high-quality, voice-clone-capable provider. Backend model is required per call: s1 (previous flagship, kept for compatibility), s2-pro (first S2 generation), s2.1-pro (latest flagship — inline emotion tags, 80+ languages), s2.1-pro-free (free tier for drafts). s1-mini and the speech-1.x tier have been removed from the current fish.audio API and are no longer supported. Voice cloning via reference_id with voice_id as a selector-compatible alias. Adds temperature/top_p/repetition_penalty sampling controls, optional sample_rate, opus output format, and a "low" latency tier. Cost is estimated per UTF-8 byte to match fish.audio billing. Includes a Layer 3 skill, .env.example entry, and unit tests. Verified end-to-end with s2.1-pro + reference_id: generated a 7-segment Japanese narration successfully.