Authentication

    All API endpoints require authentication via an API key.

    Getting an API Key

    1. Sign in to the VALSEA Dashboard
    2. Navigate to Settings > API Keys
    3. Click Generate New Key
    4. Copy and securely store your key — it is only shown once

    Using Your API Key

    Authentication is performed via the Authorization header with a Bearer token:

    curl -X POST https://api.valsea.ai/v1/translations \
      -H "Authorization: Bearer vl_abc123..." \
      -H "Content-Type: application/json" \
      -d '{"model": "valsea-translate", "text": "Hello", "target": "chinese"}'
    

    Credits

    Each API call consumes credits from your account. Different endpoints have different credit costs.

    • Check your balance at Dashboard > Credits
    • Purchase additional credits via the dashboard
    • Credit consumption is tracked per-endpoint in the usage dashboard

    Was this page helpful?