QAQ API
  1. GPTs 相关
QAQ API
  • 文件服务
    • 文件上传(file)
      POST
  • 链接分析(url analysis)
    • 链接总结(summary)
      POST
    • 链接聊天(chat)
      POST
    • 字幕导出(subtitle)
      POST
  • 图片生成
    • flux
      • flux 接口文档
      • 官方格式
        • 生成图像(image)
        • 查询任务(get_result)
        • 提示词生成(chat)
        • 生成图像(chat 格式)
      • OpenAI Image 格式
        • 生成(generations)
      • chat 格式
    • ideogram
      • openai images格式
        • 生成
      • openchat chat格式
        • 生成
  • 音乐生成(suno)
    • suno官网原生格式
      • 官网格式
      • 所有接口
        • 音乐链接转成suno(upload)
        • 音乐生成(generations)
        • 查询任务(feed)
        • 生成歌词
        • 查询歌词
        • 获取完整音乐(concat)
      • 场景1 生成自定义音乐(带歌词)
        • 音乐生成(generations)
        • 查询任务(feed)
      • 场景 2 通过提示词直接生成音乐(带歌词)
        • 音乐生成(generations)
        • 查询任务(feed)
      • 场景 4 通过提示词直接生成音乐(纯音乐)
        • 音乐生成(generations)
        • 查询任务(feed)
      • 场景 3 生成自定义音乐(纯音乐)
        • 音乐生成(generations)
        • 查询任务(feed)
      • 场景 5 上传自定义音频并续写
        • 续写自定义音频步骤介绍
        • 音乐链接转成suno(upload)
        • 音乐生成(generations)
        • 查询任务(feed)
      • 场景 6 续写音乐并获取完整音乐
        • 步骤 1 音乐生成
        • 步骤 3 扩展音乐
        • 步骤 2 查询任务
        • 步骤 4 查询拓展的任务
        • 步骤 6 查询完整音乐的任务
        • 步骤 5 获取完整音乐
    • 自定义格式(已废弃)
      • 查询任务(feed)
      • 音乐生成(create)
  • 视频生成
    • vidu(官方格式)
      • 普通
        • 创建视频(tasks)
        • 高清视频(tasks)
        • 视频状态(state)
        • 视频查询(tasks-get)
        • vidu(chat格式)
    • runway
      • 官方格式
        • 生成视频(tasks)
        • 查询任务
      • chat 格式
        • 生成视频
      • vip(更快无水印)
        • 官方格式
          • 生成视频(tasks)
          • 查询任务
        • chat 格式
          • 生成视频
    • luma
      • luma(官方格式)
        • 官方格式lumavip⚡️
          • 视频生成(generations)
          • 查询任务(task)
          • 视频扩展(extend)
          • Chat格式lumavip
        • 官方格式lumapro🚀 (优先保证稳定性)
          • Chat格式lumapro
          • 视频生成(generations)
          • 查询任务(task)
          • 视频扩展(extend)
        • 官方格式luma
          • 视频生成(generations)
          • 视频拓展(extend)
          • 查询任务(task)
          • Chat格式luma
      • luma(goamz格式)
        • goamz 格式luma
          • 视频生成(generations)
          • 查询任务(task)
          • 视频拓展(extend)
        • goamz 格式lumavip
          • 视频生成(generations)
          • 查询任务(task)
          • 视频拓展(extend)
      • luma(chatgpt-next-web格式)
        • Chat格式lumavip
        • 视频生成(generations)
        • 查询任务(task)
        • 视频扩展(extend)
    • 可灵(官方格式)
      • 图像生成(暂不支持)
      • 文生视频
      • 图生视频
      • 查询任务
  • GPTs 相关
    • GPTs相关接口文档
    • GPTs对话
      POST
    • 搜索相关 GPTs(chat格式)
      POST
    • 搜索相关 GPTs(官方格式)
      GET
    • 查询 GPTs 详情(官方格式)
      GET
    • 查询 GPTs 详情(chat格式)
      POST
    • 批量查询 GPTs 详情(官方格式)
      GET
    • 批量查询 GPTs 详情(chat格式)
      POST
  • 智谱清言(glm)
    • 智谱清言相关 api 接口文档
    • 视频生成
      • 生成(generations)
      • 查询(async-result)
      • 生成(chat 格式)
  • openai
    • 介绍
    • 项目说明
    • 导言
    • 身份验证
    • 发出请求
    • 参数详情
    • 音频(Audio)
      • 创建语音
      • 创建转录
      • 创建翻译
    • 聊天(Chat)
      • 聊天完成对象
      • 聊天完成块对象
      • 创建聊天补全
    • 自动补全(Completions)
      • 完成对象
      • 创建完成
    • 嵌入(Embeddings)
      • 嵌入对象
      • 创建嵌入
    • 微调(Fine-tuning)
      • 微调作业对象
      • 微调作业事件对象
      • 创建微调作业
      • 列出微调作业
      • 检索微调作业
      • 取消微调
      • 列出微调事件
    • 图像(Images)
      • README
      • 图像对象
      • 创建图像
      • 创建图片编辑
      • 创建图像变体
    • 模型(Models)
      • 模型对象
      • 列出模型
      • 检索模型
      • 删除微调模型
    • 文件(Files)
      • README
      • 文件对象
      • 上传文件
      • 删除文件
      • 检索文件
      • 检索文件内容
      • 列出文件
    • 审查(Moderations)
      • 调节对象
      • 创建内容审核
    • 助手测试版(AssistantsBeta)
      • 辅助对象
      • 辅助文件对象
      • 创建助手
      • 检索助手
      • 修改助手
      • 删除助手
      • 列出助手
      • 创建辅助文件
      • 检索助手文件
      • 删除辅助文件
      • 列出助手文件
    • 线程数(Threads)
      • 线程对象
      • 创建线程
      • 检索线程
      • 修改线程
      • 删除话题
    • 留言(Messages)
      • 消息对象
      • 消息文件对象
      • 创建消息
      • 检索消息
      • 修改留言
      • 列出消息
      • 检索消息文件
      • 列出消息文件
    • 运行(Runs)
      • 运行对象
      • 运行步骤对象
      • 创建运行
      • 检索运行
      • 修改运行
      • 列表运行
      • 提交工具输出以运行
      • 取消运行
      • 创建线程并运行
      • 检索运行步骤
      • 列出运行步骤
    • 已弃用-音频(Audio)
      • 创建转录
      • 创建翻译
  1. GPTs 相关

