Skip to main content

文件上传 API

API 主机: https://api.omniall.ai · 鉴权 Authorization: Bearer sk-... · Content-Type multipart/form-data。 Body 字段:file(必需)。常见大小限制为 10MB(以站点配置为准)。 响应包含 id、object、url、filename、bytes、created_at。可将返回的 url 作为图像 / 视频 / 音频接口的参考资源。
完整字段见 API Reference → 平台 API → 文件上传。