Elai.io Avatars API

The avatar catalog, and submitting footage for a custom avatar.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /avatars Avatars list #
PATCH /avatars/{id} Update avatar #
GET /avatars/{id} Get one avatar #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elaiio:elaiio-avatars-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elaiio-avatars-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elai Public Avatars API
  version: '1.0'
  description: 'Every endpoint below is served under `https://apis.elai.io/api/v1`.


    ## Authentication


    Send your workspace API token as a bearer token on every request:


    ```

    Authorization: Bearer

    ```


    Generate and rotate the token in the Elai web app under **Settings → API**, or through

    `POST /generateToken`. The token is scoped to one **workspace** and authenticates as that

    workspace''s admin user — it is not tied to an individual person, and it carries admin rights

    inside that workspace.


    A request with a missing, unknown or revoked token gets a bare `401` with no response body.


    > **Organizations on the Unlimited plan cannot use the API.** Their requests are rejected with the

    > same bare `401` as an invalid token, with nothing to distinguish the two. If a valid, freshly

    > generated token returns `401` on every endpoint, check the plan first.


    ## Errors


    Failures carry a JSON body of the shape `{ "message": "..." }`. Validation failures on the newer

    endpoints may add an `errors` array naming the offending fields. `401` is the exception: it has no

    body at all.


    Both render endpoints are **fire-and-forget** — they queue work and return immediately, so a

    `200` means "accepted", not "rendered". Render failures surface only through the `video_error`

    webhook, never as an HTTP error on the call that started the render.


    ## Scope


    This reference is generated from the running code rather than maintained by hand, so it cannot

    quietly fall behind the API it describes. It documents 94 operations across the

    `/api/v1` surface.


    Endpoints are grouped by subject in the sidebar. If something you need is missing, or an endpoint

    does not behave as described here, tell us.


    ---


    _Generated from `HEAD` at `2a2222fdbe` on 2026-11-25._'
servers:
- url: https://apis.elai.io/api/v1
security:
- sec0: []
tags:
- name: Avatars
  description: The avatar catalog, and submitting footage for a custom avatar.
