v1
latestOpenAPI 3.0.32026-07-26451985.7 KBaudio-text-to-text
Chat with AI models using text and audio. Also known as audio-text-to-text
post/models/v2/Qwen/Qwen2-Audio-7B-Instruct
Request body
Example request
{
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Describe this audio"
},
{
"type": "audio",
"url": "https://dn720307.ca.archive.org/0/items/various-bird-sounds/Various%20Bird%20Sounds.mp3"
}
]
}
],
"params": {
"min_length": 10,
"max_length": 100,
"temperature": 0.5
}
}Response
Successful audio-text-to-text response.
Example response
{
"output": {
"role": "assistant",
"content": "The sound is of raindrops and birds chirping."
}
}