/v1/ai/generate
These endpoints support the content side of your AI visibility workflow — creating and improving pages that help AI models mention and cite your brand. For visibility reporting, see AI visibility endpoints.
POST /text
Generate content from a prompt. Use this to create pages targeting prompts from your visibility report.
Body:
Sync response (200):
useWorker: true:
POST /chat
Conversational AI with workspace visibility context. Enable useWorkspaceContext to include your latest visibility scores, traffic data, and documents.
Body:
Response (200):
POST /calculate-seo-score
Score content for SEO before publishing visibility-optimized pages.
Body:
POST /improve-content-simple
Single-pass AI content improvement with before/after SEO scores. Use on existing pages that underperform in visibility reports.
Body:
POST /improve-content-with-validation
Iterative content improvement with validation. Requires a paid plan.
POST /process-blog-post-with-images
Process a blog post and generate associated images.
POST /image
Generate an image.
Body:
Response (200): Provider-specific image payload in
data.
Brand voice (generate routes)
Create brand voices that keep visibility-optimized content on-brand.
Manage saved voices via Brand voice library.
POST /feedback
Submit feedback on AI output quality.
GET /job/:jobId
Poll async job status (content, SEO, or AI queues).
Response (200):
waiting, active, completed, failed, etc.