paths:
  /avatars:
    get:
      summary: Avatars list
      description: Get all available avatars
      operationId: avatars-list
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                  - _id: 62ea3143b3c0dc1e3ae25e4f
                    id: custom
                    name: Alex (Personal)
                    type: selfie
                    version: 1
                    status: 4
                    gender: male
                    thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/custom/custom_roger.jpg
                    canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/custom/custom_roger.png
                    tilt:
                      top: 0.1
                      left: -0.05
                  - _id: 6374ca89dc87c5c48f5a8499
                    id: dairon
                    name: Dairon
                    version: 1
                    status: 2
                    gender: male
                    intro: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon.mp4
                    tilt: {}
                    variants:
                    - id: business
                      name: Business
                      canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_business.png
                      thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_business.jpg
                      gif: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_business.gif
                    - id: regular
                      name: Casual
                      tilt:
                        top: -0.05
                      canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon.png
                      thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon.jpg
                      gif: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon.gif
                    - id: builder
                      name: Constructor
                      canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_builder.png
                      thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_builder.jpg
                      gif: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/dairon_builder.gif
                  - _id: 6374ca89dc87c5c48f5a849d
                    id: anna
                    name: Anna
                    version: 1
                    status: 2
                    gender: female
                    intro: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna.mp4
                    tilt: {}
                    variants:
                    - id: business
                      name: Business
                      tilt:
                        left: -0.01
                      canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna_business.png
                      thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna_business.jpg
                      gif: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna_business.gif
                    - id: regular
                      name: Casual
                      tilt:
                        left: -0.03
                      canvas: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna.png
                      thumbnail: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna.jpg
                      gif: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/anna.gif
              schema:
                type: array
                items:
                  type: object
                  properties:
                    _id:
                      type: string
                      example: 62ea3143b3c0dc1e3ae25e4f
                      description: Same value as `id`, for older clients.
                    id:
                      type: string
                      example: custom
                      description: The avatar's document id.
                    name:
                      type: string
                      example: Alex (Personal)
                    type:
                      type: string
                      example: selfie
                    version:
                      type: integer
                      example: 1
                      default: 0
                    status:
                      type: integer
                      example: 4
                      default: 0
                    gender:
                      type: string
                      example: male
                    thumbnail:
                      type: string
                      example: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/custom/custom_roger.jpg
                    canvas:
                      type: string
                      example: https://elai-media.s3.eu-west-2.amazonaws.com/avatars/custom/custom_roger.png
                    tilt:
                      type: object
                      properties:
                        top:
                          type: number
                          example: 0.1
                          default: 0
                        left:
                          type: number
                          example: -0.05
                          default: 0
                    code:
                      type: string
                      description: Stable avatar code.
                    premium:
                      type: boolean
                      description: True for premium avatars, which require a plan that allows them.
                    organizationId:
                      type:
                      - string
                      - 'null'
                      description: Null for avatars from the shared public catalog.
                    intro:
                      type: string
                      description: Preview video URL.
                    introPoster:
                      type: string
                      description: Poster image for the preview video.
                    defaultVoice:
                      type: string
                      description: Voice suggested for this avatar.
                    limit:
                      type: number
                      description: Maximum slide length this avatar supports, in seconds.
                    age:
                      type: number
                    ethnicity:
                      type: string
                    faceBbox:
                      type: object
                      additionalProperties: true
                      description: Face bounding box used for framing.
                    listeningAvatar:
                      type: object
                      additionalProperties: true
                      description: Listening-state variant, for interactive use.
                    variants:
                      type: array
                      description: Selectable looks for this avatar. Render with a variant `code` — or with the code of one of its nested poses, side views or scenarios.
                      items:
                        type: object
                        additionalProperties: true
                        properties:
                          id:
                            type: string
                            description: Legacy alias of `code`.
                          code:
                            type: string
                            description: Pass this as the avatar code when rendering.
                          name:
                            type: string
                          isScenario:
                            type: boolean
                          poses:
                            type: array
                            description: Alternative body poses.
                            items:
                              type: object
                              description: Spreads its own `frontendConfig`, so extra presentation fields may appear.
                              additionalProperties: true
                              properties:
                                code:
                                  type: string
                                  description: Pass this as the avatar code when rendering.
                                name:
                                  type: string
                                thumbnail:
                                  type: string
                                canvas:
                                  type: string
                                tags:
                                  type: array
                                  items:
                                    type: string
                                isFrontView:
                                  type: boolean
                          sideViews:
                            type: array
                            description: Side-facing views.
                            items:
                              type: object
                              description: Spreads its own `frontendConfig`, so extra presentation fields may appear.
                              additionalProperties: true
                              properties:
                                code:
                                  type: string
                                  description: Pass this as the avatar code when rendering.
                                name:
                                  type: string
                                thumbnail:
                                  type: string
                                canvas:
                                  type: string
                                tags:
                                  type: array
                                  items:
                                    type: string
                          scenarios:
                            type: array
                            description: Scene/background variations.
                            items:
                              type: object
                              description: Spreads its own `frontendConfig`, so extra presentation fields may appear.
                              additionalProperties: true
                              properties:
                                code:
                                  type: string
                                  description: Pass this as the avatar code when rendering.
                                name:
                                  type: string
                                thumbnail:
                                  type: string
                                canvas:
                                  type: string
                                tags:
                                  type: array
                                  items:
                                    type: string
                  additionalProperties: true
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Avatars
  /avatars/{id}:
    patch:
      summary: Update avatar
      description: Use this method to set your custom avatar name and id, and to upload your video avatar's footage
      operationId: update-avatar
      parameters:
      - name: id
        in: path
        description: Avatar '_id'. You should get this prop after fetching avatar list. For example '64ba634100bc80a3d3eb9674'
        schema:
          type: string
        required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Avatar's name
                code:
                  type: string
                  description: Custom code for avatar. If skipped avatar code will be generated from name, e.g. Avatar Name → avatar_name
                url:
                  type: string
                  description: Studio and selfie types of avatars only. Link to a folder with your footage, for example at Google Drive. Don't forget to share it with avatars@elai.io.
                images:
                  type: array
                  description: Mascot avatar only. Array of files. Only images accepted.
                  items:
                    properties:
                      name:
                        type: string
                        description: Original image name with extension
                      data:
                        type: string
                        description: Data buffer in base64 format
                    type: object
                id:
                  type: string
                  deprecated: true
                  description: Deprecated alias of `code`, still accepted. Use `code` instead.
                colorCorrection:
                  type: string
                  description: Studio and selfie avatars only. Colour-correction hint stored with the footage.
            examples:
              Selfie:
                value:
                  name: Selfie avatar
                  id: my_custom_id
                  url: https://drive.google.com/file/d/1W9rA_KDGVZYywUCbdNVn0JHU6hVKb2kV/edit
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: javascript
          code: "const formaData = {\n  url: 'https://drive.google.com/file/d/1W9rA_KDGVZYywUCbdNVn0JHU6hVKb2kV',\n  name: 'My Avatar',\n  colorCorrection: true\n}\nconst avatarId='64d0b16d314107e8c5c29c52'\nconst data = new FormData()\nfileList.forEach((file) => data.append('images', file))\ndata.append('url', formData.url)\ndata.append('name', formData.name)\ndata.append('colorCorrection', formData.colorCorrection)\nconst result = await axios({\n  method: 'PATCH',\n  url: `https://apis.elai.io/api/v1/avatars/${avatarId}`,\n  headers: {\n    \"Authorization\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyIsInR5cGUiOiJhY2Nlc3MifQ.eyJ1c2VySWQiOjEsImFjY291bnRJZCI6MSwiaWF0IjoxNTExMzMwMzg5LCJleHAiOjE1MTM5MjIzODksImF1ZCI6Imh0dHBzOi8veW91cmRvbWFpbi5jb20iLCJpc3MiOiJmZWF0aGVycyIsInN1YiI6ImFub255bW91cyJ9.HWk7qJ0uK6SEi8qSeeB6-TGslDlZOTpG51U6kVi8nYc\"\n  },\n  data,\n})\nreturn result"
          name: Javascript
        samples-languages:
        - javascript
      tags:
      - Avatars
    get:
      tags:
      - Avatars
      summary: Get one avatar
      description: Returns a single avatar with its variants. Readable when the avatar belongs to your organization, is in the public catalog, or your workspace is on its `accountIds` allowlist.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Avatar document id (24-char hex ObjectId).
      responses:
        '200':
          description: The avatar.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Avatar'
        '403':
          description: The avatar belongs to another organization or workspace.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not a valid id, or no such avatar.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Avatar was not found
      operationId: retrieve-avatar
