- 指南
- 获取 Base URL 和 API Key
- 通知设置-WebHook参数介绍
- 配置方式
- 列出模型
- 聊天(Chat)
- RAG(嵌入、重排序
- 视频模型
- 数字人
- 绘图模型
- 生图模型简介
- OpenAI Dall-e 格式
- OpenAI 聊天格式
- Mid journey 文生图
- Flux 文生图
- Ideogram(官方格式
- recraft 官方格式
- 快手可灵(官方格式)
- SeedEdit(图片编辑
- Replicate
- 接入教程
- 获取任务进度(predictions (免费
- 创建任务-通过模型version(predictions)
- 创建任务-通过url路径
- 创建任务-stability-ai/stable-diffusion
- 创建任务-stability-ai/sdxl
- 创建任务-stability-ai/stable-diffusion-inpainting
- 创建任务-stability-ai/stable-diffusion-img2img
- 创建任务-lucataco/flux-schnell-lora
- 创建任务-lucataco/flux-dev-lora
- 创建任务-andreasjansson/stable-diffusion-animation
- 创建任务-lucataco/animate-diff
- 创建任务-sujaykhandekar/object-removal
- 创建任务-cjwbw/rembg
- 创建任务-black-forest-labs/flux-1.1-pro
- 创建任务-black-forest-labs/flux-1.1-pro-ultra
- 创建任务-black-forest-labs/flux-dev
- 创建任务-black-forest-labs/flux-pro
- 创建任务-black-forest-labs/flux-schnell
- 创建任务-minimax/video-01-live
- 创建任务-minimax/video-01
- 创建任务-recraft-ai/recraft-v3
- 创建任务-recraft-ai/recraft-v3-svg
- 创建任务-ideogram-ai/ideogram-v2-turbo
- 豆包智能绘图
- 音频接口
- Suno文生歌
- 补充
- 音乐生成参数介绍
- 场景一: 灵感模式
- 场景二: 自定义.歌词歌名
- 场景三: 纯音乐.自定义
- 场景四: 纯音乐.灵感模式
- 场景五: 续写自定义音频
- 场景六: 续写音乐并获取完整音乐
- 场景七: Cover 音乐翻版\修改风格
- 场景八: Replace Section.替换片段
- 场景九: Persona.歌手风格
- 场景十: 上传续写
- 生成歌曲(灵感模式)
- 生成歌曲(自定义模式)
- 生成歌曲(续写模式)
- 生成歌曲(歌手风格)
- 生成歌曲(上传歌曲二次创作)
- 生成歌曲(拼接歌曲)
- 生成歌词
- 上传请求
- 报告上传完毕
- 查询上传处理状态
- 初始化音频文件
- Persona:创建歌手风格
- 查询歌词
- 查询歌曲
- 批量获取任务
- 声曲分离
- Timing:歌词、音频时间线
- wav:获取 wav 格式文件
- mp4:生成 mp4 mv 视频
- 上传音乐通过 url
- 生成歌曲 (v1 版本)
- 拼接歌曲 (v1 版本)
- 生成歌词 (v1 版本)
- 查询歌曲 (v1 版本)
- 查询歌词 (v1 版本)
- OpenAI(TTS\Wishper
- Suno文生歌
- 文件上传(Files)
- PPT接口
- 帮助中心
- 平台API
- 废弃、未开放
通过ID搜索 GPTs V2
GET
{{BASE_URL}}/v2/gpts/{id}
最后修改时间:2024-08-01 14:15:37
请求参数
Path 参数
id
string
必需
示例值:
g-2fkFE8rbu
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Accept
string
可选
示例值:
application/json
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/v2/gpts/g-2fkFE8rbu' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"msg": "ok",
"sn": "cb33e437d0a9ad727c9b27f61b5be06c",
"data": {
"gizmo": {
"id": "g-k3IqoCe1l",
"organization_id": "org-BKYs92E7s4KWVUjfmhwsPNf1",
"short_url": "g-k3IqoCe1l-code-guru",
"author": {
"user_id": "user-yp9DLIPtuakcBWOr0ESzYdup",
"display_name": "Ryan J Topps",
"link_to": null,
"is_verified": true,
"selected_display": "name",
"will_receive_support_emails": null,
"display_socials": []
},
"voice": {
"id": "ember"
},
"workspace_id": null,
"model": null,
"instructions": null,
"settings": null,
"display": {
"name": "Code Guru",
"description": "Reviews code, writes pull requests, generates and optimizes functions, writes tests, and comments existing code.",
"prompt_starters": [
"Can you review this code snippet?",
"Can you please write a pull request for this code?",
"Can you please generate me a function that I will describe in the next prompt and write unit tests for it?",
"Can you write the unit tests for this code?",
"Can you add comments to this code?",
"Can you optimize this code with changing it interface?",
"Can you optimize this code?"
],
"profile_pic_id": null,
"profile_picture_url": "https://filesystem.site/cdn/20240229/lD2eG7A2Gqzf7zcDWvqyxJMU3WlHsJ.png",
"categories": [
"programming"
]
},
"share_recipient": "marketplace",
"created_at": "2023-11-12T04:45:07.116011+00:00",
"updated_at": "2024-02-07T19:49:30.003342+00:00",
"last_interacted_at": "2024-03-04T15:47:26.281112+00:00",
"num_interactions": 5,
"tags": [
"public",
"reportable"
],
"version": null,
"live_version": null,
"training_disabled": null,
"sharing_targets": null,
"appeal_info": null,
"vanity_metrics": {
"num_conversations": null,
"num_conversations_str": "25K+",
"num_pins": 0,
"created_ago_str": "3 months ago",
"review_stats": {
"total": 940,
"count": 220
}
},
"workspace_approval_date": null,
"workspace_approved": null,
"sharing": null,
"current_user_permission": {
"can_read": true,
"can_view_config": false,
"can_write": false,
"can_delete": false,
"can_export": false,
"can_share": false
}
},
"tools": [
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_jBdkrHIaLUxsvelKd2InXyR9",
"type": "python",
"settings": null,
"metadata": null
},
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_KG7bgk2POTbiYWdGTjT12plr",
"type": "dalle",
"settings": null,
"metadata": null
},
{
"id": "gzm_cnf_zQCN7ugC8upyTIRGEUWWY0ko~gzm_tool_5TXvs08GHMjmJL7JAsHzipF2",
"type": "browser",
"settings": null,
"metadata": null
}
],
"files": [],
"product_features": {
"attachments": {
"type": "retrieval",
"accepted_mime_types": [
"text/x-tex",
"application/msword",
"application/x-latext",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"text/x-php",
"text/x-csharp",
"text/x-typescript",
"text/html",
"text/x-c",
"text/x-ruby",
"text/plain",
"text/x-sh",
"text/markdown",
"text/x-script.python",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"text/x-java",
"text/x-c++",
"text/javascript",
"application/pdf",
"application/json"
],
"image_mime_types": [
"image/webp",
"image/jpeg",
"image/gif",
"image/png"
],
"can_accept_all_mime_types": true
}
}
}
}