API Overview
Qiyiguo AI provides a unified standard API that works across multiple model providers. By only changing the Base URL and credentials, you can reuse most of your existing OpenAI-compatible code.
Basics
- Base URL:
https://api.manysky.top/v1 - Authentication: HTTP header
Authorization: Bearer <API_KEY> - Content-Type:
application/json
Common Endpoints
- Chat Completions:
POST /chat/completions - Embeddings:
POST /embeddings - Images (text-to-image):
POST /images/generations
Request Example
POST /chat/completions
Authorization: Bearer <API_KEY>
Content-Type: application/json
{
"model": "gpt-4.1",
"messages": [
{ "role": "user", "content": "Hello" }
]
}
General Recommendations
- Log request IDs and latency to help with troubleshooting and usage analysis
- Refer to Error Codes & Retry and Supported Models when designing your integration