http://localhost:8800/api/generateX-API-Key header.| keyword * | Your topic (e.g. "AI productivity") |
| platform | twitter | linkedin | facebook (default: twitter) |
| days | 1–30 (default: 30) |
| niche | Industry (e.g. "SaaS", "health") |
| audience | Who you're writing for |
| category | Content type (e.g. "Educational") |
| tone | Style (e.g. "bold & edgy") |
| custom_prompt | Your own AI prompt template |
curl -X POST http://localhost:8800/api/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: cf_YOUR_KEY_HERE" \
-d '{"keyword":"AI tools","platform":"linkedin","days":7}'
import requests
r = requests.post(
"http://localhost:8800/api/generate",
headers={"X-API-Key": "cf_YOUR_KEY_HERE"},
json={"keyword": "AI tools", "platform": "linkedin", "days": 7}
)
print(r.json())
fetch("http://localhost:8800/api/generate", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "cf_YOUR_KEY_HERE"
},
body: JSON.stringify({ keyword: "AI tools", platform: "linkedin", days: 7 })
}).then(r => r.json()).then(console.log)
X-API-Key = your key, and Content-Type = application/json