Pollinations AI provider

AI providers ::: aiprovider_pollinations
Maintained by Kristen Leigh Goliath
Free AI provider plugin for Moodle's AI subsystem using Pollinations API (Pollinations Account Required). Supports text generation, text summarisation, and image generation with BYOP device flow authentication, per-user rate limiting, and balance monitoring.
Latest release:
21 downloads
2 fans
Current versions available: 1

The Pollinations AI provider integrates the Pollinations.ai API with Moodle's built-in AI subsystem (Moodle 4.5+). It provides three AI capabilities:

  • Text generation — powered by models like GPT, DeepSeek, Qwen, Mistral, and more
  • Text summarisation — automatically summarise course content and activities
  • Image generation — create images from text prompts directly in the TinyMCE editor

Key features:

  • BYOP (Bring Your Own Pollen) device flow — admins connect their Pollinations account with a simple device code, no redirect URLs or manual API key entry
  • Automatic model discovery — available text and image models are fetched daily from the Pollinations API
  • Per-user rate limiting — prevent abuse with configurable global and per-user limits
  • Balance monitoring — scheduled task checks your Pollen balance and alerts admins when low
  • Retry with exponential backoff — resilient handling of 429 and 5xx errors
  • Content safety filtering — optional filtering for NSFW content, personal information, and secrets

Requirements:

  • Moodle 4.5 or later (PHP 8.1+)
  • A Pollinations.ai account (sign up at enter.pollinations.ai) with pollen (free or paid credits)

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6
Screenshot #7
Screenshot #8
Screenshot #9

Contributors

Kristen Leigh Goliath (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments