{"input_text":"[SPEAKER0] I can't believe you did that without even asking me first! [SPEAKER1] Oh, come on! It wasn't a big deal, and I knew you would overreact like this. [SPEAKER0] Overreact? You made a decision that affects both of us without even considering my opinion! [SPEAKER1] I'm sorry, but I had to make a decision. I had to do something. [SPEAKER1] Because I didn't have time to sit around waiting for you to make up your mind! Someone had to act.","ref_audio_links":["https://file.302ai.cn/gpt/imgs/20250813/bd5d60fc61fc455e869bba2115ff1f60.wav","https://file.302ai.cn/gpt/imgs/20250813/5e3f614b436f4d21a55813bab3e4bf58.wav"],"ref_audio_text":["The device would work during the day as well,if you took steps to either block direct sunlight or point it away from the sun.","Maintaining your ability to learn translates into increased marketability,improved career options and higher salaries."]}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl--location--request POST 'https://api.302.ai/302/v2/higgs_audio/voice_clone/task' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json' \
--data-raw'{
"input_text": "[SPEAKER0] I can'\''t believe you did that without even asking me first! [SPEAKER1] Oh, come on! It wasn'\''t a big deal, and I knew you would overreact like this. [SPEAKER0] Overreact? You made a decision that affects both of us without even considering my opinion! [SPEAKER1] I'\''m sorry, but I had to make a decision. I had to do something. [SPEAKER1] Because I didn'\''t have time to sit around waiting for you to make up your mind! Someone had to act.",
"ref_audio_links": [
"https://file.302ai.cn/gpt/imgs/20250813/bd5d60fc61fc455e869bba2115ff1f60.wav",
"https://file.302ai.cn/gpt/imgs/20250813/5e3f614b436f4d21a55813bab3e4bf58.wav"
],
"ref_audio_text": [
"The device would work during the day as well,if you took steps to either block direct sunlight or point it away from the sun.",
"Maintaining your ability to learn translates into increased marketability,improved career options and higher salaries."
]
}'