Skip to main content
seofields

AI for Sanity SEO

AI SEO generation for Sanity Studio

Generate SEO metadata, focus keywords, long-tail keyword suggestions, Open Graph tags, X Cards, AEO-ready snippets, and GEO-friendly content inside the Sanity editor.

Read the AI docs
8AI-supported SEO fields

Titles, descriptions, keywords, Open Graph, and X Cards.

7Provider and endpoint options

OpenAI, Anthropic, Groq, Gemini, Ollama, compatible APIs, and proxy endpoints.

17Industry prompt contexts

8 free industries at 4 prompts/field, 9 pro industries unlocking 10 after license validation.

Editor workflow

Generate the SEO fields editors rewrite every day.

Meta titles

Generate 50-60 character SEO titles with keyword-aware validation.

Meta descriptions

Create 120-160 character descriptions with readability refinement.

Focus keywords

Extract keywords that already appear in title and description fields.

Keyword suggestions

Suggest short-tail, long-tail, informational, and commercial terms.

Open Graph

Write social titles and descriptions optimized for feed clicks.

X Cards

Generate punchy X/Twitter card copy for fast-scrolling audiences.

How it works

From blank SEO field to validated copy.

The AI layer does more than call a model. It chooses field-aware prompts, validates the response, and runs targeted refinement passes before the value reaches the editor.

01

Read the document

The plugin extracts text from your configured content fields, defaulting to body.

02

Pick a prompt

Public users get four strong prompt angles. Licensed projects can unlock the full pro bank.

03

Generate and refine

The model response is checked for length, keyword coverage, focus keyword fit, and readability.

04

Write back to Studio

Editors stay in Sanity and accept the generated field value without leaving the document.

SEO keyword coverage

Built around the search terms Sanity teams actually need.

The AI landing page targets Sanity SEO, AI metadata generation, keyword research, AI search optimization, Schema.org structured data, Open Graph automation, X Card previews, AEO, and generative engine optimization.

Metadata generation keywords

AI SEO title generatormeta description AISEO metadata automationkeyword-aware meta tagsSERP snippet generatorheadless CMS metadata

Sanity CMS SEO keywords

Sanity Studio AI pluginSanity SEO fieldsSanity metadata generatorSanity Open GraphSanity Twitter CardsSanity Schema.org

AEO and GEO keywords

AI Overview readinessanswer engine optimizationgenerative engine optimizationAEO content optimizationsemantic SEOstructured data SEO

Provider choice

Use the AI stack your project already trusts.

Bring hosted models, local Ollama, OpenAI-compatible APIs, or a server-side proxy endpoint that keeps keys out of Studio.

OpenAI
Anthropic
Groq
Gemini
Ollama
OpenAI-compatible APIs
Server-side proxy endpoints

Public and pro

Prompt depth scales with the project.

Public AI prompts

Public installs include four prompt variations per field across eight free industries: blog, restaurant, travel, ecommerce, education, fitness, hospitality, and nonprofit.

Configure public AI

Licensed pro prompts

A valid root-level license key unlocks ten prompt variations per field and nine pro industries: healthcare, pharmacy, finance, real estate, SaaS, legal, insurance, automotive, and home services.

Get a license

Prompt coverage matrix

Every field, every industry, at a glance.

All 8 generated fields — Title, Description, Focus Keyword, Keywords, OG Title, OG Description, X Title, X Description — are available for every industry below. Tier is set per industry, not per field, so the split is the same across all 8 fields.

0

Free industries

0

Pro industries

0

Free prompts / field

0

Pro prompts / field

Free industries — 4/10 prompts per field free, remaining 6/10 pro

Blog4/10
Restaurant4/10
Travel4/10
E-commerce4/10
Education4/10
Fitness4/10
Hospitality4/10
Nonprofit4/10

Pro industries — all 10 prompts require a license

Healthcare10/10
Pharmacy10/10
Finance10/10
Real Estate10/10
SaaS10/10
Legal10/10
Insurance10/10
Automotive10/10
Home Services10/10

SEO operations

Metadata pipeline

Built for practical SEO work.

Title length58 chars
Keyword coveragematched
Social previewready
2x

Draft loop

Faster metadata workflow for editors

All types

Pattern lock

Consistent titles and descriptions across document types

Clean terms

Intent fit

Keyword-aware outputs without stuffing

Any stack

Model route

Provider flexibility for hosted, local, or proxied AI

Pro ready

Prompt bank

Public-safe prompt bank with licensed pro expansion

Demo mode

Safe trials

Test mode for demos and setup validation

AI SEO FAQ

Answers for SEO, AEO, and AI metadata workflows.

What AI SEO fields can sanity-plugin-seofields generate?

It can generate SEO meta titles, meta descriptions, focus keywords, keyword suggestions, Open Graph titles, Open Graph descriptions, X/Twitter card titles, and X/Twitter card descriptions inside Sanity Studio.

Which AI providers are supported?

The AI integration supports OpenAI, Anthropic, Groq, Gemini, Ollama, OpenAI-compatible base URLs, and custom proxy endpoints for server-side API key handling.

How do pro AI prompts work?

The public package starts with four prompt variations per field. When a valid license key is present, seofields-pro validates the key and project ID, then returns the full licensed prompt pool with additional industry contexts.

Does the AI generator help with AEO and GEO?

Yes. It generates clear metadata, keyword coverage, social snippets, and structured SEO copy that supports search engines, AI Overviews, answer engines, and generative engine optimization workflows.

Add AI without changing your content model.

Configure `ai` once in the plugin. Editors get generation buttons directly beside the SEO fields they already use.

AI SEO Generator for Sanity Studio | Metadata, Keywords & AEO — sanity-plugin-seofields