LibreOffice does not ship with an AI image generator, but a free extension adds one. Called AI images for LibreOffice (the project behind it is known as Stable Diffusion for LibreOffice), it turns a line of text in your document into a picture and drops it right into the page. The images are made by AI Horde, a volunteer run network of computers, so you do not need a powerful graphics card or a paid subscription.
What you need
- A current LibreOffice. As of October 2026 the newest release is LibreOffice 26.8.1, published on October 8, 2026, while the 26.2 branch remains available for people who prefer a more conservative version. The extension listing states compatibility from LibreOffice 7.4 onward on Windows, macOS and Linux.
- The extension. The latest listed version is 0.9.2, released in May 2026 under the Mozilla Public License.
- An AI Horde API key. Registering a free account at aihorde.net creates one. Store it like a password, because it cannot be shown to you again.
- An internet connection. Images are generated remotely, never on your PC.
On Debian, Ubuntu and similar Linux systems, install the libreoffice script provider python package first (its package name uses hyphens between the words), since the extension is written in Python.
How to install the extension
- Go to the official LibreOffice extensions site and search for AI images for LibreOffice. Download the loshd.oxt file. Avoid copies from random download sites.
- Open LibreOffice Writer and choose Tools, then Extensions.
- Click Add, select the downloaded file and confirm. Accept the license if asked.
- Click Restart Now when LibreOffice offers it.
Some antivirus tools flag unfamiliar macro based extensions. If yours blocks the install, confirm you downloaded the file from the official site before making an exception.
How to generate and insert an image
- Type a description of the picture in your document, for example a watercolor lighthouse at sunset, soft colors. English prompts tend to give better results.
- Highlight that text.
- Choose Insert, then Image from Text, or click the matching toolbar button.
- Paste your API key, then adjust the options: image width and height, the model, the content filter and the maximum wait time.
- Click Process and wait. When the job finishes, the image is placed in the document and saved to the extension’s gallery for reuse.
The extension works most smoothly in Writer and Impress. Calc and Draw support is more limited: from those apps it may open a new text document to hold the result. If that happens, generate the picture in Writer and copy it across.
Speed, keys and kudos
AI Horde is run by Haidra, a volunteer non profit, and is funded by donations and public grants. Requests are queued by priority. You can send jobs anonymously with the key 0000000000 (ten zeros), but anonymous jobs get the lowest priority and can take a long time when the network is busy. A registered account earns kudos, a credit system that raises your place in the queue, for example by contributing computing power or rating images.
| Option | Cost | Best for |
|---|---|---|
| Anonymous key | Free | Trying the extension once |
| Free registered account | Free | Regular use with better priority over time |
| Contributing a GPU worker | Your electricity | Heavy users who want fast results |
Privacy: what leaves your computer
This matters because LibreOffice itself is built to work offline. The Document Foundation says LibreOffice 26.8 contains no generative AI and does not send documents to remote services. The extension changes that for one action: the text you highlight is sent to AI Horde and processed by volunteer machines that can see it.
Also check the license terms of the model you pick if the image is going into commercial work, and label AI images clearly when your school or employer requires it.
Alternatives
- Generate elsewhere, then insert. Any image tool works with LibreOffice through Insert, Image. This gives you more control and the latest models.
- Run Stable Diffusion locally. With a capable graphics card, local tools keep prompts entirely on your machine.
- Use free stock or clip art. Openly licensed libraries are often faster for icons and simple illustrations, and there is no question about rights.
FAQ
Is the extension made by The Document Foundation?
No. It is a community project by an independent developer, distributed through the official LibreOffice extensions site.
Is it really free?
Yes. Both the extension and AI Horde cost nothing. The trade off is waiting time, since free capacity is shared.
Why does my image take so long or fail?
The network may be busy, or your priority is low. Increase Max Wait, try a smaller image size or another model, or register to build kudos.
Does it work offline?
No. Every image is generated on a remote worker, so you need an internet connection.
The verdict
AI images for LibreOffice is the easiest free way to put AI generated pictures straight into Writer or Impress documents. It is slow when the volunteer network is busy and it sends your prompt to outside machines, so keep it for illustrations and slides, not for anything private.
Updated October 2026: rewritten as a current guide to the AI images extension for LibreOffice 26.8, with setup steps, privacy notes and alternatives.
Featured photo: Vadim Bozhko on Unsplash.
About this article: GeekBlog covers U.S. technology news, AI, phones, smartwatches and gaming. Every story is written and checked under our Editorial Policy. Spotted a mistake or have a story tip? Contact our editors.

