REST API

Example

curl -X POST "https://api.hyperbolic.xyz/v1/audio/generation" \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $HYPERBOLIC_API_KEY" \
    -d '{
      "text": "Hi! Welcome to Hyperbolic. I am an AI speaker. I am happy to help you today."
    }' | jq -r ".audio" | base64 -d > result.mp3

Input Parameters

  • text: Text input.
  • language (Optional): "EN", "ES", "FR", "ZH", "JP", "KR"
  • speaker (Optional): { "EN": ["EN-US", "EN-BR", "EN-INDIA", "EN-AU"], "ES": ["ES"], "FR": ["FR"], "ZH": ["ZH"], "JP": ["JP"], "KR": ["KR"]}
  • sdp_ratio (Optional): [0, 1]
  • noise_scale (Optional): [0, 1]
  • noise_scale_w (Optional): [0, 1]
  • speed (Optional): [0.1, 5]