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
| Method | Endpoint | Description |
|---|---|---|
POST | /chat/completions | Generate a chat completion |
Model Selection
Base path: https://app.neuroflash.com/api/ds-prototypes/model_selection
| Method | Endpoint | Description |
|---|---|---|
GET | /models | List available AI models |