Create PlayNote
Create a new PlayNote by providing a file URL.
Check out the Generate Conversation from PDF with PlayNote API guide for a step-by-step approach to using the PlayNote API to create a podcast-style conversation (and more!) from a PDF.
After you create your PlayNotes, you can proceed to poll its status via the Get PlayNote endpoint.
Note: You can have only one active generation. If you face this error code 403
with the message {"errorMessage":"User already has an active generation","errorId":"UNAUTHORIZED"}
then please wait for some time and try again later.
Authorizations
Your secret API key from PlayAI, formatted as Bearer YOUR_SECRET_API_KEY
.
Headers
multipart/form-data
application/json
Body
The synthesis style of the PlayNote
podcast
, executive-briefing
, childrens-story
, debate
The unique ID for a PlayAI Voice.
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
"Angelo"
The source file to be uploaded. One and only one of sourceFile
or sourceFileUrl
must be provided.
URL to the source file. One and only one of sourceFile
or sourceFileUrl
must be provided.
Male
, Female
The unique ID for a PlayAI Voice.
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
"Deedee"
Male
, Female
A URL to receive status updates for the PlayNote
"https://my.webhook.url.com"
Response
The unique ID for each PlayNote
"qHMJf1MqlSPsfBdQIyYi"
The PlayAI unique ID for each user
"gpTwobxZzJRczfqommFemErGJTU2"
The name of the PlayNote
URL to the source file
The synthesis style of the PlayNote
podcast
, executive-briefing
, childrens-story
, debate
The unique ID for a PlayAI Voice.
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
The current status of the PlayNote
generating
, completed
, failed
When the PlayNote was requested
URL to the generated PlayNote audio file
Name of the voice1
character
Gender of the voice1
character
Male
, Female
The unique ID for a PlayAI Voice.
"s3://voice-cloning-zero-shot/baf1ef41-36b6-428c-9bdf-50ba54682bd8/original/manifest.json"
Name of the voice2
character
Gender of the voice2
character
Male
, Female
A URL to receive status updates for the PlayNote
"https://my.webhook.url.com"
Duration of the audio in seconds
When the PlayNote was created
Was this page helpful?