Skip to main content
POST
/
v1
/
prompt
/
podcast
cURL
curl --request POST \
  --url https://api.peelapi.com/v1/prompt/podcast \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_id": "prompt-podcast-1-pro",
  "prompt": "<string>",
  "intro_audio_url": "<string>",
  "outro_audio_url": "<string>"
}
'
{
  "data": {
    "job_id": "job_123",
    "links": {
      "self": "/v1/jobs/job_123",
      "stream": "/v1/jobs/job_123/stream"
    }
  },
  "errors": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model_id
enum<string>
required
Available options:
prompt-podcast-1-pro
prompt
string

Prompt must be at least 10 characters and less than 2000 characters

Required string length: 10 - 2000
intro_audio_url
string<uri>

Must be a valid URL

outro_audio_url
string<uri>

Must be a valid URL

Response

Job accepted

data
object
required
errors
unknown