Skip to content

不支持接口

以下接口路由已存在,但当前未启用对应能力。调用时返回 OpenAI 风格错误,HTTP 状态码为 501

接口列表

接口SDK 方法状态
POST /v1/completionsclient.completions.create()暂不支持
POST /v1/images/generationsclient.images.generate()暂不支持
POST /v1/audio/transcriptionsclient.audio.transcriptions.create()暂不支持
GET /v1/filesclient.files.list()暂不支持
POST /v1/filesclient.files.create()暂不支持
GET /v1/batchesclient.batches.list()暂不支持
POST /v1/batchesclient.batches.create()暂不支持
POST /v1/moderationsclient.moderations.create()暂不支持

错误格式

json
{
  "error": {
    "message": "files is not enabled on this gateway",
    "type": "unsupported_feature",
    "code": "unsupported_feature"
  }
}

边界

边界说明
重试不建议重试 unsupported_feature
文件上传当前没有文件上传、文件引用、文件生命周期管理
图片/音频生成当前不提供统一生成接口
后续启用若后续开放,会新增独立文档页说明参数和计费边界

示例

bash
curl -i https://llm.lytokens.com/v1/files \
  -H 'Authorization: Bearer sk-gtw-REPLACE_ME'

OpenAI-compatible API documentation.