D
DeepInfra Native API
Details
- URL
-
https://api.deepinfra.com/v1/inference/{model_name} - Docs
- https://docs.deepinfra.com/apis/deepinfra-native
Authentication
Authorization: Bearer <credential> Go to the DeepInfra API keys dashboard and create an API key. Use it as a bearer token in the Authorization header: Authorization: Bearer $DEEPINFRA_TOKEN.
Authorization: Bearer <credential> First create or use a parent API key from the DeepInfra API keys dashboard. Then create a scoped JWT by calling POST https://api.deepinfra.com/v1/scoped-jwt with your API key in Authorization: Bearer ..., as shown in Authentication. The returned token is prefixed like jwt:... and is then used in the same bearer Authorization header as a normal API key.