POST/api/v1/content-creation/revise
Revise a draft, with or without an instruction
Rewrite the current draft to an instruction (KS-432).<br/><br/>Same contract as enhance-pull-through: JSON by default, or the draft as it<br/>is written with `Accept: text/event-stream`.
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"content_type": "auto",
"model": "gemini/gemini-2.5-flash"
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/content-creation/revise" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"content_type": "auto",
"model": "gemini/gemini-2.5-flash"
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/content-creation/revise", headers={"X-API-Key": "YOUR_KEY"}, json={
"content_type": "auto",
"model": "gemini/gemini-2.5-flash"
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/content-creation/revise", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"content_type": "auto",
"model": "gemini/gemini-2.5-flash"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
