DEVELOPER API

Build with neww.ai

OpenAI-compatible API. Chat completions, image generation, speech, RAG, memory, agents — all in one endpoint.

Try Developers with sample data

Developers is most useful with your own data — but you can preview it now with our sample workspace.

Try sample

Quick Start

cURL
curl -X POST https://api.neww.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "Hello, neww.ai!"}
    ],
    "stream": false
  }'

API Playground

Test the chat completions endpoint live

Response will appear here...

API Endpoints

POST/v1/chat/completionsChat
GET/v1/modelsModels
POST/v1/images/generationsImages
POST/v1/audio/speechAudio
POST/v1/audio/transcriptionsAudio
GET/v1/knowledgeKnowledge
POST/v1/knowledge/createKnowledge
GET/v1/memoriesMemory
POST/v1/memories/addMemory
GET/v1/toolsTools
POST/v1/tools/createTools
GET/v1/promptsPrompts
GET/v1/chatsChats
GET/v1/filesFiles
POST/v1/filesFiles

SDKs & Libraries

🐍

Python

pip install newwai
📦

JavaScript

npm install @newwai/sdk
🔷

Go

go get github.com/newwai/go-sdk

neww.ai API is OpenAI-compatible. Existing OpenAI SDK code works with zero changes.