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

# Create avatar

> Create an avatar



## OpenAPI

````yaml POST /createAvatar
openapi: 3.1.1
info:
  title: Duix OpenAPI V2
  description: Duix OpenAPI V2
  version: v2
servers:
  - url: https://app.duix.ai/duix-openapi-v2/sdk/v2
security:
  - tokenAuth: []
paths:
  /createAvatar:
    post:
      description: Create an avatar
      requestBody:
        description: Avatar to add to the store
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/createAvatarRequestBody'
        required: true
      responses:
        '200':
          description: plant response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/createAvatarResponses'
components:
  schemas:
    createAvatarRequestBody:
      required:
        - ttsName
        - conversationId
      type: object
      properties:
        ttsName:
          description: >-
            TTS name, select the public TTS voice. See at Settings -> Avatar
            creator -> Select voice
          type: string
        conversationId:
          description: >-
            The conversation ID. Value is required when using public AI avatar
            Get Conversation ID
          type: string
        coverImage:
          description: >-
            A value is needed if you are using images to customize your AI
            avatar. Base64 format. e.g.
            `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA`
          type: string
        defaultSpeakingLanguage:
          description: Default speaking language. default English
          type: string
        greetings:
          description: >-
            Enter a greeting for your AI avatar’s first words, If not, the
            system will generate it randomly
          type: string
        name:
          description: >-
            Enter a name for your AI avatar. If not, the system will generate it
            randomly
          type: string
        profile:
          description: >-
            Enter a description of personality and preferences you’d love your
            AI avatar to have.. If not, the system will generate it randomly
          type: string
    createAvatarResponses:
      type: object
      properties:
        code:
          description: Response code.
          type: string
        msg:
          description: Response message.
          type: string
        success:
          description: Indicates whether the request succeeded.
          type: boolean
        data:
          description: Response payload containing avatar details.
          type: object
          properties:
            taskId:
              description: The task ID of create AI avatar.
              type: string
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: token
      description: Token [generated](/documentation/get-token) from your API keys.

````