cURL
curl --request POST \ --url https://api.ttapi.io/producer/v1/generate-video \ --header 'Content-Type: application/json' \ --header 'TT-API-KEY: <api-key>' \ --data ' { "music_id": "<string>", "preset": "simple" } '
{ "status": "SUCCESS", "message": "success", "data": { "videoUrl": "https://storage.googleapis.com/corpusant-app-public/song-videos/77ce096c-22c2-442b-a868-4100867a45df:0835e01ecc5ae00a000cc5a9b8f3035dea48508645a6142cbd1d7e5b72e0d4d7.mp4", "status": "complete" } }
Upload your own audio and perform subsequent processing
You can obtain your API key from the TTAPI Dashboard.
Parent task's musicId
Preset video generation type, three options available
modern
player
simple
Request successful
PENDING_QUEUE
ON_QUEUE
SUCCESS
FAILED
Response message
Task result
Show child attributes