Quickstart: Your First Request
This guide will walk you through the essential steps to get your API key and make your first request to the NagaAI API in under five minutes.
Step 1: Get Your API Key
First, you need to get your unique API key.
- Go to the NagaAI Dashboard.
- Navigate to the API Keys section in the dashboard menu.
- Click "Create API key".
- Copy the key and save it somewhere secure. For security reasons, you will not be able to see the key again.
Your API key grants full access to your NagaAI account and balance. Treat it like a password. Never share it, expose it in client-side code, or commit it to public repositories.
Step 2: Try the Playground
The easiest way to start exploring NagaAI is through the Playground. It’s a web-based interface where you can test different models and features without writing a single line of code. Here's how to get started:
- Go to https://naga.ac/platform/playground
- Explore all the models available to you!
Here is a small example of Image Generation in Playground.
The Playground is perfect for both general users who want to see what the AI can do and for developers who want to quickly prototype and test prompts before integrating them into an application.
Next Steps
Congratulations! You've got your API key and know your way around the Playground. Here’s what you can do next: