Getting Started with TAO

From zero to translating in under 5 minutes

Quick Start Guide

1

Create Your Account

Sign up for a free account to get started. No credit card required.

You'll get 10,000 free tokens per month (~5,000 words) with access to all 100+ languages.

2

Get Your API Key

Navigate to your dashboard and generate an API key.

Dashboard → API Keys → Generate New Key

Keep your API key secure. You can generate multiple keys for different environments.

3

Make Your First Translation

Use your API key to translate your first text.

curl -X POST https://api.toanother.one/api/v1/translate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello world",
    "source_language": "en",
    "target_language": "es"
  }'

Response:

{ "translated_text": "Hola mundo", "request_id": "uuid-here", "quality_tier": "standard" }

Integration Examples

import requests

API_KEY = "your_api_key_here"
API_URL = "https://api.toanother.one/api/v1/translate"

def translate(text, source_lang, target_lang):
    headers = {
        "Authorization": f"Bearer {API_KEY}",
        "Content-Type": "application/json"
    }
    
    data = {
        "text": text,
        "source_language": source_lang,
        "target_language": target_lang
    }
    
    response = requests.post(API_URL, json=data, headers=headers)
    return response.json()

# Example usage
result = translate("Hello world", "en", "es")
print(result["translated_text"])  # "Hola mundo"

Advanced Features

Setting Up Your Glossary

Protect your brand names and technical terms from being translated.

# Create a glossary set
POST /api/v1/glcv/sets
{
  "name": "Brand Terms",
  "priority": 1000
}

# Add terms to protect
POST /api/v1/glcv/sets/{set_id}/concepts
{
  "name": "Azure DevOps",
  "source_language": "en",
  "aliases": ["AzureDevOps", "Azure-DevOps"],
  "targets": {
    "es": "Azure DevOps",  // Keep unchanged
    "fr": "Azure DevOps",
    "de": "Azure DevOps"
  }
}

Batch Translation

Translate multiple segments efficiently while maintaining context.

POST /api/v1/translate/batch
{
  "segments": [
    {"text": "Welcome to our platform."},
    {"text": "Start your free trial today."},
    {"text": "No credit card required."}
  ],
  "source_language": "en",
  "target_language": "es",
  "maintain_context": true
}

Language Auto-Detection

Let TAO automatically detect the source language.

POST /api/v1/translate
{
  "text": "Bonjour le monde",
  "source_language": "auto",  // Auto-detect
  "target_language": "en"
}

// Response includes detected language
{
  "translated_text": "Hello world",
  "detected_language": "fr",
  "confidence": 0.99
}

Best Practices

Use Glossaries for Consistency

Define your key terms once and maintain consistency across all translations. This is especially important for brand names, product features, and technical terminology.

Batch Related Content

When translating related segments (like paragraphs from the same document), use batch translation to maintain context and consistency.

Monitor Your Usage

Keep track of your character usage through the dashboard. Set up alerts before hitting limits to ensure uninterrupted service.

Use API Keys Securely

Never expose API keys in client-side code. Use environment variables and rotate keys regularly for security.

Need Help?

API Documentation

Complete API reference with examples

View Docs →

Email Support

Get help from our team

Contact Us →

Quick Start

Try it right from your dashboard

Go to Dashboard →