Generate Article Content.
cURL
curl --request POST \ --url https://api.octaviatech.app/cms/ai/generateContent \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "text": "Write a beginner-friendly guide to intermittent fasting", "wordCount": 1200 } '
{ "success": true, "statusCode": 200, "message": "Content generated successfully", "data": { "title": "Intermittent Fasting: A Beginner’s Guide", "slug": "intermittent-fasting-a-beginners-guide", "summary": "Short meta summary (<= 180 chars)…", "body": "<div>{\"body\":\"<div><p>…</p></div>\"}</div>", "tokens": { "used": 1600, "remaining": 8400, "limit": 10000 } } }
High-level topic or brief; can include structure hints
Target words for body (default ~800)
OK (generated)
Was this page helpful?