钱多多-全链路API聚合
首页钱多多首页
首页钱多多首页
  1. GPTs 相关
  • 发出请求
  • 模型接口
    • 完成对象
    • OpenAI接口
      • 文本生成(通用)
      • 图片理解(通用)
      • 图片生成(gpt-image-1)
      • 图片生成(dall-e-3)
      • 图片编辑(edits接口)
      • 图片编辑(网页版)
      • Web search(联网搜索)
      • Responses API
      • Function calling
      • response_format
      • N测试
      • 创建文本嵌入
      • 批量创建嵌入
      • 文本转语音(TTS)
      • 语音转文本(STT)whisper-1
      • 语音转文本(STT)gpt-4o-transcribe
      • 音频翻译
      • Audio接口(输出)
      • Audio接口(输入)
      • 内容补全接口
      • gpt-image-1(网页版)
      • 图片变体生成
      • 创建内容审核
      • 列出模型
    • 文生图接口
      • Grok 2 Image Gen
      • flux-schnell(OpenAI图像格式)
      • FLUX1.1-pro(OpenAI图像格式)
      • stable-diffusion(OpenAI图像格式)
      • ideogram
      • recraftv3
    • Realtime (实时语音、对话)
      • Realtime API
    • Anthropic Claude
      • 文本生成
      • 图片理解
      • 文本生成(v1/messages)
      • Tool use (function calling)
    • 谷歌Gemini
      • 文本生成
      • 文本生成 (联网)
      • 图片生成(2.0 Flash)
      • 图片生成 (Imagen 3)
      • 图片理解
      • 音频理解
      • 视频理解
    • Midjourney
      • 提交Imagine任务
      • 提交Blend任务
      • 提交Describe任务
      • 提交Modal
      • 提交swap_face任务
      • 执行Action动作
      • 上传文件到discord
      • 根据ID列表查询任务
      • 指定ID获取任务
      • 获取任务图片的seed
    • GPTs 相关
      • gpt-4-all(分析图片)
        POST
      • gpt-4-all(生成图片)
        POST
      • GPTs对话
        POST
      • 搜索相关 GPTs
        POST
      • 查询 GPTs 详情
        POST
      • 批量查询 GPTs 详情
        POST
    • 文生音乐
      • Suno
        • 生成歌曲(API格式)
        • 生成歌词(API格式)
        • 查询单个任务(API格式)
        • Suno(Chat格式)
      • Udio
        • Udio(Chat格式)
    • 文生视频
      • 文生视频(luma)
      • 文生视频(runway)
      • 智谱清言GLM
      • 文生视频(可灵)
    • Rerank API
      • Jina AI 重排序格式
      • Cohere 重排序格式
      • Xinference 重排序格式
  • Python配置方式
    • Python基础对话
    • Python使用gpt-4o识别图片
    • Python使用Claude识别图片
  • 帮助中心
    • 常见问题及解决办法
  • 回收站
    • 查询所有任务
      GET
    • 根据ID列表查询任务-字段displays
      POST
    • 分页查询任务
      POST
    • 查询任务队列
      GET
    • 取消任务
      POST
    • 提交Shorten任务
      POST
    • Stable-Diffusion
      POST
  1. GPTs 相关

查询 GPTs 详情

主站接口①
主站接口①
POST
https://api2.aigcbest.top/v1
/chat/completions

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数
Content-Type
string 
可选
示例值:
application/json
Accept
string 
可选
示例值:
application/json
Authorization
string 
可选
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
model
string 
必需
messages
array [object {2}] 
必需
role
string 
可选
content
string 
可选
stream
boolean 
必需
示例
{
  "model": "get-gpts",
  "messages": [
    {
      "role": "user",
      "content": "g-YyyyMT9XH"
    }
  ],
  "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 'https://api2.aigcbest.top/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "get-gpts",
    "messages": [
        {
            "role": "user",
            "content": "g-YyyyMT9XH"
        }
    ],
    "stream": false
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
  "id": "chatcmpl-89D59GtSYl6LXt0JjTi8F191HcYjb",
  "object": "chat.completion",
  "created": 1721897018,
  "model": "get-gpts",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "```json\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```"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 14,
    "completion_tokens": 974,
    "total_tokens": 988
  }
}
修改于 2024-10-01 22:07:08
上一页
搜索相关 GPTs
下一页
批量查询 GPTs 详情
Built with