Drupal is a registered trademark of Dries Buytaert
Drupal 10.6.13 Update released for Drupal core (10.6.13)! Drupal 11.3.14 Update released for Drupal core (11.3.14)! Drupal 11.4.4 Update released for Drupal core (11.4.4)! Views Bulk Operations (VBO) 4.4.7 Minor update available for module views_bulk_operations (4.4.7). Taxonomy Facets 3.3.2 Minor update available for module taxonomy_facets (3.3.2). Helpdesk Integration 2.0.17 Minor update available for module helpdesk_integration (2.0.17). Serialization cache 2.0.2 Minor update available for module serialization_cache (2.0.2). Govuk Theme 3.1.12 Minor update available for theme govuk_theme (3.1.12). Feature toggle 3.0.2 Module feature_toggle updated after 13 months of inactivity (3.0.2). HTTP Response Headers Module http_response_headers crossed 1,000 active installs.

Creating a content type in Drupal often involves multiple manual steps—navigating to Structure › Content types, creating the content type, and then adding each field individually. For every field, you need to choose the appropriate field type, widget, display formatter, and, where applicable, configure references to content, taxonomy terms, media, or other entities. While powerful, this process can be repetitive and time-consuming.

AI Content Type Generator simplifies the entire workflow by allowing you to describe your content model in plain English. For example, you can enter "Create an Event content type with a venue, event date, featured image, difficulty level, category reference, and registration link", and the module automatically creates the content type, adds the required fields, configures suitable widgets and display formatters, and prepares everything for immediate use.

The module can also enhance existing content types. Simply describe the changes you need—such as adding new fields, removing obsolete ones, or updating references—and the generator applies those modifications automatically, eliminating the need to manually edit fields through the administration interface.

Rather than communicating directly with any AI service, the module integrates with the AI (Artificial Intelligence) module. This means it works seamlessly with whichever AI provider your Drupal site already supports, including OpenAI, Anthropic, Ollama, and other AI Core compatible providers. API credentials remain securely managed by the AI ecosystem and are never stored by this module.

Features

  • Generate or update content types using natural language. Create entirely new content types or modify existing ones from a single interface.
  • Supports a wide range of Drupal field types. Automatically generates commonly used fields, including plain text, long text, formatted text, integers, decimals, booleans, email, telephone, date, datetime, links, files, images, and select lists.
  • Entity reference support. Generate references to content, taxonomy terms, users, media, files, custom blocks, menu links, Paragraphs, and entity reference revisions where supported.
  • Automatic taxonomy creation. When referencing a taxonomy vocabulary that doesn't exist, the module can create the vocabulary automatically before adding the reference field.
  • Comments integration. Enables Drupal's native Comment field whenever discussion functionality is requested.
  • Smart field configuration. Assigns appropriate widgets for content editing and sensible display formatters for rendered content without requiring manual configuration.
  • Safe AI usage controls. Includes configurable flood protection and per-user generation limits to prevent excessive AI requests.
  • Role-based permissions. Separate permissions allow administrators to manage AI settings while enabling editors to generate content types without access to provider configuration.
  • Built on Drupal AI. Uses the Drupal AI module as its AI abstraction layer, allowing organizations to switch providers without changing this module.

The module is ideal for rapidly prototyping content models, accelerating client projects, reducing repetitive administrative work, and helping developers scaffold Drupal sites significantly faster while maintaining Drupal best practices.

Post-Installation

  1. Install and configure the AI module together with at least one chat-capable AI provider under Configuration › AI › AI Settings (/admin/config/ai/settings). API credentials are managed by the provider, typically using the Key module.
  2. Navigate to Configuration › AI › AI Content Type Generator (/admin/config/ai/content-type-generator) and choose the AI provider, model, generation parameters, and request limits.
  3. Grant the Generate AI Content Types permission to users who should create content types, and Administer AI Content Type Generator to administrators responsible for AI configuration.
  4. Open Structure › Content types › AI Content Type Generator (/admin/structure/types/ai-generator), describe the content type you want, and submit the request. After generation, you'll be redirected to the generated content type's Manage fields page for review and optional customization.

The module does not create additional content types or configuration until you generate them. Installing the module simply adds the generator interface and its configuration options.

Additional Requirements

  • AI (Artificial Intelligence) with at least one configured AI provider (OpenAI, Anthropic, Ollama, or any AI Core compatible provider).
  • Drupal core modules including Node, Field, and Text.

Additional modules extend the generator with extra field capabilities:

Module Capability Enabled Datetime Date and datetime fields Telephone Telephone fields Link Link fields File File upload fields Image Image fields Options Select list (dropdown) fields Comment Drupal Comment field Taxonomy Taxonomy term references with automatic vocabulary creation Media Media reference fields Custom Block Library Content block references Menu Link Content Menu link references Paragraphs Paragraph entity reference revisions
  • AI Provider OpenAI, AI Provider Anthropic, Ollama, or any AI Core compatible provider.
  • Key for secure API credential management.
  • Paragraphs for generating flexible component-based content structures.

Related Projects

  • AI Webform Generator provides the same AI-powered workflow for creating and updating Drupal Webforms using natural language.

If you know of another Drupal module that generates content types from natural language prompts, we'd love to hear about it so we can acknowledge related work within the Drupal community.

Support

Found a bug, have a feature request, or want support for additional field types or entity references? Please open an issue on the project page. The module is designed to grow incrementally while maintaining predictable and safe content generation.

Community Documentation

Community tutorials, demonstration videos, DrupalPod examples, and implementation guides are welcome and will help new users get started quickly.

AI Content Type Generator is designed to eliminate repetitive configuration tasks so developers and site builders can spend more time designing great content architectures and less time manually creating fields.

Activity

Total releases
1
First release
Jul 2026
Latest release
2 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jul 16, 2026