Contensa
Features
PricingBlogAbout
Log inStart free
Back to Blog
Technical

How Contensa Generates Content Models from a Plain-Language Brief

The core magic of Contensa explained: how AI turns a plain-language description of your project into a fully structured content model with fields, relationships, and a live API.

Feb 3, 2026
•
7 min read
AIContent ModelingHow It WorksTechnical
M

Michael Chen

AI/ML Engineer

How Contensa Generates Content Models from a Plain-Language Brief

How Contensa Generates Content Models from a Plain-Language Brief

The most common question we get from developers evaluating Contensa: "How does the AI content model generation actually work?"

It's a fair question. The pitch — describe what you're building, get a content model — sounds almost too simple. Here's what's actually happening under the hood, and why it works as well as it does.

The Problem It Solves

Traditional content modeling is a translation problem. You have a mental model of your content — "I'm building a product catalog with variants and pricing" — and you need to translate that into a formal schema: content types, field names, field types, relationships, validations.

This translation is tedious, error-prone, and requires developer expertise. The developer has to make dozens of micro-decisions: Should "price" be a number or a string? Should "variants" be a nested object or a separate content type with a reference? Should "tags" be a text array or a reference to a Tags content type?

These decisions matter. Get them wrong and you'll be refactoring your schema later, which cascades into API changes, frontend changes, and content migration.

What Contensa Does Differently

Contensa treats content modeling as a natural language understanding problem. Instead of asking you to make all those micro-decisions upfront, it:

  1. Accepts a plain-language description of your project
  2. Analyzes the description to identify entities, attributes, and relationships
  3. Applies content modeling best practices to generate a well-structured schema
  4. Presents the schema for your review and refinement

The AI has been trained on thousands of content models across different industries and use cases. It knows that "product catalog" implies variants, pricing, and inventory. It knows that "blog" implies authors, categories, and tags. It knows that "e-commerce" implies products, orders, and customers.

A Concrete Example

Let's walk through a real example. Here's a brief:

"I'm building a marketing website for a B2B SaaS company. I need a blog with author profiles, a case studies section with client logos and metrics, a team page, and landing pages with customizable hero sections and feature blocks."

Here's what Contensa generates:

Content Types Generated

BlogPost

  • title (Short text, required)
  • slug (Short text, required, unique)
  • excerpt (Short text)
  • body (Rich text)
  • author (Reference to Author)
  • publishedAt (Date)
  • featuredImage (Media)
  • tags (Short text, list)
  • seoTitle (Short text)
  • seoDescription (Short text)

Author

  • name (Short text, required)
  • role (Short text)
  • bio (Long text)
  • avatar (Media)

CaseStudy

  • title (Short text, required)
  • slug (Short text, required, unique)
  • clientName (Short text, required)
  • clientLogo (Media)
  • challenge (Rich text)
  • solution (Rich text)
  • results (Rich text)
  • metrics (JSON — for structured metric data)
  • industry (Short text)
  • publishedAt (Date)

TeamMember

  • name (Short text, required)
  • role (Short text, required)
  • bio (Long text)
  • avatar (Media)
  • order (Integer — for display ordering)

LandingPage

  • title (Short text, required)
  • slug (Short text, required, unique)
  • heroHeadline (Short text)
  • heroSubheadline (Long text)
  • heroCta (Short text)
  • heroImage (Media)
  • featureBlocks (JSON — for flexible feature block data)
  • seoTitle (Short text)
  • seoDescription (Short text)

What the AI Got Right

Notice several things the AI handled automatically:

Slug fields on content types that need URLs. BlogPost, CaseStudy, and LandingPage all get slug fields. TeamMember does not — team members do not typically have their own URLs.

SEO fields on public-facing content. BlogPost and LandingPage get seoTitle and seoDescription. Author and TeamMember do not — they are not typically indexed separately.

Appropriate field types. The metrics field on CaseStudy is JSON, not a text field — because metrics are structured data that benefit from structure. The featureBlocks field on LandingPage is also JSON for the same reason.

Reference relationships. BlogPost references Author rather than embedding author data directly. This means you can update an author's bio once and it updates across all their posts.

Ordering field on TeamMember. The AI inferred that team members need to be displayed in a specific order, so it added an integer order field.

The Refinement Step

The generated schema is a starting point, not a final answer. After generation, you can add fields the AI missed, remove fields you do not need, change field types, adjust validation rules, and add or modify relationships.

In practice, most teams make 2-3 small adjustments to the generated schema. The AI gets 90-95% of the way there; you handle the edge cases specific to your project.

How the API Is Generated

Once the schema is confirmed, Contensa automatically generates a GraphQL schema, REST endpoints, and TypeScript types — all from your content model, updated automatically when the schema changes.

Querying the Generated API

graphql
query GetBlogPosts($limit: Int, $offset: Int) { blogPosts( filter: { status: { eq: "published" } } sort: { publishedAt: DESC } limit: $limit offset: $offset ) { items { id title slug excerpt publishedAt featuredImage { url alt } author { name role avatar { url } } tags } total hasMore } }

This query works immediately after schema generation. No additional configuration required.

Why This Matters for Your Workflow

The practical impact of AI-generated content models is a fundamentally different project timeline:

Traditional workflow: Day 1 requirements, Day 2-3 manual content modeling, Day 4 API setup, Day 5 frontend development begins.

Contensa workflow: Day 1 morning — requirements + content model generation (30 minutes). Day 1 afternoon — frontend development begins, content team starts populating.

The content model generation step goes from 2-3 days to 30 minutes. Everything downstream accelerates.

The Limits

AI-generated content models are excellent for common patterns. They are less reliable for highly specialized domains — medical records, financial instruments, legal documents — where the field structure is governed by industry standards or regulations. For these cases, you can start with a generated model and refine it, or build the model manually.


Ready to see AI content model generation in action? Start free with Contensa — your first workspace is ready in minutes.

Share Article

About the Author

M

Michael Chen

AI/ML Engineer

Michael is an AI/ML engineer passionate about making artificial intelligence accessible to content creators. He leads the AI features development at Contensa.

Related Articles

View all articles
Getting Started with Contensa: Your Complete Setup Guide
Technical

Getting Started with Contensa: Your Complete Setup Guide

Learn how to set up Contensa CMS in minutes with this step-by-step guide covering installation, configuration, and fetching your first content.

Jan 15, 2026
•
8 min read
AI-Powered Content Generation: Best Practices and Use Cases
Content operations

AI-Powered Content Generation: Best Practices and Use Cases

Discover how to leverage Contensa's AI content generation features to streamline your workflow and create high-quality content faster.

Jan 10, 2026
•
6 min read
Building Dynamic Apps with Contensa's GraphQL API
For developers

Building Dynamic Apps with Contensa's GraphQL API

A comprehensive guide to integrating Contensa's powerful GraphQL API into your applications with real-world examples and code snippets.

Jan 5, 2026
•
10 min read