Quickstart Guide
Follow these steps to start using KrosAI’s API for English-Yoruba translations and conversations.
Step 1: Get Your API Key
Create an account at KrosAI Platform
Navigate to the API Keys section
Generate a new API key
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"
}'
Last updated