v1

latestOpenAPI 3.0.32026-07-24106305257.4 KB
Audios

Upload audio file

Upload an audio file to a temporary storage before creating an animation. The audio is uploaded using multipart/form-data. the filename directive is optional and if provided should contain up to 50 valid characters long. The resulting file is stored as a .wav file in a 16kHz sample rate. Valid characters: a-z A-Z 0-9 . _ - Supported mime types: "audio/, video/" Storage duration: 24-48H

post/audios

Response

The audio has been uploaded successfully

urlstring required

The temporary URL of the audio. This URL should be provided when creating an animation via the /animations endpoint.

idstring

A unique identifier for the audio. This identifier should be used when deleting the audio via the /audio/{id} endpoint.

durationnumber double

The duration of the audio in seconds

moderation_metadataRecordStringAny

Construct a type with a set of properties K of type T

wordLevelTimestampsUrlstring

The URL of the word level timestamps file.