텍스트 입력이 주어지면 변환된 음성의 예상 길이를 반환합니다.
| Item | Required | Description |
|---|---|---|
text | Yes | 분석할 텍스트입니다. 최대 300자입니다. |
language | Yes | 텍스트 언어입니다. ko, en, ja 중 하나입니다. |
style | No | 감정 스타일입니다. 미지정 시 기본 스타일이 사용됩니다. |
model | No | 기본값은 sona_speech_1입니다. 현재 이 모델만 사용 가능합니다. |
voice_settings | No | 발화 속도 또는 피치 조정 값입니다. 결과 길이에 영향을 줄 수 있습니다. |
The text to convert to speech. Max length is 300 characters.
300Language code of the voice
en, ko, ja, bg, cs, da, el, es, et, fi, hu, it, nl, pl, pt, ro, ar, de, fr, hi, id, ru, vi The style of character to use for the text-to-speech conversion
The model type to use for the text-to-speech conversion
sona_speech_1, sona_speech_2, supertonic_api_1 The desired output format of the audio file (wav, mp3). Default is wav.
wav, mp3 Returns predicted duration of the audio in seconds