For agents
Video in, captioned video out.
One key, one balance, REST and MCP. No sign-in to start. 1 credit = 1 cent; a short balance answers 402 with a checkout link and nothing is charged. Output is identical to the web editor.
Opens the desktop app to confirm. Installs the keyless server; then ask the agent to create an AwesomeVideo key (free). VS Code Insiders. Prefer a key header or OAuth? Manual setup.
- 1Get a key. No account needed.
- 2Run a recipe with a public video URL.
- 3On 402, show
checkoutUrlto your human ($5 = 500 credits), then retry.
Free trial for agents, while it runs: a new self-serve key can get 10 welcome credits (about 2 min of caption_video). Fair share: one per network and one per network operator per day (5 per operator per month), and the daily pool opens in 3 slots through the UTC day, so if it is taken, welcomeCreditsReason is slot_wait with nextSlotAt. To claim, solve a small proof-of-work (about 1-3 s of CPU): GET /v1/keys/challenge, find an integer nonce so SHA-256(challenge + ":" + nonce) starts with `bits` zero bits, and send {challenge, nonce} with POST /v1/keys/anonymous (or POST /v1/keys/welcome with your new key, or MCP create_key {challenge, nonce} on the key's connection). Without it the key is created with 0 credits and reason pow_required plus a ready challenge. Welcome credits pay only caption_video and transcribe, jobs up to 2 min, are spent before paid credits on those jobs, and expire after 30 days. GET /v1/balance shows paidCents and welcomeCents.
Claim the free trial
import hashlib, requests
API = "https://api.awesomevideoeditor.com"
c = requests.get(f"{API}/v1/keys/challenge").json()
n = 0
while int.from_bytes(hashlib.sha256(f"{c['challenge']}:{n}".encode()).digest(), "big") >> (256 - c["bits"]):
n += 1
key = requests.post(f"{API}/v1/keys/anonymous", json={"challenge": c["challenge"], "nonce": n}).json()
print(key["welcomeCredits"], key["welcomeCreditsReason"])Get a key
curl -X POST https://api.awesomevideoeditor.com/v1/keys/anonymous -H "Content-Type: application/json" -d '{"name":"my-agent"}'
# -> {"token":"av_live_...","balanceCents":0,...} export AV_KEY=av_live_...Caption a video
caption_videoVideo in, MP4 with burned subtitles plus SRT and VTT out. One call. 5 credits per audio minute.
curl -X POST https://api.awesomevideoeditor.com/v1/captions \
-H "Authorization: Bearer $AV_KEY" -H "Content-Type: application/json" \
-d '{"sourceUrl":"https://awesomevideoeditor.com/samples/cc0-interview-es.mp4","preset":"hormozi-pop","wait":true}'Translate and dub
dubSpoken translation fitted to the original timing, mixed over the original audio. 5 credits per minute per language, plus transcription and translation.
curl -X POST https://api.awesomevideoeditor.com/v1/dub \
-H "Authorization: Bearer $AV_KEY" -H "Content-Type: application/json" \
-d '{"mediaUrl":"https://awesomevideoeditor.com/samples/cc0-interview-es.mp4","targetLanguage":"es"}'9:16 shorts from a long video
create_clipsAn LLM picks the best moments, reframes them to 9:16 on the speaker and captions them. about 1 credit per source minute plus a few per clip (30 min, 3 clips of 60 s = 42 credits); quote first.
curl -X POST https://api.awesomevideoeditor.com/v1/clips \
-H "Authorization: Bearer $AV_KEY" -H "Content-Type: application/json" \
-d '{"sourceUrl":"https://example.com/podcast.mp4","count":3,"reframe":"face","platform":"tiktok"}'Caption a folder
batchUp to 50 videos in one call, one style, priced together. dryRun quotes for free. 5 credits per audio minute per video.
curl -X POST https://api.awesomevideoeditor.com/v1/batch \
-H "Authorization: Bearer $AV_KEY" -H "Content-Type: application/json" \
-d '{"operation":"caption","preset":"hormozi-pop","items":[{"mediaUrl":"https://example.com/ep1.mp4"},{"mediaUrl":"https://example.com/ep2.mp4"}]}'Full reference: llms.txt · OpenAPI · MCP server card · Pricing · Caption API comparison