KumkuatKumkuat
API reference › Content creation

Generate content draft text

POST/api/v1/content-creation/generate

POST/api/v1/content-creation/generate

Generate content draft text

Set Accept: text/event-stream to stream the draft as it is written.

REQUEST BODY · APPLICATION/JSON · REQUIRED
{
  "audiences": [],
  "content_type": "auto",
  "model": "gemini/gemini-2.5-flash",
  "pull_through_priorities": [],
  "source_mode": "freeform",
  "themes": []
}
In the full reference
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/content-creation/generate" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "audiences": [],
  "content_type": "auto",
  "model": "gemini/gemini-2.5-flash",
  "pull_through_priorities": [],
  "source_mode": "freeform",
  "themes": []
}'
RESPONSE
200OK
{
  "content": "string",
  "truncated": false
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.