Oryvi AI
Developer Quickstart

API Documentation

Base URL: https://api.oryvi-ai.com/v1

1. Python Quickstart

# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oryvi-ai.com/v1",
    api_key="oryvi_live_sec_..."
)

response = client.chat.completions.create(
    model="oryvi-neuralmesh-fast",
    messages=[{"role": "user", "content": "Stream token test"}],
    stream=True
)

for chunk in response:
    print(chunk.choices[0].delta.content or "", end="", flush=True)

2. cURL Direct Streaming

curl https://api.oryvi-ai.com/v1/chat/completions \
  -H "Authorization: Bearer oryvi_live_sec_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "oryvi-neuralmesh-fast",
    "messages": [{"role": "user", "content": "Explain quantum states in 1 sentence."}],
    "stream": true
  }'