{"id":12569,"date":"2023-10-14T10:26:04","date_gmt":"2023-10-14T08:26:04","guid":{"rendered":"https:\/\/flaven.fr\/?p=12569"},"modified":"2026-09-16T10:09:26","modified_gmt":"2026-09-16T08:09:26","slug":"unlocking-speech-to-text-harnessing-the-power-of-the-openai-whisper-api-with-fastapi-integration","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2023\/10\/unlocking-speech-to-text-harnessing-the-power-of-the-openai-whisper-api-with-fastapi-integration\/","title":{"rendered":"Unlocking Speech-to-Text: Harnessing the Power of the OpenAI Whisper API with FastAPI Integration"},"content":{"rendered":"<p>To a certain point, exploring AI usages has become like playing the game Happy Families :). Indeed, since august 2023, I have tackled some AI&#8217;s applied usages: Deploying NLP features, Annotation &#038; Machine Learning Model Customization, Exploring ChatGPT Prompts, Delegating to ChatGPT Time-Consuming Product Owner Tasks&#8230; I must admit that the ultimate objective is to gather a decisional matrix that will give both a usage\/solution combinations list, each tempered by pros and cons and a &#8220;big picture&#8221; of the IA ecosystem.<\/p>\n<p><b>For this post, you can find all files for each project on my GitHub account. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a><\/b><\/p>\n<h2>Exploring the Audio revolution with Whisper<\/h2>\n<p><b>This time, in the AI use family, I am taking the audio family. This post is therefore an opportunity for a quick POC exploring Audio and AI with the main objective to extract transcription from an audio file then expose it via an API. Like always, the API is designed with FastAPI, this part remains from one post to one another remarkably similar! <\/b><\/p>\n<p>This post idea was inspired by the recent announcement of the collaboration between Spotify and OpenAI which announces the possibility of listening to your favorite podcasts in your native language! <\/p>\n<p>Some prominent podcasts available in English are available into German, Spanish and French with &#8220;Voice Cloning&#8221; which is quite impressive. The announcement is unambiguous: &#8220;Spotify&#8217;s AI Voice Translation Pilot Means Your Favorite Podcasters Might Be Heard in Your Native Language&#8221;. So, you can hear podcasters like Dax Shepard, Monica Padman, Lex Fridman, Bill Simmons, and Steven Bartlett and their guests with generated AI-powered voice translations in other languages\u2014including Spanish, French, and German.<\/p>\n<p>I have checked out these two podcasts to figure out. Well, it is very professional, astonishing, and extremely useful for a better understanding, mostly performative and a bit without cultural roots. It reminds me this quote of Wittgenstein: &#8220;The limits of my language are the limits of my world&#8221;. Precisely expressing the sensation, I got is far beyond the purpose of this post, so I keep it for myself!<\/p>\n<ul>\n<li>[Traducido con IA] Yuval Noah Harari: Naturaleza humana, Inteligencia, Poder y Conspiraciones &#8211; Lex Fridman Podcast<br \/>\n[Traducido con IA &#8211; Espa\u00f1ol] | Podcast on Spotify: <a href=\"https:\/\/open.spotify.com\/episode\/6S3TPytV81NWmkDArApKYl\" target=\"_blank\" rel=\"noopener\">https:\/\/open.spotify.com\/episode\/6S3TPytV81NWmkDArApKYl<\/a><\/li>\n<li>The Diary Of A CEO with Steven Bartlett  [Traducido con IA &#8211; Espa\u00f1ol] | Podcast on Spotify: <a href=\"https:\/\/open.spotify.com\/show\/7oOabGYIDTpIENhYPNUFdP\" target=\"_blank\" rel=\"noopener\">https:\/\/open.spotify.com\/show\/7oOabGYIDTpIENhYPNUFdP<\/a><\/li>\n<\/ul>\n<h2>ChatGPT to the rescue to get definitions<\/h2>\n<p>Right now, I am more a &#8220;Doer&#8221; than a &#8220;Thinker&#8221;. So, on a more basic level, I ask ChatGPT to precise how do you call these operations, here is the prompt. That clarify a bit the battle ground.<\/p>\n<p><b>Prompt_1<\/b><\/p>\n<blockquote><p>How do you call Text-to-Speech Conversion, from text you create an audio with a robotic voice and how do ou call Text-to-Speech Conversion where the voice of the user has been cloned ?<\/p><\/blockquote>\n<p><i>You can check &#8220;chat_GPT_3_5_prompt_5&#8221; in the file &#8220;prompts_chatgpt_samples.diff&#8221;. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a><\/i><\/p>\n<p><b>This first prompt helps me also to schematically determine the several stages for a machine learning model pipeline that I have converted to a second prompt!<\/b><\/p>\n<p><b>Prompt_2<\/b><\/p>\n<blockquote><p>Can you describe into different stages the process of audio cloning to produce a podcast like the one from Lex Fridman with Yuval Noah Harari that have been translated to Spanish. Number the steps and give them a summary title each time with a description for each stage e.g stage_1 :: Audio Transcription, stage_2 :: Transcription Translation&#8230; and so on <\/p><\/blockquote>\n<p><i>You can check &#8220;chat_GPT_3_5_prompt_11&#8221; in the file &#8220;prompts_chatgpt_samples.diff&#8221;. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a><\/i><\/p>\n<p><b>Well anyway, this time I did not use the answer from ChatGPT as I found this answer not enough synthetic and too much analytic! Ungrateful Human \ud83d\ude42 I have also forged a portmanteau word that is not a standard industry terminology &#8220;Cloned Voice Overing&#8221; so ChatGPT will not understand.<\/b><\/p>\n<p>So, here is my rough Process Map in four main steps or stages.<\/p>\n<ol>\n<li><b>stage_1: Audio Transcription<\/b><br \/>\n<i>Description: This is the text extraction from the audio. This is also the main focus of this post. You can even think of doing at this stage some NLP transformation.<\/i><\/li>\n<li><b>stage_2: Transcription Translation<\/b><br \/>\n<i>Description: The transcription is translated into a chosen language. Damn it, here you have to select a good translation tool.<\/i><\/li>\n<li><b>stage_3: Voice Cloning<\/b><br \/>\n<i>The voices heard in the audio from the host e.g Lex Fridman and the guests e.g., Yuval Noah Harari are trained and reproduced or cheaper you can go robotic voices for both, what a fraud then! Ditto, like the stage_2, finding a great tool is key.<\/i><\/li>\n<li><b>stage_4: Cloned Voice Overing<\/b><br \/>\n<i>The podcast is produced with the cloned or synthesized voices that are used for voice-over narration preserving also all the inputs from the first production (sound effects, jingle&#8230;).<\/i><\/li>\n<\/ol>\n<p><b>Like I said, for the moment I am modestly focus on stage_1.<\/b><\/p>\n<p>Last thing to say! Even though I claim to only be interested in the how-to. I ask a few questions about the purpose of all this. This experience raises many questions without being a conspiracy theorist. <\/p>\n<p>Let&#8217;s take the measure of the Spotify&#8217;s experiment. It is also a major advance and a brilliant instrument for soft power and cultural domination. Naively, I often tend to forget that technology, content, and ideology are linked. It is always healthy to ask the question of the political and economic purpose behind the &#8220;so natural&#8221; adoption of AI.<\/p>\n<p>Source: <a href=\"https:\/\/www.euronews.com\/culture\/2023\/09\/26\/spotify-launches-ai-tool-for-translating-podcasts\" target=\"_blank\" rel=\"noopener\">https:\/\/www.euronews.com\/culture\/2023\/09\/26\/spotify-launches-ai-tool-for-translating-podcasts<\/a><\/p>\n<p>Source: <a href=\"https:\/\/newsroom.spotify.com\/2023-09-25\/ai-voice-translation-pilot-lex-fridman-dax-shepard-steven-bartlett\/\" target=\"_blank\" rel=\"noopener\">https:\/\/newsroom.spotify.com\/2023-09-25\/ai-voice-translation-pilot-lex-fridman-dax-shepard-steven-bartlett\/<\/a><\/p>\n<p>Source: <a href=\"https:\/\/openai.com\/research\/whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/openai.com\/research\/whisper<\/a><\/p>\n<h2>POC with Whisper and attempt with FastAPI<\/h2>\n<p><b>It is mainly a POC so you have progressive and iterated attempts that goes from the simple usage to the integration into FastAPI. I gave also some audio samples and like I said tests and prompts made to ChatGPT.<\/b><\/p>\n<p><b>Below, All files and directory with a quick description for this POC.<\/b><\/p>\n<ul>\n<li><b>001_openai_whisper.py<\/b>: minimum loading and usage of WHISPER<\/li>\n<li><b>002_openai_whisper.py<\/b>: minimum loading and usage of WHISPER with languages (AR, ES, CN, RU, FR)<\/li>\n<li><b>003_openai_whisper.py<\/b>: output the WHISPER transcription into a text file<\/li>\n<li><b>004_openai_whisper_panda.py<\/b>: output the WHISPER transcription in a .cvs file with PANDA<\/li>\n<li><b>005_openai_whisper.py<\/b>: WHISPER few attempts on languages detection (AR, ES, CN, RU, FR)<\/li>\n<li><b>006_openai_whisper_pytube.py<\/b>: make WHISPER transcription for YOUTUBE video<\/li>\n<li><b>006_openai_whisper_pytube_ffmpeg.py<\/b>: make WHISPER transcription for YOUTUBE video leveraging on FFMPEG<\/li>\n<li><b>007_openai_whisper.py<\/b>: ditto to 001_openai_whisper.py<\/li>\n<li><b>008_openai_whisper_fastapi.py<\/b>: Integration of WHISPER into FASTAPI to provide an POC for an API<\/li>\n<li><b>009_openai_whisper_fastapi.py<\/b>: POC with WHISPER and FASTAPI, managing audio and video upload and extract transcription<\/li>\n<li><b>010_request_files_fastapi.py<\/b>: Other way to managing files upload in FASTAPI<\/li>\n<li><b>011_faster_whisper.py<\/b>: experiments with FASTER-WHISPER<\/li>\n<li><b>012_openai_whisper.py<\/b>: build WHISPER transcription function<\/li>\n<li><b>013_openai_whisper.py<\/b>: WHISPER transcription in different formats (.json, .srt, .tsv, .txt, .vtt)<\/li>\n<li><b>README.md<\/b>: the readme for the main Github directory<\/li>\n<li><b>audio_files_sources<\/b>: some audio samples in different languages<\/li>\n<li><b>ffmpeg_python<\/b>: experiments with ffmpeg-python<\/li>\n<li><b>output_srtfiles_writer<\/b>: output directory for transcription<\/li>\n<li><b>prompts_chatgpt_samples.diff<\/b>: some prompts related to the post and to WHISPER<\/li>\n<li><b>requirements.txt<\/b>: the python requirements for WHISPER<\/li>\n<li><b>tests_from_whisper<\/b>: some tests (pytest) extracted from the original WHISPER project<\/li>\n<li><b>video_download_from_yt<\/b>: output audio extraction from a YT video<\/li>\n<\/ul>\n<h2>Audio Transcription with Whisper &#8211; Objectives<\/h2>\n<p>Let get back the basic, so using Whisper will help make Audio Transcription in more than 70 languages. Good, for a journalist or for anyone working with audio, it is interesting to easily perform such operations: get quickly full transcription of an interview to rework, to translate, to retrieve keywords, make a summary&#8230; etc<\/p>\n<p>For example, the site Slator point out 6 Practical Use Cases for the New Whisper API. Well, I am really interested in these 2.<\/p>\n<blockquote><p>\n<b>Indexing Podcasts and Audio Content<\/b><br \/>\nWith the rise of podcasts and audio content, the Whisper model can be used to transcribe and generate text-based versions of audio content. This can help improve accessibility for those with hearing impairments and also improve &#8220;search-ability&#8221; for podcast episodes, making them more discoverable.<\/p>\n<p><b>Transcription Services<\/b><br \/>\nTranscription service providers can use OpenAI&#8217;s Whisper API to transcribe audio and video content in multiple languages accurately and efficiently. The API\u2019s ability to transcribe the audio in near real-time and support multiple file formats allows for greater flexibility and faster turnaround times.\n<\/p><\/blockquote>\n<p>Source: Here Are Six Practical Use Cases for the New Whisper API. <a href=\"https:\/\/slator.com\/six-practical-use-cases-for-new-whisper-api\/\" target=\"_blank\" rel=\"noopener\">https:\/\/slator.com\/six-practical-use-cases-for-new-whisper-api\/<\/a><\/p>\n<p><i>This trend was already predicted 3 years ago&#8230; by Deloitte. Well, that is normal digital transformation and creative disruption is their business! <\/i><\/p>\n<p><i>The ears have it: The rise of audiobooks and podcasting <a href=\"https:\/\/www2.deloitte.com\/us\/en\/insights\/industry\/technology\/technology-media-and-telecom-predictions\/2020\/rise-of-audiobooks-podcast-industry.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www2.deloitte.com\/us\/en\/insights\/industry\/technology\/technology-media-and-telecom-predictions\/2020\/rise-of-audiobooks-podcast-industry.html<\/a><\/i><\/p>\n<p>By the way, they are plenty of alternatives to OpenAI Whisper such DeepSpeech, Flashlight, Kaldi, SpeechPy, Speechly, Botium Speech Processing&#8230; Unfortunately, I am running out of time to make POC for each of them and list pros and cons.<\/p>\n<h2>Audio Transcription with Whisper &#8211; Environment<\/h2>\n<p>Like always, it is better to create a &#8220;virtual environment&#8221;. You can use &#8220;venv&#8221; or &#8220;Anaconda&#8221;. I am using Anaconda.<\/p>\n<p><i>You can check the main readme for all the commands. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a><\/i><\/p>\n<p>Source:  <a href=\"https:\/\/docs.python.org\/3\/library\/venv.html\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.python.org\/3\/library\/venv.html<\/a><\/p>\n<h2>Audio Transcription with Whisper &#8211; Audio samples<\/h2>\n<p>Get some audio samples preferably in different languages with different accents if possible. Always remember that the quality of the dataset always prefigures the quality of the result. Here are some resources.<\/p>\n<ul>\n<li>Category:Audio files of speeches from wikimedia: <a href=\"https:\/\/commons.wikimedia.org\/wiki\/Category:Audio_files_of_speeches\" target=\"_blank\" rel=\"noopener\">https:\/\/commons.wikimedia.org\/wiki\/Category:Audio_files_of_speeches<\/a><\/li>\n<li>MelNet &#8211; Audio Samples: <a href=\"https:\/\/audio-samples.github.io\/\" target=\"_blank\" rel=\"noopener\">https:\/\/audio-samples.github.io\/<\/a><\/li>\n<li>Nice samples in different languages from the &#8220;Acad\u00e9mie de Versailles&#8221;: <a href=\"https:\/\/audio-lingua.ac-versailles.fr\/?lang=en\" target=\"_blank\" rel=\"noopener\">https:\/\/audio-lingua.ac-versailles.fr\/?lang=en<\/a><\/li>\n<\/ul>\n<h2>Audio Transcription with Whisper &#8211; Extra stuff<\/h2>\n<p><b>FFMPEG<\/b><br \/>\n<b>The audio or video manipulation required mine old acquaintance FFMPEG, part of my very first posts in 2009 in French! Anyway, end-up with nostalgia, I have focused this time on FFMPEG with Python through the library &#8220;ffmpeg-python&#8221;.<\/b><\/p>\n<p><i>You can check the main readme for all the commands. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a><\/i><\/p>\n<p>Source:<br \/>\n<a href=\"https:\/\/www.delftstack.com\/howto\/python\/ffmpeg-python\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.delftstack.com\/howto\/python\/ffmpeg-python\/<\/a><\/p>\n<p><b>PYTEST<\/b><\/p>\n<p><b>I gave these tests as goodies. It is just that building an IA strategy require to harden quality like never and also if you are not able to write tests, you can figure out what are the use cases you want to target with your API or with  Whisper. Here are some tests grabbed directly from the official repository.<\/b><\/p>\n<p><i>You can check the main readme for all the commands and the directory &#8220;tests_from_whisper&#8221; for the tests. See <a href=\"https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/bflaven\/ia_usages\/tree\/main\/ai_openai_whisper<\/a> <\/i><\/p>\n<p>Source: <a href=\"https:\/\/github.com\/openai\/whisper\/tree\/main\/tests\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/openai\/whisper\/tree\/main\/tests<\/a><\/p>\n<h2>Videos to tackle this post<\/h2>\n<p>#1 Using Whisper &#038; FastAPI: Unlocking Multilingual Transcription with #Whisper:<br \/>\nExploring Audio for a POC<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/oBMK-QUYB7A\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>#2 Using Whisper &#038; FastAPI: Creating a Multilingual Audio API with #Whisper: POC Using #FastAPI<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/kTQPYqK0_Oc\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>#3 Using Whisper &#038; FastAPI: Leveraging Faster-Whisper<br \/>\nfor Multilingual NLP &#038; Audio Exploration<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/iJDFfc_mmNo\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p><H2>More infos<\/H2><\/p>\n<ul>\n<li>faster-whisper<br \/><a href=\"https:\/\/github.com\/guillaumekln\/faster-whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/guillaumekln\/faster-whisper<\/a><\/li>\n<li>whisper by openai.com<br \/><a href=\"https:\/\/openai.com\/research\/whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/openai.com\/research\/whisper<\/a><\/li>\n<li>whisper on Github<br \/><a href=\"https:\/\/github.com\/openai\/whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/openai\/whisper<\/a><\/li>\n<li>I used OpenAI\u2019s new tech to transcribe audio right on my laptop<br \/><a href=\"https:\/\/www.theverge.com\/2022\/9\/23\/23367296\/openai-whisper-transcription-speech-recognition-open-source\" target=\"_blank\" rel=\"noopener\">https:\/\/www.theverge.com\/2022\/9\/23\/23367296\/openai-whisper-transcription-speech-recognition-open-source<\/a><\/li>\n<li>FastAPI_Whisper<br \/><a href=\"https:\/\/github.com\/rosaldo\/FastAPI_Whisper\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/rosaldo\/FastAPI_Whisper<\/a><\/li>\n<li>OpenAI Whisper using FastAPI<br \/><a href=\"https:\/\/blindbox.mithrilsecurity.io\/en\/integration-task\/docs\/how-to-guides\/openai-whisper\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blindbox.mithrilsecurity.io\/en\/integration-task\/docs\/how-to-guides\/openai-whisper\/<\/a><\/li>\n<li>OpenAI Whisper Python Tutorial: Step-by-Step Guide<br \/><a href=\"https:\/\/analyzingalpha.com\/openai-whisper-python-tutorial\" target=\"_blank\" rel=\"noopener\">https:\/\/analyzingalpha.com\/openai-whisper-python-tutorial<\/a><\/li>\n<li>Converting Speech to Text with the OpenAI Whisper API<br \/><a href=\"https:\/\/www.datacamp.com\/tutorial\/converting-speech-to-text-with-the-openAI-whisper-API\" target=\"_blank\" rel=\"noopener\">https:\/\/www.datacamp.com\/tutorial\/converting-speech-to-text-with-the-openAI-whisper-API<\/a><\/li>\n<li>WhisperX<br \/><a href=\"https:\/\/github.com\/m-bain\/whisperX\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/m-bain\/whisperX<\/a><\/li>\n<li>How to Run OpenAI\u2019s Whisper Speech Recognition Model<br \/><a href=\"https:\/\/www.assemblyai.com\/blog\/how-to-run-openais-whisper-speech-recognition-model\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.assemblyai.com\/blog\/how-to-run-openais-whisper-speech-recognition-model\/<\/a><\/li>\n<li>Show and tell for whisper on github.com<br \/><a href=\"https:\/\/github.com\/openai\/whisper\/discussions\/categories\/show-and-tell\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/openai\/whisper\/discussions\/categories\/show-and-tell<\/a><\/li>\n<li>Whisper prompting guide<br \/><a href=\"https:\/\/cookbook.openai.com\/examples\/whisper_prompting_guide\" target=\"_blank\" rel=\"noopener\">https:\/\/cookbook.openai.com\/examples\/whisper_prompting_guide<\/a><\/li>\n<li>How to use OpenAI\u2019s Whisper for speech recognition<br \/><a href=\"https:\/\/www.graphcore.ai\/posts\/how-to-use-openais-whisper-for-speech-recognition\" target=\"_blank\" rel=\"noopener\">https:\/\/www.graphcore.ai\/posts\/how-to-use-openais-whisper-for-speech-recognition<\/a><\/li>\n<li>Comment installer et d\u00e9ployer Whisper, la meilleure alternative open-source \u00e0 la synth\u00e8se vocale de Google ?<br \/><a href=\"https:\/\/nlpcloud.com\/fr\/how-to-install-and-deploy-whisper-the-best-open-source-alternative-to-google-speech-to-text.html\" target=\"_blank\" rel=\"noopener\">https:\/\/nlpcloud.com\/fr\/how-to-install-and-deploy-whisper-the-best-open-source-alternative-to-google-speech-to-text.html<\/a><\/li>\n<li>Generating automatic video subtitles from any language with Whisper AutoCaption<br \/><a href=\"https:\/\/blog.paperspace.com\/automatic-video-subtitles-with-whisper-autocaption\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blog.paperspace.com\/automatic-video-subtitles-with-whisper-autocaption\/<\/a><\/li>\n<li>Whisper-AutoCaption<br \/><a href=\"https:\/\/github.com\/gradient-ai\/whisper-autocaption?ref=blog.paperspace.com\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/gradient-ai\/whisper-autocaption?ref=blog.paperspace.com<\/a><\/li>\n<li>How to: Use Whisper To Convert Speech to Text!<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=Q7Rq_92kW9A\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=Q7Rq_92kW9A<\/a><\/li>\n<li>Real-time Speech Recognition in 15 minutes with AssemblyAI<br \/><a href=\"https:\/\/www.youtube.com\/watch?v=5LJFK7eOC20\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=5LJFK7eOC20<\/a><\/li>\n<li>Stable Diffusion XL is a latent text-to-image diffusion model capable of generating photo-realistic images given any<br \/>\ntext input<br \/><a href=\"https:\/\/stablediffusionweb.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/stablediffusionweb.com\/<\/a><\/li>\n<li>Voice Cloning for Content Creators<br \/><a href=\"https:\/\/marketplace.respeecher.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/marketplace.respeecher.com\/<\/a><\/li>\n<li>Introduction to MoviePy<br \/><a href=\"https:\/\/www.geeksforgeeks.org\/introduction-to-moviepy\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.geeksforgeeks.org\/introduction-to-moviepy\/<\/a><\/li>\n<li>MoviePy (full documentation) is a Python library for video editing: cutting, concatenations, title insertions, video<br \/>\ncompositing (a.k.a. non-linear editing), video processing, and creation of custom effects. See the gallery for some<br \/>\nexamples of use.<br \/><a href=\"https:\/\/pypi.org\/project\/moviepy\/\" target=\"_blank\" rel=\"noopener\">https:\/\/pypi.org\/project\/moviepy\/<\/a><\/li>\n<li>Aloud &#8211; dubbing for everyone<br \/><a href=\"https:\/\/aloud.area120.google.com\/\" target=\"_blank\" rel=\"noopener\">https:\/\/aloud.area120.google.com\/<\/a><\/li>\n<li>ElevenLabs: The official Python API for ElevenLabs text-to-speech software. Eleven brings the most compelling, rich and lifelike voices to creators and developers in just a few lines of code.<br \/><a href=\"https:\/\/github.com\/elevenlabs\/elevenlabs-python\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/elevenlabs\/elevenlabs-python<\/a><\/li>\n<li>FastAPI: 10 Overlooked Features You Should Be Using<br \/><a href=\"https:\/\/medium.com\/@kasperjuunge\/10-overlooked-fastapi-features-you-should-be-using-9ca53eb4c15b\" target=\"_blank\" rel=\"noopener\">https:\/\/medium.com\/@kasperjuunge\/10-overlooked-fastapi-features-you-should-be-using-9ca53eb4c15b<\/a><\/li>\n<li>For the stage_3, I will have to choose among these projects all on Voice Cloning : <a href=\"https:\/\/github.com\/topics\/voice-cloning\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/topics\/voice-cloning<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To a certain point, exploring AI usages has become like playing the game Happy Families :). Indeed, since august 2023, I have tackled some AI&#8217;s&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2023\/10\/unlocking-speech-to-text-harnessing-the-power-of-the-openai-whisper-api-with-fastapi-integration\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">Unlocking Speech-to-Text: Harnessing the Power of the OpenAI Whisper API with FastAPI Integration<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":12571,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"Master speech-to-text with OpenAI Whisper API and FastAPI. Achieve seamless audio transcription and integration for enhanced productivity.","bf_ai_og_title":"OpenAI Whisper API with FastAPI","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3438,3437,3444,3447,3448,3449,3450,3435],"tags":[3038,2532,2183,3493,1419,3032,2434,3040,2216,192,3039,3041,3031,2808,3048,2387,2316,3044,2580,3047,3049],"class_list":["post-12569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-machine-learning","category-business-case-studies","category-programming-databases","category-technology-trends","category-tools-productivity","category-tutorials-how-to","category-ux-product-design","category-web-development","tag-ai-product-owner","tag-anaconda","tag-api","tag-clip","tag-data","tag-datascience","tag-docker","tag-fastapi","tag-framework","tag-json","tag-machine-learning-models","tag-ml","tag-mlops","tag-nlp","tag-openai","tag-poc","tag-python","tag-restful","tag-spacy","tag-speech-to-text","tag-whisper"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-3gJ","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2023\/10\/ia_openai_whisper_b.png","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/12569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=12569"}],"version-history":[{"count":31,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/12569\/revisions"}],"predecessor-version":[{"id":12602,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/12569\/revisions\/12602"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/12571"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=12569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=12569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=12569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}