OPEN API v1
Developers
Automate subtitles, transcription, translation and voiceover with the same executor that powers the site. Bearer-key auth, daily quotas, transparent usage.
Quick start
- Sign in, then create a key below. The plaintext key is shown once.
- Upload a file (
POST /api/v1/uploads) and keep the returnedobjectKey. - Create a job (
POST /api/v1/jobs) and pollGET /api/v1/jobs/{id}until outputs appear. - Check quota any time via
GET /api/v1/usage.
curl -s https://www.aimp6.com/openapi.json | head -40
# 1. proxy upload
curl -s -X POST https://www.aimp6.com/api/v1/uploads \
-H "Authorization: Bearer aimp6_live_XXXX" \
-F "[email protected]"
# -> { "mode":"direct", "objectKey":"inputs/.../interview.mp3" }
# 2. create job
curl -s -X POST https://www.aimp6.com/api/v1/jobs \
-H "Authorization: Bearer aimp6_live_XXXX" \
-H "content-type: application/json" \
-d '{"tool":"ai-subtitles","objectKey":"inputs/.../interview.mp3"}'
# -> 202 { "jobId":"job_...", "poll":"/api/v1/jobs/job_..." }
# 3. poll
curl -s https://www.aimp6.com/api/v1/jobs/job_... \
-H "Authorization: Bearer aimp6_live_XXXX" Authentication & limits
Send Authorization: Bearer aimp6_live_... on every call. Keys are stored as HMAC-SHA256 hashes; revoking a key takes effect immediately.
- Default quota: 200 requests/day per key (UTC reset). Exceeding it returns
429with aRetry-Afterheader. - Every response carries
x-request-id,x-ratelimit-limitandx-ratelimit-remaining. - Credits are shared with your site account balance; failed jobs are refunded automatically.
Error codes
| HTTP | code | Meaning |
|---|---|---|
| 400 | unsupported_tool | Unknown tool, missing objectKey, or TTS without script/consent. |
| 401 | unauthorized | Missing, invalid or revoked key; job not owned by the key. |
| 402 | insufficient_credits | Balance cannot cover the job cost. |
| 413 | unsupported_tool | Upload exceeds 200 MB. |
| 429 | rate_limited | Daily quota reached; wait for Retry-After seconds. |
| 5xx | provider_unavailable | Internal or upstream failure. Jobs already accepted are still refunded on failure. |
Compliance
You must own the rights to the media you submit. Uploaded inputs are retained for 24 hours and outputs for 7 days, then permanently deleted. Keys never appear in logs; request logs store only method, path and status.
Your API keys
Sign in to create or revoke keys.
Name Prefix Status Quota Last used Sign in to list your keys.