Getting Started
Gateway Overview
Core concepts, authentication, and routing rules for the Encore gateway.
Encore is a unified AI gateway that provides a single access layer for Claude, Codex, Gemini, and other model providers. It gives you one authentication pattern, one base URL structure, and predictable routing rules.
What You Can Do With the Gateway
- Manage access to different model providers through one gateway
- Use one API key pattern across clients and SDKs
- Connect through compatible clients and SDKs quickly
- Switch between Claude, Codex, Gemini, and other capabilities under one setup
What You Need Before Integration
Before sending requests, prepare the following:
- A valid API key
- The correct client or SDK configuration entry
- The target model or client type you plan to use
Base URL
Standard gateway base URL:
https://api.stillhappy.cnAntigravity base URL:
https://api.stillhappy.cn/antigravityAuthentication
Encore uses Bearer Token authentication:
Authorization: Bearer YOUR_API_KEYRouting and Endpoints
Please distinguish between the following:
- Base URL: what you configure in an SDK or compatible client
- Endpoint: the full HTTP address used when sending direct requests
Scenario A: Using an official SDK or compatible client
In this case, you usually only need the base URL.
- Standard gateway:
https://api.stillhappy.cn - Antigravity gateway:
https://api.stillhappy.cn/antigravity
Scenario B: Sending raw HTTP requests
When using curl or a custom HTTP client, use the full endpoint.
https://api.stillhappy.cn/v1/messageshttps://api.stillhappy.cn/v1/chat/completionshttps://api.stillhappy.cn/v1beta/models/gemini-2.5-pro:generateContent
What To Read Next
- Claude / Claude Code: Claude Integration Guide
- Codex: Codex Integration Guide
Contact
If you need help during integration, contact:
aiencore@stillhappy.cn
