call this API to generate AI podcast.
curl -X POST https://podlm.ai/api/genpod/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"gen_from": "url",
"web_url": "https://podlm.ai",
"output_locale": "en",
"llm_model": "gpt-4o-mini",
"tts_model": "tts-1",
"pod_style": "default"
}'
{
"object": "stream.event",
"step": 12,
"choices": [],
"metadata": {
"pod": {
"uuid": "f4lcbam23eawm5",
"created_at": "2024-10-10T14:29:56.765Z",
"status": "created",
"user_uuid": "c3jtv0m1wyb723",
"gen_from": "url",
"web_url": "https://podlm.ai",
"web_json": "{"title":"PodLM - AI Podcast Generator | PodLM","description":"PodLM is an advanced AI podcast generator. Transform URLs, texts, and docs into professional-quality podcasts effortlessly. A powerful NotebookLM alternative for audio content creation.","content":"PodLM - AI Podcast Generator | PodLM - AI Podcast Generator\n===============\n \n\n[ PodLM](https://podlm.ai/)\n\n[AI Podcasts](https://podlm.ai/ai-podcasts)\n\n[AI Podcast Generator](https://podlm.ai/ai-podcast-generator)\n\n[URL to Podcast](https://podlm.ai/ai-podcast-generator/url-to-podcast)[Text to Podcast](https://podlm.ai/ai-podcast-generator/text-to-podcast)\n\n[Sign In](https://podlm.ai/api/auth/signin)\n\n[ PodLM](https://podlm.ai/)\n\n[Sign In](https://podlm.ai/api/auth/signin)\n\nToggle menu\n\nTurn Any Content into AI Podcast\n================================\n\nPodLM is the ultimate AI podcast generator. Transform URLs, texts, and docs into professional-quality podcasts effortlessly. A powerful NotebookLM alternative for audio content creation.\n\n[Generate AI Podcast](https://podlm.ai/ai-podcast-generator/url-to-podcast)\n\n\n\nWhat is PodLM AI Podcast Generator\n----------------------------------\n\nPodLM is a cutting-edge AI podcast generator that revolutionizes the process of creating engaging audio content. With advanced algorithms and an intuitive interface, you can produce professional-quality AI podcasts in minutes.\n\nAI Podcast Script Generation\n\nPodLM generates compelling podcast scripts based on your URLs, texts, or custom topics.\n\nURL to Podcast Conversion\n\nTransform any web content into an engaging AI-generated podcast with a single click.\n\nText to Podcast Creation\n\nConvert your written content or ideas into polished AI podcasts effortlessly.\n\nWhy Choose PodLM AI Podcast Generator\n-------------------------------------\n\nPodLM stands out as a superior NotebookLM alternative, offering unparalleled AI podcast creation capabilities for content creators of all levels.\n\nAdvanced AI Technology\n\nLeverage state-of-the-art AI for high-quality podcast generation from URLs and texts.\n\nVersatile Content Sources\n\nCreate AI podcasts from URLs, texts, documents, or custom inputs with ease.\n\nNotebookLM Alternative\n\nExperience a dedicated solution for AI podcast creation, surpassing general-purpose tools.\n\n\n\n\n\nHow to Use PodLM AI Podcast Generator\n-------------------------------------\n\nCreating your first AI-generated podcast with PodLM is simple and intuitive:\n\n1\\. Choose Your Input\n\nSelect a URL, paste text, or provide a custom topic for your AI podcast.\n\n2\\. Generate AI Podcast\n\nLet PodLM's advanced AI create a professional-quality podcast from your input.\n\n3\\. Customize and Publish\n\nFine-tune your AI-generated podcast and share it with your audience.\n\n[Try AI Podcast Generator](https://podlm.ai/ai-podcast-generator/url-to-podcast)\n\nKey Features of PodLM AI Podcast Generator\n------------------------------------------\n\nDiscover the powerful features that make PodLM the ultimate choice for AI podcast creation.\n\n\n\n### URL to Podcast Conversion\n\nTransform any web content into engaging AI podcasts with our advanced technology.\n\n\n\n### Text to Podcast Creation\n\nConvert written content or ideas into polished AI podcasts effortlessly.\n\n\n\n### AI Voice Customization\n\nChoose from a variety of lifelike AI voices to narrate your podcasts.\n\n\n\n### Multi-Speaker Support\n\nCreate dynamic podcasts with multiple AI voices for interviews and discussions.\n\n\n\n### Background Music Library\n\nEnhance your podcasts with a curated selection of royalty-free background tracks.\n\n\n\n### One-Click Publishing\n\nEasily distribute your podcasts to popular platforms with integrated publishing tools.\n\nWhat Users Say About PodLM\n--------------------------\n\nHear from our satisfied users who have transformed their podcast creation process.\n\n> \"I love this tool so much, it's awesome! PodLM has made my podcast creation process so much easier.\"\n\n\n\nMike Jordan\n\nFull-stack Developer\n\n> \"PodLM's AI technology is a game changer. I can create podcasts in minutes!\"\n\n\n\nSarah Lee\n\nMarketing Manager\n\n> \"The templates are beautiful and customizable. I highly recommend PodLM!\"\n\n\n\nTom Smith\n\nEntrepreneur\n\n> \"PodLM has helped me increase my conversion rates significantly. It's a must-have tool!\"\n\n\n\nEmily Davis\n\nContent Creator\n\n> \"I was able to create a professional podcast without any design skills. Thank you, PodLM!\"\n\n\n\nJohn Doe\n\nBusiness Owner\n\n> \"The user interface is so easy to navigate. I love using PodLM for my projects!\"\n\n\n\nLisa White\n\nFreelancer\n\nFrequently Asked Questions About PodLM AI Podcast Generator\n-----------------------------------------------------------\n\nFind answers to common questions about using PodLM for AI podcast creation.\n\n### How does PodLM compare to NotebookLM for podcast creation?\n\n### Can I create AI podcasts from any URL or text?\n\n### How many podcasts can I generate using PodLM?\n\n### Is there a free trial available?\n\n### Can I integrate PodLM with other tools?\n\n### What types of businesses can benefit from PodLM?\n\n### Do I need coding skills to use PodLM?\n\n### What support options are available?\n\nCan't wait to use PodLM?\n------------------------\n\nJust start from here, make your idea to be seen\n\n[Try PodLM for free](https://podlm.ai/ai-podcast-generator/url-to-podcast)\n\nPodLM\n\nPodLM is an AI podcast generator, it's designed to help businesses and marketers effortlessly create high-quality podcasts that drive results.\n\nProducts\n\n* [Podcast Generator](https://podlm.ai/ai-podcast-generator/url-to-podcast)\n\nFriends\n\n* [ThinkAny](https://thinkany.ai/)\n* [HeyBeauty](https://heybeauty.ai/)\n* [Melodisco](https://melodis.co/)\n\nServices\n\n* [Privacy Policy](https://podlm.ai/privacy-policy)\n* [Terms of Service](https://podlm.ai/terms-of-service)\n* [Contact Us](mailto:support@podlm.ai)\n\nCommunity\n\n* [Twitter](https://x.com/thinkanyai)\n* [Discord](https://discord.gg/wRaTBmB7md)\n* [Telegram](https://t.me/+UP4f0JduaWExNzhl)\n\n© 2024 • PodLM All rights reserved.\n\nbuilt with [Pagen](https://pagen.so/)"}",
"pod_json": "{"title":"Exploring the Future of AI in Everyday Life","description":"In this episode, Leo and his guest discuss the integration of AI in our daily routines and its potential impact on society.","summary":"The episode delves into various aspects of AI's role in our lives, from smart home devices to healthcare advancements, and how these technologies can enhance our daily experiences.","key_points":["The rapid integration of AI into everyday technology.","AI's potential to improve healthcare and personal well-being.","Ethical considerations surrounding the use of AI."],"roles":[{"role":"host","name":"Leo","title":"Podcast Host","gender":"male"},{"role":"guest","name":"Emily","title":"AI Researcher","gender":"female"}],"topics":["AI in daily life","Healthcare advancements","Ethics of AI"],"scripts":[{"role":"host","name":"Leo","gender":"male","topic":"AI in daily life","content":"Hey everyone, welcome back to the podcast! I'm Leo, and today we have an exciting topic to dive into—how AI is becoming an integral part of our everyday lives. We often hear about AI in the news, but what does it really mean for us on a daily basis? Joining me today is Emily, an AI researcher who has some fantastic insights on this subject."},{"role":"guest","name":"Emily","gender":"female","topic":"AI in daily life","content":"Thanks for having me, Leo! It's great to be here. I think it's fascinating how AI is seeping into everything we do, from the moment we wake up to the time we go to bed. Just think about it—those smart speakers that help us manage our schedules or home security systems that learn our habits. It's almost like having a personal assistant, right?"},{"role":"host","name":"Leo","gender":"male","topic":"AI in daily life","content":"Exactly! And beyond just convenience, there are some really promising applications of AI in healthcare as well. For instance, AI algorithms can analyze medical data much faster and often more accurately than humans can."},{"role":"guest","name":"Emily","gender":"female","topic":"Healthcare advancements","content":"Absolutely! AI's ability to process vast amounts of data means that it can help in diagnostics and even predict potential health issues before they become critical. This can really change the landscape of preventive medicine, and I'm excited to see where it leads."},{"role":"host","name":"Leo","gender":"male","topic":"Healthcare advancements","content":"It's a game changer for sure. But, of course, we have to consider the ethical implications of using AI in such sensitive areas. There are concerns about privacy, data security, and the potential for bias in AI systems."},{"role":"guest","name":"Emily","gender":"female","topic":"Ethics of AI","content":"Right. These ethical considerations are crucial. For instance, when it comes to healthcare, patients need to trust that their data is being used responsibly and that AI is making fair, unbiased decisions. It raises questions about accountability and transparency, which are vital to address as technologies evolve."},{"role":"host","name":"Leo","gender":"male","topic":"Ethics of AI","content":"That’s a really important point, Emily. The discussions around AI ethics are as significant as the technology itself. It’s important for developers and researchers to prioritize ethical frameworks as they advance AI capabilities."},{"role":"guest","name":"Emily","gender":"female","topic":"Ethics of AI","content":"Definitely! And engaging the public in these discussions is also vital. It helps ensure that everyone’s voice is heard, and we can collectively shape the future of AI to benefit society at large."},{"role":"host","name":"Leo","gender":"male","topic":"AI in daily life","content":"Well, there's so much to unpack here, and I feel like we could talk about this for hours! But I love how this technology is pushing us to rethink not just our daily routines but also larger societal frameworks."},{"role":"guest","name":"Emily","gender":"female","topic":"AI in daily life","content":"I agree, Leo! It’s exciting, and the potential is vast—if we navigate these challenges wisely. Plus, it’s vital we keep the conversation going as new developments arise."}]}",
"pod_audio_url": "https://r2.trys.ai/podlm/f4lcbam23eawm5.mp3",
"output_locale": "en",
"user_ip": "125.227.83.13",
"llm_model": "gpt-4o-mini",
"tts_model": "tts-1",
"pod_style": "default",
"step": 12
}
}
}
this API will use server-sent events (SSE) to stream the podcast generation progress and results. client should receive the response data until the podcast
metadata.pod.pod_audio_urlis available. parsemetadata.pod.pod_jsonas JSON to get the podcast information.
| Parameter | Type | Required | Description |
|---|---|---|---|
| gen_from | string | Yes | method to generate podcast. |
| web_url | string | No | web url to generate podcast. required if gen_from is url |
| text_content | string | No | text content to generate podcast. required if gen_from is text |
| query | string | No | query to generate podcast. required if gen_from is chat |
| output_locale | string | No | output language of the podcast. default: en |
| llm_model | string | No | llm model to generate podcast scripts. default: gpt-4o-mini |
| tts_model | string | No | tts model to generate podcast audio. default: tts-1 |
| pod_style | string | No | style of the podcast. default: default |
gen_from:
output_locale:
llm_model:
tts_model:
pod_style: