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

Set HuggingFace endpoint mode

PUT
/api/v1/settings/hf-endpoint

Set the HuggingFace endpoint preference.

Clears the session probe cache so subsequent downloads pick up the new preference immediately.

Query Parameters

mode*Mode

One of 'auto', 'direct', 'mirror'

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X PUT 'http://127.0.0.1:8100/api/v1/settings/hf-endpoint?mode=string'
Example Response
null