Endpoints
Some of these endpoints are still in development! Refer to their docs to know which of these work.
As described previously, PurAI functions through requests to URLs. The way a URL is constructed is through the following format: https://ai.purlabs.xyz/ (opens in a new tab) owner / (opens in a new tab) product.
Below is the full list of endpoints we offer, as well as their descriptions & URLs.
Note: When a word is surrounded by "< " and ">", it should be substituted by a different value. (<owner>, for example, could be openai)
General
| Title | Link | Description |
|---|---|---|
| Models | https://ai.purlabs.xyz/<owner>/models | Get the list of available models, endpoints and so much more from a certain <owner> (owners listed below) |
Chat Completion
Engage in interactive conversations with AI using the chat completion endpoint.
| Owner | Link | Docs link |
|---|---|---|
| OpenAI | https://ai.purlabs.xyz/openai/chat/completions | Docs |
| Anthropic | https://ai.purlabs.xyz/anthropic/chat/completions | Docs |
| Llama | https://ai.purlabs.xyz/llama/chat/completions | Docs |
Completion
Chat completions, but without the "chat" part: They're just trained to complete, not to chat.
| Owner | Link | Docs link |
|---|---|---|
https://ai.purlabs.xyz/google/completions | Docs | |
| Ora | https://ai.purlabs.xyz/ora/completions | Docs |
Document Analysis
Analyze documents (images and PDFs) by asking questions.
| Owner | Link | Docs link |
|---|---|---|
| Hugging Face (impira) | https://ai.purlabs.xyz/hugging-face/documents/scan | Docs (opens in a new tab) |
Image Generation
Generate AI-generated images based on provided input.
| Owner | Link | Docs link |
|---|---|---|
| Sberbank | https://ai.purlabs.xyz/v1/images/generations | Docs |
Moderations
Scan text to make sure it's Safe For Work and doesn't contain anything inapropriate.
| Owner | Link | Docs link |
|---|---|---|
| Moderations | https://ai.purlabs.xyz/openai/moderations | Docs |