AI Integration: Setup and Usage
This guide explains how to configure the AI feature in WebinarPress and how to generate webinar titles and descriptions using AI.
1. What This Feature Does
WebinarPress now includes an AI-powered assistant to help you quickly create:
- Webinar Titles (5 suggestions at a time)
- Webinar Descriptions (full content from your prompt)
You can customize the AI provider, add your API key, and select from the available models. Once configured, the “Generate with AI” button will appear directly in the webinar editor.
2. AI Settings Configuration
Before using AI generation, you must configure the AI Settings.
Step 1: Open AI Settings
Go to: WebinarPress → Settings → AI Settings tab
Step 2: Select AI Provider
Choose from the available AI providers (e.g., OpenAI, Anthropic, Gemini, etc.).
Step 3: Enter API Key
Paste your API key for the selected provider.
- A Check Key option is available.
- A success or error message will confirm the status.
Step 4: Select Model
Once the provider is selected, the Model dropdown will load based on the available models from that provider.
Step 5: Save Settings
Click Save Changes to apply your configuration.
3. Using AI in the Webinar Editor
After configuring AI Settings, you can generate titles and descriptions directly while creating or editing a webinar.
Step 1: Open a Webinar
Go to: WebinarPress → New Webinar / Edit Webinar
Step 2: Locate the Title or Description Field
Next to the Title and Description fields, you will see a “Generate with AI” button.
Step 3: Click “Generate with AI”
A popup will appear asking you to enter a prompt or details about your webinar.
4. AI Title Generation
When generating a Title:
Enter your prompt.
Click Generate.
Five title suggestions will be displayed.
Each suggestion includes:
- Copy – copies the title to clipboard
- Use – inserts the title into the webinar title field
- You can click Regenerate to get 5 new suggestions.
5. AI Description Generation
When generating a Description:
- Enter your prompt.
- Click Generate.
- A full description will be created based on your prompt.
- Click Use Text to insert it into the webinar description field.
6. Developer Hook: Customizing AI API Timeout
Some AI models take longer to generate results. To avoid the request stopping too early, you can increase the timeout using a hook.
add_filter('wpws_ai_api_timeout', function () {
return 120; // Wait up to 120 seconds
});
This filter overrides the default 60-second timeout and is helpful when using slower AI providers or complex prompts.
7. Troubleshooting
| Issue | Solution |
|---|---|
| No models in dropdown | Check provider selection and API key validity |
| API key invalid | Use the Check button to validate the Key or confirm with the provider |
| Timeout or no response | Increase timeout or check API usage limits |
8. Summary
- Configure AI in AI Settings (provider, API key, model)
- Use Generate with AI in the webinar editor
- Quickly create titles and descriptions
- Copy, Use, or Regenerate as needed
This feature saves time and helps you write compelling webinar content effortlessly.