AI Studio, Social Echo & Covers
Trigger asynchronous AI article generation, discover SEO topic gaps, repurpose published posts into multi-channel social packs, and generate branded cover art. All endpoints require ai:studio (approval actions require approvals:write).
POST/v1/ai/drafts
Generate a grounded draft
Queues an asynchronous draft generation job grounded in your Brand Memory and returns a job_id (202 Accepted). Poll GET /v1/ai/jobs/{jobId} for progress and output.
Request
curl -X POST https://api.bloghunch.com/v1/ai/drafts \
-H "Authorization: Bearer {token}" \
-H "Idempotency-Key: draft-q4-001" \
-H "Content-Type: application/json" \
-d '{
"topic": "Enterprise SOC 2 Compliance Checklist",
"keywords": ["soc2 compliance", "enterprise security"],
"grounding_mode": "strict",
"word_count": 1800
}'
SEO briefs, topics, Social Echo & covers
- Poll AI job:
GET /v1/ai/jobs/{jobId}(ai:studio) - Saved SEO briefs:
GET /v1/ai/seo-briefs(ai:studio) - Topic discovery:
POST /v1/ai/topics/discoverandGET /v1/ai/topics(ai:studio) - Social Echo repurposing:
GET /v1/social-echo,POST /v1/social-echo/generate(ai:studio),POST /v1/social-echo/{id}/approve(approvals:write) - Branded covers:
POST /v1/posts/{id}/cover/generate(ai:studio),POST /v1/posts/{id}/cover/approve(approvals:write)

