cURL
curl --request POST \ --url https://api.ttapi.io/producer/v1/upload \ --header 'Content-Type: application/json' \ --header 'TT-API-KEY: <api-key>' \ --data ' { "audio_url": "<string>", "hook_url": "<string>" } '
{ "status": "SUCCESS", "message": "success", "data": { "job_id": "job_id" } }
Upload your own audio and perform subsequent processing
Вы можете получить API-ключ в TTAPI Dashboard.
Audio file URL
Callback notification URL. The data returned is consistent with the task result query response
Запрос выполнен успешно
"SUCCESS"
"success"
{ "job_id": "job_id" }