Skip to content

Introduction

The relaxAI API has 1:1 compatibility with the OpenAI API, allowing seamless integration using standard HTTP requests. Developers can interact with the relaxAI API via raw HTTP API requests or by leveraging OpenAI’s official Python bindings, the Node.js library.

To install the official OpenAI Python bindings, use the following command:

Terminal window
pip install openai

To install the official OpenAI Node.js library, execute the following command within your Node.js project directory:

Terminal window
npm install openai

The relaxAI API provides RESTful access to advanced natural language processing models. This documentation outlines the available endpoints, required request parameters, and expected response structures for effective API interaction.