avocado/podcast-generator-wan
Forked from avocado/podcast-generator
Forked from avocado/podcast-clip-generator
Public
6
runs
Run avocado/podcast-generator-wan with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| story_prompt |
string
|
Story prompt to generate a podcast about
|
|
| voice_id |
string
|
Friendly_Person
|
Voice ID for the podcast host. Options: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl
|
| podcast_style |
string
|
professional studio podcast with a single host speaking into a microphone, modern setup, warm lighting
|
Description of the podcast setting/style for image generation
|
{
"type": "object",
"title": "Input",
"required": [
"story_prompt"
],
"properties": {
"voice_id": {
"type": "string",
"title": "Voice Id",
"default": "Friendly_Person",
"x-order": 1,
"description": "Voice ID for the podcast host. Options: Wise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, Abbess, Sweet_Girl_2, Exuberant_Girl"
},
"story_prompt": {
"type": "string",
"title": "Story Prompt",
"x-order": 0,
"description": "Story prompt to generate a podcast about"
},
"podcast_style": {
"type": "string",
"title": "Podcast Style",
"default": "professional studio podcast with a single host speaking into a microphone, modern setup, warm lighting",
"x-order": 2,
"description": "Description of the podcast setting/style for image generation"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output",
"required": [
"video",
"script",
"audio",
"image"
],
"properties": {
"audio": {
"type": "string",
"title": "Audio",
"format": "uri"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri"
},
"video": {
"type": "string",
"title": "Video",
"format": "uri"
},
"script": {
"type": "string",
"title": "Script"
}
}
}
Example API response
View prediction
{'audio': 'https://replicate.delivery/xezq/vWaeZAj304TWAiwft6HxBB80xgDFUN8YvQeeBd1NVUr7vFLWB/tmp6kbjz4_9.mp3',
'image': 'https://replicate.delivery/xezq/Og0Ei5m5epSZGCYfe9hoYjuV4bDXCLIDhXfQyOLgjP45vFLWB/out-0.webp',
'script': 'So yesterday I was at the playground, right? And I learned '
'something super important that I think all grown-ups need to know. '
'I was on the big twisty slide, the really tall one that makes your '
'tummy feel funny, when this kid Tyler started crying because he '
'was scared to go down. \n'
'\n'
'And you know what I did? I told him the secret. You just gotta '
'close your eyes, hold your breath, and think about cookies the '
'whole way down. Works every time! Tyler tried it and guess what '
'happened? He went flying down that slide laughing his head off.\n'
'\n'
"Now here's the thing - I think this works for everything scary "
'that grown-ups do too. Like when my mom has to talk to mean people '
'on the phone, or when dad has to fix the scary noise the car '
'makes. Just close your eyes, hold your breath, and think about '
'cookies. \n'
'\n'
'I mean, it got Tyler down the slide, and last week it helped me '
"eat my vegetables, so basically I'm pretty sure I've figured out "
"life. You're welcome, everybody.",
'video': 'https://replicate.delivery/xezq/Y1uSOyThPyJNMZuYSQVsmN48ZPNWgfpxps93KTtZ1RAfbxiVA/output.mp4'}