Endpoint Examples
Generate AI Scripted Podcast
Starts a background job that creates an AI generated script and produces an audio file.
The response contains a job_id
that can be used with the /podcast/{job_id}
endpoint
to query for status.
Requires a valid X-API-TOKEN
header.
Throws:
- 429 if the user has too many jobs in flight.
- 422 if provided voice_ids are not unique
- 400 if any voice_ids or music_ids provided are invalid
POST
Authorizations
Body
application/json
A request to start a job that generates an audio file for a podcast with a script generated by AI using the provided prompt. An optional list of Voice IDs can be provided to control the audio generation output. If no voice_ids are provided, defaults of up to 2 speakers will be chosen.
Response
200
application/json
Successful Response
The response is of type object
.