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

# DALL·E models

export const APIKeyHint = () => <Note>Follow the <a href="/docs/en/quickstart">quickstart guide</a> to get your own API Key.</Note>;

<APIKeyHint />

DALL·E 3 is [OpenAI](https://openai.com)'s latest and most advanced text-to-image AI model.

* Produces highly detailed and photorealistic images
* Excellent at capturing complex scenes and concepts
* Superior understanding of spatial relationships and composition

See the [pricing page](/docs/en/models-and-pricing#image-generation) for pricing details.

**Resources**

* [Official Documentation](https://platform.openai.com/docs/guides/images)

**Previews**

<Tabs>
  <Tab title="DALL·E 3">
    <img src="https://mintcdn.com/butterflyeffect-3a0f6b4e/XIP_99VNIjc_U1El/image-previews/dalle3.webp?fit=max&auto=format&n=XIP_99VNIjc_U1El&q=85&s=fb6177364d016e3be4ee1b2e788f0cf5" width="1024" height="1024" data-path="image-previews/dalle3.webp" />
  </Tab>
</Tabs>


## OpenAPI

````yaml POST /v1/image/gen/dalle
openapi: 3.1.0
info:
  title: Monica Open API Platform
  version: v1
servers: []
security: []
tags:
  - name: image.v1.ImageGenerationService
    x-displayName: image.v1.ImageGenerationService
  - name: image.v1.ImageToolService
    x-displayName: image.v1.ImageToolService
  - name: text.v1.HumanizeService
    x-displayName: text.v1.HumanizeService
paths:
  /v1/image/gen/dalle:
    post:
      tags:
        - image.v1.ImageGenerationService
      summary: DallE3ImageGeneration
      operationId: image.v1.ImageGenerationService.DallE3ImageGeneration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/image.v1.DallE3ImageGenerationRequest'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/image.v1.DallE3ImageGenerationResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    image.v1.DallE3ImageGenerationRequest:
      type: object
      properties:
        model:
          type: string
          examples:
            - dall-e-3
          title: model
          enum:
            - dall-e-3
          default: dall-e-3
        prompt:
          type: string
          examples:
            - A cute baby sea otter
          title: prompt
          maxLength: 4000
          minLength: 1
          description: >-
            A text description of the desired image. The maximum length is 4000
            characters.
        'n':
          type: integer
          examples:
            - 1
          title: 'n'
          format: int32
          enum:
            - 1
          description: >-
            The number of images to generate. Only n=1 is supported for
            dall-e-3.
          default: '1'
        quality:
          type: string
          examples:
            - standard
          title: quality
          enum:
            - standard
            - hd
          description: The quality of the generated images.
          default: standard
        size:
          type: string
          examples:
            - 1024x1024
          title: size
          enum:
            - 1024x1024
            - 1024x1792
            - 1792x1024
          description: The size of the generated images.
          default: 1024x1024
        style:
          type: string
          examples:
            - vivid
          title: style
          enum:
            - vivid
            - natural
          description: The style of the generated images.
          default: vivid
      title: DallE3ImageGenerationRequest
      required:
        - prompt
      additionalProperties: false
    image.v1.DallE3ImageGenerationResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/image.v1.ImageResponseDataInner'
          title: data
          description: An array of generated image URLs.
      title: DallE3ImageGenerationResponse
      additionalProperties: false
    image.v1.ImageResponseDataInner:
      type: object
      properties:
        url:
          type: string
          title: url
          description: The URL of the generated image.
      title: ImageResponseDataInner
      additionalProperties: false
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````