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

# Create a character

> Supply the source image either as an uploaded file or as `image_url`.
The one exception is a `type` of `vsplat` with an `enhance_prompt`,
which may omit the image and generate the character from the text
alone. The response is the freshly queued asset; poll
`GET /v1/characters/{character_id}` until `status` is `ready`.

`type` selects what gets produced from that same image: `render`
(default, unchanged from before `type` existed) is the render-ready
2D character and costs 1 credit; `vsplat` additionally extracts a 3D
Gaussian splat and costs 25 credits (30 with `enhance`); `all`
produces both and is billed for both — 26 credits, or 31 with
`enhance`. Once the vsplat extraction is `ready`, fetch its download
URL from `GET /v1/characters/{character_id}/export`.

`enhance` runs an additional AI enhancement pass over the vsplat
extraction. It only takes effect when `type` is `vsplat` or `all` —
it has no effect and is not billed when `type=render`. It raises the
vsplat cost from 25 to 30 credits flat, replacing the base vsplat
price rather than adding to it.

`enhance_prompt` describes the character the enhancement should
produce. Send it on its own to generate the character from text, or
together with an image to steer how that image is enhanced. It
applies only to `vsplat` and `all`, adds no charge beyond the
enhanced extraction, and is rejected with `enhance=false`. A `type`
of `all` still needs the image, because its 2D render is built from
one.

Insufficient credits: a `render` character, and the 2D part of an
`all` character, answers `402` at creation; a `vsplat` extraction is accepted and its `vsplat.status`
then fails with `INSUFFICIENT_CREDITS`. `render` characters are shared
across the account: any API key of the account can read and delete
them. A `vsplat` character, and every character export (the 3D part
of `all` included), is visible only to the API key that created it;
other keys get `404 CHARACTER_NOT_FOUND`.




## OpenAPI

````yaml /openapi.yaml post /v1/characters
openapi: 3.0.3
info:
  title: Viggle API
  description: >
    The Viggle API generates AI video (Viggle H3, Viggle Remake, Video

    Remix), images (Viggle Image), 2x video upscaling (FlashVSR), and JST-2

    3D characters, motions, and scenes. Every job is asynchronous: create it,

    then poll (or, for renders, watch) until it reaches a terminal status.


    Base URL: `https://apis.viggle.ai`. Authenticate every request with

    `Authorization: Bearer <API key>`. Usage is billed in credits

    (1 credit = $0.01). Guides and pricing:
    https://docs.viggle.ai/v1/introduction
  version: 2.0.0
  contact:
    name: Viggle Support
    url: https://viggle.ai
servers:
  - url: https://apis.viggle.ai
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Renders
    description: >-
      Video Remix (JST-1). Prepare inputs, create renders, watch progress,
      cancel, and download results. Read render status through `GET
      /v1/videos/{video_id}`.
  - name: Credits
    description: Read the credit balance available to the calling API key.
  - name: Characters
    description: |
      Create, list, inspect, and delete reusable character assets. `type`
      selects whether creation also extracts a 3D vsplat; export its
      download URL separately once ready.
  - name: Motions
    description: |
      Create, list, inspect, and delete reusable motion assets, and import one
      from an official motion template. `type` selects whether creation also
      extracts or generates a 3D animation; export its download URL
      separately once ready.
  - name: Videos
    description: |
      Generate a Viggle H3 video from text, frames, or references (`vid_`
      prefix) or a Viggle Remake video from a driving video and character
      images (`anim_` prefix), upscale a video 2x with FlashVSR (`vsr_`
      prefix), and read the unified view over every video the calling API
      key created — H3 generations, Remake generations, and Video Remix
      renders (`render_` prefix) — merged into one resource.
  - name: Images
    description: |
      Viggle Image — generate 1–6 PNG images from a text prompt,
      optionally guided by up to 8 reference images
      (`img_` prefix), and retrieve them by ID.
  - name: Scenes
    description: |
      Scene model — build a 3D Gaussian-splat scene (`.spz`) from a text
      prompt or a 360° panorama, generate new posed views of it, and
      reconstruct it from those views. Every operation is an asynchronous
      task (`scn_` prefix) read back by ID. Every run costs 1 credit per
      view, and a panorama counts as 6 views. Credits are refunded in full
      unless the task finishes `ready`.
