Skip to main content

Content Generation

The Content Generation service provides chat completions using a variety of AI models, with usage tracking and streaming support. For image generation, see the Images section.

Concepts​

Models​

neuroflash provides access to models from OpenAI, Anthropic, Google, and Mistral. Model availability depends on your pricing plan (Free, Pro, or Business).

Word Usage​

Each completion tracks word usage. Input words are counted, and output words are estimated from token counts. Usage is tracked per workspace.

Streaming​

Chat completions support Server-Sent Events (SSE) streaming for real-time response delivery.

Multi-turn Messages​

For multi-turn conversations, pass the full message history in each request. The API is stateless — it does not persist conversation state on the server.

Endpoints​

Content Generation​

Base path: https://app.neuroflash.com/api/ds-prototypes/content_generation

MethodEndpointDescription
POST/chat/completionsGenerate a chat completion

Model Selection​

Base path: https://app.neuroflash.com/api/ds-prototypes/model_selection

MethodEndpointDescription
GET/modelsList available AI models