Show HN: Use your OpenAI subscription to create audiobooks

(pdftomp3.com)

111 points | by janpmz 4 hours ago

17 comments

  • x______________ 4 hours ago
    Is "paste your OpenAI API key" the new form of "paste your credit card number with exp/code" for example, to check if its been compromised?
    • draugadrotten 3 hours ago
      For those who do not want to paste OpenAIkeys to other peoples web pages, there are local solutions.

      For example, these audiobook generators runs fully offline. https://github.com/Finrandojin/alexandria-audiobook https://github.com/senigami/audiobook-studio.pinokio https://github.com/topics/audiobook-generator

      • xnorswap 2 hours ago
        > For those who do not want to paste OpenAIkeys to other peoples web pages

        That should be everybody!

        There are standard practices for delegating responsibility, never ever be pasting API keys into websites.

        • throwaway_19sz 1 hour ago
          “Never ever” is crazy talk. Just put a couple of dollars in a prepaid account and assume it may all get used up. “Standard practices” won’t get you far in life.
      • fnord77 3 hours ago
        You don't even need that. Just paste your pdf in codex or the gpt work app and say make me an audio book from this with such and such kind of voice.
    • yohannparis 1 hour ago
      You can generate a specific API key, and make sure to monitor it by setting a budget limit to it. They should explain this to people in their form to avoid people pasting their main key.
    • walrus01 48 minutes ago
      There was a guy who made a "has your SSH key been compromised? Paste your private key here" website as a joke, which lasted about a week until his low budget host killed it.

      https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fx...

  • subless 1 hour ago
    I love using https://convert.to.it/ for all of my converting needs; everything is client-side in the browser with over 400 file extension options to choose from.

    Source: https://github.com/p2r3/convert

  • xenocratus 4 hours ago
    I did something very similar to this, for myself, but which takes a web page for an article, cleans up the text to preserve the article only, and converts it using TTS, then adds it to a cloud bucket with an RSS stream, and I use that RSS link as a podcast in Apple Podcast.
    • kolinko 2 hours ago
      I do similar things, just use ElevenLabs for tts - a good selection of voices.

      A good protip - tell an agent to rewrite the article slightly for better listening flow. Some subtle changes in sentence structure etc can make listening way more pleasant.

    • BeetleB 1 hour ago
      Same here.

      https://blog.nawaz.org/posts/2024/Apr/reading-articles-via-p...

      I use the TTS on Google Cloud. It's effectively free.

    • sebzim4500 2 hours ago
      What TTS do you use? I find the OpenAI ones really unpleasant to listen to and elevenlabs is better but still not quite right somehow.
      • kingforaday 2 hours ago
        Try fish.audio - their S2 Pro has been very decent. The S2.1 Pro might be better but haven't had a chance to try it.
    • robot_jesus 3 hours ago
      Oh man. I did something similar but didn’t do the last mile with the cloud bucket and RSS stream and that seems key. I never have the energy to manually copy the mp3s over to the phone.
      • cj00 2 hours ago
        I did something similar and just put the files on an old laptop and used Tailscale. That gives me an https URL and Apple Podcasts downloads the files fine.
      • exe34 3 hours ago
        I have syncthing, I just copy a file into the shared folder.
      • janpmz 3 hours ago
        I did both of that too! At the end I made my own app to listen to the episodes.
    • brumar 3 hours ago
      Same here. 75% of my podcast listening time come from content generated by claude and voxtral these days (tts from mistral).
    • _ink_ 4 hours ago
      Sounds great! Any interest in open sourcing your approach?
    • sgallant 1 hour ago
      RSS -> Apple podcast. Love it!
  • 55555 1 hour ago
    Please share an example of a two-speaker podcast that it has generated, add support for spoken Thai, and I will pay & use it weekly.
  • butz 37 minutes ago
    What about license of such output? Won't Google and OpenAI be coming to my door for their share from the sales of "my" audiobooks?
    • sureMan6 12 minutes ago
      You'll have to read the license agreement for openAI or Google on their tts

      Or look into open source tts models with liberal commercial licenses

      Generally I'd stay away from the site/project/repo in the OP and just do your own research on this (because the OP site is vibe coded in a sleazy way that's unnecessarily used car salesman-y and doesn't offer anything you couldn't just do better yourself with one codex or chatgpt prompt)

      Edit: to be clear there's a lot of different tts providers, they probably all offer tts you can use commercially, you can look at benchmarks for the providers and then the specific TOS

  • cj00 1 hour ago
    How well does it handle pronunciation, especially of things like proper nouns? This has been one of the harder parts I've found. On a financial web site I saw one example where the generated audio pronounced initiates as a noun instead of a verb. It's a subtle difference but can significantly change the meaning if worded wrong.

    I was trying to use TTS to regenerate some old audiobooks and getting names pronounced correctly is pretty hard unless the model supports something like SSML.

  • hirako2000 1 hour ago
    This trend to sell subscription with a price for "credits".

    For a wrapper around costly LLM providers.

    For a result one could get with voicebox for free.

  • amaldavid 2 hours ago
    It was always harder to get it to sound right, I had built Lissin around this thesis itself. You can throw in a PDF or a link and can get a podcast, deepdive or just narration with different voices in Lissin.

    For those interested in better voices, you can try and let me know.

    https://apps.apple.com/app/apple-store/id6758897526?pt=12810...

    • lifeisloving 2 hours ago
      If someone sends me AI generated audio they're reccomending, I from then on out see them differently and not in a good way. I dont even want to read the outputs of an LLM let alone listen to them. Wild.
  • brunorsini 3 hours ago
    Cool! Curious to hear a sample. As any regular audiobook listener knows, having a great narrator is really key.
    • janpmz 3 hours ago
      Here you can listen to examples: https://pdftomp3.com/examples/

      Via MCP more voices are available (all OpenAI and Gemini voices, depending on which api key you use).

      • kubrickslair 1 hour ago
        I tested it - the word highlight and audio spoken did not always align, leading to a discordant experience.
      • brunorsini 3 hours ago
        I like the voices, will be using the product soon. Thanks for sharing!
  • exolab 2 hours ago
    You can build that with Claude in 2-3 hours. Not sure how this is a business idea.
    • janpmz 2 hours ago
      Its about the whole pipeline. From adding a PDF to listening in the car (with the app).
    • therepanic 2 hours ago
      minutes not hours
    • malfist 1 hour ago
      Let me guess, you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs and then use SVN or CVS on the mounted filesystem?

      https://news.ycombinator.com/item?id=9224

      • satvikpendem 1 hour ago
        Yes, because these days the world has changed since then.
  • embedding-shape 4 hours ago
    > Use the AI you already pay for

    I thought this would mean I could use my subscription, as OpenAI/Codex supports this kind of authentication flow, and it's very easy to integrate with that as a service, and users login with the OpenAI authentication flow, or via device codes.

    Instead this asks for an API key, which is very different from "Use your OpenAI subscription" and to be honest, I'm not sure how anyone who has a OpenAI subscription could mistake this for such. Has this even been tested once?

    Maybe I missed something obvious, I had a five second look and closed it when it seemed to be outright intentionally misleading.

    • scrollop 2 hours ago
      The title is misleading - should be "Use your openai subscription AND a TTS api key"

      Much less interesting.

    • janpmz 4 hours ago
      There are two parts to the processing. The processing of the document itself is done on your OpenAI/Codex subscription. Additionally, you have to submit an API key for the text-to-speech processing. There you can use a Gemini key or an OpenAI key.
    • wastewastewaste 4 hours ago
      title literally says "Use your OpenAI subscription to create audiobooks" so im also confused lol

      edit: i guess this explains it, its sorta half half

      Your subscription will be used for:

          document processing (via MCP)already paid by your subscription
      
      Your API key will be used for:

          generating speechOpenAI charges per usage
  • jaccola 4 hours ago
    Looks cool but how on earth does your demo video not show a sample of the result?! It ends right before the exciting part. Madness!
  • ph4rsikal 3 hours ago
    Great work, op. I have also had good experiences with Qwen3-TTS. Might be worthwhile to explore for everyone who wants to do longform locally.
    • janpmz 3 hours ago
      Thanks! Currently, I'm using Gemini TTS and Kokoro TTS as a free option. Kokoro is fast and I can run it on my own server, but I'm not using it as a standard yet because Gemini supports more languages and has more voices available. But text-to-speech processing is the biggest bottleneck at the moment.
  • laylower 4 hours ago
    What prevents someone submitting an epub or a pdf and ask claude or another llm to narrate a novel in morgan freeman's voice?
    • AbsurdCensor 3 hours ago
      At home this is super easy, use one of the multiple TTS models out there and provide a clean clip of Morgan Freeman's voice. Typically around 10 seconds will do. I just run a python script to daily scan my FreshRSS sources, compile my news and generate a 'podcast' that's about 10 minutes for a morning listen. Currently using F5-TTS, but there are lot's of other models out there as well.
      • properbrew 3 hours ago
        > Currently using F5-TTS

        Thanks for listing the model you're using, I've not really done any TTS stuff and this sounds like a fun thing to spin up.

    • springtimesun 3 hours ago
      Claude has gotten pretty sensitive to copyright. In addition to the no song lyrics that was posted in another article, I also find it will not generally transcribe podcasts (you have to play with model versions and even effort inside that).
      • KellyCriterion 3 hours ago
        Couple of weeks ago it refused to cite one of the public available EU-text from their gov site to me
  • matthorse 3 hours ago
    How well does it handle larger files? And other book formats, like epub or mobi?

    I'd love to see an actual result what it can do

  • abel0x 3 hours ago
    how does it handle weird formatting in pdfs like tables or image captions? i always get trash output when doing pdf text extraction.
    • janpmz 3 hours ago
      It handles the formatting of scientific papers very well. E.g. I can exclude footnotes etc. But I didn't test it much with tables yet.
      • flatline 1 hour ago
        I went the route of handling epub first (really, anything pandoc can convert to epub) on ebookaloud, and it took quite a few iterations to get consistent parsing across a wide corpus of test documents.

        My experience is that gathering and testing with that corpus was about 30% of the overall effort. I have not yet gathered the motivation to tackle pdf: it’s more of a layout format than a text format. Not just tables but multi-column layouts and similar oddities leave a pile of imperfect heuristics in their wake.

        Multi-lingual support is even worse. I was working with arabic script in pdf years ago and they don’t even capture the encoded text, just rendering instructions due to the high number of ligatures. I don’t know if things have improved since then.

      • abel0x 2 hours ago
        makes sense, tables in pdfs are a nightmare anyway. cool project.
  • squidmaster 1 hour ago
    [dead]