Skip to main content
AnyFast provides a unified API to access AI models from multiple providers — including chat, image generation, and video generation. This guide gets you up and running with your first API call.

Get started in three steps

Step 1: Create an account

Sign up at anyfast.ai to create your account.

Step 2: Get your API key

Head to the Console to generate your API key. Keep it safe — you’ll use it to authenticate every request.

Step 3: Make your first API call

Use your API key to call a chat model. The example below uses Claude 3.5 Sonnet via the OpenAI-compatible endpoint:
curl https://www.anyfast.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-3-5-sonnet-20241022",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'
Configure your channel first. Each model maps to a specific channel. You must enable the corresponding channel in the console before your API calls will succeed. Go to the Console to check your channel settings.

Next steps

API Reference

Authentication, base URL, and error codes.

Model APIs

Browse all available models by provider.