modAI

Generative AI for MODX Revolution

Creator: Jan Peca (theboxer)

Need help installing this extra?

Screenshots

About modAI

Unleash the power of generative AI within MODX with modAI! This revolutionary Extra adds a “sparkle button” (✦) to your Manager, instantly generating SEO-optimized content like meta titles, meta descriptions, summaries, and even images, alt tags and full article content. Boost your content creation workflow, optimize your site for search engines, and easily generate stunning visuals for Open Graph sharing and hero sections. modAI seamlessly integrates with popular Extras like image+ and SEO Suite, for compatibility and flexibility. Simply add your preferred AI provider API key (ChatGPT, Google Gemini, Anthropic Claude, or custom services) and watch your content come to life. Experience the future of content creation today with modAI!

Information

Released
February 28, 2025

Supported Database
MySQL

License
GNU AGPL v3.0

Supported Versions
3.0 - Current

Downloads
162

Documentation
modAI Documentation

Instructions

modAI adds a “sparkle button” (✦) to relevant fields in your MODX Manager. Clicking this button triggers the AI to generate content based on pre-defined prompts and your chosen AI provider. You can easily review, edit, and insert the generated content directly into your website. See the configuration section of the documentation for customizing modAI behavior and prompts.

New in 0.10.0-beta

0.10.0-beta - 2025-02-28

🚀 Features

  • Enable calling AI services on serverside, instead of from the client (64edf9f)
  • Refactor multiple cache handlers to a single history handler (a150940)
  • Refactor system settings, add namespace support, add context support to the free text prompt (e6c3039)
  • Add fullUrl to the return array in the image download processor (5869b40)
  • Create JS API for modAI processors (b2b4b78)
  • Simplify the JS API (dee659e)
  • Add style option for image models (61371c3), resolves #11
  • Add support for passing custom options to each model (ff25a6f)
  • Merge all system prompts to a single message (314c9ca)
  • Add support for client side streaming (chatgpt & gemini) (0dc2c68)
  • Adjust default vision prompt (afb4cbd)
  • Add cache buster for JS files (a7d4949)

🐛 Bug Fixes

  • Fix return types from Settings helper class (825c33e)
  • Load lexicons from processors (6587afd)
  • Fix checking for empty value when getting system settings (ac4dc2b)

🚜 Refactor

  • Unify fieldName as field property for processors (f90eaa7)

📚 Documentation

  • Add markup and references to docs (2420b20)
  • Note about how/when AI requests execute (38ef3b3)
  • Describe new settings structure and streaming (b0767a0)

⚙️ Miscellaneous Tasks

  • Automate build process (0c64fe2)
  • Remove html comments from group name (b1e05dd)
  • Add translation for modai.global.text.context_prompt system setting (998b2e4)
  • Add link to original announcement to the readme (c51af55)

Current releases

0.10.0-beta
View | Download
February 28, 2025
3.0 - Current

0.9.0-beta
View | Download
February 20, 2025
3.0 - Current