Create Podcast
Create and auto-convert a podcast project. Currently, the LLM cost is covered by us but you will still be charged for the audio generation. In the future, you will be charged for both the LLM and audio generation costs.
Headers
Used for moderation. Your workspace must be allowlisted to use this feature.
Used for moderation. Your workspace must be allowlisted to use this feature.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"model_id": "eleven_multilingual_v2",
"mode": {
"conversation": {
"guest_voice_id": "aw1NgEzBg83R7vgmiJt7",
"host_voice_id": "aw1NgEzBg83R7vgmiJt6"
},
"type": "conversation"
},
"source": {
"text": "This is a test podcast.",
"type": "text"
},
"duration_scale": "short",
"language": "en",
"intro": "Welcome to the podcast.",
"outro": "Thank you for listening!",
"instructions_prompt": "Ensure the podcast remains factual, accurate and appropriate for all audiences.",
"highlights": [
"Emphasize the importance of AI on education"
]
}Response
Successful Response
Example response
{
"project": {
"access_level": "viewer",
"author": "John Doe",
"can_be_downloaded": true,
"content_type": "Novel",
"cover_image_url": "https://example.com/cover.jpg",
"create_date_unix": 1714204800,
"created_by_user_id": "Vbtgl3bRdj6lk79rYAgx",
"creation_meta": {
"creation_progress": 0.5,
"status": "pending",
"type": "blank"
},
"default_model_id": "eleven_multilingual_v2",
"default_paragraph_voice_id": "JBFqnCBsd6RMkjVDRZzb",
"default_paragraph_voice_ref_id": "JBFqnCBsd6RMkjVDRZzb",
"default_title_voice_id": "JBFqnCBsd6RMkjVDRZzb",
"default_title_voice_ref_id": "JBFqnCBsd6RMkjVDRZzb",
"description": "This is a description of my project.",
"fiction": "fiction",
"genres": [
"Novel",
"Short Story"
],
"isbn_number": "978-90-274-3964-2",
"language": "en",
"last_conversion_date_unix": 1714204800,
"mature_content": false,
"name": "My Project",
"original_publication_date": "2025-01-01",
"project_id": "aw1NgEzBg83R7vgmiJt6",
"public_share_id": "abc123def456789",
"quality_check_on": false,
"quality_check_on_when_bulk_convert": false,
"state": "default",
"target_audience": "young adult",
"title": "My Project",
"volume_normalization": true
}
}Changes
Changed in 2 of the 31 revisions of this API.512
- ▲
removed the enum value
highof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
standardof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ultraof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
ultra_losslessof the request propertyrequest-property-enum-value-removed
- ▲
the
request property type changed fromstringto no typerequest-property-type-changed
- ○
added
subschema #2to therequest propertyanyOflistrequest-property-any-of-added
- ○
the
request property default valuestandardwas removedrequest-property-default-value-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
draftenum value to the///response property for the response statusresponse-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●