API reference
API reference
Endpoints, request fields and response schemas for calling NeonAPI.
Choose a protocol supported by your model. These endpoints do not imply that every account or model has access to every capability. Copy the exact model ID from Models & pricing.
Authentication
Use your NeonAPI API key in Authorization: Bearer YOUR_API_KEY. Keep the key in a trusted application environment.
A supported endpoint still requires an available compatible model. Model-specific options and limits take precedence.
Download the user API OpenAPI specification
| API | Endpoint |
|---|---|
| List models | GET /v1/models |
| List Gemini models | GET /v1beta/models |
| Chat Completions | POST /v1/chat/completions |
| Responses | POST /v1/responses |
| Compact a conversation | POST /v1/responses/compact |
| Claude Messages | POST /v1/messages |
| Gemini Generate Content | POST /v1beta/models/{model}:generateContent |
| Qwen image generation | POST /v1/images/generations |
| Qwen image editing | POST /v1/images/edits |
| Text to speech | POST /v1/audio/speech |
| Audio transcription | POST /v1/audio/transcriptions |
| Audio translation | POST /v1/audio/translations |
| Create a video task | POST /v1/videos |
| Get video task status | GET /v1/videos/{task_id} |
| Download video content | GET /v1/videos/{task_id}/content |
| Embeddings | POST /v1/embeddings |
| Rerank documents | POST /v1/rerank |
| Content moderation | POST /v1/moderations |
| Realtime WebSocket | GET /v1/realtime |
| Legacy text completions | POST /v1/completions |
See errors and streaming & tasks.