> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aitoearn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Generation Models

> Returns the currently available image generation model catalog, including each model's supported sizes, qualities, styles, credit scope, and pricing. Models and parameter ranges may change as the service is updated, so use the real-time response from this endpoint when calling the image generation API.

This endpoint only queries the model catalog and does not create an image generation task. To generate an image, call the [Generate Image](/en/api-reference/post-api-ai-image-generate) endpoint.

Image generation is **text-to-image**: it creates a new image from a text prompt without an input image. To modify an existing image, use the [Image Editing Models](/en/api-reference/get-api-ai-models-image-edit) endpoint and the corresponding image editing API.



## OpenAPI

````yaml /openapi/en/aitoearn.openapi.json get /api/ai/models/image/generation
openapi: 3.0.1
info:
  title: AiToEarn Open Platform API
  description: >-
    AiToEarn Open Platform API. You can switch between the China and
    international sites for testing. Business success is determined by whether
    the response body has code === 0.
  version: 1.0.0
  contact: {}
servers:
  - url: https://aitoearn.cn
    description: China site
  - url: https://aitoearn.ai
    description: International site
security: []
tags:
  - name: AI Services
  - name: AI Services/Video Generation
  - name: AI Services/Image Generation
  - name: Channel Management
  - name: Channel Management/Accounts
  - name: Channel Management/Publishing
  - name: Channel Management/Platforms
  - name: Channel Management/Works
  - name: Channel Management/Account Groups
  - name: Channel Management/Authorization
  - name: Asset Management
  - name: AI Services/Large Language Models
  - name: AI Services/Real-person Verification
  - name: AI Services/Virtual Portrait Assets
  - name: AI Services/Agent
  - name: Account & Keys/API Key
paths:
  /api/ai/models/image/generation:
    get:
      tags:
        - AI Services/Image Generation
      summary: Image Generation Models
      description: >-
        Returns the currently available image generation model catalog,
        including each model's supported sizes, qualities, styles, credit scope,
        and pricing. Models and parameter ranges may change as the service is
        updated, so use the real-time response from this endpoint when calling
        the image generation API.


        This endpoint only queries the model catalog and does not create an
        image generation task. To generate an image, call the [Generate
        Image](/en/api-reference/post-api-ai-image-generate) endpoint.


        Image generation is **text-to-image**: it creates a new image from a
        text prompt without an input image. To modify an existing image, use the
        [Image Editing Models](/en/api-reference/get-api-ai-models-image-edit)
        endpoint and the corresponding image editing API.
      operationId: ImageController_getImageGenerationModels
      parameters: []
      responses:
        '200':
          description: >-
            The request has been processed by the service. Business success is
            determined by whether the response body has code === 0.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    description: >-
                      The currently available image generation models. Models,
                      parameter ranges, and pricing may change as the service is
                      updated; always use the latest response from this
                      endpoint.
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: Model name
                        label:
                          type: string
                          description: Model display name
                        tags:
                          type: array
                          items:
                            type: string
                          description: tag list
                        creditsScope:
                          type: string
                          enum:
                            - seedance
                          description: >-
                            Credit scope used by the model. The current response
                            is `seedance`, which means Seedance-specific
                            credits.
                        sizes:
                          type: array
                          items:
                            type: string
                          description: Supported image size list
                        qualities:
                          type: array
                          items:
                            type: string
                            enum:
                              - auto
                              - high
                              - medium
                              - low
                          description: Supported quality options
                        styles:
                          type: array
                          items:
                            type: string
                          description: >-
                            Supported style options. An empty array means the
                            current model does not support the style parameter.
                        pricing:
                          type: array
                          items:
                            type: object
                            properties:
                              size:
                                type: string
                                description: Image size applicable to this pricing entry
                              price:
                                type: number
                                description: Current price value
                              originPrice:
                                type: number
                                description: Original price value
                            additionalProperties: false
                          description: Image size pricing table
                        description:
                          type: string
                          description: Model description
                      additionalProperties: false
                  code:
                    type: integer
                    description: >-
                      Business status code. 0 means success; non-zero means a
                      business error.
                  message:
                    type: string
                    description: Response message.
                  requestId:
                    type: string
                    description: Request ID.
                  timestamp:
                    type: integer
                    description: Error response timestamp in Unix milliseconds.
              examples:
                types:
                  value:
                    code: integer
                    message: string
                    data:
                      - name: string
                        label: string
                        tags:
                          - string
                        creditsScope: string
                        sizes:
                          - string
                        qualities:
                          - string
                        styles:
                          - string
                        pricing:
                          - size: string
                            price: number
                            originPrice: number
                        description: string
                    requestId: string
      deprecated: false
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.