SEO content generation
Generate blog pages, landing pages, and on-page SEO recommendations for a given product, topic, and keyword set. lib/seo/generate.ts drives the call; POST /api/v1/seo/generate exposes it over HTTP.
The SEO plane turns a product description, a topic, and a keyword set into publishable content. It generates long-form blog pages, conversion-oriented landing pages, and structured on-page recommendations (titles, meta descriptions, heading outlines, internal-link suggestions). Everything is produced by an LLM call to phi-cloud — there is no external content pipeline to provision.
What it produces
- Blog pages — long-form articles targeting an informational keyword cluster.
- Landing pages — conversion-oriented copy targeting a commercial intent keyword.
- On-page recommendations — title tag, meta description, H1/H2 outline, and internal-link suggestions, returned as structured fields.
How to call it
lib/seo/generate.ts is the in-process entry point. Over HTTP, POST /api/v1/seo/generate takes the product, topic, keyword set, and content kind, and returns the generated artifact plus the on-page recommendations. The same capability is exposed as a free, capped MCP tool for AI IDEs (see §7).
POST /api/v1/seo/generate
{
"product": "string",
"topic": "string",
"keywords": ["string", "string"],
"kind": "blog" | "landing"
}Free SEO generation tools run inside Cursor or Claude Desktop — no key required.