使用API提交发布
复制以下API,可在coze中使用http插件. 需前往后台获取Token
text
axios.<b>post</b>(baseUrl + "zt_project/publish/create", {
special: "true",
title: "测试111",
content: "测试2222",
tags: ["11", "22", "33"],
post_type: "video",
videos: [
{
create_time: 1732267995585,
_id: '67404fdb7e6c09d515f63179',
url: 'http://lzt-app-pic.oss-cn-beijing.aliyuncs.com/WtvmBnsuSkjAefXW_1755982487130_X2H05w_create_emotional_video_output.mp4'
}
],
images: [], //
snapshot_images: [
{
create_time: 1732267995585,
_id: '67404fdb7e6c09d515f63178',
url: 'http://lzt-app-pic.oss-cn-beijing.aliyuncs.com/1732267817353-%E7%94%B5%E8%84%91.JPG'
},
],
user_id: "WtvmBnsuSkjAefXW",
all: true
})