Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
title: VeloKey OpenAI-Compatible API Playground
|
| 3 |
emoji: 🔑
|
| 4 |
colorFrom: blue
|
|
@@ -8,33 +8,40 @@ sdk_version: 4.44.1
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
license: mit
|
| 11 |
-
short_description: Test VeloKey's
|
| 12 |
tags:
|
| 13 |
- openai-compatible
|
| 14 |
- ai-api
|
| 15 |
- llm
|
| 16 |
- gradio
|
| 17 |
- api-playground
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
| 19 |
Test VeloKey's OpenAI-compatible AI model API directly from a Hugging Face Space.
|
| 20 |
|
| 21 |
This demo lets you:
|
| 22 |
|
| 23 |
-
Send a chat completion request to https://api.velokey.ai/v1/chat/completions
|
| 24 |
-
Use your own VeloKey API key without storing it in the Space
|
| 25 |
-
Choose or enter a model ID available to your account
|
| 26 |
-
Inspect the raw JSON response for debugging
|
| 27 |
-
List models available through GET /v1/models
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
| 33 |
Your API key is only used for the request you send from this app. Do not paste production secrets into third-party apps unless you understand the risk.
|
| 34 |
|
| 35 |
-
Resources
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
title: VeloKey OpenAI-Compatible API Playground
|
| 3 |
emoji: 🔑
|
| 4 |
colorFrom: blue
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: true
|
| 10 |
license: mit
|
| 11 |
+
short_description: Test VeloKey's API from Hugging Face
|
| 12 |
tags:
|
| 13 |
- openai-compatible
|
| 14 |
- ai-api
|
| 15 |
- llm
|
| 16 |
- gradio
|
| 17 |
- api-playground
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# VeloKey OpenAI-Compatible API Playground
|
| 21 |
+
|
| 22 |
Test VeloKey's OpenAI-compatible AI model API directly from a Hugging Face Space.
|
| 23 |
|
| 24 |
This demo lets you:
|
| 25 |
|
| 26 |
+
- Send a chat completion request to `https://api.velokey.ai/v1/chat/completions`
|
| 27 |
+
- Use your own VeloKey API key without storing it in the Space
|
| 28 |
+
- Choose or enter a model ID available to your account
|
| 29 |
+
- Inspect the raw JSON response for debugging
|
| 30 |
+
- List models available through `GET /v1/models`
|
| 31 |
+
|
| 32 |
+
## How to use
|
| 33 |
+
|
| 34 |
+
1. Get a VeloKey API key from [velokey.ai/console/keys](https://velokey.ai/console/keys?ref=huggingface-space).
|
| 35 |
+
2. Paste the key into the API key field.
|
| 36 |
+
3. Click **List available models** if you are not sure which model ID to use.
|
| 37 |
+
4. Enter a prompt and click **Run chat completion**.
|
| 38 |
+
|
| 39 |
Your API key is only used for the request you send from this app. Do not paste production secrets into third-party apps unless you understand the risk.
|
| 40 |
|
| 41 |
+
## Resources
|
| 42 |
+
|
| 43 |
+
- [VeloKey website](https://velokey.ai?ref=huggingface-space)
|
| 44 |
+
- [API documentation](https://docs.velokey.ai/api/introduction)
|
| 45 |
+
- [Model catalog](https://velokey.ai/model?ref=huggingface-space)
|
| 46 |
+
- [Pricing](https://velokey.ai/pricing?ref=huggingface-space)
|
| 47 |
+
- [Get API key](https://velokey.ai/console/keys?ref=huggingface-space)
|