Internal Project Voice Sample Preview
This is an internal authenticated backend route used by the VoiceCheap app. It is not part of the public API key surface.Route
- Method:
POST - Path:
/speech/project-voice-sample-preview - Auth: Bearer access token required
Request body
Response
Behavior
- Resolves the project and checks the requester has access.
- Downloads the stored original audio.
- Cuts and concatenates the selected speaker audio from the project transcription.
- Caps source speech at 5 minutes per speaker.
- Creates a temporary cloned voice, generates one preview sentence in the first target language, then deletes the temporary voice.
- Returns the preview as base64 MP3 data for immediate playback in the app.
Rate limiting
- This route is intentionally low-rate-limit.
429response:
Project data changes
Project creation now stores persisted examples on the dubbing project undervoicePreviewSamples[]:
voicePreviewSamples[].audioUrl files are deleted when the project is deleted.
