{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/varosity-ai/json-schema/varosity-ai-get-v1-heygen-library-response-schema.json",
  "title": "GetV1HeygenLibraryResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/varosity-ai-openapi-generated.yml#/components/schemas/GetV1HeygenLibraryResponse",
  "type": "object",
  "properties": {
    "200": {
      "type": "string",
      "description": "{ ok, source: own_key | credits, avatars[], voices[] }"
    },
    "401": {
      "type": "string",
      "description": "Unauthorized"
    },
    "403": {
      "type": "string",
      "description": "Insufficient scope (needs generate:video)"
    },
    "409": {
      "type": "string",
      "description": "No HeyGen key and HeyGen isn't available on Credits right now"
    },
    "429": {
      "type": "string",
      "description": "rate_limited"
    },
    "502": {
      "type": "string",
      "description": "HeyGen didn't answer"
    }
  }
}