How to use Stability AI to generate images in ONLYOFFICE editors
Need a quick visual for your presentation or a custom illustration for your report? Using Stability AI in ONLYOFFICE editors, you can generate unique images based on your text prompts—right inside the editor. In this guide, we’ll show you how to set it up and start creating visuals with Stability AI.
What Stability AI is
Stability AI is the company behind Stable Diffusion, one of the most popular open-source image generation models. It uses deep learning to create detailed visuals from short text prompts.
Thanks to the plugin system in ONLYOFFICE Docs, you can access this powerful tool directly from your documents, spreadsheets, or presentations.
Where to apply AI-generated visuals
You can apply AI visuals for:
- Reports & white papers: Diagrams, data illustrations, case-study images
- Dashboards & spreadsheets: Custom icons, background patterns, thematic graphics
- Presentations: Slide hero images, section dividers, and concept art to support talking points
How to generate images with Stability AI in ONLYOFFICE
First, you require the AI plugin installed. Follow the detailed instruction below.
Generate illustrations
To generate the image to illustrate your text, just select the text in your document. Then, right-click and select AI -> Image -> Text to image in the context menu.
The process may take a few seconds. Then, the generated image will appear in the document.
You only need to determine its correct position in the document and select its size.
Create visually appealing slides
Similarly, you can make your slides more attention-grabbing. With just a few clicks, simple text on a slide can be transformed into a picture.
The Stability AI plugin is available across all ONLYOFFICE editors:
- In documents: Add visual storytelling elements or custom illustrations.
- In spreadsheets: Create icons or diagrams to support your data.
- In presentations: Generate on-brand visuals that make your slides stand out.
What models are available
Stable Diffusion is ideal for generating simple and versatile images like drafts, concept art, and quick illustrations. It works well for everyday creative needs with relatively fast results.
Stable Image Core creates sharper, more polished visuals, making it perfect for product renders, marketing assets, and social media content where better quality matters.
Stable Image Ultra produces high-resolution, highly detailed images suited for print, editorial work, and any project that demands the highest visual fidelity.
How to connect Stability AI to ONLYOFFICE editors
Install AI plugin
1. Open the editor (Document, Spreadsheet, or Presentation).
2. Go to the Plugins tab in the top toolbar and open Plugin manager.
3. Find the AI plugin in the list and click Install.
4. Close the Plugin Manager and enable the plugin by clicking Background Plugins in the Plugins tab.
If you already have the AI plugin installed, make sure you have updated it to version 2.2.7 or higher. To update it, find the plugin in the Plugin manager and click Update.
Add Stability AI models
1. Switch to the AI tab, open Settings, and click Edit AI models.
2. Click + to add a new one.
3. From the Provider Name drop-down menu, select Stability AI. Enter the API key*. You can get one by signing up on the Stability AI platform. Choose a model from the list.
4. Below, choose what the model can be used for. For image generation, the option Images required. Click Ok.
*Some models may require a paid API key.
In the same way, you can add several Stability AI models for different tasks.
Assign tasks to Stability AI models
1. Go to the AI configuration.
2. From the drop-down list, select the AI models that will perform the Image generation task. Save the settings.
The model is now connected and ready for use in ONLYOFFICE editors.
Test Stability AI in ONLYOFFICE
Ready to generate images for your texts and presentations? Download ONLYOFFICE Desktop Editors for Windows, macOS, or Linux or create a free DocSpace account:
START ONLINE NOW GET DESKTOP EDITORS
Useful links
How to use AI in ONLYOFFICE: Mistral AI / Groq / Together AI / Ollama / DeepSeek / Anthropic / LocalAI / Google Gemini
Create your free ONLYOFFICE account
View, edit and collaborate on docs, sheets, slides, forms, and PDF files online.