Lazybird Avatars API

Create, list, read, update and delete avatars used by avatar jobs.

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 5

POST /avatars Make an avatar #
GET /avatars List your avatars #
GET /avatars/{avatarId} Read an avatar #
PATCH /avatars/{avatarId} Change an avatar #
DELETE /avatars/{avatarId} Delete an 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/lazybird-app:lazybird-app-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

lazybird-app-avatars-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Lazybird Avatars API
  version: 2.1.0
  contact:
    name: Lazybird
    url: https://www.lazybird.app
  description: Operations under the Avatars area of the Lazybird Speech and Video
    API, split verbatim from the provider-published OpenAPI at https://www.lazybird.app/openapi.json.
servers:
- url: https://api.lazybird.app/v2
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Avatars
paths:
  /avatars:
    post:
      operationId: createAvatar
      summary: Make an avatar
      description: 'Making an avatar is a job: the picture is copied into your own
        storage and the avatar''s first rest stills are rendered, for 10 video credits.
        It answers with the avatar and the job making it: the avatar is on your account
        at once as `pending`, with that job''s `jobId`, turns `preparing` and then
        `ready` once the job lands, and goes away again if the job fails or is cancelled.
        Deleting a pending avatar cancels its job. `avatar` jobs name the avatar from
        then on, so every clip is of an avatar made first. Make an avatar only of
        someone whose likeness you have the right to use. An account keeps up to 100
        avatars and makes up to 10 a minute.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - imageUrl
              properties:
                name:
                  type: string
                  description: What you call this avatar
                imageUrl:
                  type: string
                  format: uri
                  description: A public link to a picture of the person, up to 20
                    MB
                voiceId:
                  type: string
                  description: 'The voice this person speaks in, one of yours or ours,
                    by id or slug: speech written for them starts from it. A scene
                    takes its original''s voice when left out'
                parentId:
                  type: string
                  description: 'Makes this a scene of one of your avatars: the same
                    person in another outfit, place or shape. Make its picture first
                    with an `image` job that edits the original''s `imageUrl` (picture
                    1), at the `width` and `height` the scene''s clips should have.
                    A scene of a scene belongs to the original'
                pool:
                  type: string
                  enum:
                  - priority
                  - offpeak
                  description: Where the job runs; off-peak when left out
            example:
              name: Maya
              imageUrl: https://cdn.lazybird.app/uploads/maya.jpg
      responses:
        '202':
          description: The avatar, pending, and the job making it
          content:
            application/json:
              schema:
                type: object
                properties:
                  avatar:
                    $ref: '#/components/schemas/Avatar'
                  job:
                    $ref: '#/components/schemas/Job'
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid, but this account cannot reach that resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      operationId: listAvatars
      summary: List your avatars
      description: Newest first.
      responses:
        '200':
          description: Your avatars
          content:
            application/json:
              schema:
                type: object
                properties:
                  avatars:
                    type: array
                    items:
                      $ref: '#/components/schemas/Avatar'
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid, but this account cannot reach that resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /avatars/{avatarId}:
    get:
      operationId: getAvatar
      summary: Read an avatar
      parameters:
      - name: avatarId
        in: path
        required: true
        description: Avatar `id`
        schema:
          type: string
      responses:
        '200':
          description: The avatar
          content:
            application/json:
              schema:
                type: object
                properties:
                  avatar:
                    $ref: '#/components/schemas/Avatar'
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid, but this account cannot reach that resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      operationId: updateAvatar
      summary: Change an avatar
      description: 'Changes what it is called or the voice it speaks in. Only the
        fields you send change. The picture can''t be swapped: a new face is a new
        avatar.'
      parameters:
      - name: avatarId
        in: path
        required: true
        description: Avatar `id`
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                voiceId:
                  type:
                  - string
                  - 'null'
                  description: A voice by id or slug, or `null` to leave it with none
            example:
              voiceId: VOICE_ID
      responses:
        '200':
          description: The changed avatar
          content:
            application/json:
              schema:
                type: object
                properties:
                  avatar:
                    $ref: '#/components/schemas/Avatar'
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid, but this account cannot reach that resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteAvatar
      summary: Delete an avatar
      description: Lets it go, picture and all. The clips already made from it stay
        yours.
      parameters:
      - name: avatarId
        in: path
        required: true
        description: Avatar `id`
        schema:
          type: string
      responses:
        '200':
          description: Whether it was there to delete
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
        '400':
          description: Invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The key is valid, but this account cannot reach that resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Plan limit reached (credits, voice slots or plan feature)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Avatar:
      type: object
      description: Someone your account may have speak, named by `avatar` jobs
      required:
      - id
      - name
      - status
      - stillsReady
      - stills
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
        name:
          type: string
        imageUrl:
          type: string
          format: uri
          description: Our own copy of the picture; not there yet while it is `pending`
        width:
          type: integer
          description: What the picture measures; its clips come out on this shape
        height:
          type: integer
        parentId:
          type: string
          description: 'The avatar this one is a scene of: the same person, made from
            an edit of that one''s picture'
        voiceId:
          type: string
          description: The voice it speaks in, when it has been given one
        status:
          type: string
          enum:
          - pending
          - preparing
          - ready
          description: '`pending` while the job making it runs (it can''t speak yet);
            `preparing` means its rest stills are still being rendered, not that it
            cannot speak'
        jobId:
          type: string
          description: The job making it, while it is `pending`
        stillsReady:
          type: integer
          description: How many rest stills it has to pin clips to. A clip pins one
            every 30 s at its quietest frames, so a long clip renders more first —
            3 to begin with, up to 10, free
        stills:
          type: array
          description: 'Its rest stills, in the order clips take them. An `avatar`
            job opens on one with `firstFrame: {"stillId"}`; a still keeps its id
            when it is rendered again'
          items:
            type: object
            required:
            - id
            - imageUrl
            properties:
              id:
                type: string
              imageUrl:
                type: string
                format: uri
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Job:
      type: object
      description: Fields without a value are left out
      required:
      - id
      - kind
      - status
      - pool
      - input
      - createdAt
      - updatedAt
      properties:
        id:
          type: string
        kind:
          $ref: '#/components/schemas/JobKind'
        status:
          $ref: '#/components/schemas/JobStatus'
        pool:
          $ref: '#/components/schemas/JobPool'
        input:
          type: object
          additionalProperties: true
          description: What the job was asked for, as it was submitted
        output:
          type: object
          description: What the job made, once it is `completed`
          properties:
            url:
              type: string
              format: uri
              description: The file, for `video`, `avatar`, `image` and `music`
            data:
              description: 'What a reading found: the text and word timings (`transcript`,
                `timings`), the faces (`faces`), `nsfw` and its score (`safety`),
                or the languages heard, best first (`language`)'
            seconds:
              type: number
              description: The output's own length
            width:
              type: integer
            height:
              type: integer
            lastFrameUrl:
              type: string
              format: uri
              description: 'The clip''s last frame as a picture, for `avatar` and
                `video`: what the next clip opens on to carry on (`firstFrame: { jobId
                }`, or a `video` job''s `imageUrl`)'
        assetId:
          type: string
          description: The asset its file is, once a job that makes a file has `completed`
        credits:
          type: number
          description: 'What the job was charged, on what it delivered and never more
            than a clip held at the start: video credits for a render, voice credits
            for a song'
        error:
          type: string
          description: Why a `failed` job failed
        firstFrameUrl:
          type: string
          format: uri
          description: 'For `avatar`: the picture the clip opens on, settled when
            it was asked for — the still picked for it (one the clip renders first
            is at this address once the avatar''s `stills` list it), the one named,
            or the frame handed in'
        readyAt:
          type: string
          format: date-time
          description: When a `queued` or `running` job should be ready, worked out
            from the work ahead of it in its pool and the GPUs running that pool;
            moves as the queue does
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    JobStatus:
      type: string
      enum:
      - queued
      - running
      - completed
      - failed
      - cancelled
    Error:
      type: object
      properties:
        error:
          type: string
        name:
          type: string
        code:
          type: string
        details: {}
        upgradeUrl:
          type: string
          format: uri
          description: 'Set when credits ran out: where the user upgrades'
        retryAfterSeconds:
          type: integer
          description: On 429
    JobPool:
      type: string
      enum:
      - priority
      - offpeak
      default: priority
      description: 'Which GPUs run the job, and for a render which video-credit pool
        pays: `priority` starts it now on rented capacity, `offpeak` waits for our
        own GPUs to be idle.'
    JobKind:
      type: string
      enum:
      - video
      - avatar
      - avatar-setup
      - image
      - music
      - transcript
      - timings
      - faces
      - safety
      - language
      description: '`video` a clip that brings a picture to life (on `h3`, 1 video
        credit a second at `720p` and `1080p`, half at `480p`; `h3-lite` half of that;
        up to 60 s); `avatar` one of your avatars speaking a clip (1 credit a second
        at `720p`, half at `480p`, 2 at `1080p`; as long as what it says); `avatar-setup`
        makes an avatar from a picture (10 credits — `POST /avatars` submits it);
        `image` a still (3 credits); `music` a song from a style and lyrics, or an
        instrumental (10 voice credits a second, up to 300 s); `transcript`, `timings`,
        `faces`, `safety` and `language` read a file and are free.'
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    apiKeyQuery:
      type: apiKey
      in: query
      name: api_key
x-provenance:
  method: harvested
  publisher: Lazybird
  source: https://www.lazybird.app/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)