Quickstart Guide

Follow these steps to start using KrosAI’s API for English-Yoruba translations and conversations.

Step 1: Get Your API Key

  1. Create an account at KrosAI Platform
  2. Navigate to the API Keys section
  3. Generate a new API key
  4. Copy and securely store your API key

Step 2: Make Your First API Call

Here’s a simple example using cURL to translate text from English to Yoruba:

curl https://api.krosai.com/v1/completions \
  -H 'accept: application/json' \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Translate to Yoruba: Hello, how are you?",
    "model": "KrosMLingual1.0.1"
  }'