Get Started
Quickstart
start in few steps
Horay.ai provides one click access to top open-source models, try it in playground!
Horay.ai API Key Creation
1
Account Creation
Create a Horay.ai account. click here
2
API Keys Creation
Create API Keys, click here . Must keep it in a secure location.
Start
a text model helps you to get started by python. if you want to explore more, please refer to the API Reference.
1
development environment
- Python version >=3.7.1
- install the OpenAI
pip install --upgrade openai
2
Enjoy
Sending the first API Request.
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.horay.ai/v1")
response = client.chat.completions.create(
model='meta-llama/Meta-Llama-3.1-8B-Instruct',
messages=[
{'role': 'user',
'content': "Unlock your AI Creativity with Horay.ai's Blazing Fast, Affordable and Production Ready API, What impact will it have on the industry?"}
],
stream=True
)
for chunk in response:
print(chunk.choices[0].delta.content)
3
Contact US
If you have any questions, welcome to feedback through the contact support@horay.ai.