HorayAI home page
Search...
⌘K
Support
Get Started
Search...
Navigation
API Documentation
Introduction
Documentation
API Reference
API Documentation
Introduction
UserInfo
GET
Get User Info
Models
GET
Get Model List
Chat Completions
POST
Chat Completions
Completions
POST
Create completion
Image
POST
Image Generation
On this page
Authentication
API Documentation
Introduction
Horay.ai API enables you to use various Language, Image and Embedding Models by the API Key.
Authentication
The request sent to Horay.ai must include an
Authorization
header.
The header must include a valid Bearer Token and be encoded as JSON with the “Content-Type: application/json” header.
A sample header should look like this:
Copy
authorization
:
Bearer
<
API_KEY
>
Get User Info
Assistant
Responses are generated using AI and may contain mistakes.