VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
export function storyToSpans(
tracks: { text: string; profileId?: string | null; character?: string; speed?: number | null }[],
cast: { id: string; profileId: string | null }[],
globalSpeed?: number | null,
): {
title: string;
spans: {
voice_id: string | null;
text: string;
pause_ms_after: number;
speed?: number | null;
join?: 'continue' | 'paragraph';
}[];
}[];