generate_task_id — 解说文案任务 IDclip_file_id — 剪辑数据文件 IDwriting_task_id — 快速文案任务 IDdubbing — 配音名称(通过 GET /v1/resources/voices 获取)bgm_file_id — BGM 文件 ID 或 NO_BGMsubtitle_style — 字幕样式(字号、颜色、粗细)custom_cover — 自定义封面app-key: ********************{
"pipeline_id": "string",
"callback_url": "string",
"callback_auth": {
"type": "bearer",
"token": "string",
"header_name": "string",
"header_value": "string"
},
"generate_writing_task_id": "string",
"dubbing": "string",
"dubbing_type": "",
"bgm_file_id": "string",
"custom_cover": [
"string"
],
"subtitle_style": {
"Fontsize": 0,
"PrimaryColour": "string",
"OutlineColour": "string",
"Bold": 0
},
"font_path": "string",
"result_output_path": "string",
"model_version": "advanced",
"task_count": 1,
"callback_data": "string"
}curl --location 'https://api.jieshuo.cn/v1/tasks/generate-clip-data' \
--header 'x-code;' \
--header 'app-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"pipeline_id": "string",
"callback_url": "string",
"callback_auth": {
"type": "bearer",
"token": "string",
"header_name": "string",
"header_value": "string"
},
"generate_writing_task_id": "string",
"dubbing": "string",
"dubbing_type": "",
"bgm_file_id": "string",
"custom_cover": [
"string"
],
"subtitle_style": {
"Fontsize": 0,
"PrimaryColour": "string",
"OutlineColour": "string",
"Bold": 0
},
"font_path": "string",
"result_output_path": "string",
"model_version": "advanced",
"task_count": 1,
"callback_data": "string"
}'{
"code": 10000,
"message": "Success",
"data": {
"task_id": "string",
"status": 0,
"estimated_points": 0,
"message": "Task created"
}
}