Why AI Transcriptions can be tricky in your modern apps
Hey friend, I have been heads down creating a free AI SaaS tutorial which is going to be massive on my channel. This will teach you how to ship a AI SaaS. I can't wait to share more. Based on popular demand, I'm running the Next.js Workshop โ๏ธ for the final time. I won't be running this workshop again. It is a Live 1-day Next.js Workshop that teaches you the best practices to design, build and deploy full-stack production-ready apps. โฐ When: September 3rd, 9am to 3pm EST ๐ Where: Zoom ๐ For a limited time only (Until September 1st), you get $100 off the workshop price (use code LASTNEXT).
Bonus: Plus you get access to me so ask away whatever questions you like and as a bonus, you get free access to my upcoming Next.js Course. You can see it for yourself ๐ฅ (and there is more here โ๏ธ) โ ๐ฟ Our Weekly SnackAI Transcriptions for big Video UploadsLetโs say you want to turn a video file into an AI-transcribed blog post (and yes, Iโve got a full video breakdown coming soon on my Youtube channel โ๏ธ). You can use OpenAI, you'll need to tap into their Whisper API for transcriptions. Sounds easy enough, right? ๐
Just set up a file uploader with something like For example, Well, not that simple โ. This approach works fine for small files, but when youโre dealing with larger ones, you hit a snagโ some platforms only allow uploads up to 4.5MB (hint: Vercel). So, whatโs the workaround? ๐You need to upload the file to a cloud storage service without processing it first. Once you have the cloud URL, you can then share it in the fileUrl section in the transcriptions method. This is where UploadThing โ๏ธ comes to the rescue ๐. UploadThing securely handles file hosting and makes adding file uploads a breeze. Why choose UploadThing? โ๏ธA cloud platform like Vercel โ๏ธ limits request bodies to 4.5MB, which makes uploading large files a pain. Thatโs where UploadThing shines. Plus, the documentation is top-notchโ itโs built by Theo โ๏ธ, so you know itโs solid. Honestly, it feels like the docs were written to perfectly match how your brain works. You have full ownership with UploadThing still so remember, you'd still need to create a api route โ๏ธ to manage the file upload. ๐คซ Latest Frontend NewsNext.js Docs have been updated with so many different examples, here you go โ๏ธ. Next.js Conf is here so grab your tickets โ๏ธ as attending virtually is completely free. Exciting ShadCN UI library updates are here, the Open in V0 button โ๏ธ takes your content to V0 AI for prompting so you can generate new UI using it. โState of CSS Survey 2024 โ๏ธ has opened up so don't forget to share your thoughts. A tiny library that makes date ranges short and sweet, check it out โ๏ธโ โOpenNext โ๏ธ takes the Next.js build output and converts it into packages that can be deployed across a variety of environments. In a world full of boilerplates, here is another but this time with React + Vite โ๏ธ and it's free. ๐ Weekly Youtube VideosCheck it out and subscribe to my channel โ๏ธ for more Frontend, Leadership and Career Development content. What do you think of today's Newsletter? Simply click on one of the links below. |
I write all my newsletters using Kit โ, my favorite newsletter platform.
Subscribe to the newsletter
Get the latest updates delivered directly to your inbox.