POST
/
podcast
/
scripted

Authorizations

X-API-KEY
string
headerrequired

Body

application/json

A request to start a job to generate a podcast episode with a provided script.

script
object[]
required

The segments forming the script for the episode

music_spec
object | null

An optional spec for adding background music to the generated script. Note that if the chosenmusic track is longer than the duration of the generated script, it will be cut off.

Response

200 - application/json
job_id
string
required

The job ID for the episode generation. The status of this job can be queried using the/podcast/{job_id} endpoint.