Krex AI

Generation language

Default language for AI-written scripts, TTS voiceovers, and captions. You can still override per-job.

All docsAutomate & publish

Automation & API

Run the whole content loop from Claude with the Skills pack, on autopilot, or via the JSON API.

Krex AI's content loop — research, write, score, render, schedule — can run three ways: interactively in the app, hands-off on a cadence, or driven from Claude with our Skills pack. All three share one API.

The Automation hub

In the app, open Tools → Automation. It has four tabs:

  • Coach — write → grade → improve one post, then optionally render and schedule it. You approve each step.
  • Autopilot — standing programs that render and post on a cadence, unattended.
  • Skills — download the Claude Skills bundle.
  • API & Connections — create an API key and connect your social accounts.

Claude Skills

Five composable skills compose into one workflow:

  • content-coach — the front door; orchestrates the rest.
  • brand-brief — captures your voice, products, and CTA once.
  • post-writer — drafts a platform-aware post.
  • post-grader — scores it 0–10 and lists the top 3 fixes, looping to 8+.
  • post-scheduler — publishes to your connected accounts.

Plus render-media for the video/image. Install: download the bundle from the Automation page, unzip into ~/.claude/skills/, set AIB_API_KEY and AIB_BASE_URL, then ask Claude to "use content-coach."

The JSON API

Every endpoint takes Authorization: Bearer <key> (a personal key starts sk_aib_). The essentials:

EndpointPurposeCost
POST /automation/posts/writedraft one post0
POST /automation/posts/gradescore a draft0
POST /automation/posts/composewrite → grade → fix loop to 8+/101
POST /automation/renderrender a video/image (poll GET /jobs/:id)per-model
POST /schedule/postspublish/schedule0

Errors worth handling: 402 (out of credits or a model needs a higher tier) and 412 (a platform isn't connected). The in-app API reference has the full request/response shapes.

Which mode should I use?

  • Coach when you want to review every post.
  • Autopilot when you want it fully hands-off.
  • Skills / API when you live in Claude or want to wire Krex AI into your own tooling.