Discussions

Ask a Question
Back to All

how to support Chinese input in your api call?

I set a voice id to : 'voice_id': "zh-CN-XiaoxiaoNeural", and if I set the input in English, it works, but if I chanage the input to Chinese, it don't work, and get the response like this:

    "kind": "TextToSpeechProviderError",
    "description": "Missing audio data",
    "details": {
        "provider": "microsoft",
        "event": {
            "privResultId": "C1CB7AA153CF4E4991936F61AF464016",
            "privReason": 10,
            "privAudioData": [],
            "privAudioDuration": 0
        }
    }

what can I do?