1. 金融行业定制TTS模型
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. 金融行业定制TTS模型

Skyblight text to speech

Text to speech#

TTS models for financial services#

MyVocal offers two models for financial services, Skyblight and Skyblight-Turbo. Both are suitable for customer service, notifications, assistants and telephone systems, with natural readings of names, brands, amounts, dates, phone numbers and postal codes.

Choose a model#

What you needSuggested modelWhy choose it
Telephone or audio processing formats such as ulaw, webm, raw and pcm_s16leSkyblightA broader range of formats for IVR, SIP, contact centers and audio processing
Chinese, Cantonese, Hindi, Malay, Filipino or TamilSkyblight-TurboSupports more Asian languages
You mainly use mp3, pcm or wav and want playback to start promptlySkyblight-TurboStraightforward format options for live conversations, customer support and assistants
Download or save a complete audio fileEither modelUse the non-streaming endpoint /v2/ai/speech/tts
Play audio while it is being generatedEither modelUse the streaming endpoint /v2/ai/speech/stream

Output languages#

Skyblight#

Thai th, Vietnamese vi, Indonesian id, Arabic ar, Urdu ur, Japanese ja, Korean ko, English en, Spanish es

Skyblight-Turbo#

Chinese zh, Cantonese yue, Japanese ja, Korean ko, Indonesian id, Vietnamese vi, Thai th, Hindi hi, Malay ms, Filipino fil, Tamil ta, English en
Use language: "en" for both Singapore English and Australian English. The selected voice determines the accent.
Set language explicitly when you know it. If you omit it or use auto, the service infers the language from the text.

Output audio formats#

EndpointSkyblightSkyblight-Turbo
Streaming /v2/ai/speech/streammp3、raw、ulaw、webm、pcm_s16le、pcm_f32lemp3、pcm、wav
Non-streaming /v2/ai/speech/ttsmp3、raw、ulaw、webm、aac、wav、pcm_s16le、pcm_f32lemp3、pcm、wav

Examples#

Skyblight: telephone support#

{
  "voice": "<VOICE_ID>",
  "text": "Your payment of one hundred dollars is due on August fifteenth.",
  "model": "Skyblight",
  "language": "en",
  "format": "ulaw",
  "sample_rate": 8000,
  "priority": "auto"
}

Skyblight-Turbo: real-time multilingual speech#

{
  "voice": "<VOICE_ID>",
  "text": "Xin chào, vui lòng xác nhận thông tin tài khoản của bạn.",
  "model": "Skyblight-Turbo",
  "language": "vi",
  "format": "wav",
  "sample_rate": 24000,
  "priority": "auto"
}

Integration steps#

1.
List voices and select an available voice.
2.
Choose the streaming or non-streaming endpoint.
3.
Select a model and pass a language and format it supports.
4.
Use the voice management and usage endpoints to manage resources once your integration is live.

Common settings#

sample_rate: choose 8000, 16000 or 24000. Telephone audio in ulaw typically uses 8000.
stability: controls consistency between generations, from 0 to 1.
similarity: controls how closely the output matches the target voice.
priority:
auto: use dedicated concurrency first, then shared capacity if dedicated capacity is full.
dedicated_concurrency: use dedicated capacity only.
shared_concurrency: use shared capacity only. Requests may queue when it is busy.

Before you start#

Choose based on two questions:
1.
Will you play audio as it is generated or save a complete file?
2.
Which language and audio format does your application require?

Choose an endpoint#

What you needEndpoint to useDescription
Live playback, telephone support, online conversations and assistantsStreaming text to speechAudio arrives during generation. Playback can begin when the first audio bytes arrive.
Download, storage, archiving and offline playbackNon-streaming text to speechThe service generates the complete audio and returns it in one response.

Choose a model#

What you needSuggested model
Telephone or audio processing formats such as ulaw, webm, raw and pcm_s16leSkyblight
Chinese, Cantonese, Hindi, Malay, Filipino or TamilSkyblight-Turbo
You mainly use mp3, pcm or wavSkyblight-Turbo

Five-minute quickstart#

1.
List voices and select a voice.
2.
Choose a model, language code and format from the tables below.
3.
Open the streaming or non-streaming endpoint and copy the request example on the right.
4.
Replace YOUR_API_KEY and <VOICE_ID> with your own values.
5.
Read a successful response as binary audio. Only parse a JSON response when handling an error.

Authentication#

Send API-Key: YOUR_API_KEY in the request headers for every endpoint.

Supported languages#

Set language to a code from the table. If omitted, the service infers the language from the text.
LanguageCodeSkyblightSkyblight-Turbo
ThaithSupportedSupported
VietnameseviSupportedSupported
IndonesianidSupportedSupported
ArabicarSupported—
UrduurSupported—
JapanesejaSupportedSupported
KoreankoSupportedSupported
EnglishenSupportedSupported
SpanishesSupported—
Chinesezh—Supported
Cantoneseyue—Supported
Hindihi—Supported
Malayms—Supported
Filipinofil—Supported
Tamilta—Supported
Use language: "en" for Singapore English and Australian English. Choose a voice with the accent you need.

Supported audio formats#

EndpointSkyblightSkyblight-Turbo
Streaming /v2/ai/speech/streammp3、raw、ulaw、webm、pcm_s16le、pcm_f32lemp3、pcm、wav
Non-streaming /v2/ai/speech/ttsmp3、raw、ulaw、webm、wav、pcm_s16le、pcm_f32lemp3、pcm、wav
For calls, outbound dialing, SIP and contact centers, a common combination is Skyblight + ulaw + 8000 Hz.

Shared parameters#

ParameterRequiredPurpose
voiceYesVoice ID returned by the voice list
textYesText to synthesize
modelYesSkyblight or Skyblight-Turbo
languageNoOutput language code. Inferred when omitted.
formatNoOutput audio format. Choose a value supported by the model.
sample_rateNoSample rate in Hz: 8000, 16000 or 24000.
seedNoA seed improves consistency for repeated requests with the same text and settings. If omitted, a random seed is used.
stabilityNoControls consistency between generations. If omitted, the service uses its default.
similarityNoControls similarity to the target voice. If omitted, the service uses its default.
priorityNoCapacity selection. Usually auto.
Start with your application’s default stability and similarity settings, then adjust them while listening to the results.

Next steps#

Call streaming text to speech
Call non-streaming text to speech
List voices
上一页
SDKs and examples
下一页
Streaming text to speech
Built with