Authorization: Bearer ********************
curl --location --request POST 'https://api.chatfire.cn/elevenlabs/v1/speech-to-text' \
--form 'file=@""' \
--form 'model_id=""' \
--form 'language_code=""' \
--form 'tag_audio_events=""' \
--form 'num_speakers=""' \
--form 'timestamps_granularity=""' \
--form 'diarize=""' \
--form 'diarization_threshold=""' \
--form 'additional_formats[0][format]=""' \
--form 'additional_formats[0][include_speakers]=""' \
--form 'additional_formats[0][max_characters_per_line]=""' \
--form 'additional_formats[0][segment_on_silence_longer_than_s]=""' \
--form 'additional_formats[0][max_segment_duration_s]=""' \
--form 'additional_formats[0][max_segment_chars]=""' \
--form 'additional_formats[1][format]=""' \
--form 'additional_formats[1][include_speakers]=""' \
--form 'additional_formats[1][include_timestamps]=""' \
--form 'file_format=""' \
--form 'cloud_storage_url=""' \
--form 'webhook=""' \
--form 'temperature=""' \
--form 'seed=""'
{
"language_code": "zho",
"language_probability": 1.0,
"text": "你好啊!",
"words": [
{
"text": "你",
"start": 0.119,
"end": 0.319,
"type": "word",
"speaker_id": null,
"logprob": 0.0,
"characters": null
},
{
"text": "好",
"start": 0.319,
"end": 0.459,
"type": "word",
"speaker_id": null,
"logprob": 0.0,
"characters": null
},
{
"text": "啊",
"start": 0.459,
"end": 0.579,
"type": "word",
"speaker_id": null,
"logprob": 0.0,
"characters": null
},
{
"text": "!",
"start": 0.579,
"end": 0.639,
"type": "word",
"speaker_id": null,
"logprob": 0.0,
"characters": null
}
],
"additional_formats": null
}