批量查询 GPTs 详情(chat格式)

开发中
POST
/v1/chat/completions

请求参数

Body 参数application/json
model
string 
必需
messages
array [object {2}] 
必需
role
string 
可选
content
string 
可选
stream
boolean 
必需
示例
{
    "model": "batch-get-gpts",
    "messages": [
        {
            "role": "user",
            "content": "g-YyyyMT9XH,g-2fkFE8rbu"
        }
    ],
    "stream": false
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "batch-get-gpts",
    "messages": [
        {
            "role": "user",
            "content": "g-YyyyMT9XH,g-2fkFE8rbu"
        }
    ],
    "stream": false
}'

返回响应

🟢200成功
application/json
Body
id
string 
必需
object
string 
必需
created
integer 
必需
model
string 
必需
choices
array [object {3}] 
必需
index
integer 
可选
message
object 
可选
finish_reason
string 
可选
usage
object 
必需
prompt_tokens
integer 
必需
completion_tokens
integer 
必需
total_tokens
integer 
必需
示例
{"id":"chatcmpl-89DXrv1L5m6QkwWF7CKlmky04jLCs","object":"chat.completion","created":1721896979,"model":"batch-get-gpts","choices":[{"index":0,"message":{"role":"assistant","content":"```json\n[\n  {\n    \"gizmo\": {\n      \"id\": \"g-YyyyMT9XH\",\n      \"organization_id\": \"org-OROoM5KiDq6bcfid37dQx4z4\",\n      \"short_url\": \"g-YyyyMT9XH-chatgpt-classic\",\n      \"author\": {\n        \"user_id\": \"user-u7SVk5APwT622QC7DPe41GHJ\",\n        \"display_name\": \"ChatGPT\",\n        \"link_to\": \"https://openai.com\",\n        \"is_verified\": true,\n        \"selected_display\": \"name\",\n        \"will_receive_support_emails\": null,\n        \"display_socials\": []\n      },\n      \"voice\": {\n        \"id\": \"ember\"\n      },\n      \"workspace_id\": null,\n      \"model\": null,\n      \"instructions\": null,\n      \"settings\": null,\n      \"display\": {\n        \"name\": \"ChatGPT Classic\",\n        \"description\": \"The latest version of GPT-4o with no additional capabilities.\",\n        \"prompt_starters\": [],\n        \"profile_pic_id\": \"file-i9IUxiJyRubSIOooY5XyfcmP\",\n        \"profile_picture_url\": \"https://filesystem.site/cdn/20240725/Turvs3jlu1nnQXCKsyzSMoxtVq1K17.jpg\",\n        \"categories\": [\n          \"other\"\n        ]\n      },\n      \"share_recipient\": \"link\",\n      \"created_at\": \"2023-11-06T01:08:05.051553+00:00\",\n      \"updated_at\": \"2024-06-13T23:11:16.704860+00:00\",\n      \"last_interacted_at\": \"2024-07-25T04:20:35.037883+00:00\",\n      \"num_interactions\": 1567,\n      \"tags\": [\n        \"unreviewable\",\n        \"public\",\n        \"first_party\"\n      ],\n      \"version\": null,\n      \"live_version\": null,\n      \"training_disabled\": null,\n      \"sharing_targets\": null,\n      \"appeal_info\": null,\n      \"vanity_metrics\": {\n        \"num_conversations\": null,\n        \"num_conversations_str\": null,\n        \"created_ago_str\": null,\n        \"review_stats\": null\n      },\n      \"workspace_approval_date\": null,\n      \"workspace_approved\": null,\n      \"sharing\": null,\n      \"current_user_permission\": {\n        \"can_read\": true,\n        \"can_view_config\": false,\n        \"can_write\": false,\n        \"can_delete\": false,\n        \"can_export\": false,\n        \"can_share\": false\n      }\n    },\n    \"tools\": [],\n    \"files\": [],\n    \"product_features\": {\n      \"attachments\": {\n        \"type\": \"retrieval\",\n        \"accepted_mime_types\": [\n          \"application/vnd.oasis.opendocument.text\",\n          \"text/x-diff\",\n          \"text/x-script.python\",\n          \"application/pdf\",\n          \"text/css\",\n          \"text/x-tex\",\n          \"text/calendar\",\n          \"application/vnd.apple.pages\",\n          \"text/vbscript\",\n          \"application/x-scala\",\n          \"application/x-rust\",\n          \"application/vnd.apple.keynote\",\n          \"text/xml\",\n          \"application/json\",\n          \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n          \"text/html\",\n          \"text/plain\",\n          \"application/x-powershell\",\n          \"text/x-csharp\",\n          \"text/x-c++\",\n          \"text/javascript\",\n          \"application/vnd.ms-powerpoint\",\n          \"text/x-java\",\n          \"text/x-rst\",\n          \"application/x-sql\",\n          \"application/rtf\",\n          \"text/markdown\",\n          \"text/x-php\",\n          \"application/msword\",\n          \"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\n          \"text/x-vcard\",\n          \"text/x-shellscript\",\n          \"text/x-typescript\",\n          \"application/x-yaml\",\n          \"text/rtf\",\n          \"application/javascript\",\n          \"text/x-sh\",\n          \"text/x-asm\",\n          \"text/x-makefile\",\n          \"text/x-lisp\",\n          \"text/x-python\",\n          \"text/x-c\",\n          \"text/x-ruby\",\n          \"message/rfc822\"\n        ],\n        \"image_mime_types\": [\n          \"image/gif\",\n          \"image/webp\",\n          \"image/jpeg\",\n          \"image/png\"\n        ],\n        \"can_accept_all_mime_types\": true\n      }\n    }\n  },\n  {\n    \"gizmo\": {\n      \"id\": \"g-2fkFE8rbu\",\n      \"organization_id\": \"org-OROoM5KiDq6bcfid37dQx4z4\",\n      \"short_url\": \"g-2fkFE8rbu-dall-e\",\n      \"author\": {\n        \"user_id\": \"user-u7SVk5APwT622QC7DPe41GHJ\",\n        \"display_name\": \"ChatGPT\",\n        \"link_to\": \"https://openai.com\",\n        \"is_verified\": true,\n        \"selected_display\": \"name\",\n        \"will_receive_support_emails\": null,\n        \"display_socials\": []\n      },\n      \"voice\": {\n        \"id\": \"ember\"\n      },\n      \"workspace_id\": null,\n      \"model\": null,\n      \"instructions\": null,\n      \"settings\": null,\n      \"display\": {\n        \"name\": \"DALL·E\",\n        \"description\": \"Let me turn your imagination into imagery.\",\n        \"prompt_starters\": [],\n        \"profile_pic_id\": \"file-SxYQO0Fq1ZkPagkFtg67DRVb\",\n        \"profile_picture_url\": \"https://filesystem.site/cdn/20240725/Cj9I4qtxkx4xGCpp7Wxm9cZdRaXijG.webp\",\n        \"categories\": [\n          \"other\"\n        ]\n      },\n      \"share_recipient\": \"link\",\n      \"created_at\": \"2023-11-05T23:56:43.549801+00:00\",\n      \"updated_at\": \"2024-06-28T19:42:41.799038+00:00\",\n      \"last_interacted_at\": \"2024-07-25T03:09:24.123501+00:00\",\n      \"num_interactions\": 488,\n      \"tags\": [\n        \"unreviewable\",\n        \"public\",\n        \"first_party\"\n      ],\n      \"version\": null,\n      \"live_version\": null,\n      \"training_disabled\": null,\n      \"sharing_targets\": null,\n      \"appeal_info\": null,\n      \"vanity_metrics\": {\n        \"num_conversations\": null,\n        \"num_conversations_str\": null,\n        \"created_ago_str\": null,\n        \"review_stats\": null\n      },\n      \"workspace_approval_date\": null,\n      \"workspace_approved\": null,\n      \"sharing\": null,\n      \"current_user_permission\": {\n        \"can_read\": true,\n        \"can_view_config\": false,\n        \"can_write\": false,\n        \"can_delete\": false,\n        \"can_export\": false,\n        \"can_share\": false\n      }\n    },\n    \"tools\": [\n      {\n        \"id\": \"gzm_cnf_KuQKBEnzFPMwdKIWYnOoetjx~gzm_tool_P9ZWt7cmybLejZWkNxDTEpIj\",\n        \"type\": \"dalle\",\n        \"settings\": null,\n        \"metadata\": null\n      }\n    ],\n    \"files\": [],\n    \"product_features\": {\n      \"attachments\": {\n        \"type\": \"retrieval\",\n        \"accepted_mime_types\": [\n          \"text/x-script.python\",\n          \"application/x-yaml\",\n          \"application/javascript\",\n          \"text/x-vcard\",\n          \"text/x-asm\",\n          \"text/x-c++\",\n          \"text/html\",\n          \"text/x-sh\",\n          \"application/vnd.oasis.opendocument.text\",\n          \"text/x-shellscript\",\n          \"text/x-rst\",\n          \"text/css\",\n          \"text/x-c\",\n          \"text/xml\",\n          \"application/vnd.ms-powerpoint\",\n          \"application/x-scala\",\n          \"text/rtf\",\n          \"application/vnd.apple.pages\",\n          \"text/calendar\",\n          \"text/x-lisp\",\n          \"text/plain\",\n          \"application/vnd.apple.keynote\",\n          \"application/json\",\n          \"application/rtf\",\n          \"text/x-ruby\",\n          \"text/vbscript\",\n          \"text/x-csharp\",\n          \"message/rfc822\",\n          \"application/x-powershell\",\n          \"text/x-python\",\n          \"text/x-java\",\n          \"application/pdf\",\n          \"text/javascript\",\n          \"text/x-php\",\n          \"text/markdown\",\n          \"application/msword\",\n          \"text/x-tex\",\n          \"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\n          \"text/x-typescript\",\n          \"text/x-makefile\",\n          \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n          \"application/x-sql\",\n          \"text/x-diff\",\n          \"application/x-rust\"\n        ],\n        \"image_mime_types\": [\n          \"image/png\",\n          \"image/gif\",\n          \"image/jpeg\",\n          \"image/webp\"\n        ],\n        \"can_accept_all_mime_types\": true\n      }\n    }\n  }\n]\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":22,"completion_tokens":2024,"total_tokens":2046}}
上一页
批量查询 GPTs 详情(官方格式)
下一页
智谱清言相关 api 接口文档
Built with