- Prerequisites
- Where to Configure OpenAI
- Enabling the OpenAI Provider
- API Key Requirements
- Model Selection
- Advanced OpenAI Settings
- Assistants API v2
- Vision & Multimodal Support
- Image Generation
- Testing the OpenAI Connection
- Common Configuration Issues
- Cost Control Considerations
- Using OpenAI Alongside Other Providers
- What Happens After Configuration
This guide explains how to configure the OpenAI API in Aimogen, what each setting does, and how to verify that the connection works correctly. OpenAI is the most feature-complete provider in Aimogen and supports content generation, editing, chatbots, assistants, vision, embeddings, images, and real-time features.
Prerequisites #
Before configuring OpenAI in Aimogen, you need:
- An active OpenAI account
- An OpenAI API key with billing enabled
- Outbound HTTPS access from your server
Aimogen does not provide or proxy OpenAI keys. All usage is billed directly by OpenAI to your account.
Where to Configure OpenAI #
OpenAI settings are located in the WordPress admin under:
Aimogen → API Keys → OpenAI
This section controls all OpenAI-related behavior across the plugin unless overridden at feature level.
Enabling the OpenAI Provider #
To enable OpenAI:
- Open the OpenAI provider panel
- Paste your OpenAI API key into the API Key field
- Save settings
The API key is stored securely in the WordPress database and is not exposed publicly.
API Key Requirements #
Your API key must:
- Be active and not revoked
- Have access to the models you intend to use
- Have billing enabled in your OpenAI account
If billing is not enabled, requests will fail even if the key is valid.
Model Selection #
Aimogen allows you to select default OpenAI models used across features.
You can configure:
- Default text / chat model
- Default image model
- Default embedding model
- Default realtime / streaming model
Defaults are used when a feature does not explicitly specify a model.
You can override models in:
- Single post generators
- Bulk generators
- Chatbots
- Workflows and OmniBlocks
- Assistants
Advanced OpenAI Settings #
Depending on your Aimogen version, additional OpenAI-specific options may include:
- Temperature
- Top-p
- Presence and frequency penalties
- Reasoning effort
- Verbosity
- Streaming mode
- Tool usage (functions, browsing, code execution)
These settings define how OpenAI responds and can be adjusted globally or per execution context.
Assistants API v2 #
Aimogen supports OpenAI’s Assistants API v2.
When enabled, you can:
- Create persistent AI assistants
- Upload files for assistant context
- Enable code execution
- Reuse assistants across content, chat, and workflows
Assistants can be selected instead of raw models in supported features.
Vision & Multimodal Support #
If the selected OpenAI model supports vision:
- Chatbots can accept image input
- Workflows can process images
- Vision-based OmniBlocks become available
Aimogen automatically hides vision options when a non-vision model is selected.
Image Generation #
OpenAI image models can be used for:
- Featured image generation
- Playground image creation
- Workflow-based image generation
You can select:
- Standard or HD image models
- Image size and quality defaults
Testing the OpenAI Connection #
After configuration, always run a connection test:
- Use the chatbot to test AI models
- Aimogen sends a minimal test request
- A success or error message is displayed
A successful test confirms:
- API key validity
- Network connectivity
- OpenAI endpoint availability
No credits are meaningfully consumed during testing.
Common Configuration Issues #
If OpenAI does not work as expected, check:
- API key copied incorrectly (extra spaces)
- Billing not enabled on OpenAI account
- Server firewall blocking outbound HTTPS
- Using a model not enabled for your account
- Hitting OpenAI rate limits
Errors are logged in Aimogen → Logs and summarized in Aimogen → Status.
Cost Control Considerations #
OpenAI usage is pay-as-you-go.
To control costs:
- Set usage limits in Aimogen
- Use cheaper models for bulk tasks
- Reserve advanced models for editing or chat
- Monitor logs and statistics regularly
Aimogen does not hide or inflate OpenAI costs.
Using OpenAI Alongside Other Providers #
OpenAI does not need to be your only provider.
Common setups include:
- OpenAI for generation
- Claude or Gemini for editing
- Groq for realtime chat
- Stable Diffusion for images
Aimogen allows per-feature and per-workflow provider selection.
What Happens After Configuration #
Once OpenAI is enabled and tested:
- All OpenAI-supported features become available
- You can generate content immediately
- OpenAI appears as a selectable provider everywhere in Aimogen
No restart or reactivation is required.
OpenAI integration in Aimogen is designed to be flexible, transparent, and controllable. You decide how and where it’s used, and Aimogen ensures requests are executed consistently and logged clearly.