# 风语API教程文档 ## Docs - [引言](https://fengyu.apifox.cn/doc-6840296.md): - [在线调试说明](https://fengyu.apifox.cn/doc-6840297.md): - [发出请求](https://fengyu.apifox.cn/doc-6840298.md): - 站内基本操作 [API 快速开始指南](https://fengyu.apifox.cn/doc-6840299.md): - 站内基本操作 [联系客服](https://fengyu.apifox.cn/doc-6840300.md): - 站内基本操作 [分组详细表格](https://fengyu.apifox.cn/doc-6840301.md): - 站内基本操作 [分组的特殊性及价格差异](https://fengyu.apifox.cn/doc-6840302.md): - 站内基本操作 [如何新建指定分组的令牌](https://fengyu.apifox.cn/doc-6840303.md): - 站内基本操作 [API Key 售卖及额度查询服务](https://fengyu.apifox.cn/doc-6840305.md): - 站内基本操作 [免费AI聊天项目导航](https://fengyu.apifox.cn/doc-6840306.md): - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [聊天完成对象](https://fengyu.apifox.cn/doc-6840307.md): - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [聊天完成块对象](https://fengyu.apifox.cn/doc-6840308.md): - Chat模型 > ChatGpt 接口 > ChatGPT自动补全(Completions) [完成对象](https://fengyu.apifox.cn/doc-6840309.md): - Chat模型 > ChatGpt 接口 > ChatGPT嵌入(Embeddings) [嵌入对象](https://fengyu.apifox.cn/doc-6840310.md): - Chat模型 > Anthropic Claude 接口 [聊天完成对象](https://fengyu.apifox.cn/doc-6840311.md): - Chat模型 > Anthropic Claude 接口 [聊天完成块对象](https://fengyu.apifox.cn/doc-6840312.md): - 文生图模型 [README](https://fengyu.apifox.cn/doc-6840313.md): - 文生图模型 [图像对象](https://fengyu.apifox.cn/doc-6840314.md): - 文生视频模型 > Kling 快手可灵 [Callback协议](https://fengyu.apifox.cn/doc-6840315.md): - 文生音乐 Suno [说明](https://fengyu.apifox.cn/doc-6840316.md): - 文生音乐 Suno [参数](https://fengyu.apifox.cn/doc-6840317.md): - Python配置方式 [python openai官方库(使用AutoGPT,langchain等)](https://fengyu.apifox.cn/doc-6840318.md): - Python配置方式 [python 连续对话](https://fengyu.apifox.cn/doc-6840319.md): - Python配置方式 [python 使用 语音转文本](https://fengyu.apifox.cn/doc-6840320.md): - Python配置方式 [python 使用文本转语音](https://fengyu.apifox.cn/doc-6840321.md): - Python配置方式 [python 使用Embeddings 向量化](https://fengyu.apifox.cn/doc-6840322.md): - Python配置方式 [python 调用DALL·E](https://fengyu.apifox.cn/doc-6840323.md): - Python配置方式 [python简单调用 openai function-calling demo](https://fengyu.apifox.cn/doc-6840324.md): - Python配置方式 [python 简单langchain 调用openai demo](https://fengyu.apifox.cn/doc-6840325.md): - Python配置方式 [python llama_index 配置](https://fengyu.apifox.cn/doc-6840326.md): - Python配置方式 [Python使用gpt-4o识别图片-本地图片](https://fengyu.apifox.cn/doc-6840327.md): - Python配置方式 [python 库流式输出](https://fengyu.apifox.cn/doc-6840328.md): - Python配置方式 [gpt realtime模型调用](https://fengyu.apifox.cn/doc-6840329.md): - Python配置方式 [python request 请求 流式输出demo](https://fengyu.apifox.cn/doc-6840330.md): - Python配置方式 [python 使用gpt-image-1 创建编辑图片](https://fengyu.apifox.cn/doc-6840331.md): - Python配置方式 [Python基础对话](https://fengyu.apifox.cn/doc-6840332.md): - Python配置方式 [Python使用gpt-4o识别图片](https://fengyu.apifox.cn/doc-6840333.md): - Python配置方式 [Python使用Claude识别图片](https://fengyu.apifox.cn/doc-6840334.md): - nodejs 配置方式 [nodejs 基础对话](https://fengyu.apifox.cn/doc-6840335.md): - php配置方式 [php使用图片编辑demo](https://fengyu.apifox.cn/doc-6840336.md): - 各种插件/软件使用教程 [CherryStudio调用claude MCP](https://fengyu.apifox.cn/doc-6840337.md): - 各种插件/软件使用教程 [Cherry Studio配置教程](https://fengyu.apifox.cn/doc-6840338.md): - 各种插件/软件使用教程 [dify添加模型](https://fengyu.apifox.cn/doc-6840339.md): - 各种插件/软件使用教程 [cline 配置教程](https://fengyu.apifox.cn/doc-6840340.md): - 各种插件/软件使用教程 [CLAUDE DEV 配置教程](https://fengyu.apifox.cn/doc-6840341.md): - 各种插件/软件使用教程 [chatgpt-on-wechat 配置教程](https://fengyu.apifox.cn/doc-6840342.md): - 各种插件/软件使用教程 [沉浸式翻译 设置gpt翻译](https://fengyu.apifox.cn/doc-6840343.md): - 各种插件/软件使用教程 [aider 配置教程](https://fengyu.apifox.cn/doc-6840345.md): - 各种插件/软件使用教程 [Cursor 配置教程](https://fengyu.apifox.cn/doc-6840346.md): - 各种插件/软件使用教程 [chatgpt GPT Academic 学术优化配置gpt教程](https://fengyu.apifox.cn/doc-6840348.md): - 各种插件/软件使用教程 [zotero gpt 配置方法](https://fengyu.apifox.cn/doc-6840349.md): - 各种插件/软件使用教程 [浏览器插件ChatGPT Sidebar](https://fengyu.apifox.cn/doc-6840350.md): - 各种插件/软件使用教程 [ChatBox](https://fengyu.apifox.cn/doc-6840351.md): - 各种插件/软件使用教程 [开源gpt_academic](https://fengyu.apifox.cn/doc-6840352.md): - 各种插件/软件使用教程 [OMATE配置方法(仅移动端)](https://fengyu.apifox.cn/doc-6847670.md): - 帮助中心 [AI返回字段: 思考相关](https://fengyu.apifox.cn/doc-6840353.md): - 帮助中心 [HTTP状态码及其含义](https://fengyu.apifox.cn/doc-6840354.md): ## API Docs - Chat模型 > ChatGpt 接口 > ChatGPT音频(Audio) [GPT-4o-audio](https://fengyu.apifox.cn/api-307398541.md): - Chat模型 > ChatGpt 接口 > ChatGPT音频(Audio) [创建语音](https://fengyu.apifox.cn/api-307398542.md): - Chat模型 > ChatGpt 接口 > ChatGPT音频(Audio) [创建转录](https://fengyu.apifox.cn/api-307398543.md): - Chat模型 > ChatGpt 接口 > ChatGPT音频(Audio) [创建翻译 (不支持)](https://fengyu.apifox.cn/api-307398544.md): - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天补全 (流式)](https://fengyu.apifox.cn/api-307398545.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天补全 (非流) ](https://fengyu.apifox.cn/api-307398546.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天识图 (流式)](https://fengyu.apifox.cn/api-307398547.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天识图 (流式) best64](https://fengyu.apifox.cn/api-307398548.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天识图 (非流) ](https://fengyu.apifox.cn/api-307398549.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天创作图 (非流)](https://fengyu.apifox.cn/api-307398550.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [官方Function calling调用](https://fengyu.apifox.cn/api-307398551.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [官方N测试](https://fengyu.apifox.cn/api-307398552.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [列出模型](https://fengyu.apifox.cn/api-307398553.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建聊天函数调用 (只能非流)](https://fengyu.apifox.cn/api-307398554.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [创建结构化输出](https://fengyu.apifox.cn/api-307398555.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [控制推理模型努力程度](https://fengyu.apifox.cn/api-307398556.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT聊天(Chat) [新请求格式 (开发中)](https://fengyu.apifox.cn/api-307398557.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT自动补全(Completions) [创建完成](https://fengyu.apifox.cn/api-307398558.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT嵌入(Embeddings) [创建嵌入](https://fengyu.apifox.cn/api-307398559.md): 获取给定输入的矢量表示,机器学习模型和算法可以轻松使用该表示。 - Chat模型 > ChatGpt 接口 > ChatGPT绘画 [创建](https://fengyu.apifox.cn/api-307398560.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > ChatGpt 接口 > ChatGPT绘画 [编辑](https://fengyu.apifox.cn/api-307398561.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > Anthropic Claude 接口 [创建聊天补全 (流式) [原生格式]](https://fengyu.apifox.cn/api-307398562.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > Anthropic Claude 接口 [创建聊天补全 (流式)](https://fengyu.apifox.cn/api-307398563.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > Anthropic Claude 接口 [创建聊天补全 (非流) ](https://fengyu.apifox.cn/api-307398564.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > Anthropic Claude 接口 [创建聊天识图 (流式)](https://fengyu.apifox.cn/api-307398565.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > Anthropic Claude 接口 [创建聊天识图 (非流)](https://fengyu.apifox.cn/api-307398566.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > 谷歌Gemini [gemini 原生格式](https://fengyu.apifox.cn/api-307398567.md): - Chat模型 > 谷歌Gemini [gemini图片创作接口](https://fengyu.apifox.cn/api-307398568.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > 谷歌Gemini [聊天接口](https://fengyu.apifox.cn/api-307398569.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - Chat模型 > 谷歌Gemini [识图接口](https://fengyu.apifox.cn/api-307398570.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 文生图模型 > MJ绘画 [上传图片](https://fengyu.apifox.cn/api-307398575.md): - 文生图模型 > MJ绘画 [提交Imagine任务](https://fengyu.apifox.cn/api-307398576.md): - 文生图模型 > MJ绘画 [根据任务ID 查询任务状态](https://fengyu.apifox.cn/api-307398577.md): - 文生图模型 > MJ绘画 [根据ID列表查询任务](https://fengyu.apifox.cn/api-307398578.md): - 文生图模型 > MJ绘画 [获取任务图片的seed](https://fengyu.apifox.cn/api-307398579.md): - 文生图模型 > MJ绘画 [执行Action动作](https://fengyu.apifox.cn/api-307398580.md): - 文生图模型 > MJ绘画 [提交Blend任务](https://fengyu.apifox.cn/api-307398581.md): - 文生图模型 > MJ绘画 [提交Describe任务](https://fengyu.apifox.cn/api-307398582.md): - 文生图模型 > MJ绘画 [提交Shorten任务](https://fengyu.apifox.cn/api-307398583.md): - 文生图模型 > MJ绘画 [提交Modal](https://fengyu.apifox.cn/api-307398584.md): - 文生图模型 > MJ绘画 [提交swap_face任务](https://fengyu.apifox.cn/api-307398585.md): - 文生图模型 > ideogram 绘画 [Generate 3.0(文生图)Generate ](https://fengyu.apifox.cn/api-307398586.md): 使用 Ideogram 3.0 模型,根据给定的提示和可选参数同步生成图像 - 文生图模型 > ideogram 绘画 [Generate 3.0(图片编辑)Edit](https://fengyu.apifox.cn/api-307398587.md): 使用 Ideogram 3.0 模型,根据给定的提示和可选参数同步生成图像 - 文生图模型 > ideogram 绘画 [Generate 3.0(图片重制)Remix ](https://fengyu.apifox.cn/api-307398588.md): 使用 Ideogram 3.0 模型,根据给定的提示和可选参数同步生成图像 - 文生图模型 > ideogram 绘画 [Generate 3.0(图片重构)Reframe ](https://fengyu.apifox.cn/api-307398589.md): 使用 Ideogram 3.0 模型,根据给定的提示和可选参数同步生成图像 - 文生图模型 > ideogram 绘画 [Generate 3.0(替换背景) Replace Background](https://fengyu.apifox.cn/api-307398590.md): 使用 Ideogram 3.0 模型,根据给定的提示和可选参数同步生成图像 - 文生图模型 > ideogram 绘画 [ideogram(文生图)](https://fengyu.apifox.cn/api-307398591.md): Generates images synchronously based on a given prompt and optional parameters. - 文生图模型 > ideogram 绘画 [Remix(混合图)](https://fengyu.apifox.cn/api-307398592.md): - 文生图模型 > ideogram 绘画 [Upscale(放大高清)](https://fengyu.apifox.cn/api-307398593.md): - 文生图模型 > ideogram 绘画 [Describe(描述)](https://fengyu.apifox.cn/api-307398594.md): - 文生图模型 [DALL·E 3](https://fengyu.apifox.cn/api-307398571.md): [图片](https://platform.openai.com/docs/api-reference/images) - 文生图模型 [Flux(OpenAI dall-e-3格式)](https://fengyu.apifox.cn/api-307398572.md): [图片](https://platform.openai.com/docs/api-reference/images) - 文生图模型 [Stable-Diffusion](https://fengyu.apifox.cn/api-307398573.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 文生图模型 [ideogram](https://fengyu.apifox.cn/api-307398574.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 文生视频模型 > luma 视频生成 > 官方API格式 [提交生成视频任务](https://fengyu.apifox.cn/api-307398595.md): - 文生视频模型 > luma 视频生成 > 官方API格式 [扩展视频](https://fengyu.apifox.cn/api-307398596.md): - 文生视频模型 > luma 视频生成 > 查询任务 [查询单个任务](https://fengyu.apifox.cn/api-307398597.md): "state": "completed" 枚举值: "pending", "processing", "completed", "failed" - 文生视频模型 > luma 视频生成 > 查询任务 [批量获取任务](https://fengyu.apifox.cn/api-307398598.md): "state": "completed" 枚举值: "pending", "processing", "completed", "failed" - 文生视频模型 > Kling 快手可灵 [图像生成](https://fengyu.apifox.cn/api-307398599.md): 其他参数 请看 官方文档 https://app.klingai.com/cn/dev/document-api/apiReference/updateNotice - 文生视频模型 > Kling 快手可灵 [文生视频](https://fengyu.apifox.cn/api-307398600.md): 其他参数 请看 官方文档 https://app.klingai.com/cn/dev/document-api/apiReference/updateNotice - 文生视频模型 > Kling 快手可灵 [图生视频](https://fengyu.apifox.cn/api-307398601.md): 其他参数 请看 官方文档 https://app.klingai.com/cn/dev/document-api/apiReference/updateNotice - 文生视频模型 > Kling 快手可灵 [查询任务(免费)](https://fengyu.apifox.cn/api-307398602.md): - 文生视频模型 > Runway 视频生成 [提交视频生成任务](https://fengyu.apifox.cn/api-307398603.md): - 文生视频模型 > Runway 视频生成 [查询视频任务(免费)](https://fengyu.apifox.cn/api-307398604.md): - 文生视频模型 > Runway 视频生成 [提交视频生成任务-chat格式](https://fengyu.apifox.cn/api-307398605.md): - GPTs 相关 [gpt-4-all(分析图片)](https://fengyu.apifox.cn/api-307398606.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - GPTs 相关 [gpt-4-all(生成图片)](https://fengyu.apifox.cn/api-307398607.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - GPTs 相关 [GPTs对话](https://fengyu.apifox.cn/api-307398608.md): 给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。 - 文生音乐 Suno > 任务提交 [生成歌曲(灵感、自定义、续写)](https://fengyu.apifox.cn/api-307398610.md): ## 任务查询与模式说明 - 文生音乐 Suno > 任务提交 [生成歌词](https://fengyu.apifox.cn/api-307398611.md): - 文生音乐 Suno > 任务提交 [歌曲拼接](https://fengyu.apifox.cn/api-307398613.md): - 文生音乐 Suno > 查询接口 [批量获取任务](https://fengyu.apifox.cn/api-307398614.md): - 文生音乐 Suno > 查询接口 [查询单个任务](https://fengyu.apifox.cn/api-307398615.md): - 系统API [获取令牌列表](https://fengyu.apifox.cn/api-307398616.md): - 系统API [新增令牌](https://fengyu.apifox.cn/api-307398617.md): - 系统API [获取令牌支持模型](https://fengyu.apifox.cn/api-307398618.md): - 系统API [获取账号信息](https://fengyu.apifox.cn/api-307398619.md):