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

  1. Sign in, then create a key below. The plaintext key is shown once.
  2. Upload a file (POST /api/v1/uploads) and keep the returned objectKey.
  3. Create a job (POST /api/v1/jobs) and poll GET /api/v1/jobs/{id} until outputs appear.
  4. 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 429 with a Retry-After header.
  • Every response carries x-request-id, x-ratelimit-limit and x-ratelimit-remaining.
  • Credits are shared with your site account balance; failed jobs are refunded automatically.

Error codes

HTTPcodeMeaning
400unsupported_toolUnknown tool, missing objectKey, or TTS without script/consent.
401unauthorizedMissing, invalid or revoked key; job not owned by the key.
402insufficient_creditsBalance cannot cover the job cost.
413unsupported_toolUpload exceeds 200 MB.
429rate_limitedDaily quota reached; wait for Retry-After seconds.
5xxprovider_unavailableInternal 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.

NamePrefixStatusQuotaLast used
Sign in to list your keys.