The agent skill
The skill works in Claude Code, Codex, Cursor and other agents that read skills. It's a single shell script with a guide the agent reads before it calls anything. Install it, give it a key, and the agent picks the right command for the file you hand it.
npx skills add ahacut/skill
ahacut.sh login ak_xxxxxxxx
ahacut.sh status # balance, limits, top-up link
ahacut.sh generate-srt captions.srt --overlay
ahacut.sh generate-audio voiceover.mp3 --vertical --sfx
ahacut.sh generate-text script.txt 90 --palette deep-teal
ahacut.sh wait <job_id>
ahacut.sh download <job_id> # prints the local path
ahacut.sh draft <job_id> # installs the JianYing draftThe full guide the agent reads is published as plain markdown at /skill.md: every command and flag, credit handling, error codes, and how to split a long film into several jobs without each one getting a different color scheme.
The Open API
For your own pipeline, call the API directly. Send the key in the X-Ahacut-Key header, create a job, poll it, and download from the signed URLs.
curl -X POST https://api.ahacut.com/open/jobs \
-H "X-Ahacut-Key: $AHACUT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input_kind":"srt","srt":"1\n00:00:00,000 --> 00:00:03,200\nRevenue grew 34% last year.\n","overlay":true}'
curl https://api.ahacut.com/open/jobs/<job_id> -H "X-Ahacut-Key: $AHACUT_API_KEY"input_kind is srt, text (with duration_seconds) or audio (upload first via /open/jobs/upload-url). Optional fields: overlay, aspect: "9:16", palette, tone, style_brief, sfx. A job moves through queued → authoring → render_ready → running → done; when it's done, result holds the download URLs.
Credits and limits
The API uses the same credits as the web app. A job holds credits when it starts and settles when it finishes; failed jobs are refunded. New accounts get free trial credits, with each trial job capped at 60 seconds; paid accounts render up to 30 minutes per job. When the balance is too low, the call returns HTTP 402 with a message and a top-up link, and the skill tells the agent to stop and show it to you instead of retrying. Prices are on the pricing page.
Frequently asked questions
How do I make motion graphics with Claude Code?
Does it work in Cursor or Codex?
Is this a Remotion alternative?
Is there a headless API for generating motion-graphics videos?
How are credits and limits handled for agents?
Can the agent make a transparent overlay or a vertical video?
Related: Agent skill guide (raw markdown) · SRT to motion graphics · Transparent overlay · Into CapCut, Premiere & Resolve · Pricing