1. Overview and quickstart
MyVocal AI语音大模型API文档
English
  • 中文
  • English
  • 文字转语音大模型
    • API reference
      • Voice management
        • List voices
        • Create a voice
        • Delete a voice
      • HTTP synthesis
        • Streaming HTTP synthesis
        • Non-streaming HTTP synthesis
      • WebSocket synthesis
        • Standard TTS · Single connection
        • Standard TTS · Multiple contexts
        • Dialogue · Multiple contexts
      • Usage and request history
        • Get master key usage
        • Look up a request by ID
        • Get usage by voice
      • Sub-key management
        • Create a sub-key
        • List sub-keys
        • Get sub-key details
        • Update a sub-key
        • Get sub-key usage
    • Overview and quickstart
      • Models
      • Choose a model and endpoint
      • Supported languages
      • Audio formats and playback
      • FAQ
      • SDKs and examples
  • 金融行业定制TTS模型
    • Skyblight text to speech
      • Streaming text to speech
      • Non-streaming text to speech
      • List voices
      • Delete a voice
      • Create a voice
      • Get usage
    • Full-duplex communication
      • WebSocket integration guide
      • V2 bidirectional streaming synthesis (WebSocket)
  • 语音转文字ASR
    • Overview and quickstarts
      • Realtime transcription quickstart
      • File transcription quickstart
      • Models and capabilities
      • Changelog
    • API reference
      • Realtime transcription over WebSocket
      • Create a file transcription
      • Get ASR usage
  • 企业客户声音定制服务
    • Your custom brand voice
  1. Overview and quickstart

FAQ

How do I make my first request?#

Open the overview and quickstart, choose an available voice and send a non-streaming HTTP request.

Which WebSocket supports V4 and V3 Turbo?#

Use Dialogue · Multiple contexts. You can register just one voice. The standard single-connection and multi-context TTS endpoints do not support these models.

Can I keep adding text to a streaming HTTP request?#

Streaming HTTP takes the text once and returns the audio in chunks. To add text incrementally, use a WebSocket endpoint supported by your model.

How do I generate Cantonese speech?#

With V4 or V3 Turbo, supply Cantonese text and set language_code=yue. Use zh for Mandarin. The parameter does not translate Mandarin into Cantonese. See Supported languages.

Can I close the connection when I receive audio?#

Wait for the task to finish. For standard single-connection TTS, wait for final. For standard multi-context TTS, flush, send close_context, then wait for final. For dialogue, close_context processes remaining text before final. Follow the sequence for your protocol.

Which SDK should I download?#

Choose the endpoint first, then the programming language. The WebSocket SDKs use different message structures. See SDKs and examples.

Why is a change in settings hard to hear?#

Results depend on voice, text and context. Change one field at a time and listen to the same passage. Dialogue WebSocket stability and HTTP similarity use different controls. See Models.

Will every voice work with a new model?#

Choose a voice from your voice list and test a short line with the target model. The cloning tier alone does not determine model compatibility.

What should I check if a request fails?#

Check the api-key, voice_id, model and endpoint combination, audio format and concurrency setting. Read code, field and message in the error before handling the response as audio. Use Request lookup to find a call.

Where can I check usage?#

Master key usage shows account usage. For a particular voice or request, see Usage and request history.
上一页
Audio formats and playback
下一页
SDKs and examples
Built with