Skip to main content
POST
Submit Podcast Text Generation Task

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Body

application/json
query
string
required

The question or topic for podcast generation

Required string length: 1 - 2000
Example:

"What are the breakthrough applications of artificial intelligence in healthcare"

speakers
string[]
required

List of speaker IDs to use in the podcast (get from speakers/list endpoint). Note: When mode is 'debate', exactly 2 speakers are required.

Required array length: 1 - 2 elements
Example:
language
string
required

Language code (e.g., en, zh, ja). Must match the language of the selected speakers.

Example:

"en"

mode
string
required

Generation mode. Supported values: quick, debate, deep. Important: When using 'debate' mode, you must provide exactly 2 speakers.

Example:

"quick"

webhook_url
string<uri>

Callback URL for task completion notification

caller_id
integer<int64>

Caller ID

Response

Task submitted successfully

status
integer

HTTP status code

Example:

200

desc
string

Status description

Example:

"Success"

message
string

Response message

Example:

"Success"

data
object
success
boolean

Indicates if the request was successful

Example:

true