Skip to main content
GET
/
api
/
ai
/
models
/
video
/
generation
Video Generation Models
curl --request GET \
  --url https://aitoearn.cn/api/ai/models/video/generation
{
  "code": 0,
  "message": "Request succeeded",
  "data": [
    {
      "name": "string",
      "description": "string",
      "tags": [],
      "creditsScope": "general",
      "modes": [
        "text2video"
      ],
      "resolutions": [
        "string"
      ],
      "durations": [
        1
      ],
      "maxInputImages": 1,
      "aspectRatios": [
        "string"
      ],
      "defaults": {
        "resolution": "string",
        "aspectRatio": "string",
        "duration": 1
      },
      "pricing": [
        {
          "price": 1,
          "resolution": "string",
          "aspectRatio": "string",
          "mode": "string",
          "duration": 1,
          "discount": "string",
          "originPrice": 1
        }
      ],
      "summary": "string"
    }
  ]
}

Response

200 - application/json

The request has been processed by the service. Business success is determined by whether the response body has code === 0.

code
integer
required

Business status code. 0 means success; non-zero means a business error.

message
string
required

Response message.

data
object[]
requestId
string

Request ID.

timestamp
integer

Error response timestamp in Unix milliseconds.