Generate audio using AI
Path parameters
Request body
Example request
{
"prompt": "Generate upbeat background music",
"text": "Hello, welcome to VideoDB.",
"audio_type": "voice",
"voice_name": "Default",
"model_name": "k2-fsa/OmniVoice",
"sandbox_id": "bx-123abc",
"voice_clone_id": "vc-123abc",
"callback_url": "https://webhook.example.com/callback"
}Response
Audio generation started
Example response
{
"success": true,
"status": "processing",
"data": {
"id": "job-123",
"output_url": "https://api.videodb.io/async-response/job-123"
}
}Changes
Changed in 1 of the 5 revisions of this API.18
- ▲
removed the enum value
speechof the request propertyaudio_typerequest-property-enum-value-removed
- ○
added the new optional request property
confignew-optional-request-property
- ○
added the new optional request property
model_namenew-optional-request-property
- ○
added the new optional request property
sandbox_idnew-optional-request-property
- ○
added the new optional request property
textnew-optional-request-property
- ○
added the new optional request property
voice_clone_idnew-optional-request-property
- ○
added the new optional request property
voice_namenew-optional-request-property
- ○
the request property
promptbecame optionalrequest-property-became-optional
- ○
added the new
voiceenum value to the request propertyaudio_typerequest-property-enum-value-added
- ▲