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

# List available image models

> Returns the image models available to this app based on its active provider credentials.



## OpenAPI

````yaml /openapi/backapp-public.json get /v2/images/models
openapi: 3.1.0
info:
  title: Backapp API
  version: 2.0.0
  description: >-
    Backapp v2 API reference for authentication, files, image effects, and AI
    jobs.
servers:
  - url: https://api.backapp.dev
security: []
paths:
  /v2/images/models:
    get:
      summary: List available image models
      description: >-
        Returns the image models available to this app based on its active
        provider credentials.
      operationId: listImageModels
      parameters:
        - $ref: '#/components/parameters/AppVersion'
      responses:
        '200':
          description: Image models available to this app
          content:
            application/json:
              schema:
                type: object
                properties:
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        provider:
                          type: string
                      required:
                        - id
                        - provider
                required:
                  - models
              example:
                models:
                  - id: openai:gpt-image-2.5-sunburst
                    provider: openai
                  - id: openai:gpt-image-2.6-sunburst
                    provider: openai
                  - id: openai:gpt-image-2.6-flare
                    provider: openai
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Operation not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - AppKey: []
          Bearer: []
components:
  parameters:
    AppVersion:
      name: X-App-Version
      in: header
      required: true
      schema:
        type: string
        minLength: 1
      description: Version of the client application.
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            fields:
              type: object
              additionalProperties: true
      required:
        - error
  securitySchemes:
    AppKey:
      type: apiKey
      in: header
      name: X-App-Key
      description: Public application identifier.
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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