New: AI video tools. Cut, clip, caption and dub your videos. See all video tools →
Settings

Set or clear the API key

PUT
/api/v1/settings/api-key

When a key is set, every API/MCP request must present it via X-API-Key, Authorization: Bearer, or ?api_key=. Applies immediately, no restart needed. Omit key to clear.

Query Parameters

key?|

New API key (min 8 chars). Omit to clear.

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X PUT 'http://127.0.0.1:8100/api/v1/settings/api-key'
Example Response
null