✨AI Lab
Pro Plus Feature
Last updated
Was this helpful?
Pro Plus Feature
Last updated
Was this helpful?
AI Lab is a powerful add-on designed to simplify and accelerate course creation within your learning management system. By integrating artificial intelligence into the content-building process, AI Lab allows instructors to generate entire courses, lessons, quizzes, assignments, and even visuals from a single input.
Whether you are creating a course from scratch or enhancing existing content, AI Lab helps you work faster, smarter, and with more creativity. It removes the manual workload and lets you focus on teaching, while AI cares for structure, flow, and variety.
✅ With AI Lab, you can:
Generate full course structures with titles, descriptions, and outlines
Create interactive and well-organized lessons
Automatically produce quizzes and assignments aligned with your content
Add relevant images to your lessons using AI image generation
Instantly rewrite or improve any text content across your course
This documentation will guide you through installing the add-on, using each feature effectively, and customizing the output to fit your teaching style.
AI Lab addon can be activated by following WP Dashboard > MS LMS > Pro Addons > AI Lab:
Insert OpenAI API Key - Enter your OpenAI API key to activate AI-powered features in MasterStudy. You can obtain the key by following these steps.
Model - Choose the desired OpenAI GPT model.
Number of Text Suggestions - Select how many variations of AI-generated text you want to receive for each request.
Number of Image Suggestions - Choose how many AI-generated image options to receive. Selecting 1 will use OpenAI's DALL-E model for higher quality, and 10 will give you lower quality.
Instructor Access - Enable or disable AI feature access for instructors. Use the "Manage" button to configure permissions.
To use the AI Lab features in MasterStudy, you need to connect your OpenAI account by entering your API key.
Visit https://platform.openai.com/ and sign in with your OpenAI account. If you don't have one, you will need to create it first.
After logging in, you should be redirected to the API Keys tab https://platform.openai.com/api-keys/, and here you have to click on Create New Secret Key:
Set the parameters as above, name your project according to your needs, and click on Create Secret Key:
Copy the generated Secret Key:
Go back to the addon settings and paste the key into the designated field and save the settings:
Now you can go and set up billing to use the feature.
OpenAI charges for its API based on usage, so if you haven’t already set up a payment method for billing, you’ll need to do so. Otherwise, the API key you created won’t function.
On the opened page, move to the Billing tab and click on Add Payment Details:
Enter your card information and billing:
Set up the payment amount and/or automatic recharge settings according to your needs, and initiate the payment:
Now you’ve set up billing, it’s a good idea to set usage limits to control your monthly API spending. Simply click Limits in the left menu, set your desired monthly budget, and choose an email notification threshold according to your needs. Finally, click Save to apply your settings.
You can also check the usage over your API right on the Usage section of the Addon Setting page:
The AI Lab add-on allows instructors to generate an entire course in just a few clicks by harnessing the power of artificial intelligence. With a well-structured prompt, AI can create comprehensive, well-organized courses with sections, lessons, descriptions, and learning objectives. Based on your input, AI Lab will automatically generate:
Course title, description, and image
Sections and lesson outlines
Lesson content with explanations and key points
Quizzes for selected lessons
Assignments to reinforce learning
Suggested images for each lesson
Course FAQs
Go to the WP Dashboard > MS LMS > Courses, then click on the Generate Course button:
On the opened page, you will see a special field dedicated to generating a course via prompt using AI. Click on Generate Entire Course:
Now, we need a clear and specific prompt that describes your course.
Who is the course for? Mention the target audience and their skill level.
What will learners achieve? Describe learning goals and outcomes.
What topics should it cover? Name specific subjects, themes, or modules.
What should the course image depict? Help create a relevant and eye-catching visual.
Preferred tone or style? Casual, academic, motivational, etc.
Optionally, include any preferences for how lessons are written (e.g., “use emojis,” “include examples,” etc).
📝 Here is the example prompt:
I want to create a course called "Digital Marketing Basics" for young entrepreneurs and students aged 16 to 35. The course should introduce topics like SEO, content strategy, social media marketing, and email campaigns. Learners should gain enough knowledge to start promoting their own brand or freelance service online.
For the course image, please show a group of diverse students at laptops learning marketing tools in a modern, colorful setting. Use a friendly, encouraging tone with real-life examples and emojis in the text. Lessons should include short intros and 3–4 key points.
Enter the prompt in the designated area:
Now, provide the rest of the details of the course and proceed by clicking the ✨Generate Entire Course button:
Note that if you enable Create course outline only setting, AI will only generate section and lesson titles without any content.
It takes some time for AI to generate an entire course with lessons. Be patient and do not close the tab during the course generation:
You will see the ready course preview with short and long descriptions, course cover image, and curriculum:
If you do not like the AI-generated course, you have several options:
You can do it by clicking the Regenerate button on the right sidebar. It simply regenerates the course without changing your original prompt:
Once you are satisfied with the outputs, proceed by the Save and Continue button:
IMPORTANT
Be careful, if you close the tab without clicking the save button, the generated course will be lost. It will not be saved as a draft either.
After that, the system starts generating lesson contents. The same, wait patiently and do not close the tab:
Once it's done, proceed by clicking the Save and Continue button:
Now, you can check the contents one by one and the rest of the settings.
Please check each lesson, quiz, and assignment and their content one by one. AI can make mistakes. You can use individual AI tools in each lesson to improve text content and add relevant images.
Move to the Settings tab, and check the course title, cover image, description, and provide other relevant details (course category, level, duration, etc.):
In this step, set pricing for the course on the Pricing tab and check the Course FAQs on the FAQ tab:
Now the course is ready to be published. You can change the course status from Draft to Published:
Here is our AI-generated course:
In the existing lessons and assignments, you can find small Generate with AI ✨ buttons on each text field.
These buttons are available in all types of lessons and assignments.
By clicking on them, you can get the AI Text Generator modals:
Prompt Input Field – Describe what you need help writing. For example: “Write a blog intro about AI in education” or “Generate a course title on web development.” This is the main instruction that guides the AI. The more specific and structured your prompt is, the better the generated content will match your expectations.
Words Limit – Sets the maximum length of the output text, in number of words. Use this to control how long the generated content should be.
Type – Select the desired output format. Once you change the type, Word Limit will also change to the preferred amount automatically. But you can freely change it.
Title - generates short text designed to be used as a title for the lesson
Paragraph - generates a medium-sized text designed to be used as a paragraph along with other content
Article - generates long text designed to be used as a full article that covers the topic fully
Tone – Choose the desired tone of voice for the content. Options include Formal, Casual, Engaging, Professional, and Conversational.
Language - choose the text output language
Once you provide the nice prompt and adjust the rest of the settings according to your needs, simply click on the ✨Generate button.
Images can be generated manually for the lesson contents, course cover image, or anywhere that accepts media via the Media File Manager. So, make sure you have enabled it.
Go to the desired place and put the cursor where you want to add the AI-generated image:
Click on the Insert Image button from the WYSIWYG editor tools:
In the General tab, click on the Browse files button:
On the opened pop-up, move to the AI Generate tab:
Describe the image you need in detail and choose the desired image style. Then simply click on the Generate button:
Based on the number of images you set in the Addon Settings, AI Lab offers you several AI-generated images to select.
If you are not satisfied with the generated images, you can regenerate them or change the prompt. To use the image, click on the Use Selected Image button. It saves the image on your website and pastes it to the selected place:
Following the same steps, you can generate the Course Cover Image with AI as well:
You can apply the power of AI to your existing lessons to improve their content, or in any courses, you can simply add new lessons with AI.
AI Lab will generate the lesson title, short description, and the main text-based lesson content. It also generates images for better illustration upon request.
Create any type of new lesson:
At the top of the lesson, there is a special section dedicated to creating lesson contents with AI. Click on Generate:
After that, this menu opens:
Prompt Input Field – Provide a clear description of the lesson topic, target audience, key points, and any specific requirements or context. The AI will use this to generate the full lesson content. Additionally, describe the images you want to include as well.
Words Limit – Set the maximum number of words for the AI-generated lesson. This helps control content length based on your needs.
Tone – Choose the desired tone of voice for the content. Options include Formal, Casual, Engaging, Professional, and Conversational.
Images Limit – Define how many images you want the AI to generate alongside the lesson. If set to 1, the image will be generated using the DALL·E 3 model for high-quality results.
Style – Choose the appropriate image generation style.
Language - Choose the output language
Continue Manually – If selected, it lets you skip AI generation and write the lesson manually.
Write your prompt very carefully and in detail. Here is the example prompt:
Generate a structured lesson script for a video titled “The Basics of Blockchain for Beginners.” The audience is university students with no prior experience in blockchain. The content should cover: what blockchain is, how it works, real-world use cases, and common misconceptions. Keep the tone formal, the style explanatory, and ensure that the script includes clear transitions and engaging explanations suitable for a 5-minute lesson video. Add one relevant image concept for visual aid.
Then, click on the ✨Generate button to proceed:
It takes some time to generate the lesson. Do not close the tab and wait patiently:
You got the success message with the contents generated.
Now you can click on the Create button to add the lesson to the course:
Creating quizzes using AI Lab is also straightforward.
Create a new quiz or use the existing one. Inside the quiz, you will see the ✨Generate Questions button:
You will see Questions Generator:
Prompt Input Field – Describe the topic, audience level, key concepts, and any special focus areas. The clearer and more specific your instructions, the more relevant and accurate the generated questions will be.
Number of Questions – Set how many quiz questions you want the AI to generate in one go.
Answers Limit – Define the number of answer choices for each question (applies to formats like multiple or single choice).
Language - Choose the output language
Preferred Question Types – Select which types of questions should be included. Options are:
Single Choice – One correct answer from a list.
Multiple Choice – Multiple correct answers possible.
True / False – Binary statement-based questions.
Item Match – Matching items between two columns.
Keywords – Short-answer questions requiring a specific word or phrase.
Fill in the Gap – Questions with a blank that the student must complete.
Write your prompt in detail and adjust the rest of the setting. Then, proceed by clicking the Generate button. Here is the example prompt:
Create 5 intermediate-level quiz questions on the topic of “Introduction to Artificial Intelligence.” Focus on key concepts such as machine learning, neural networks, supervised vs unsupervised learning, and AI applications in daily life. Include a variety of question types like multiple choice, fill-in-the-gap, and true/false. Each question should have up to 4 answer choices.
AI Lab provides a preview of the questions. If you are not satisfied, you can change the prompt or regenerate the response. If you are not satisfied with only one or two questions, you can accept the response, then manually modify it as well:
Pay attention to each generated question and answer. AI can make mistakes.
Once you are done, you can save the settings, and that's it.
IMPORTANT!
Be careful and check all the content generated by AI. Because AI CAN MAKE MISTAKES.
Once you have enabled the add-on, you can reach its settings by clicking the gear icon or by following WP Dashboard > MS LMS > Settings > AI Lab:
Open AI Pricing 👉 https://openai.com/api/pricing/
To begin, click the settings (gear ) icon in the top right corner of the API keys screen:
You can later refine each lesson using other AI tools in the editor.