# SmallAI API接口 中文文档 ## Docs - [发出请求](https://docs.smallai.asia/doc-4693925.md): - 模型接口 [完成对象](https://docs.smallai.asia/doc-4693926.md): - 模型接口 [Midjourney](https://docs.smallai.asia/folder-51976839.md): - 模型接口 [Realtime (实时语音、对话)](https://docs.smallai.asia/folder-58635468.md): - 帮助中心 [常见问题及解决办法](https://docs.smallai.asia/doc-4693927.md): - Python配置方式 [Python基础对话](https://docs.smallai.asia/doc-6189763.md): - Python配置方式 [Python使用gpt-4o识别图片](https://docs.smallai.asia/doc-6189764.md): - Python配置方式 [Python使用Claude识别图片](https://docs.smallai.asia/doc-6189765.md): ## API Docs - 模型接口 > 聊天接口(Chat) [智谱清言GLM](https://docs.smallai.asia/api-270066552.md): - 模型接口 > 聊天接口(Chat) [Udio(Chat格式)](https://docs.smallai.asia/api-191453939.md): 文生视频模型,已统一接口,可直接chat格式调用:luma-vip-video(VIP版,极速、免排队、无水印)、pika-text-to-video - 模型接口 > 聊天接口(Chat) [gpt-4-all(分析图片)](https://docs.smallai.asia/api-191453940.md): - 模型接口 > 聊天接口(Chat) [文生视频(luma)](https://docs.smallai.asia/api-191453946.md): 文生视频模型,已统一接口,可直接chat格式调用:luma-vip-video(VIP版,极速、免排队、无水印)、pika-text-to-video - 模型接口 > 聊天接口(Chat) [Jina AI 重排序格式](https://docs.smallai.asia/api-194628475.md): 官方文档:https://jina.ai/reranker - 模型接口 > 聊天接口(Chat) [gpt-4-all(生成图片)](https://docs.smallai.asia/api-191453941.md): - 模型接口 > 聊天接口(Chat) [stable-diffusion(OpenAI图像格式)](https://docs.smallai.asia/api-191453938.md): image_size Available options: 1024x1024, 512x1024, 768x512, 768x1024, 1024x576, 576x1024 - 模型接口 > 聊天接口(Chat) [GPTs对话](https://docs.smallai.asia/api-191453942.md): gpts目前已支持自动识别 - 模型接口 > 聊天接口(Chat) [ 搜索相关 GPTs](https://docs.smallai.asia/api-191453943.md): - 模型接口 > 聊天接口(Chat) [查询 GPTs 详情](https://docs.smallai.asia/api-191453944.md): - 模型接口 > 聊天接口(Chat) [批量查询 GPTs 详情](https://docs.smallai.asia/api-191453945.md): - 模型接口 > Suno-API [生成歌曲](https://docs.smallai.asia/api-191453948.md): 分为3种模式 - 模型接口 > Suno-API [生成歌词](https://docs.smallai.asia/api-191453949.md): - 模型接口 > Suno-API [查询单个任务](https://docs.smallai.asia/api-191453950.md): - 模型接口 > 自动补全接口(Completions) [内容补全接口](https://docs.smallai.asia/api-191453951.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 模型接口 > 自动补全接口(Completions) [内容补全接口](https://docs.smallai.asia/api-270071442.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 模型接口 > 图像接口(Images) [DALL·E 3](https://docs.smallai.asia/api-191453952.md): [图片](https://platform.openai.com/docs/api-reference/images) - 模型接口 > 图像接口(Images) [文生视频(runway)](https://docs.smallai.asia/api-191453953.md): 文生视频模型,已统一接口,可直接chat格式调用:runway-video、runway-vip-video(更快无水印) - 模型接口 > 向量生成接口(Embeddings) [创建嵌入](https://docs.smallai.asia/api-191453954.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - 模型接口 > 向量生成接口(Embeddings) [创建文本嵌入](https://docs.smallai.asia/api-270071443.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - 模型接口 > 音频接口(Audio) [创建翻译](https://docs.smallai.asia/api-191453956.md): 将音频翻译成英文。 - 模型接口 > 音频接口(Audio) [TTS文本转语音](https://docs.smallai.asia/api-191453957.md): 了解如何将文本转换为音频。 - 模型接口 > 音频接口(Audio) [文本转语音(TTS)](https://docs.smallai.asia/api-270071444.md): 了解如何将文本转换为音频。 - 模型接口 > 音频接口(Audio) [语音转文本(STT)whisper-1](https://docs.smallai.asia/api-270071445.md): 了解如何将音频转换为文本。 - 模型接口 > OpenAI接口(Chat) [列出模型](https://docs.smallai.asia/api-270071447.md): 列出并描述 API 中可用的各种模型。您可以参考[模型](https://platform.openai.com/docs/models)文档以了解可用的模型以及它们之间的区别。 - 模型接口 > Anthropic Claude [文本生成(v1/messages)](https://docs.smallai.asia/api-270071448.md): Claude原生格式请求 - 模型接口 > Anthropic Claude [文本生成(强制返回思考)](https://docs.smallai.asia/api-270071449.md): Claude原生格式请求,强制思考请使用模型后缀-thinking,如claude-sonnet-4-20250514-thinking - 模型接口 > Midjourney [提交Imagine任务](https://docs.smallai.asia/api-270071450.md): - 模型接口 > Midjourney [提交Blend任务](https://docs.smallai.asia/api-270071451.md): - 模型接口 > Midjourney [提交Describe任务](https://docs.smallai.asia/api-270071452.md): - 模型接口 > Midjourney [提交Modal](https://docs.smallai.asia/api-270071453.md): - 模型接口 > Midjourney [提交swap_face任务](https://docs.smallai.asia/api-270071454.md): - 模型接口 > Midjourney [执行Action动作](https://docs.smallai.asia/api-270071455.md): - 模型接口 > Midjourney [上传文件到discord](https://docs.smallai.asia/api-270071456.md): - 模型接口 > Midjourney [根据ID列表查询任务](https://docs.smallai.asia/api-270071457.md): - 模型接口 > Midjourney [指定ID获取任务](https://docs.smallai.asia/api-270071458.md): - 模型接口 > Midjourney [获取任务图片的seed](https://docs.smallai.asia/api-270071459.md): - 模型接口 > GPTs 相关 [文本生成](https://docs.smallai.asia/api-270071461.md): 本中转所有模型均已适配v1/chat/completions - 模型接口 > GPTs 相关 [图片理解](https://docs.smallai.asia/api-270071462.md): - 模型接口 > GPTs 相关 [文生视频(可灵)](https://docs.smallai.asia/api-270071460.md): 文生视频模型,已统一接口,可直接chat格式调用:runway-video、runway-vip-video(更快无水印) - 模型接口 > GPTs 相关 [图片编辑(网页版)](https://docs.smallai.asia/api-270071463.md): - 模型接口 > GPTs 相关 [函数调用](https://docs.smallai.asia/api-270071464.md): 官方结构化输出 - 模型接口 > GPTs 相关 [response_format](https://docs.smallai.asia/api-270071465.md): 官方结构化输出 - 模型接口 > 文生音乐 > Suno [生成歌曲(API格式)](https://docs.smallai.asia/api-270071466.md): 分为3种模式 - 模型接口 > 文生音乐 > Suno [生成歌词(API格式)](https://docs.smallai.asia/api-270071467.md): - 模型接口 > 文生音乐 > Suno [查询单个任务(API格式)](https://docs.smallai.asia/api-270071468.md): - 模型接口 > 文生音乐 > Suno [N测试](https://docs.smallai.asia/api-270071469.md): 官方结构化输出 - 模型接口 > 文生音乐 > Udio [Audio接口(输出)](https://docs.smallai.asia/api-270071470.md): - 模型接口 > 文生视频 [文本生成](https://docs.smallai.asia/api-270071473.md): 已修改为OpenAI格式进行中转 - 模型接口 > 文生视频 [联网搜索](https://docs.smallai.asia/api-270071472.md): - 模型接口 > 文生视频 [图片理解](https://docs.smallai.asia/api-270071474.md): 已修改为OpenAI格式进行中转 - 模型接口 > 文生视频 [Audio接口(输入)](https://docs.smallai.asia/api-270071471.md): - 模型接口 > 文生图接口 [flux](https://docs.smallai.asia/api-270071475.md): image_size Available options: 1024x1024, 512x1024, 768x512, 768x1024, 1024x576, 576x1024 - 模型接口 > 文生图接口 [文本生成](https://docs.smallai.asia/api-270071479.md): - 模型接口 > 文生图接口 [flux.1.1-pro](https://docs.smallai.asia/api-270071476.md): Flux AI 文生图模型,效果堪比 Midjourney,碾压 StableDiffusion;生成图片接口 - 模型接口 > 文生图接口 [ideogram](https://docs.smallai.asia/api-270071477.md): 模型名称:ideogram-v3-turbo、ideogram-v3-balanced、ideogram-v3-quality - 模型接口 > 文生图接口 [recraftv3](https://docs.smallai.asia/api-270071478.md): model 支持 - 模型接口 > 文生图接口 [dall-e-3 携带参考图](https://docs.smallai.asia/api-270071480.md): 仅部分模型支持 图片 参考 - 模型接口 > 审查(Moderations) [创建内容审核](https://docs.smallai.asia/api-270071481.md): 对文本是否违反 OpenAI 的内容政策进行分类 - 模型接口 > OpenAI [图片生成(gpt-image-1)](https://docs.smallai.asia/api-306435699.md): 根据文本提示创建图片。 - 模型接口 > OpenAI [图片生成(dall-e-3)](https://docs.smallai.asia/api-306435700.md): [图片](https://platform.openai.com/docs/api-reference/images) - 模型接口 > OpenAI [图片编辑(edits接口)](https://docs.smallai.asia/api-306435701.md): 根据一个或多个原始图片和提示创建编辑或扩展的图片。此端点支持 dall-e-2 和 gpt-image-1 模型。 - 模型接口 > OpenAI [Web search(联网搜索)](https://docs.smallai.asia/api-306435702.md): - 模型接口 > OpenAI [Responses API](https://docs.smallai.asia/api-306435703.md): - 模型接口 > OpenAI [Codex](https://docs.smallai.asia/api-306435704.md): 官方文档:https://openai.com/index/introducing-codex/ - 模型接口 > OpenAI [批量创建嵌入](https://docs.smallai.asia/api-306435705.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - 模型接口 > OpenAI [语音转文本(STT)gpt-4o-transcribe](https://docs.smallai.asia/api-306435706.md): 官方文档:https://platform.openai.com/docs/api-reference/audio/createTranscription - 模型接口 > OpenAI [音频翻译 ](https://docs.smallai.asia/api-306435707.md): 将音频翻译成英文。 - 模型接口 > OpenAI [gpt-image-1(网页版)](https://docs.smallai.asia/api-306435708.md): https://platform.openai.com/docs/api-reference/images/create - 模型接口 > OpenAI [图片变体生成](https://docs.smallai.asia/api-306435709.md): 创建给定图片的变体。 - 模型接口 > xAI [图片生成](https://docs.smallai.asia/api-306435710.md): - 模型接口 > Anthropic [函数调用](https://docs.smallai.asia/api-306435711.md): 官方结构化输出请使用令牌分组中的VIP和SVIP渠道 - 模型接口 > Anthropic [Web search(联网搜索)](https://docs.smallai.asia/api-306435712.md): 请使用令牌分组中的【全模型专线渠道】 - 模型接口 > Google [联网搜索](https://docs.smallai.asia/api-306435713.md): - 模型接口 > Google [文本生成(强制返回思考)](https://docs.smallai.asia/api-306435714.md): 和Claude不同,默认情况下Gemini的思考模型会自动决定要不要思考 - 模型接口 > Google [全能多模态版本](https://docs.smallai.asia/api-306435715.md): 【gemini-2.5-flash-all】多模态版本的 gemini 模型,支持文件,视频,图片等分析,支持画图,支持实时联网 - 模型接口 > Google [图片生成(2.0 Flash)](https://docs.smallai.asia/api-306435716.md): - 模型接口 > Google [图片生成 (Imagen 3)](https://docs.smallai.asia/api-306435717.md): - 模型接口 > Google [函数调用](https://docs.smallai.asia/api-306435718.md): - 模型接口 > Google [图片理解](https://docs.smallai.asia/api-306435719.md): - 模型接口 > Google [音频理解](https://docs.smallai.asia/api-306435720.md): - 模型接口 > Google [视频理解](https://docs.smallai.asia/api-306435721.md): - 模型接口 > Google [视频生成 /chat](https://docs.smallai.asia/api-306435722.md): veo3 谷歌官方最新的视频生成模型,生成的视频带有声音,目前全球独一家带有声音的视频模型 - 模型接口 > Google [视频生成-Veo 3](https://docs.smallai.asia/api-306435723.md): - 模型接口 > Realtime (实时语音、对话) [Realtime API](https://docs.smallai.asia/websocket-3641483.md): - 模型接口 > Rerank API [Cohere 重排序格式](https://docs.smallai.asia/api-306435724.md): 重要提示:cohere 的 Rerank 模型接口和 Jina的Rerank模型接口格式 是一样的。 - 模型接口 > Rerank API [Xinference 重排序格式](https://docs.smallai.asia/api-306435725.md): 重要提示:Xinference的rerank响应结构将被格式化为Jina的rerank响应结构,使用方式和Jina的rerank相同。对于Dify等客户端用户:在配置时请选择 Jina AI 作为供应商类型,而不是Xinference,并使用Xinference支持的模型名称。