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

# Create Model (ElevenLabs)

> Create a new ElevenLabs conversational AI agent (model) with default settings.

**Requirements:**
- Provider must be an ElevenLabs provider
- Provider must belong to the current user

**Automatic Configuration:**
- Uses the first available voice from your ElevenLabs account
- `turn_timeout` = -1 (no silence timeout)
- Built-in tools enabled: `end_call`, `language_detection`
- `first_message` = "" (waits for user to start)
- `prompt` = "-" (minimized system prompt)
- `language` = "en"

Returns the created agent ID and name for use in avatar configuration.



## OpenAPI

````yaml POST /api/open/v1/model/elevenLabs/add
openapi: 3.1.0
info:
  title: NavTalk API
  description: NavTalk API for AI avatar management, file uploads, and video generation
  version: 1.0.0
servers:
  - url: https://api.navtalk.ai
    description: NavTalk Production Environment Server
  - url: https://qaapi.navtalk.ai
    description: NavTalk QA Environment Server
  - url: https://devapi.navtalk.ai
    description: NavTalk Development Environment Server
security:
  - navtalkLicenseAuth: []
paths:
  /api/open/v1/model/elevenLabs/add:
    post:
      tags:
        - Model
      summary: Create ElevenLabs Model
      description: >-
        Create a new ElevenLabs conversational AI agent (model) with default
        settings.


        **Requirements:**

        - Provider must be an ElevenLabs provider

        - Provider must belong to the current user


        **Automatic Configuration:**

        - Uses the first available voice from your ElevenLabs account

        - `turn_timeout` = -1 (no silence timeout)

        - Built-in tools enabled: `end_call`, `language_detection`

        - `first_message` = "" (waits for user to start)

        - `prompt` = "-" (minimized system prompt)

        - `language` = "en"


        Returns the created agent ID and name for use in avatar configuration.
      operationId: createElevenLabsModel
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateModelRequest'
            example:
              providerId: b92a28fb2ea737457c7f13ba554759c0
              modelName: My Custom Agent
      responses:
        '200':
          description: Model created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateModelResponse'
              example:
                code: 200
                message: SUCCESS
                data:
                  model: agent_7101kkgrbm1nfncbsayje9xqvshf
                  name: My Custom Agent
        '400':
          description: Validation failed or creation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NavtalkErrorResponse'
              examples:
                providerNotFound:
                  summary: Provider not found
                  value:
                    code: 400
                    message: 'Provider not found: xxx'
                notElevenLabs:
                  summary: Provider is not ElevenLabs
                  value:
                    code: 400
                    message: >-
                      Only ElevenLabs provider is supported, current provider
                      type: openai
                noPermission:
                  summary: No permission
                  value:
                    code: 400
                    message: You have no permission to operate this provider
                noVoices:
                  summary: No voices available
                  value:
                    code: 400
                    message: 'ElevenLabs create agent failed: No available voices found'
      security:
        - navtalkLicenseAuth: []
components:
  schemas:
    CreateModelRequest:
      required:
        - providerId
        - modelName
      type: object
      properties:
        providerId:
          type: string
          description: The ElevenLabs provider ID (must be a user-level provider)
          example: b92a28fb2ea737457c7f13ba554759c0
        modelName:
          type: string
          description: Name for the new agent/model
          example: My Custom Agent
    CreateModelResponse:
      type: object
      properties:
        code:
          type: integer
          example: 200
        message:
          type: string
          example: SUCCESS
        data:
          type: object
          properties:
            model:
              type: string
              description: The created agent ID (use as model parameter)
              example: agent_7101kkgrbm1nfncbsayje9xqvshf
            name:
              type: string
              description: The agent name
              example: My Custom Agent
    NavtalkErrorResponse:
      type: object
      properties:
        code:
          type: integer
          example: 400
        message:
          type: string
          example: Invalid license key
  securitySchemes:
    navtalkLicenseAuth:
      type: apiKey
      in: header
      name: license
      description: NavTalk API license key (e.g. sk_navtalk_...)

````