Image Generation Providers
Overview
The Image Generation tab, under LM Providers, manages the providers QAnswer uses to generate images from text prompts (used by the built-in image generation tool):
Adding a Provider
Click Add provider to open the two-step creation wizard.
Step 1 — Select a provider
Pick a provider tile. The available providers are:
- Black Forest Labs (Flux) — 🇪🇺 EU-hosted · RecommendedGenerate images with Flux models via the Black Forest Labs API. Europe-hosted and GDPR compliant.
- OpenAI — 🇺🇸 US-hostedGenerate images with DALL-E 3 or GPT Image 1 via the OpenAI API.
- Azure OpenAI — 🇺🇸 US-hostedGenerate images using DALL-E deployed on Microsoft Azure OpenAI.
- Google Vertex AI — 🇺🇸 US-hostedGenerate images with Google Imagen via Vertex AI.
Step 2 — Configure credentials
The form adapts to the chosen provider and is organized into the following sections:
- Credentials — an optional display name, the provider-specific credentials (API key for Black Forest Labs/OpenAI, API key + endpoint + API version + deployment name for Azure OpenAI, or a service account JSON + project ID + region for Vertex AI), and the image model to use.
- Cost — cost per image and estimated CO2 per image, used for usage reporting.
Required-field validation
Submitting the form with required credentials empty highlights each one in red with an inline error message, so missing fields are easy to spot before saving.
Managing Existing Providers
Each provider card lists its Test connection, Set as default, Edit, and Delete actions. Above the list, a few tools help manage larger sets of providers:
- Search — filters the list by name as you type.
- Grid / List toggle — switches between a card grid and a compact list layout.
- Select mode — checks off multiple providers to run a bulk Test connection, Enable, or Delete from the batch bar that appears at the bottom of the screen.
- Edit — opens the provider on a dedicated page, read-only until you click Edit; the same sectioned form as creation.
Import and Export
You can import or export the list of image generation providers of your organization in JSON format using the toolbar buttons above the list.
Use the search box before exporting to only include the providers matching your current search filter — handy for exporting a subset of a large list.




