POST
/
podcast
curl --request POST \
  --url https://api.wondercraft.ai/v1/podcast \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "prompt": "<string>",
  "voice_ids": [
    "<string>"
  ],
  "music_spec": {
    "music_id": "<string>",
    "fade_in_ms": 0,
    "fade_out_ms": 0,
    "playback_start": 0,
    "playback_end": 123,
    "volume": 0.05
  }
}'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-KEY
string
header
required

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.