Gengxi API Developer Docs
OpenAI-compatible clients
Connect SDKs and tools that support a custom OpenAI-compatible endpoint.
Connection settings
| Setting | Value |
|---|---|
| Base URL | https://api.gengxi.ai/v1 |
| Authorization | Bearer YOUR_API_KEY |
Common endpoints
- GET /models
- POST /responses
- POST /chat/completions
SDK-style example
typescriptCopy
const client = new OpenAI({
baseURL: 'https://api.gengxi.ai/v1',
apiKey: process.env.GENGXI_API_KEY,
})
const response = await client.responses.create({
model: 'YOUR_MODEL',
input: 'Hello',
})Compatibility scope
This setup is intended for clients that allow a custom OpenAI-compatible endpoint. Available resources and fields still depend on the selected model, group, and compatibility route.