{
"purpose": "voice_clone",
"file": "https://file.302.ai/gpt/imgs/562bcd4c05770c4f43eab2aac479ed15.mp3"
}
curl --location --request POST 'https://api.302.ai/minimaxi/v1/files/upload' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header 'Content-Type: application/json' \
--data-raw '{
"purpose": "voice_clone",
"file": "https://file.302.ai/gpt/imgs/562bcd4c05770c4f43eab2aac479ed15.mp3"
}'
{
"file": {
"file_id": 295384372387966,
"bytes": 2213868,
"created_at": 1753669493,
"filename": "302.mp3",
"purpose": "voice_clone"
},
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}