Skip to main content
POST
/
v1
/
generation
/
podcast
/
generate
/
{taskId}
/
audio
Generate Podcast Audio
curl --request POST \
  --url https://api.weryai.com/v1/generation/podcast/generate/{taskId}/audio \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": 200,
  "desc": "Success",
  "message": "Success",
  "data": {
    "task_id": "FdYwEeQIFzc",
    "task_status": "processing"
  },
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.weryai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Path Parameters

taskId
string
required

Task ID from text generation

Body

application/json
scripts
object[]

Custom podcast scripts. If not provided, the default text from the task will be used.

Example:
[
{
"speaker_id": "travel-girl-english",
"speaker_name": "Mia",
"content": "Many people are asking about the breakthrough applications of AI in healthcare."
}
]
webhook_url
string<uri>

Callback URL for task completion notification

caller_id
integer<int64>

Caller ID

Response

Audio generation started 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