This guide gets you from an empty project to your first successful API call in a couple of minutes. You will create an API key, install the official OpenAI SDK, and send one request to NagaAI using theDocumentation Index
Fetch the complete documentation index at: https://docs.naga.ac/llms.txt
Use this file to discover all available pages before exploring further.
Responses API.
Create an API key
- Open the NagaAI Dashboard.
- Go to API Keys.
- Create a new key.
- Copy it and store it securely.
Install the SDK
NagaAI acts as a drop-in replacement for OpenAI. You can use their official libraries.
Send your first request
Initialize the client with the NagaAI
base_url and your new API key.For new LLM apps, start with Responses API. It works well for simple text generation now and gives you a clean path to streaming, tools, structured outputs, and multimodal input later.Next Steps
Authentication
Learn which key to use for inference requests and account endpoints.
Choose an API
Decide when to use Responses, Images, Audio, Embeddings, Moderations, or a compatibility API.
Responses API
Keep building on the same API with streaming, tools, structured outputs, and multimodal input.
Models
Choose a model based on what you are building and what access your account has.