AI Based Questions Generator avatar

AI Based Questions Generator

Pricing

from $0.00005 / actor start

Go to Apify Store
AI Based Questions Generator

AI Based Questions Generator

Generate questions from any given text using AI. Supports multiple question types including MCQ, true/false, fill-in-the-blank, and open-ended questions.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

4 days ago

Last modified

Share

Generate educational questions from any text using NVIDIA's AI models. Perfect for educators, content creators, and e-learning platforms.

What It Does

  • Generates multiple question types: MCQ, True/False, Fill-in-the-blank, Open-ended
  • Supports 3 difficulty levels: Easy, Medium, Hard
  • Uses NVIDIA's API for high-quality AI-generated questions
  • Pay Per Event pricing - only pay for questions generated

Input

{
"text": "The water cycle describes the continuous movement of water on, above, and below the surface of the Earth. Water undergoes evaporation, condensation, and precipitation...",
"questionType": "mixed",
"numQuestions": 5,
"difficulty": "medium"
}

Parameters:

  • text (required): The source text to generate questions from (min 50 characters)
  • questionType: Type of questions - "mcq", "true_false", "fill_blank", "open_ended", or "mixed" (default: "mixed")
  • numQuestions: Number of questions to generate, 1-50 (default: 5)
  • difficulty: Difficulty level - "easy", "medium", or "hard" (default: "medium")

Output

{
"source_text_preview": "The water cycle describes the continuous...",
"question_type": "mixed",
"difficulty": "medium",
"num_questions_requested": 5,
"num_questions_generated": 5,
"questions": [
{
"type": "mcq",
"question": "What is the process called when water changes from liquid to vapor?",
"options": ["A. Condensation", "B. Evaporation", "C. Precipitation", "D. Transpiration"],
"correct_answer": "B. Evaporation",
"explanation": "Evaporation is the process where water changes from liquid to vapor due to heat energy."
}
]
}

Environment Variables

Configure via Apify console:

  • NVIDIA_API_KEY: Your NVIDIA API key (required)
  • NVIDIA_BASE_URL: API endpoint (default: "https://integrate.api.nvidia.com/v1")
  • NVIDIA_MODEL: Model to use (default: "openai/gpt-oss-120b")
  • NVIDIA_TEMPERATURE: Sampling temperature 0-2 (default: 1.0)
  • NVIDIA_MAX_TOKENS: Max response tokens (default: 16384)

Use Cases

  • πŸ“š Teachers: Create quiz questions from educational content
  • πŸ“ Content Creators: Generate practice questions for articles
  • πŸŽ“ E-Learning: Auto-generate assessments from course materials
  • πŸ“– Researchers: Create knowledge checks from papers

Pricing

  • Actor Start: $0.00005
  • Per Question: $0.005

Tips

  • Provide longer text (300+ words) for more diverse questions
  • Use "mixed" question type for varied assessments
  • Set difficulty based on your target audience
  • Questions are charged individually - only pay for what you generate