Public API v1
Dub a Vietnamese audio file with a new voice
Changed onTranscribes the uploaded Vietnamese audio (Whisper STT), then re-synthesizes it with the chosen preset voice. Tokens are billed by the OUTPUT audio duration (same rate as the app, × the engine multiplier), charged only on success. Max file size: 10 MB.
post/api/v1/dub
Request
- Base URLhttps://api.vieneu.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Request body multipart/form-data
Example request
{
"voiceId": "Ngọc Lan",
"emotion": "natural",
"temperature": 1,
"engine": "v4"
}Response
The re-voiced audio plus the transcript it was built from.
Example response
{
"success": true,
"transcript": "Xin chào, đây là nội dung được phiên âm.",
"voiceUsed": "Tuyen",
"audioUrl": "https://s3.amazonaws.com/bucket/dub/job.wav?X-Amz-Expires=3600&...",
"audioUrlExpiresIn": 3600,
"duration": 5.2,
"tokenCost": 80
}Changes
- breaking
removed the enum value
v3of the request property
- breaking
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info