POST /v1/voice-convert

Ubah rekaman audio menjadi suara AI tertentu (voice changer).

Request

POST /v1/voice-convert HTTP/1.1
Host: api.vonip.ai
Authorization: Bearer sk_live_xxx
Content-Type: multipart/form-data; boundary=…

Form fields:

Field Type Required Catatan
voice string Voice slug tujuan.
audio_file file audio/wav / audio/webm / audio/mp3. ≤ 25 MB.

cURL

curl -X POST https://api.vonip.ai/v1/voice-convert \
  -H "Authorization: Bearer sk_live_xxx" \
  -F "voice=anime_voice" \
  -F "audio_file=@input.wav"

Response 200 OK

{
  "id": "01h…",
  "kind": "convert",
  "status": "ready",
  "duration_sec": 4,
  "audio_url": "https://cdn.vonip.ai/converted/xyz.mp3",
  "voice_id": "0c1…",
  "created_at": "2026-05-14T07:01:23Z"
}

Tips

  • Rekam dengan mono 16 kHz untuk hasil terbaik.
  • Hindari klip ≤ 0.5 detik (provider sering reject).
  • Untuk hasil real-time, bagi rekaman jadi chunk 4–8 detik.