
Higgs Audio V2
starting from
API Overview
Open-source model deployed by 302.AI.
API Console
Log in to explore more features! Click to Log In
API Reference (4)
| API Description | API Endpoint | Request Method | Stability | Parameter Description |
|---|---|---|---|---|
Create Voice Cloning Task | POST | Stable | View Details | |
Document Details Create Voice Cloning Price: 0.03PTC/1k tokens Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsoninput_textstringRequired Enter text. Please refer to the use case to distinguish between multi-user and single-user formats. Example Value:
The sun rises in the east and sets in the west.
This simple fact has been observed by humans for thousands of years.
ref_audio_linksarray[string]Required Refer to the audio link, and please follow the order of the reference audio transcript. Example Value: [
"https://file.302ai.cn/gpt/imgs/20250813/bd5d60fc61fc455e869bba2115ff1f60.wav",
"https://file.302ai.cn/gpt/imgs/20250813/5e3f614b436f4d21a55813bab3e4bf58.wav"
]ref_audio_textarray[string]Required Refer to the audio transcript, and please follow the order of the reference audio links. Example Value: [
"\n\t\t\t\tThe device would work during the day as well,\n\t\t\t\tif you took steps to either block direct sunlight or point it away from the sun.\n\t\t\t\t",
"\n\t\t\t\tMaintaining your ability to learn translates into increased marketability,\n\t\t\t\timproved career options and higher salaries.\n\t\t\t\t"
]temperatureanyOfOptional The value used to adjust the probability of the next token >= 0 <= 1.5Default Value: 1top_kanyOfOptional The number of highest-probability tokens to keep during top-k filtering >= -1 <= 100Default Value: 50top_panyOfOptional If set to a float less than 1, only the most likely tokens whose cumulative probability reaches or exceeds top_p are retained for generation >= 0.1 <= 1Default Value: 0.95 | ||||
View Voice Cloning Tasks | GET | Stable | View Details | |
Document Details View Voice Cloning Tasks Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Query Parameterstask_idstringRequired Task ID | ||||
Create intelligent voice generation task | POST | Stable | View Details | |
Document Details Create an intelligent voice generation task, where the tone can be described using system_prompt Price: 0.03PTC/1k tokens Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonis_multi_speakerbooleanRequired Are there multiple speakers input_textstringRequired Enter text. Please refer to the use case to distinguish between multi-user and single-user formats. Example Value:
The sun rises in the east and sets in the west.
This simple fact has been observed by humans for thousands of years.
system_promptanyOfOptional system_prompt, please refer to the examples to distinguish between multi-user and single-user formats. Example Value:
Generate audio following instruction.
<|scene_desc_start|>
Audio is recorded from a quiet room.
<|scene_desc_end|>
Example Value:
Generate audio following instruction.
<|scene_desc_start|>
Audio is recorded from a quiet room.
<|scene_desc_end|>
temperatureanyOfOptional 用于调整下一个 token 概率的值 >= 0 <= 1.5Default Value: 1top_kanyOfOptional The number of highest probability vocabulary tokens to keep for top-k-filtering >= -1 <= 100Default Value: 50top_panyOfOptional 如果设置为小于 1 的浮点数,则仅保留概率总和达到 top_p 或更高的最可能的 tokens 进行生成 >= 0.1 <= 1Default Value: 0.95 | ||||
View intelligent voice generation task | GET | Stable | View Details | |
Document Details View Intelligent Voice Generation Tasks Request Parameters Header ParametersAuthorizationstringRequired Example Value: Bearer {{YOUR_API_KEY}}Query Parameterstask_idstringRequired Task ID | ||||
API Pricing
| Model | Description | 302.AI Price |
|---|
View voice cloning task | - |
|
View voice cloning task | - |
|
Create intelligent voice generation task | - |
|
View intelligent voice generation task | - |
|