# ALLMHUB大模型API接口文档 ## Docs - [【首次对接必读】对接指引](https://allmhub-api.apifox.cn/8034377m0.md): - [本站BaseURL](https://allmhub-api.apifox.cn/8034378m0.md): - [API KEY获取](https://allmhub-api.apifox.cn/8034379m0.md): - [在线调试说明](https://allmhub-api.apifox.cn/8034380m0.md): - [身份验证](https://allmhub-api.apifox.cn/8034381m0.md): - [发出请求](https://allmhub-api.apifox.cn/8034382m0.md): - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [聊天完成对象](https://allmhub-api.apifox.cn/8034383m0.md): - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [聊天完成块对象](https://allmhub-api.apifox.cn/8034384m0.md): - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [Responses格式与Chat格式对比](https://allmhub-api.apifox.cn/8034389m0.md): - 聊天格式(Chat) > OpenAI官方格式 > 嵌入(Embeddings) [嵌入对象](https://allmhub-api.apifox.cn/8034385m0.md): - 图像模型(Images) > Nano Banana [对接必读](https://allmhub-api.apifox.cn/8034390m0.md): - 图像模型(Images) > Nano Banana > 官方格式(只支持vip渠道) [官方接口文档](https://allmhub-api.apifox.cn/8034391m0.md): - 图像模型(Images) > GPT-4o-Image [对接必读](https://allmhub-api.apifox.cn/8034392m0.md): - 图像模型(Images) > Midjourney [对接必读](https://allmhub-api.apifox.cn/8034393m0.md): - 视频模型(Videos) > Sora [对接必读](https://allmhub-api.apifox.cn/8034386m0.md): - 视频模型(Videos) > Veo [对接必读](https://allmhub-api.apifox.cn/8034387m0.md): - 视频模型(Videos) > Midjourney [对接必读](https://allmhub-api.apifox.cn/8034388m0.md): ## API Docs - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天补全 (流式)](https://allmhub-api.apifox.cn/405681056e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天补全 (非流) ](https://allmhub-api.apifox.cn/405681057e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天识图 (流式)](https://allmhub-api.apifox.cn/405681058e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天识图 (流式) base64](https://allmhub-api.apifox.cn/405681059e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天识图 (非流) ](https://allmhub-api.apifox.cn/405681060e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [官方Function calling调用](https://allmhub-api.apifox.cn/405681061e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建聊天函数调用](https://allmhub-api.apifox.cn/405681062e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [创建结构化输出](https://allmhub-api.apifox.cn/405681063e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Chat) [控制推理模型努力程度](https://allmhub-api.apifox.cn/405681064e0.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建模型响应](https://allmhub-api.apifox.cn/405681101e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建函数调用](https://allmhub-api.apifox.cn/405681102e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建模型响应(流式返回)](https://allmhub-api.apifox.cn/405681103e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建模型响应 (控制思考长度)](https://allmhub-api.apifox.cn/405681104e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建网络搜索](https://allmhub-api.apifox.cn/405681105e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建模型响应 gpt-5启用思考](https://allmhub-api.apifox.cn/405681106e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 聊天(Responses) [创建函数调用 Copy](https://allmhub-api.apifox.cn/405681107e0.md): https://platform.openai.com/docs/api-reference/responses/create - 聊天格式(Chat) > OpenAI官方格式 > 音频(Audio) [创建语音](https://allmhub-api.apifox.cn/405681065e0.md): - 聊天格式(Chat) > OpenAI官方格式 > 音频(Audio) [创建转录](https://allmhub-api.apifox.cn/405681066e0.md): - 聊天格式(Chat) > OpenAI官方格式 > 音频(Audio) [创建翻译](https://allmhub-api.apifox.cn/405681067e0.md): - 聊天格式(Chat) > OpenAI官方格式 > 嵌入(Embeddings) [创建嵌入](https://allmhub-api.apifox.cn/405681068e0.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - 聊天格式(Chat) > Gemini官方格式 [普通对话](https://allmhub-api.apifox.cn/405681069e0.md): - 聊天格式(Chat) > Gemini官方格式 [开启思考](https://allmhub-api.apifox.cn/405681070e0.md): - 聊天格式(Chat) > Gemini官方格式 [流式请求](https://allmhub-api.apifox.cn/405681071e0.md): - 聊天格式(Chat) > Gemini官方格式 [结构化输出](https://allmhub-api.apifox.cn/405681072e0.md): - 聊天格式(Chat) > Gemini官方格式 [函数调用](https://allmhub-api.apifox.cn/405681073e0.md): - 聊天格式(Chat) > Gemini官方格式 [PDF识别](https://allmhub-api.apifox.cn/405681074e0.md): - 聊天格式(Chat) > Gemini官方格式 [图像识别](https://allmhub-api.apifox.cn/405681075e0.md): - 聊天格式(Chat) > Gemini官方格式 [视频识别](https://allmhub-api.apifox.cn/405681076e0.md): Gemini支持小于20MB的视频base64文件直接传输识别,目前暂不支持超出20MB的视频文件识别,如需建议使用直连Key。 - 聊天格式(Chat) > Claude官方格式 [普通对话](https://allmhub-api.apifox.cn/405681077e0.md): - 聊天格式(Chat) > Claude官方格式 [流式请求](https://allmhub-api.apifox.cn/405681078e0.md): - 聊天格式(Chat) > Claude官方格式 [开启思考](https://allmhub-api.apifox.cn/405681079e0.md): - 聊天格式(Chat) > Claude官方格式 [图像识别](https://allmhub-api.apifox.cn/405681080e0.md): - 聊天格式(Chat) > Claude官方格式 [函数调用](https://allmhub-api.apifox.cn/405681081e0.md): - 聊天格式(Chat) > Claude官方格式 [内置联网](https://allmhub-api.apifox.cn/405681082e0.md): 仅官方api、claudecode支持,aws渠道api、逆向api暂不支持 - 聊天格式(Chat) > 【供参考】完整传参示例 [OpenAI对话格式 - chat](https://allmhub-api.apifox.cn/405681083e0.md): 根据对话历史创建模型响应。支持流式和非流式响应。 - 聊天格式(Chat) > 【供参考】完整传参示例 [OpenAI对话格式 - responses](https://allmhub-api.apifox.cn/405681084e0.md): OpenAI Responses API,用于创建模型响应。 - 聊天格式(Chat) > 【供参考】完整传参示例 [Claude对话格式 - messages](https://allmhub-api.apifox.cn/405681085e0.md): Anthropic Claude Messages API 格式的请求。 - 聊天格式(Chat) > 【供参考】完整传参示例 [Gemini对话格式 - v1beta](https://allmhub-api.apifox.cn/405681086e0.md): 代理 Gemini API 请求。 - 图像模型(Images) > Nano Banana > Chat格式 [Banana文生图](https://allmhub-api.apifox.cn/405681108e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > Nano Banana > Chat格式 [Banana图生图](https://allmhub-api.apifox.cn/405681109e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > Nano Banana > Images格式 [创建图像](https://allmhub-api.apifox.cn/405681110e0.md): 在给定提示的情况下创建图像。[参考OpenAI官方Images文档](https://platform.openai.com/docs/guides/images)。 - 图像模型(Images) > Nano Banana > Images格式 [图像编辑](https://allmhub-api.apifox.cn/405681111e0.md): 在给定原始图像和提示的情况下创建编辑或扩展图像。 - 图像模型(Images) > Nano Banana > 官方格式(只支持vip渠道) [Google Gemini生图](https://allmhub-api.apifox.cn/405681112e0.md): nano-banana模型建议优先使用英文提示词,成功率更高。 - 图像模型(Images) > Nano Banana > 官方格式(只支持vip渠道) [Google Gemini改图](https://allmhub-api.apifox.cn/405681113e0.md): nano-banana模型建议优先使用英文提示词,成功率更高。 - 图像模型(Images) > Nano Banana > 官方格式(只支持vip渠道) [Google Gemini生图 流式](https://allmhub-api.apifox.cn/405681114e0.md): nano-banana模型建议优先使用英文提示词,成功率更高。 - 图像模型(Images) > Nano Banana > 官方格式(只支持vip渠道) [Google Gemini改图 流式](https://allmhub-api.apifox.cn/405681115e0.md): nano-banana模型建议优先使用英文提示词,成功率更高。 - 图像模型(Images) > GPT-4o-Image > Chat格式 [GPT-4o文生图](https://allmhub-api.apifox.cn/405681116e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > GPT-4o-Image > Chat格式 [GPT-4o图生图](https://allmhub-api.apifox.cn/405681117e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > GPT-4o-Image > Images格式 [创建图像](https://allmhub-api.apifox.cn/405681118e0.md): 在给定提示的情况下创建图像。[参考OpenAI官方Images文档](https://platform.openai.com/docs/guides/images)。 - 图像模型(Images) > GPT-4o-Image > Images格式 [图像编辑](https://allmhub-api.apifox.cn/405681119e0.md): 在给定原始图像和提示的情况下创建编辑或扩展图像。 - 图像模型(Images) > Midjourney > 任务提交 [绘图变化(UPSCALE; VARIATION; REROLL)](https://allmhub-api.apifox.cn/405681120e0.md): - 图像模型(Images) > Midjourney > 任务提交 [执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等)](https://allmhub-api.apifox.cn/405681121e0.md): - 图像模型(Images) > Midjourney > 任务提交 [绘图变化-simple(UPSCALE; VARIATION; REROLL)](https://allmhub-api.apifox.cn/405681122e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交Blend任务(图生图)](https://allmhub-api.apifox.cn/405681123e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交Describe任务(图生文)](https://allmhub-api.apifox.cn/405681124e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交Imagine任务(文生图、文图生图)](https://allmhub-api.apifox.cn/405681125e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交Modal(提交局部重绘、ZOOM)](https://allmhub-api.apifox.cn/405681126e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交Shorten任务(prompt分析)](https://allmhub-api.apifox.cn/405681127e0.md): - 图像模型(Images) > Midjourney > 任务提交 [提交swap_face任务](https://allmhub-api.apifox.cn/405681128e0.md): - 图像模型(Images) > Midjourney > 任务查询 [根据ID列表查询任务](https://allmhub-api.apifox.cn/405681129e0.md): - 图像模型(Images) > Midjourney > 任务查询 [指定ID获取任务](https://allmhub-api.apifox.cn/405681130e0.md): - 图像模型(Images) > Midjourney > 任务查询 [获取任务图片的seed](https://allmhub-api.apifox.cn/405681131e0.md): - 图像模型(Images) > 即梦seedream > Chat格式 [即梦4文生图](https://allmhub-api.apifox.cn/405681132e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > 即梦seedream > Chat格式 [即梦4图生图](https://allmhub-api.apifox.cn/405681133e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 图像模型(Images) > 即梦seedream > Images格式 [创建图像](https://allmhub-api.apifox.cn/405681134e0.md): 在给定提示的情况下创建图像。[参考OpenAI官方Images文档](https://platform.openai.com/docs/guides/images)。 - 图像模型(Images) > 即梦seedream > Images格式 [图像编辑](https://allmhub-api.apifox.cn/405681135e0.md): 在给定原始图像和提示的情况下创建编辑或扩展图像。 - 视频模型(Videos) > Sora > OpenAI官方格式 [视频生成](https://allmhub-api.apifox.cn/405681087e0.md): - 视频模型(Videos) > Sora > OpenAI官方格式 [任务查询进度](https://allmhub-api.apifox.cn/405681088e0.md): - 视频模型(Videos) > Sora > Chat格式 [文生sora视频](https://allmhub-api.apifox.cn/405681089e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 视频模型(Videos) > Sora > Chat格式 [图生sora视频](https://allmhub-api.apifox.cn/405681090e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 视频模型(Videos) > Veo > OpenAI官方格式 [视频生成](https://allmhub-api.apifox.cn/405681091e0.md): - 视频模型(Videos) > Veo > OpenAI官方格式 [任务查询进度](https://allmhub-api.apifox.cn/405681092e0.md): - 视频模型(Videos) > Veo > Chat格式 [文生veo视频](https://allmhub-api.apifox.cn/405681093e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 视频模型(Videos) > Veo > Chat格式 [图生veo视频](https://allmhub-api.apifox.cn/405681094e0.md): 官方文档:https://platform.openai.com/docs/api-reference/chat/create - 视频模型(Videos) > Midjourney [MJ视频生成](https://allmhub-api.apifox.cn/405681095e0.md): - 视频模型(Videos) > Midjourney [指定ID获取任务](https://allmhub-api.apifox.cn/405681096e0.md): - 系统管理API [令牌余额查询](https://allmhub-api.apifox.cn/405681097e0.md): 令牌查询数值换算关系:500000 = $1 - 系统管理API [用户余额查询](https://allmhub-api.apifox.cn/405681098e0.md): Authorization不是API KEY - 系统管理API [获取令牌支持模型](https://allmhub-api.apifox.cn/405681099e0.md): - 系统管理API [获取令牌支持模型-gemini](https://allmhub-api.apifox.cn/405681100e0.md): ## Schemas - Schemas [ErrorResponse](https://allmhub-api.apifox.cn/238764269d0.md): - Schemas [Blend提交参数](https://allmhub-api.apifox.cn/238764270d0.md): - Schemas [ChatCompletionRequest](https://allmhub-api.apifox.cn/238764271d0.md): - Schemas [ChatCompletionResponse](https://allmhub-api.apifox.cn/238764272d0.md): - Schemas [Describe提交参数](https://allmhub-api.apifox.cn/238764273d0.md): - Schemas [ResponsesRequest](https://allmhub-api.apifox.cn/238764274d0.md): - Schemas [ResponsesResponse](https://allmhub-api.apifox.cn/238764275d0.md): - Schemas [Filter](https://allmhub-api.apifox.cn/238764276d0.md): - Schemas [ClaudeRequest](https://allmhub-api.apifox.cn/238764277d0.md): - Schemas [ClaudeResponse](https://allmhub-api.apifox.cn/238764278d0.md): - Schemas [Imagine提交参数](https://allmhub-api.apifox.cn/238764279d0.md): - Schemas [EmbeddingRequest](https://allmhub-api.apifox.cn/238764280d0.md): - Schemas [EmbeddingResponse](https://allmhub-api.apifox.cn/238764281d0.md): - Schemas [Message«string»](https://allmhub-api.apifox.cn/238764282d0.md): - Schemas [ImageGenerationRequest](https://allmhub-api.apifox.cn/238764283d0.md): - Schemas [ImageResponse](https://allmhub-api.apifox.cn/238764284d0.md): - Schemas [Modal提交参数](https://allmhub-api.apifox.cn/238764285d0.md): - Schemas [AudioTranscriptionResponse](https://allmhub-api.apifox.cn/238764286d0.md): - Schemas [SpeechRequest](https://allmhub-api.apifox.cn/238764287d0.md): - Schemas [Shorten提交参数](https://allmhub-api.apifox.cn/238764288d0.md): - Schemas [RerankRequest](https://allmhub-api.apifox.cn/238764289d0.md): - Schemas [RerankResponse](https://allmhub-api.apifox.cn/238764290d0.md): - Schemas [SwapFace提交参数](https://allmhub-api.apifox.cn/238764291d0.md): - Schemas [VideoRequest](https://allmhub-api.apifox.cn/238764292d0.md): - Schemas [CheckActivationDTO](https://allmhub-api.apifox.cn/238764293d0.md): - Schemas [GeminiRequest](https://allmhub-api.apifox.cn/238764294d0.md): - Schemas [任务](https://allmhub-api.apifox.cn/238764295d0.md): - Schemas [Discord账号](https://allmhub-api.apifox.cn/238764296d0.md): - Schemas [GeminiResponse](https://allmhub-api.apifox.cn/238764297d0.md): - Schemas [Map«string,object»](https://allmhub-api.apifox.cn/238764298d0.md): - Schemas [OpenAIVideoError](https://allmhub-api.apifox.cn/238764299d0.md): - Schemas [任务查询参数](https://allmhub-api.apifox.cn/238764300d0.md): - Schemas [Message«Map«string,object»»](https://allmhub-api.apifox.cn/238764301d0.md): - Schemas [Message](https://allmhub-api.apifox.cn/238764302d0.md): - Schemas [Message«Void»](https://allmhub-api.apifox.cn/238764303d0.md): - Schemas [MessageContent](https://allmhub-api.apifox.cn/238764304d0.md): - Schemas [变化任务提交参数](https://allmhub-api.apifox.cn/238764305d0.md): - Schemas [Option](https://allmhub-api.apifox.cn/238764306d0.md): - Schemas [ToolCall](https://allmhub-api.apifox.cn/238764307d0.md): - Schemas [Pageable](https://allmhub-api.apifox.cn/238764308d0.md): - Schemas [Tool](https://allmhub-api.apifox.cn/238764309d0.md): - Schemas [变化任务提交参数-simple](https://allmhub-api.apifox.cn/238764310d0.md): - Schemas [Page«Map«string,object»»](https://allmhub-api.apifox.cn/238764311d0.md): - Schemas [ResponseFormat](https://allmhub-api.apifox.cn/238764312d0.md): - Schemas [Page«任务»](https://allmhub-api.apifox.cn/238764313d0.md): - Schemas [Usage](https://allmhub-api.apifox.cn/238764314d0.md): - Schemas [执行动作参数](https://allmhub-api.apifox.cn/238764315d0.md): - Schemas [Sort](https://allmhub-api.apifox.cn/238764316d0.md): - Schemas [ClaudeMessage](https://allmhub-api.apifox.cn/238764317d0.md): - Schemas [TaskQueryDTO](https://allmhub-api.apifox.cn/238764318d0.md): - Schemas [提交结果](https://allmhub-api.apifox.cn/238764319d0.md): - Schemas [可执行按钮](https://allmhub-api.apifox.cn/238764320d0.md): - Schemas [可执行按钮_1](https://allmhub-api.apifox.cn/238764321d0.md): - Schemas [账号筛选条件](https://allmhub-api.apifox.cn/238764322d0.md): - Schemas [激活服务参数](https://allmhub-api.apifox.cn/238764323d0.md): - Schemas [账号修改参数](https://allmhub-api.apifox.cn/238764324d0.md): - Schemas [账号创建参数](https://allmhub-api.apifox.cn/238764325d0.md): - Schemas [账号查询参数](https://allmhub-api.apifox.cn/238764326d0.md):