Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.modelrunner.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorization

All API requests require an API key and must include it using the Key scheme in the Authorization header.
1

Create an API key

Go to your ModelRunner Dashboard, open ProfileKeys, and select Create key.
Give your key a descriptive name and minimal required permissions.
2

Copy and store the key securely

Copy the generated key value (for example, modelrunner_key) and store it in your password manager or environment variables.
Treat API keys like passwords. Do not commit them to version control.
3

Use the key in request headers

Include the key using the Authorization header with the Key scheme:
Authorization: Key modelrunner_key
curl -H "Authorization: Key modelrunner_key" \
     https://queue.modelrunner.run/bytedance/sdxl-lightning-4step/requests/FeLpfyrYRTXxsY7EB7Ehy
You should receive a 200 response when the header is set correctly.