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 20, 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.9.0-beta

0.9.0-beta - 2025-02-20

🚀 Features

  • Init the project (23cc847)
  • Hook up to pagetitle, longtitle, description and introtext (89483e8)
  • Store current field's value to the history (2f7add3)
  • Generate images (dbcdd3a)
  • Add quality to image generation and update baseline prompts (9716dc2)
  • Hide wait msg on failure and show an error message instead (0421424)
  • Adjust UI & add FreeText prompt (4ed2c92)
  • Configurable tvs & resource fields (8e8ad03)
  • Add setting for base output (3d88b08)
  • Updating area name and consistent cross-browser modAI button styling (711113d)
  • Add global.base.output (77e9379)
  • Allow override base.output (093e371)
  • Add support for gemini (dbc3bd0)
  • Attach modAI on textareas and rte TVs (259dd34)
  • Add support for anthropic models (claude) (3bea523)
  • Consolidate api services (5150c47)
  • Add support for custom api, compatible with openai (fb04ee6)
  • Add system setting to configure download path for generated images (83c14b6)
  • Add support for image generation in gemini models (83492c9)
  • Add vision support for gemini (2747fa7)
  • Allow model/prompt overriding for vision per field (94a2414)
  • Move calling AI service to the client side (7ef59bd)

🐛 Bug Fixes

  • Add missing import (90a2f66)
  • Update assetsUrl path (68780fa)
  • Fix saving altTag (9e62f83), Resolves #1
  • Fix name of global base prompt (a68bf91)
  • Fix global base prompt in free text (faaf61d)
  • Fix grabbing chatgpt key (a173a55)
  • Disable timeout when calling prompt processors (56b33d8)
  • Fix return of generateImage from custom chatgpt integration (8539f35)
  • Use getImageFieldSetting when generating an image (95f5d90)

📚 Documentation

  • More descriptions and initial documentation (3cefccf)
  • Document base prompt (e100400)
  • Update README.md (c2e4e17)
  • Fixing readme typos and clarifications (758349f)
  • Streamline README (deaee2f)
  • Clarify the README.md even more, because I can't stop (62ae55d)
  • Update instructions for TV handling + default image to wide (634e8e0)
  • Create LICENSE (5f24386)
  • Move readme (d65c986)
  • Documentation updates and Settings names (808b6d4)
  • Multi-model and custom model usage instructions (97aa5a0)
  • Fix typos in README (a89293b)
  • Adjust order and add service specific docs (0700b38)
  • Add Gemini Image + Vision (709bd5d)
  • Convert readme to writerside (fb240bd)
  • Set docs to build while in private mode (e2ccdc7)
  • Fix link to docs and add theme (a13cdc0)

🎨 Styling

  • CSS for nav buttons (e116c94)
  • Make buttons great again (76a1f04)
  • Initial tweaks for Image+ alt button (still need 3px or so top margin) (ed89a1d)
  • Fix for minor alignment on alt text icon (1f3afb6)
  • Adjust AI button look (e7e4929)
  • Increase height of response textarea in the free text prompt window (c7533da)
  • Visually simplify button borders (1b48a84)

⚙️ Miscellaneous Tasks

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