Complete guide to integrating with Nextcraftai. Access the world's leading AI models through a single unified API.
Get up and running in minutes with a simple API call.
curl -X POST https://api.nextcraftai.com/v1/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-2.5-flash",
"messages": [
{
"role": "user",
"prompt": "Hello, world!"
}
]
}'Replace YOUR_API_KEY with your actual API key from the dashboard.
Getting Started
Learn the basics and make your first API call
Authentication
Understand API key authentication
Endpoints
Explore available API endpoints
Models
Browse supported AI models
Error Handling
Learn how to handle API errors
Code Examples
Ready-to-use code snippets
Tools, guides, and support to level up your integration.