Skip to main content
POST
/
api
/
v1
/
task
/
submit
curl --request POST \
  --url https://api.maxapi.io/api/v1/task/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "jimeng-4.5",
  "input": {
    "prompt": "Cyberpunk Tokyo street",
    "ratio": "16:9",
    "resolution": "2k"
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad"
  }
}
Use Jimeng image models to generate images from a prompt. 12 model versions are supported.

Available Models

jimeng-5.0-preview · jimeng-4.6 · jimeng-4.5 · jimeng-4.1 · jimeng-4.0 · jimeng-3.1 · jimeng-3.0 · jimeng-2.1 · jimeng-2.0-pro · jimeng-2.0 · jimeng-1.4 · jimeng-xl-pro
model
string
required
Model name, e.g. jimeng-4.5, jimeng-5.0-preview.
callBackUrl
string
Webhook callback URL.
input
object
required
curl --request POST \
  --url https://api.maxapi.io/api/v1/task/submit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "jimeng-4.5",
  "input": {
    "prompt": "Cyberpunk Tokyo street",
    "ratio": "16:9",
    "resolution": "2k"
  }
}'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad"
  }
}

Query Result

Retrieve the generation result via the Query Task endpoint or Webhook:
{
  "code": 0,
  "msg": "ok",
  "data": {
    "taskId": "9db7d1ed-d1e5-4d11-9f3a-61f653b905ad",
    "status": "SUCCESS",
    "input": {
      "model": "jimeng-4.5",
      "prompt": "赛博朋克风格的东京街景",
      "ratio": "16:9",
      "resolution": "2k"
    },
    "result": {
      "type": "image",
      "urls": [
        "https://p3-dreamina-sign.byteimg.com/image1.png",
        "https://p3-dreamina-sign.byteimg.com/image2.png",
        "https://p3-dreamina-sign.byteimg.com/image3.png",
        "https://p3-dreamina-sign.byteimg.com/image4.png"
      ]
    },
    "created_at": "2026-02-10T21:54:46.686768Z",
    "updated_at": "2026-02-10T21:55:04.039815Z"
  }
}
Image generation typically returns multiple images. result is only populated when status is SUCCESS.