--- title: FreePlay2API emoji: 🚀 colorFrom: blue colorTo: green sdk: docker app_port: 7860 --- ## How to Use 1. **Set the API Key**: This application requires an API key for authentication. You need to set a secret environment variable named `API_KEY` in your Hugging Face Space settings. The value can be any string you choose. 2. **Start the Application**: Once the environment variable is set, the application will start, and you can access the API. 3. **Accessing the API**: The API will be available at the port specified in the Dockerfile (default is 7860). You can use the API key you set in the `Authorization` header as a Bearer token.