Create rendered audio
POST {{baseUrl}}/v2/ai/audio/renders
This endpoint creates rendered audio from timeline data. It returns a render ID that you can use to download the finished audio when it is ready. The render ID is valid for up to 48 hours.
Request Body
{"audio_renders"=>[{"preset"=>"<string>", "timeline"=>{"spans"=>[{"span_type"=>"<string>", "time"=>"<integer>", "id"=>"<number>", "tempo"=>"<integer>", "regions"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instrument_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tempo_changes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"span_type"=>"<string>", "time"=>"<integer>", "id"=>"<number>", "tempo"=>"<integer>", "regions"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instrument_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tempo_changes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}]}, "filename"=>"<string>"}, {"preset"=>"<string>", "timeline"=>{"spans"=>[{"span_type"=>"<string>", "time"=>"<integer>", "id"=>"<number>", "tempo"=>"<integer>", "regions"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instrument_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tempo_changes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"span_type"=>"<string>", "time"=>"<integer>", "id"=>"<number>", "tempo"=>"<integer>", "regions"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "instrument_groups"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tempo_changes"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}]}, "filename"=>"<string>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"audio_renders":[{"id":"njlpYoWWmb1AYs2nZyw7EcNWbAkZ","timeline":{},"status":"WAITING_COMPOSE","preset":"MASTER_MP3","progress_percent":0,"files":[],"created_date":"2021-01-26T12:10:22-05:00","updated_date":"2021-01-26T13:10:22-05:00"}]}