Update README.md
Browse files
README.md
CHANGED
|
@@ -318,4 +318,37 @@ Umbra is released under **Apache‑2.0**, consistent with the base model license
|
|
| 318 |
|
| 319 |
# Citation
|
| 320 |
|
| 321 |
-
If you reference this model in a project, please cite the repository and the base model.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 318 |
|
| 319 |
# Citation
|
| 320 |
|
| 321 |
+
If you reference this model in a project, please cite the repository and the base model.
|
| 322 |
+
|
| 323 |
+
---
|
| 324 |
+
|
| 325 |
+
# API Access
|
| 326 |
+
|
| 327 |
+
Umbra can also be integrated through external API gateways.
|
| 328 |
+
|
| 329 |
+
One option is **VoidAI**, which provides a unified OpenAI-compatible API for accessing multiple AI model providers.
|
| 330 |
+
|
| 331 |
+
https://voidai.app
|
| 332 |
+
|
| 333 |
+
Example:
|
| 334 |
+
|
| 335 |
+
```python
|
| 336 |
+
from openai import OpenAI
|
| 337 |
+
|
| 338 |
+
client = OpenAI(
|
| 339 |
+
api_key="sk-voidai-your_key_here",
|
| 340 |
+
base_url="https://api.voidai.app/v1"
|
| 341 |
+
)
|
| 342 |
+
|
| 343 |
+
response = client.chat.completions.create(
|
| 344 |
+
model="umbra",
|
| 345 |
+
messages=[
|
| 346 |
+
{"role": "user", "content": "Write a fantasy RP scene."}
|
| 347 |
+
]
|
| 348 |
+
)
|
| 349 |
+
|
| 350 |
+
print(response.choices[0].message.content)
|
| 351 |
+
```
|
| 352 |
+
Documentation:
|
| 353 |
+
[https://docs.voidai.app](https://docs.voidai.app)
|
| 354 |
+
```
|