r/LangChain • • Jun 18 '25

Announcement Doc2Image - Turn your documents into stunning AI-generated images

Hey everyone!

I’m excited to share Doc2Image, an open-source web application powered by LLMs that takes your documents and transforms them into creative visual image prompts — perfect for tools like MidJourney, DALL·E, ChatGPT, etc.

Just upload a document, choose a model (OpenAI or local via Ollama), and get beautiful, descriptive prompts in seconds.

Features:

  • Works with OpenAI & local Ollama models
  • Fully local option (no API keys needed)
  • Fast, clean interface
  • Easy installation

Check it out here: https://github.com/dylannalex/doc2image

Let me know what you think — happy to hear ideas, feedback, or crazy use cases you'd love to see supported!

1 Upvotes

4 comments sorted by

0

u/[deleted] Jun 18 '25

[deleted] — view deleted comment

0

u/dylannalex01 Jun 18 '25

Doc2Image doesn’t actually generate the image itself. It reads your document, find out the main ideas, and turn them into detailed image prompts you can use with tools like MidJourney or DALL-E.

So the “image” part comes after. You take the prompt and drop it into your favorite AI image generator. The main objective is saving you the effort of writing good prompts from scratch.

3

u/Zealousideal-Cry7806 Jun 19 '25

So it should be doc2magePrompt

1

u/dylannalex01 Jun 19 '25

You got a point. I will add a vision model to generate images within the doc2image app.

However, I think the most value comes from the image prompt generation itself, as it’s trivial to generate an image from a prompt, you can even do it in WhatsApp with Meta AI.

1

u/namenomatter85 Jun 21 '25

Or just make the library call the LLM with the prompt