Neocortex Logo

Web API

AI characters for any stack

Custom engine, browser game, mobile app or backend service: call the same characters you design in Neocortex over a simple REST API.

  • Free plan
  • No credit card
  • Unity, Unreal, Godot, Web SDK and Web API
Cora, the Neocortex AI character, waving hello
  • 5

    ways to integrate

    Unity, Unreal, Godot, Web SDK, Web API

  • 20+

    languages

    set per character

  • 10 s

    to clone a voice

    or design one from text

  • €0

    to start

    free plan and editor testing

Powered by Industry Leaders

CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants
CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants

Get started

From zero to a talking character in Web API

  1. 1

    Design your character

    Build and test it in the visual editor.

  2. 2

    Create an API key

    Generate a key in the dashboard and keep it on your server.

  3. 3

    Send a message

    POST to the chat endpoint with your character and the player's message, and read the reply.

Requirements

  • Any language that can make HTTPS requests
  • A free Neocortex account and API key
Read the Web API docs

What you get

Built for Web API developers

01

Chat

Send a message and get the character's reply with context.

02

Streaming TTS

Speech streamed as it is generated.

03

Speech-to-text

Transcribe player audio in the character's language.

04

Sessions

Session IDs and paged history keep conversations going.

05

Actions and emotions

Replies carry actions and emotion tags for your game logic.

06

Any engine

Custom engines, web, mobile and backend services.

07

Group scenes

Send up to six character ids to one chat call, and the reply lists each speaker in order, or omit the message for an ambient turn.

08

Perception and world events

Send up to 40 entities and 20 events per request, and actions come back with the id of the object they target.

09

Usage per player

A read-only usage endpoint reports credit status and per-player or per-character usage against the caps you set.

How it works

Characters you design, not prompts you babysit

  • Personality, emotion, knowledge and world are nodes you connect, not prompts you rewrite.
  • Intents and actions turn what a player says into something your game does.
  • Test every character in the browser for free before it reaches your engine.
neocortex.link/dashboard/characters
Neocortex visual character editor: emotion, personality, knowledge, language and voice nodes connected to an agent in a world, with intents mapped to in-game actions

What Our Customers Say

Discover what creators are saying about building with Neocortex.

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

From idea to playable character in a weekend

Game-jam teams use Neocortex to put talking, acting AI characters into playable games within a single weekend.

Read a game jam story

FAQ

Neocortex for Web API: common questions

What can I build with the Neocortex Web API?

AI NPCs in custom engines or browser games, chat companions in web and mobile apps, and backend services that coordinate AI characters.

How do I authenticate?

Send your API key in the x-api-key header. Keep keys on your server, never in a shipped client.

Does the API support voice?

Yes. The API includes streaming text-to-speech and speech-to-text.

Is there a free tier?

Yes. Neocortex has a free plan with monthly credits.

Can I run a quiz or game show through the API?

Yes. POST /v3/quiz runs a whole quiz hosted by one of your characters: send a character id and a question set id once, then forward whatever the player said. Order, retries, hints and scoring come from the question set and are worked out on the server, and points never come from the model. Quizzes need a Team plan.

Can I call the Neocortex API directly from a browser game?

No. Your API key must never reach a web page. Use the Web SDK, whose server proxy holds the key and gives the browser a client and chat components.

How do I stop one player from using all my credits?

Send a playerId with each chat request and set a per-player credit limit in the dashboard. Calls for a player over the limit are refused with HTTP 429 and the code player_credit_limit.

What happens when my credits run out?

Chat calls return HTTP 402 with the code insufficient_credits. The usage endpoint reports a status of ok, low or empty, so your game can switch to scripted lines before that happens.

Comparing tools?

How Neocortex compares for Web API teams

Make your first API call

Free plan, no credit card. Build a character in the browser and talk to it in minutes.