Skip to main content
GET
/
api
/
ai
/
models
/
image
/
generation
Image Generation Models
curl --request GET \
  --url https://aitoearn.cn/api/ai/models/image/generation
{
  "code": 0,
  "message": "Request succeeded",
  "data": [
    {
      "name": "string",
      "description": "string",
      "tags": [],
      "sizes": [
        "string"
      ],
      "qualities": [
        "string"
      ],
      "styles": [
        "string"
      ],
      "pricing": [
        {
          "size": "string",
          "price": 1,
          "originPrice": 1
        }
      ],
      "summary": "string",
      "mainTag": "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.