# HenAPI 接口文档 ## Docs - [介绍](https://henapi.apifox.cn/doc-6581434.md): - [项目说明](https://henapi.apifox.cn/doc-6581435.md): - [导言](https://henapi.apifox.cn/doc-6581436.md): - [身份验证](https://henapi.apifox.cn/doc-6581437.md): - [发出请求](https://henapi.apifox.cn/doc-6581438.md): - [参数详情](https://henapi.apifox.cn/doc-6581439.md): - 聊天(Chat) [Chat Completions 对象](https://henapi.apifox.cn/doc-6581440.md): - 聊天(Chat) [Chat Completions 对象块](https://henapi.apifox.cn/doc-6581441.md): - 自动补全(Completions) [Completions 对象](https://henapi.apifox.cn/doc-6581442.md): - 嵌入(Embeddings) [嵌入对象](https://henapi.apifox.cn/doc-6581443.md): - 微调(Fine-tuning) [ 微调作业对象](https://henapi.apifox.cn/doc-6581444.md): - 微调(Fine-tuning) [微调作业事件对象](https://henapi.apifox.cn/doc-6581445.md): - 图像(Images) [README](https://henapi.apifox.cn/doc-6581446.md): - 图像(Images) [图像对象](https://henapi.apifox.cn/doc-6581447.md): - 模型(Models) [模型对象](https://henapi.apifox.cn/doc-6581448.md): - 文件(Files) [README](https://henapi.apifox.cn/doc-6581449.md): - 文件(Files) [文件对象](https://henapi.apifox.cn/doc-6581450.md): - 审查(Moderations) [调节对象](https://henapi.apifox.cn/doc-6581451.md): - 助手测试版(AssistantsBeta) [辅助对象](https://henapi.apifox.cn/doc-6581452.md): - 助手测试版(AssistantsBeta) [辅助文件对象](https://henapi.apifox.cn/doc-6581453.md): - 线程数(Threads) [线程对象](https://henapi.apifox.cn/doc-6581454.md): - 留言(Messages) [消息对象](https://henapi.apifox.cn/doc-6581455.md): - 留言(Messages) [消息文件对象](https://henapi.apifox.cn/doc-6581456.md): - 运行(Runs) [运行对象](https://henapi.apifox.cn/doc-6581457.md): - 运行(Runs) [运行步骤对象](https://henapi.apifox.cn/doc-6581458.md): ## API Docs - 音频(Audio) [创建语音](https://henapi.apifox.cn/api-291641743.md): - 音频(Audio) [创建转录](https://henapi.apifox.cn/api-291641744.md): - 音频(Audio) [创建翻译](https://henapi.apifox.cn/api-291641745.md): - 聊天(Chat) [创建 Chat Completions](https://henapi.apifox.cn/api-291641746.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 自动补全(Completions) [创建 Completions](https://henapi.apifox.cn/api-291641747.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 嵌入(Embeddings) [创建嵌入](https://henapi.apifox.cn/api-291641748.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - 微调(Fine-tuning) [创建微调作业](https://henapi.apifox.cn/api-291641749.md): 创建一个作业,根据给定的数据集微调指定的模型。 - 微调(Fine-tuning) [列出微调作业](https://henapi.apifox.cn/api-291641750.md): 列出您组织的微调工作 - 微调(Fine-tuning) [检索微调作业](https://henapi.apifox.cn/api-291641751.md): 获取有关微调工作的信息。 - 微调(Fine-tuning) [取消微调](https://henapi.apifox.cn/api-291641752.md): 立即取消微调工作。 - 微调(Fine-tuning) [列出微调事件](https://henapi.apifox.cn/api-291641753.md): 获取微调作业的状态更新。 - 图像(Images) [创建图像](https://henapi.apifox.cn/api-291641754.md): [图片](https://platform.openai.com/docs/api-reference/images) - 图像(Images) [创建图片编辑](https://henapi.apifox.cn/api-291641755.md): 在给定原始图像和提示的情况下创建编辑或扩展图像。 - 图像(Images) [创建图像变体](https://henapi.apifox.cn/api-291641756.md): 创建给定图像的变体。 - 模型(Models) [列出模型](https://henapi.apifox.cn/api-291641757.md): 列出当前可用的型号,并提供每个型号的基本信息,例如所有者和可用性。 - 模型(Models) [检索模型](https://henapi.apifox.cn/api-291641758.md): 检索模型实例,提供有关模型的基本信息,例如所有者和权限。 - 模型(Models) [删除微调模型](https://henapi.apifox.cn/api-291641759.md): 删除微调模型。您必须在组织中具有所有者角色才能删除模型。 - 文件(Files) [列出文件](https://henapi.apifox.cn/api-291641760.md): - 文件(Files) [上传文件](https://henapi.apifox.cn/api-291641761.md): 上传可跨各种端点/功能使用的文件。一个组织上传的所有文件大小最大可达 100 GB。 - 文件(Files) [删除文件](https://henapi.apifox.cn/api-291641762.md): 删除文件。 - 文件(Files) [检索文件](https://henapi.apifox.cn/api-291641763.md): 返回有关特定文件的信息。 - 文件(Files) [检索文件内容](https://henapi.apifox.cn/api-291641764.md): - 审查(Moderations) [创建内容审核](https://henapi.apifox.cn/api-291641765.md): 对文本是否违反 OpenAI 的内容政策进行分类 - 助手测试版(AssistantsBeta) [创建助手](https://henapi.apifox.cn/api-291641766.md): 创建一个带有模型和说明的助手。 - 助手测试版(AssistantsBeta) [检索助手](https://henapi.apifox.cn/api-291641767.md): - 助手测试版(AssistantsBeta) [修改助手](https://henapi.apifox.cn/api-291641768.md): - 助手测试版(AssistantsBeta) [删除助手](https://henapi.apifox.cn/api-291641769.md): - 助手测试版(AssistantsBeta) [列出助手](https://henapi.apifox.cn/api-291641770.md): 返回助手列表。 - 助手测试版(AssistantsBeta) [创建辅助文件](https://henapi.apifox.cn/api-291641771.md): [通过将File](https://platform.openai.com/docs/api-reference/files)附加到[助手](https://platform.openai.com/docs/api-reference/assistants)来创建助手文件。 - 助手测试版(AssistantsBeta) [检索助手文件](https://henapi.apifox.cn/api-291641772.md): 检索 AssistantFile。 - 助手测试版(AssistantsBeta) [删除辅助文件](https://henapi.apifox.cn/api-291641773.md): - 助手测试版(AssistantsBeta) [列出助手文件](https://henapi.apifox.cn/api-291641774.md): 返回辅助文件的列表。 - 线程数(Threads) [创建线程](https://henapi.apifox.cn/api-291641775.md): 创建一个线程。 - 线程数(Threads) [检索线程](https://henapi.apifox.cn/api-291641776.md): - 线程数(Threads) [修改线程](https://henapi.apifox.cn/api-291641777.md): 修改后的与指定ID匹配的[线程对象。](https://platform.openai.com/docs/api-reference/threads/object) - 线程数(Threads) [删除话题](https://henapi.apifox.cn/api-291641778.md): 删除一个线程。 - 留言(Messages) [创建消息](https://henapi.apifox.cn/api-291641779.md): - 留言(Messages) [检索消息](https://henapi.apifox.cn/api-291641780.md): 与指定ID匹配的[消息](https://platform.openai.com/docs/api-reference/threads/messages/object)对象。 - 留言(Messages) [修改留言](https://henapi.apifox.cn/api-291641781.md): 修改后的[消息](https://platform.openai.com/docs/api-reference/threads/messages/object)对象。 - 留言(Messages) [列出消息](https://henapi.apifox.cn/api-291641782.md): - 留言(Messages) [检索消息文件](https://henapi.apifox.cn/api-291641783.md): - 留言(Messages) [列出消息文件](https://henapi.apifox.cn/api-291641784.md): - 运行(Runs) [创建运行](https://henapi.apifox.cn/api-291641785.md): 一个[运行](https://platform.openai.com/docs/api-reference/runs/object)对象。 - 运行(Runs) [检索运行](https://henapi.apifox.cn/api-291641786.md): 与指定ID匹配的[运行](https://platform.openai.com/docs/api-reference/runs/object)对象。 - 运行(Runs) [修改运行](https://henapi.apifox.cn/api-291641787.md): 与指定 ID 匹配的修改后的[运行对象。](https://platform.openai.com/docs/api-reference/runs/object) - 运行(Runs) [列表运行](https://henapi.apifox.cn/api-291641788.md): [运行](https://platform.openai.com/docs/api-reference/runs/object)对象的列表。 - 运行(Runs) [提交工具输出以运行](https://henapi.apifox.cn/api-291641789.md): 当运行具有`status: "requires_action"`和`required_action.type`is时`submit_tool_outputs`,此端点可用于在工具调用全部完成后提交输出。所有输出必须在单个请求中提交。 - 运行(Runs) [取消运行](https://henapi.apifox.cn/api-291641790.md): 取消运行`in_progress`。 - 运行(Runs) [创建线程并运行](https://henapi.apifox.cn/api-291641791.md): 创建一个线程并在一个请求中运行它。 - 运行(Runs) [检索运行步骤](https://henapi.apifox.cn/api-291641792.md): 与指定 ID 匹配的[运行步骤](https://platform.openai.com/docs/api-reference/runs/step-object)对象。 - 运行(Runs) [列出运行步骤](https://henapi.apifox.cn/api-291641793.md): - 已弃用-音频(Audio) [创建转录](https://henapi.apifox.cn/api-291641794.md): 了解如何将音频转换为文本。 - 已弃用-音频(Audio) [创建翻译](https://henapi.apifox.cn/api-291641795.md): 将音频翻译成英文。