paths:
  /v1/characters:
    parameters:
      - $ref: '#/components/parameters/RequestId'
    post:
      tags:
        - Characters
      summary: Create a character
      description: >
        Supply the source image either as an uploaded file or as `image_url`.

        The one exception is a `type` of `vsplat` with an `enhance_prompt`,

        which may omit the image and generate the character from the text

        alone. The response is the freshly queued asset; poll

        `GET /v1/characters/{character_id}` until `status` is `ready`.


        `type` selects what gets produced from that same image: `render`

        (default, unchanged from before `type` existed) is the render-ready

        2D character and costs 1 credit; `vsplat` additionally extracts a 3D

        Gaussian splat and costs 25 credits (30 with `enhance`); `all`

        produces both and is billed for both — 26 credits, or 31 with

        `enhance`. Once the vsplat extraction is `ready`, fetch its download

        URL from `GET /v1/characters/{character_id}/export`.


        `enhance` runs an additional AI enhancement pass over the vsplat

        extraction. It only takes effect when `type` is `vsplat` or `all` —

        it has no effect and is not billed when `type=render`. It raises the

        vsplat cost from 25 to 30 credits flat, replacing the base vsplat

        price rather than adding to it.


        `enhance_prompt` describes the character the enhancement should

        produce. Send it on its own to generate the character from text, or

        together with an image to steer how that image is enhanced. It

        applies only to `vsplat` and `all`, adds no charge beyond the

        enhanced extraction, and is rejected with `enhance=false`. A `type`

        of `all` still needs the image, because its 2D render is built from

        one.


        Insufficient credits: a `render` character, and the 2D part of an

        `all` character, answers `402` at creation; a `vsplat` extraction is
        accepted and its `vsplat.status`

        then fails with `INSUFFICIENT_CREDITS`. `render` characters are shared

        across the account: any API key of the account can read and delete

        them. A `vsplat` character, and every character export (the 3D part

        of `all` included), is visible only to the API key that created it;

        other keys get `404 CHARACTER_NOT_FOUND`.
      operationId: v1CreateCharacter
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CreateCharacterForm'
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCharacterForm'
              description: >-
                The form fields as a JSON object, with `image_url` instead of an
                `image` upload.
      responses:
        '200':
          description: Character queued.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/RequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Asset'
        '400':
          $ref: '#/components/responses/ResourceBadRequest'
        '401':
          $ref: '#/components/responses/ResourceUnauthorized'
        '402':
          $ref: '#/components/responses/ResourcePaymentRequired'
        '404':
          $ref: '#/components/responses/ResourceNotFound'
        '408':
          $ref: '#/components/responses/UploadTimeout'
        '409':
          $ref: '#/components/responses/ResourceConflict'
        '500':
          $ref: '#/components/responses/ResourceInternalServerError'
        '502':
          $ref: '#/components/responses/ResourceBadGateway'
        '503':
          $ref: '#/components/responses/ResourceServiceUnavailable'
