AI Generation

Written By Minh

Last updated 1 day ago

AI Generation lets you create unique content for each page using AI. Instead of writing every description, tagline, or paragraph yourself, you write a prompt and SEOmatic generates it for you - personalized for each row in your dataset.

Quick Example

Your dataset:

City

Service

New York

Plumbing

Chicago

Roofing

Miami

Landscaping

Your field template:

genText("Write a one-sentence tagline for a {{ Service }} company in {{ City }}")

Generated output:

  • Page 1: "New York's most trusted plumbing experts, available 24/7."

  • Page 2: "Protect your home with Chicago's top-rated roofing professionals."

  • Page 3: "Transform your outdoor space with Miami's premier landscaping team."

One prompt, three unique results.

Syntax

There are two types of AI generation:

genText("your prompt here") - generates text

genImage("your image description here") - generates a 1024x1024 image

How to Use AI Generation

In the field editor, click the AI text or AI image button in the toolbar. A dialog opens where you can write your prompt, add variables, and preview the result before inserting it.

AI Generation works in text fields - single-line, multi-line, and rich text. For images, use it in image URL fields or inside the rich text editor. Before generating, you can preview the output using the first rows from your dataset.

In the field editor, type your prompt using genText("...") or genImage("...") syntax directly in the field. Prompts must be wrapped in double quotes. You can use Dynamic Variables and Spin Syntax inside your prompts - for example:

genText("Write a short intro for [a|the best|a top-rated] {{ Service }} company in {{ City }}")

Tips

  • Be specific in your prompts. "Write a meta description for a {{ Service }} page targeting {{ City }}" produces better results than "Write something about {{ Service }}".

  • Preview before generating. Use the preview to check your prompt works well across different rows, then adjust if needed.

  • Use variables for personalization. genText("Write about {{ City }}") generates content specific to each city. Without variables, every page gets the same prompt and similar output.

AI Credits

  • Text generation: Cost varies depending on the generated output.

  • Image generation: Fixed cost of 500 credits per image.

Troubleshooting

Problem

Solution

"Insufficient credits" error

Your plan has run out of AI credits. Check your usage in Settings and upgrade if needed.

AI output is too generic

Make your prompt more specific. Include details like tone, length, and what to focus on. Use variables to personalize per page.

Generated text is too long or too short

Specify the desired length in your prompt β€” for example, "Write a 2-sentence description" or "Write a short tagline".

Image generation failed

heck that your prompt describes a visual scene. Avoid abstract or text-heavy prompts. Try again β€” temporary failures are retried automatically.

genText appears as plain text in output

The syntax may be malformed. Make sure you use double quotes: genText("prompt") β€” not single quotes or missing quotes.