← Back to ai

Omnyrex ai · Docs

Get started with the ai API, SDKs, guides and reference.

Introduction

Access the Omnyrex foundation models.

import { Omnyrex } from "@omnyrex/ai";
const ai = new Omnyrex({ apiKey: process.env.OMX_KEY });
const res = await ai.chat({ messages: [{ role: "user", content: "Hello" }] });