components:
  parameters:
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: >-
        Optional caller-supplied correlation ID, echoed as sent in the response
        header. Omit it and the service generates one. Use it for tracing and
        support.
      schema:
        type: string
        minLength: 1
  schemas:
    CreateCharacterForm:
      description: |
        Supply the source image as exactly one of `image`, `image_url`, or
        the backward-compatible `ref_url` alias. Only a `type` of `vsplat`
        with an `enhance_prompt` may omit it.
        `type` selects what gets produced from it — see `createCharacter`.
        The fields below `type` apply only when it is `vsplat` or `all`.
        Workflow paths, output URIs, thumbnail cameras and pose, render
        source, and rest mode are service-managed.
      type: object
      properties:
        image:
          type: string
          format: binary
          description: >-
            Character source image uploaded directly. Supply exactly one of
            `image` or `image_url`; supported formats are validated by the
            service.
        image_url:
          type: string
          format: uri
          description: >-
            Publicly reachable URL of the character source image. Supply this
            instead of `image`, and keep it accessible while the request is
            processed.
        ref_url:
          type: string
          format: uri
          deprecated: true
          description: Backward-compatible alias for `image_url`. Do not send both fields.
        name:
          type: string
          description: >-
            Optional display name for the Character. An omitted value defaults
            to an empty string.
          default: ''
        model:
          type: string
          enum:
            - V3
            - v3
            - V3_Preview
            - V4
            - v4
            - V4_Preview
            - V4_BaseSG
          description: >-
            Optional 2D preprocessing model used by `type=render` or `all`. It
            does not select the 3D extraction model. Omit to use the service
            default.
        type:
          type: string
          description: >-
            Outputs to produce: `render` for the reusable 2D Character (1
            credit), `vsplat` for only the 3D extraction (30 credits by default,
            25 with `enhance=false`), or `all` for both (billed for both — 31 or
            26 credits).
          enum:
            - render
            - vsplat
            - all
          default: render
        variant:
          type: string
          enum:
            - optimized
            - original
          default: optimized
          description: VSPLAT encoding variant. `quality` applies only to `optimized`.
        enhance:
          description: |
            Whether to run the higher-fidelity vsplat extraction pass.
            Enabled by default, at a flat 30 credits; set to `false` for the
            cheaper standard extraction at 25 credits. Only takes effect when
            `type` is `vsplat` or `all` — it has no effect and is not billed
            when `type=render`.
          type: boolean
          default: true
        enhance_prompt:
          description: |
            Text describing the character the enhancement should produce:
            who it is, clothing, colors, materials, and style. Send it alone
            (`type=vsplat` only) to generate the character from the text, or
            together with an image to steer how that image is enhanced.
            Applies only when `type` is `vsplat` or `all`, and cannot be
            combined with `enhance=false`. Leading and trailing whitespace is
            trimmed first, so a whitespace-only value counts as omitted; the
            limit is 1000 characters after trimming. Pose, camera, and
            background are fixed by the service.
          type: string
          minLength: 1
          maxLength: 1000
        joint_set:
          type: string
          enum:
            - expression
            - body
            - full
          default: body
          description: |
            Rig the vsplat is skinned to. `full` keeps all 441 joints;
            `expression` keeps the 119-joint body-plus-facial-expression rig,
            but no motion export produces a matching rig (exports offer
            `mixamo`, `metahuman` for `full` and `metahuman_body` for
            `body`); `body` keeps the 86-joint body-only rig, dropping every
            facial joint. Reducing the joint set changes only `joints` and the
            columns of the skinning matrix `W` — the splat count itself is
            untouched, so a `body` character still has a full-detail face,
            it just can't animate it. Applies only when `type` is `vsplat`
            or `all`, and does not affect price. Omit to get `body`, the
            V1 default (the extraction service's own internal default is
            `full`, but the V1 facade always resolves an omitted value to
            `body` before the request reaches it). This field configures
            Character extraction only; Motion extraction does not accept
            `joint_set`.
        model_precision:
          type: number
          description: >-
            Optional model-level precision parameter for vsplat extraction,
            greater than 0 and at most 1. Applies only to `type=vsplat` or
            `all`.
          minimum: 0
          exclusiveMinimum: true
          maximum: 1
        quality:
          type: number
          minimum: 0
          exclusiveMinimum: true
          maximum: 1
          default: 0.7
          description: >-
            Target fraction of Gaussian splats retained after pruning. Applies
            only to `type=vsplat` or `all`.
        filter_low_quality:
          type: boolean
          default: true
          description: >-
            Master switch for importance-ranked Gaussian pruning. `prune_preset`
            and `prune_budget` are used only when this is true.
        prune_preset:
          type: string
          enum:
            - geometric
            - draft
            - balanced
            - quality
            - compact
            - compact_hq
          default: balanced
          description: >-
            Gaussian-splat pruning strategy; used only when
            `filter_low_quality=true`.
        prune_budget:
          type: number
          minimum: 0
          exclusiveMinimum: true
          description: >-
            Optional maximum Gaussian count budget for extract-time pruning.
            Applies only to `type=vsplat` or `all`.
        use_sparse_W:
          type: boolean
          default: false
          description: Store skinning weights as a sparse matrix in the extracted asset.
        scale_parts:
          type: string
          description: >-
            JSON object of body-part or bone scale factors, for example
            `{"legs":1.1}`. Requires `joint_set=full`.
        render_thumbnail:
          description: |
            Whether to generate the standard Character thumbnail. The service
            chooses the render source and pose internally.
          type: boolean
          default: false
        task_id:
          description: |
            Client-supplied task ID for `type=vsplat`. For `type=all`, the
            service keys the companion extraction with the Character ID.
            Reusing an ID answers `409 ID_ALREADY_EXISTS`; it does not replay
            the original response. 1–200 characters: letters, digits, `_`,
            `.` and `-`, starting with a letter or digit.
          type: string
          minLength: 1
          maxLength: 200
          pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*$
    Asset:
      description: >
        A character or motion asset. Both resources share one wire shape.


        `progress` and `error` are always null, including on a `failed`

        asset: read `status` to detect failure, and `vsplat.error` or

        `glb.error` for extraction failures.


        `type` reflects what was requested at creation. For characters it is

        `render`, `vsplat`, or `all`; for motions it is `render`, `glb`,

        or `all`. Assets created before `type` existed report `render`.

        `vsplat` and `glb` carry that extraction's own status — never

        download URLs, which come from `GET
        /v1/characters/{character_id}/export`

        or `GET /v1/motions/{motion_id}/export` instead — and are null unless

        `type` requested that extraction. On an `all` asset, the top-level

        `status` only reaches `ready` once both the 2D render and the 3D

        extraction have; if either fails, the top-level `status` is `failed`

        while the sub-object's own `status` still shows which one it was.
      type: object
      additionalProperties: false
      required:
        - id
        - status
        - name
        - progress
        - capabilities
        - created_at
        - completed_at
        - error
        - type
        - vsplat
        - glb
      properties:
        id:
          type: string
          description: >-
            Public asset identifier. Character IDs normally begin with `char_`;
            Motion IDs normally begin with `mot_`.
          minLength: 1
        status:
          description: >-
            Overall lifecycle of the asset. `pending` means created but not yet
            queued; treat it like `queued`. Use an asset for rendering or export
            only after the required capability becomes `ready`.
          type: string
          enum:
            - pending
            - queued
            - processing
            - ready
            - failed
        name:
          type: string
          description: >-
            Display name supplied at creation or derived during import; it may
            be empty when a workflow does not accept a name.
        progress:
          type: integer
          description: Reserved; currently always null. Poll `status` instead.
          nullable: true
          minimum: 0
          maximum: 100
        capabilities:
          description: |
            What the asset can be used for. `video_render` appears once the
            asset is ready.
          type: array
          items:
            type: string
        created_at:
          description: >-
            ISO 8601 timestamp with a UTC offset, for example
            `2026-07-31T09:15:22+00:00`.
          type: string
          nullable: true
        completed_at:
          type: string
          description: >-
            ISO 8601 timestamp with a UTC offset when all requested processing
            reached a terminal state; null while work is active.
          nullable: true
        error:
          type: object
          description: >-
            Reserved top-level failure detail. It is currently always null;
            detect failure from `status` and inspect extraction sub-objects when
            applicable.
          nullable: true
          allOf:
            - $ref: '#/components/schemas/ErrorBody'
        type:
          type: string
          description: >-
            Work requested when the asset was created. `render` produces the 2D
            render-ready asset, `vsplat`/`glb` requests 3D output, and `all`
            requests both supported outputs.
          enum:
            - render
            - vsplat
            - glb
            - all
          default: render
        vsplat:
          description: |
            Character vsplat extraction status. Null for motions, and for
            characters whose `type` is `render`. The request parameters
            (`model_precision`, etc.) submitted at creation are not echoed
            back here — this is status only.
          nullable: true
          type: object
          additionalProperties: false
          required:
            - status
            - error
          properties:
            status:
              description: >-
                Lifecycle of the character's vsplat extraction, independent of
                the top-level asset status.
              allOf:
                - $ref: '#/components/schemas/ResourceStatus'
            error:
              type: object
              description: >-
                Structured vsplat extraction failure when its status is
                `failed`; otherwise null.
              nullable: true
              allOf:
                - $ref: '#/components/schemas/ErrorBody'
        glb:
          description: |
            Motion 3D animation extraction/generation status. Null for
            characters, and for motions whose `type` is `render`.
          nullable: true
          type: object
          additionalProperties: false
          required:
            - status
            - skeletons
            - error
          properties:
            status:
              description: >-
                Lifecycle of the motion's 3D animation extraction or generation,
                independent of the top-level asset status.
              allOf:
                - $ref: '#/components/schemas/ResourceStatus'
            skeletons:
              description: |
                Skeleton variants ready to export via
                `GET /v1/motions/{motion_id}/export?download_type=`.
                Empty until `status` is `ready`; both variants are
                generated up front, so this is either empty or
                `[mixamo, metahuman]`.
              type: array
              items:
                type: string
                enum:
                  - mixamo
                  - metahuman
            error:
              type: object
              description: >-
                Structured 3D animation failure when its status is `failed`;
                otherwise null.
              nullable: true
              allOf:
                - $ref: '#/components/schemas/ErrorBody'
    ErrorBody:
      type: object
      additionalProperties: false
      required:
        - code
        - message
        - retryable
        - request_id
        - details
        - remediation
      properties:
        code:
          description: >-
            Stable, machine-readable error code. Use it for programmatic
            handling instead of parsing `message`.
          allOf:
            - $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: >-
            Human-readable explanation suitable for logs or presentation to a
            developer.
        retryable:
          type: boolean
          description: >-
            Whether retrying the operation without changing its input may
            succeed. True for HTTP 408, 429, and 5xx responses.
        request_id:
          type: string
          description: >-
            Correlation identifier for tracing and support. Include it when
            reporting the failure.
        details:
          type: object
          description: Error-specific structured context; available keys depend on `code`.
          additionalProperties: true
        remediation:
          description: Suggested recovery action and optional retry delay.
          allOf:
            - $ref: '#/components/schemas/ErrorRemediation'
    ResourceStatus:
      description: |
        The public lifecycle shared by every asynchronous resource. It carries
        the same values as `RenderStatus`.
      type: string
      enum:
        - queued
        - processing
        - ready
        - failed
        - cancelled
    ResourceErrorResponse:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          description: >-
            Error payload containing the stable code, message, retry guidance,
            correlation ID, and error-specific details.
          allOf:
            - $ref: '#/components/schemas/ErrorBody'
    ErrorResponse:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          description: >-
            Error payload containing the stable code, message, retry guidance,
            correlation ID, and error-specific details.
          allOf:
            - $ref: '#/components/schemas/ErrorBody'
    ErrorCode:
      description: |
        Error codes the API emits, in the synchronous error envelope and in
        the `error` object of a failed job. Clients should tolerate codes not
        listed here. Asynchronous failures that have no public mapping
        surface as `PROCESSING_FAILED`.
      type: string
      enum:
        - INVALID_REQUEST
        - UNAUTHENTICATED
        - INVALID_CREDENTIAL
        - INSUFFICIENT_CREDITS
        - RENDER_NOT_FOUND
        - CHARACTER_NOT_FOUND
        - MOTION_NOT_FOUND
        - DRAFT_NOT_FOUND
        - NOT_FOUND
        - RESULT_EXPIRED
        - IDEMPOTENCY_KEY_REUSED
        - ID_ALREADY_EXISTS
        - UPLOAD_TIMEOUT
        - CONTENT_POLICY_VIOLATION
        - RATE_LIMITED
        - SERVICE_BUSY
        - INTERNAL_ERROR
        - IMAGE_REQUIRED
        - MOTION_VIDEO_REQUIRED
        - UNSUPPORTED_MEDIA
        - VIDEO_TOO_LONG
        - VIDEO_TOO_LARGE
        - VIDEO_RESOLUTION_TOO_HIGH
        - VIDEO_UNREADABLE
        - VIDEO_DIMENSIONS_MUST_BE_EVEN
        - VIDEO_INACCESSIBLE
        - NO_HUMANS_DETECTED
        - MOTION_NOT_READY
        - MOTION_MODEL_MISMATCH
        - INVALID_BACKGROUND_MODE
        - ALL_WORKERS_BUSY
        - WORKER_STOPPED
        - TASK_FAILED
        - PROCESSING_FAILED
    ErrorRemediation:
      type: object
      additionalProperties: false
      required:
        - action
        - retry_after_ms
      properties:
        action:
          type: string
          enum:
            - none
            - retry
          description: >-
            Suggested next action. Synchronous errors always carry `none`; a
            failed job's `error` carries `retry` when the failure is retryable.
        retry_after_ms:
          type: integer
          description: >-
            Recommended delay in milliseconds before retrying; null when no
            timed retry is advised.
          nullable: true
          format: int64
          minimum: 0
  headers:
    RequestId:
      description: Stable request identifier for support and tracing.
      schema:
        type: string
  responses:
    ResourceBadRequest:
      description: |
        Invalid request. The resource operations answer every request-shape
        rejection with `400`; they never answer `422`.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourceUnauthorized:
      description: Missing or invalid API key. Code `UNAUTHENTICATED`.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourcePaymentRequired:
      description: Insufficient credits.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourceNotFound:
      description: |
        The resource does not exist, or it is not visible to the caller (a
        2D asset of another account, or a 3D-only asset or export created by
        another API key). The cases are deliberately indistinguishable. Codes
        `CHARACTER_NOT_FOUND`, `MOTION_NOT_FOUND`, or `RENDER_NOT_FOUND`;
        an export whose files were deleted answers `RESULT_EXPIRED`.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    UploadTimeout:
      description: >-
        A multipart upload did not finish arriving within the 10-minute read
        deadline. Code `UPLOAD_TIMEOUT`, retryable: retry, or pass a URL instead
        of the file.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ResourceConflict:
      description: >-
        The client-supplied `task_id` is already in use (code
        `ID_ALREADY_EXISTS`).
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourceInternalServerError:
      description: Unexpected server error.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourceBadGateway:
      description: The extraction backend is unavailable or the extraction failed.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
    ResourceServiceUnavailable:
      description: Service temporarily unavailable.
      headers:
        Retry-After:
          schema:
            type: integer
            minimum: 0
        X-Request-Id:
          $ref: '#/components/headers/RequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ResourceErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: |
        Send your API key as `Authorization: Bearer <API key>`. Keys begin
        with `sk-`. A missing or invalid key answers `401 UNAUTHENTICATED`.
        Never expose an API key in browser code.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.