# Authentication

> Documentation Index / 文档总索引  
> https://x2v.light-ai.top/llms.txt  
> Source: https://x2v.light-ai.top/en/api-docs#authentication  
> Locale: en  
> This page is optimized for Agent/LLM reading.

Use a LightX2V API key as an HTTP Bearer credential.

## Public endpoints

`GET /openapi.json`, `GET /api/v1/model/list`, and `GET /api/v1/model/specs?task=...` do not require authentication.

## Protected endpoints

Quote, task lifecycle, result URL, and workflow execution endpoints require `Authorization: Bearer apikey_...`. A missing or invalid credential returns `401`; an authenticated account without API access can return `403`.

## Key safety

Create and revoke keys in the LightX2V account UI. Read the key from a secret store or environment at execution time. Do not generate, log, echo, commit, or persist a user's key in prompts, source files, shell history, or task output.

## Related topics

[quick-start](/en/api-docs/quick-start.md) · [model-discovery](/en/api-docs/model-discovery.md) · [task-api](/en/api-docs/task-api.md) · [workflow-api](/en/api-docs/workflow-api.md) · [errors](/en/api-docs/errors.md)

OpenAPI: https://x2v.light-ai.top/openapi.json · Live models: https://x2v.light-ai.top/api/v1/model/list · Skill: https://github.com/ModelTC/LightX2V-Skills
