Getting Started

Getting Started

Welcome to Nextcraftai! This guide will help you get up and running with our API in just a few minutes.

1

Create an Account

Sign up for a free account and get access to a 7-day trial with starter plan features.

2

Generate API Key

Navigate to your dashboard and create a new API key. Keep it secure!

3

Make Your First Request

Use the example code below to send your first API request. Replace YOUR_API_KEY with your actual key.

Quick Example

Try this example to make your first 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. Learn more about authentication and endpoints.

Next Steps