AI Content Generation
Generate complete, SEO-optimised blog articles from a short description using GPT-4o.
Via API
POST /api/v1/ai/generate
x-workspace-slug: my-workspace
{
"topic": "The future of AI in content marketing",
"keywords": ["AI content", "marketing automation", "GPT"],
"tone": "professional",
"audience": "Marketing managers at B2B SaaS companies",
"language": "English",
"wordCount": 1500,
"includeFaq": true
}
// Response: job queued
{ "data": { "jobId": "clxxx", "status": "PENDING" } }Poll for Result
GET /api/v1/ai/generate?jobId=clxxx
// Poll every 2 seconds until status = COMPLETED
{
"data": {
"status": "COMPLETED",
"output": {
"title": "...",
"content": "<html>...",
"metaTitle": "...",
"metaDescription": "...",
"faqSection": [...],
"suggestedTags": [...]
}
}
}Tone Options
professional · casual · educational · persuasive · humorous
What Gets Generated
- Full article HTML with proper heading hierarchy
- SEO meta title and description
- Excerpt for previews
- FAQ section with 5+ Q&As (for AEO)
- Suggested tags and categories
- Social media caption