Skip to main content

Base URL

https://api.maxapi.io

Workflow

All AI generation tasks follow the same asynchronous workflow:
1

Submit a Task

Call POST /api/v1/task/submit, specify the model and parameters, and receive a taskId immediately.
2

Wait for Results

Retrieve results by polling GET /api/v1/task/:taskId or by setting up a Webhook callback.
3

Get Output

Once the task succeeds, result.urls contains the generated image or video URLs.

Common Response Format

Success:
{
  "code": 0,
  "msg": "ok",
  "data": { ... }
}
Failure:
{
  "code": 400,
  "msg": "错误描述"
}

Task Status

statusDescription
PENDINGQueued, waiting to be processed
PROCESSINGReceived by worker, preparing
SUBMITTEDSubmitted to upstream AI service, waiting for response
SUCCESSTask succeeded, result contains the output
FAILURETask failed
TIMEOUTTask timed out
CANCELLEDTask was cancelled
Status Transitions:
PENDING → PROCESSING → SUBMITTED → SUCCESS
                                  → FAILURE
                                  → TIMEOUT
          (any non-terminal state) → CANCELLED

Supported Models

modelDescription
jimeng-5.0-previewJimeng 5.0 Preview (Latest)
jimeng-4.6Jimeng 4.6
jimeng-4.5Jimeng 4.5
jimeng-4.1Jimeng 4.1
jimeng-4.0Jimeng 4.0
jimeng-3.1Jimeng 3.1
jimeng-3.0Jimeng 3.0
jimeng-2.1Jimeng 2.1
jimeng-2.0-proJimeng 2.0 Pro
jimeng-2.0Jimeng 2.0
jimeng-1.4Jimeng 1.4
jimeng-xl-proJimeng XL Pro