components:
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
          description: Human-readable explanation of the failure.
    Avatar:
      type: object
      description: An avatar and its variants.
      properties:
        id:
          type: string
        code:
          type: string
          description: Stable code used as `avatarCode` when rendering.
        name:
          type: string
        type:
          type: string
          description: Avatar kind. Determines which variants and poses are available.
        status:
          type: integer
          description: Lifecycle stage 0–5; usable from 2.
        premium:
          type: boolean
        organizationId:
          type:
          - string
          - 'null'
          description: Null for public catalog avatars.
        variants:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Legacy alias of `code`.
              code:
                type: string
              name:
                type: string
              isScenario:
                type: boolean
              poses:
                type: array
                items:
                  type: object
                  additionalProperties: true
              sideViews:
                type: array
                items:
                  type: object
                  additionalProperties: true
              scenarios:
                type: array
                items:
                  type: object
                  additionalProperties: true
            additionalProperties: true
      additionalProperties: true
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
      x-default: SECRET_KEY
x-provenance:
  method: searched
  source: https://elai.readme.io/reference
  harvested: '2026-12-01'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://elai.readme.io/reference/apply-brand-kit.md
  - https://elai.readme.io/reference/apply-template.md
  - https://elai.readme.io/reference/avatars-list.md
  - https://elai.readme.io/reference/build-outline-video.md
  - https://elai.readme.io/reference/build-quiz-question.md
  - https://elai.readme.io/reference/build-video-lesson.md
  - https://elai.readme.io/reference/check-upload-usage.md
  - https://elai.readme.io/reference/choose-lesson-template.md
  - https://elai.readme.io/reference/copy-video-by-template.md
  - https://elai.readme.io/reference/copy-video.md
  - https://elai.readme.io/reference/create-from-pptx.md
  - https://elai.readme.io/reference/create-from-text-url.md
  - https://elai.readme.io/reference/create-outline.md
  - https://elai.readme.io/reference/create-upload-folder.md
  - https://elai.readme.io/reference/create-user.md
  - https://elai.readme.io/reference/create-video.md
  - https://elai.readme.io/reference/create-voice-customization.md
  - https://elai.readme.io/reference/delete-upload-folder.md
  - https://elai.readme.io/reference/delete-upload.md
  - https://elai.readme.io/reference/delete-uploads.md
  - https://elai.readme.io/reference/delete-user.md
  - https://elai.readme.io/reference/delete-video.md
  - https://elai.readme.io/reference/delete-voice-customization.md
  - https://elai.readme.io/reference/download-scorm-package.md
  - https://elai.readme.io/reference/generate-api-token.md
  - https://elai.readme.io/reference/generate-outline-chapters.md
  - https://elai.readme.io/reference/generate-outline-quiz.md
  - https://elai.readme.io/reference/generate-outline-script.md
  - https://elai.readme.io/reference/generate-quiz-from-video.md
  - https://elai.readme.io/reference/generate-slides.md
  - https://elai.readme.io/reference/get-slide-screenshots.md
  - https://elai.readme.io/reference/get-speech-duration.md
  - https://elai.readme.io/reference/inspect-presentation.md
  - https://elai.readme.io/reference/list-avatar-frames.md
  - https://elai.readme.io/reference/list-custom-voices.md
  - https://elai.readme.io/reference/list-fonts.md
  - https://elai.readme.io/reference/list-lesson-templates.md
  - https://elai.readme.io/reference/list-music-tracks.md
  - https://elai.readme.io/reference/list-templates.md
  - https://elai.readme.io/reference/list-upload-folder-names.md
  - https://elai.readme.io/reference/list-uploads.md
  - https://elai.readme.io/reference/list-users.md
  - https://elai.readme.io/reference/list-video-edit-history.md
  - https://elai.readme.io/reference/list-video-exports.md
  - https://elai.readme.io/reference/list-videos.md
  - https://elai.readme.io/reference/list-voice-customizations.md
  - https://elai.readme.io/reference/llm-generate-speech.md
  - https://elai.readme.io/reference/llm-rewrite-speech.md
  - https://elai.readme.io/reference/move-upload.md
  - https://elai.readme.io/reference/move-uploads.md
  - https://elai.readme.io/reference/paste-story-html.md
  - https://elai.readme.io/reference/preview-lesson-template-layouts.md
  - https://elai.readme.io/reference/preview-video-lesson-restyle.md
  - https://elai.readme.io/reference/preview-voice-customization.md
  - https://elai.readme.io/reference/rebuild-video-lesson.md
  - https://elai.readme.io/reference/regenerate-outline-quiz.md
  - https://elai.readme.io/reference/regenerate-outline-speech.md
  - https://elai.readme.io/reference/regenerate-quiz-question.md
  - https://elai.readme.io/reference/render-personalized.md
  - https://elai.readme.io/reference/render-video.md
  - https://elai.readme.io/reference/restyle-video-lesson.md
  - https://elai.readme.io/reference/retrieve-api-config.md
  - https://elai.readme.io/reference/retrieve-avatar.md
  - https://elai.readme.io/reference/retrieve-current-user.md
  - https://elai.readme.io/reference/retrieve-lesson-template.md
  - https://elai.readme.io/reference/retrieve-outline.md
  - https://elai.readme.io/reference/retrieve-player-payload.md
  - https://elai.readme.io/reference/retrieve-signed-url.md
  - https://elai.readme.io/reference/retrieve-template.md
  - https://elai.readme.io/reference/retrieve-upload-folder-breadcrumbs.md
  - https://elai.readme.io/reference/retrieve-upload-folder-info.md
  - https://elai.readme.io/reference/retrieve-upload-folder.md
  - https://elai.readme.io/reference/retrieve-video-lesson-design.md
  - https://elai.readme.io/reference/retrieve-video-source-links.md
  - https://elai.readme.io/reference/retrieve-video.md
  - https://elai.readme.io/reference/revoke-api-token.md
  - https://elai.readme.io/reference/rewrite-outline-speech.md
  - https://elai.readme.io/reference/search-upload-folders.md
  - https://elai.readme.io/reference/submit-custom-voice.md
  - https://elai.readme.io/reference/synthesize-speech.md
  - https://elai.readme.io/reference/translate.md
  - https://elai.readme.io/reference/update-avatar.md
  - https://elai.readme.io/reference/update-outline.md
  - https://elai.readme.io/reference/update-upload-folder.md
  - https://elai.readme.io/reference/update-user.md
  - https://elai.readme.io/reference/update-video.md
  - https://elai.readme.io/reference/update-voice-customization.md
  - https://elai.readme.io/reference/upload-confirm.md
  - https://elai.readme.io/reference/upload-custom-voice.md
  - https://elai.readme.io/reference/upload-music-track.md
  - https://elai.readme.io/reference/voices-list.md
  - https://elai.readme.io/reference/webhook-set-secret-token.md
  - https://elai.readme.io/reference/webhook-subscribe.md
  - https://elai.readme.io/reference/webhook-unsubscribe.md
  merge:
    pages: 94
    deduped: 253
    conflicts_kept_first: 0