Skip to main content
POST
create project
MCP tool: podcast_create_project. OAuth scope: podcast.generate.

Authorizations

X-Api-Key
string
header
required

Headers

Idempotency-Key
string

Replay a completed identical request without repeating side effects.

Maximum string length: 128

Body

application/json

请求体

attachments
object[]

编辑态附件列表

input
object[]

OpenAI Responses 风格 input[].content[]

language
string

语言

long_text
string

长文本的内容

mixInfo
integer

混合来源详情,Origin=8时会有值

need_send_mq
boolean

是否发送mq消息

network_enabled
boolean

是否允许联网搜索

origin
enum<integer>

参考资料来源 1:网页 URL/2:YouTube URL/3:文档文件 URL/4:长文本/5:原文本驱动/6:上传脚本/7:上传音频

Available options:
1,
2,
3,
4,
5,
6,
7,
8
podcast_template_id
integer

跟创模板

prj_id
string

PutPodcastProject 接口使用,要编辑的项目ID

render_subtitle
integer

是否开启字幕 1:开启字幕/2:关闭字幕

script_params
object

GPT 脚本生成参数

text
string

编辑态文本,支持 {{ref:id}} 引用附件

tool_choice
enum<string>

none/auto/required

Available options:
none,
auto,
required
tools
object[]

例如 [{"type":"web_search","external_web_access":true}]

url
string

链接, 上传文件后的地址或者站点地址,以逗号分割的字符串数组

urls
string[]

链接数组;兼容 url 的逗号分隔格式

video_duration
enum<string>

视频总时长

Available options:
-3,
-5,
13-17,
18-22,
23-30,
4-6,
7-12,
22-28,
0.5,
0.5-1,
1-3,
3-5,
5-10

Response

200 - application/json

OK

project_id
string