API Platform

API Platform

Kie-compatible unified jobs API for the ModKie API platform.

API Platform

The ModKie API Platform is a Kie-compatible unified async jobs API for video, image, audio, and related generation tasks. Clients call POST /api/v1/jobs/createTask to queue work and GET /api/v1/jobs/recordInfo to poll until state is success or fail. Authentication uses Authorization: Bearer YOUR_API_KEY. Credits are checked before queueing; successful jobs deduct the model's creditCost; failed jobs are not charged.

Unified async jobs API aligned with Kie.ai patterns: createTask, recordInfo, and credit balance.

Base URL

https://modkie.com/api/v1

Authenticate with Authorization: Bearer YOUR_API_KEY.

Async model

  1. POST /jobs/createTask — returns taskId (HTTP 200 means queued, not finished)
  2. GET /jobs/recordInfo?taskId=… — poll until state is success or fail
  3. Failed tasks are not charged

Credits

  • GET /chat/credit — remaining credits (session or Authorization: Bearer sk-xxx)
  • GET /models — model catalog with creditCost per model
  • Balance check runs before createTask; credits are deducted only when recordInfo reports state=success
  • Failed tasks are not charged