Node.js Workflow
Upload individual recordings, attach them to a voice, then trigger a build.
Prerequisites
- Node.js 18+
- PRO plan (or higher) account and API token (
RESEMBLE_API_KEY) - Folder with paired
.wavfiles and transcripts (clip-01.wav,clip-01.txt, …)
1. Bootstrap the script
2. Create the voice
3. Read recordings from disk
Target at least 20 clean samples; recordings longer than 12 seconds are ignored during training.
4. Upload recordings
5. Trigger the build
6. Run everything
The script prints upload status and kicks off training. Check progress with List Voices or the Resemble dashboard.
