Skip to content

kwai_api

Before starting kwai_api make sure the environment variable KWAI_SETTINGS_FILE is set to file that contains the settings.

export KWAI_SETTINGS_FILE=.kwai.toml
uv run python -m kwai_api

Note

Use swagger UI from FastAPI to get a list of all available api's.

When the Kwai api backend is running in test mode, point your browser to http://localhost:<port>/api/docs.

Authentication

All API's related to authentication.