summaryrefslogtreecommitdiff
path: root/data/zh_cn/yike/2026-03-19/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/yike/2026-03-19/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/yike/2026-03-19/api-docs.php')
-rw-r--r--data/zh_cn/yike/2026-03-19/api-docs.php3884
1 files changed, 3884 insertions, 0 deletions
diff --git a/data/zh_cn/yike/2026-03-19/api-docs.php b/data/zh_cn/yike/2026-03-19/api-docs.php
new file mode 100644
index 0000000..c8abc81
--- /dev/null
+++ b/data/zh_cn/yike/2026-03-19/api-docs.php
@@ -0,0 +1,3884 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => ['style' => 'RPC', 'product' => 'Yike', 'version' => '2026-03-19'],
+ 'directories' => [
+ [
+ 'children' => ['SubmitYikeAvatarNarratorJob', 'SubmitYikeVoiceNarratorJob', 'SubmitYikeVideoCloneJob', 'GetYikeAgentJob'],
+ 'type' => 'directory',
+ 'title' => '营销解决方案',
+ 'id' => 451717,
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['SubmitYikePromptExpansionVoiceFixJob', 'GetYikePromptExpansionVoiceFixJob'],
+ 'type' => 'directory',
+ 'title' => '音频参考',
+ 'id' => 451719,
+ ],
+ ],
+ 'type' => 'directory',
+ 'title' => '通用解决方案',
+ 'id' => 451718,
+ ],
+ [
+ 'children' => ['SubmitVideoGenerationJob', 'GetVideoGenerationJob', 'SubmitImageGenerationJob', 'GetImageGenerationJob'],
+ 'type' => 'directory',
+ 'title' => 'AI生成',
+ 'id' => 457110,
+ ],
+ [
+ 'children' => ['SubmitYikeProjectExportJob', 'GetYikeProjectExportJob'],
+ 'type' => 'directory',
+ 'title' => '在线剪辑',
+ 'id' => 456856,
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['ListYikeWorkspaces', 'CreateYikeWorkspace'],
+ 'type' => 'directory',
+ 'title' => '工作室',
+ 'id' => 451721,
+ ],
+ [
+ 'children' => ['CreateYikeProduction', 'UpdateYikeProduction', 'ListYikeProductions', 'UpdateYikeProductionMemberAuth', 'AddYikeProductionMembers'],
+ 'type' => 'directory',
+ 'title' => '项目',
+ 'id' => 451722,
+ ],
+ [
+ 'children' => ['CreateYikeUser', 'GetYikeUser', 'SetYikeUserRole'],
+ 'type' => 'directory',
+ 'title' => '用户',
+ 'id' => 451723,
+ ],
+ [
+ 'children' => ['AddYikeUserCredit', 'SubYikeUserCredit', 'GetYikeUserCredit'],
+ 'type' => 'directory',
+ 'title' => '积分',
+ 'id' => 451724,
+ ],
+ 'SetYikeCallbackConfig',
+ ],
+ 'type' => 'directory',
+ 'title' => '业务体系',
+ 'id' => 451720,
+ ],
+ [
+ 'children' => ['CreateYikeAssetUpload', 'RegisterYikeAssetMediaInfo', 'GetYikeAssetMediaInfo', 'BatchGetYikeAssetMediaInfos', 'ListYikeAssetFolders', 'DeleteYikeAssetMediaInfos'],
+ 'type' => 'directory',
+ 'title' => '资产中心',
+ 'id' => 451726,
+ ],
+ [
+ 'children' => ['PrecheckYikeAIAppJob', 'SubmitYikeAIAppJob', 'GetYikeAIAppJob', 'BatchGetYikeAIAppJob'],
+ 'type' => 'directory',
+ 'title' => 'AI应用',
+ 'id' => 451727,
+ ],
+ [
+ 'children' => ['SubmitYikeStoryboardJob', 'ResumeYikeStoryboardJob', 'GetYikeStoryboardJob', 'GetYikeVoiceNarratorJob'],
+ 'type' => 'directory',
+ 'title' => '其他',
+ 'id' => 451728,
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ 'EntityMediaBasicInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EntityMediaId' => ['type' => 'string'],
+ 'EntityId' => ['type' => 'string'],
+ 'Status' => ['type' => 'string'],
+ 'Biz' => ['type' => 'string'],
+ 'AppId' => ['type' => 'string'],
+ 'UserData' => ['type' => 'string'],
+ 'ModifiedTime' => ['type' => 'string'],
+ 'CreateTime' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'AddYikeProductionMembers' => [
+ 'summary' => '增加一刻项目成员',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目 ID。', 'type' => 'string', 'required' => true, 'example' => 'pd_061716***'],
+ ],
+ [
+ 'name' => 'YikeUserIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '子用户ID', 'type' => 'string', 'required' => true, 'example' => '21*****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => '是否增加成功。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '增加一刻项目用户',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ 'AddYikeUserCredit' => [
+ 'summary' => '增加用户积分',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户 ID。', 'type' => 'string', 'required' => true, 'example' => 'id'],
+ ],
+ [
+ 'name' => 'Credit',
+ 'in' => 'query',
+ 'schema' => ['description' => '增加积分数量,必须大于0。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '50'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => '是否增加成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'ErrorCode' => ['description' => '错误码,增加失败情况下返回。取值为:'."\n"
+ .'- NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA:主账号积分余额不足。', 'type' => 'string', 'example' => 'NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '增加子账号积分',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true,\\n \\"ErrorCode\\": \\"NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA\\"\\n}","type":"json"}]',
+ ],
+ 'BatchGetYikeAIAppJob' => [
+ 'summary' => '批量获取一刻AI应用生成任务',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务ID列表,多个ID用英文逗号分隔。', 'type' => 'string', 'required' => false, 'example' => 'cec2c13da767c090,ca3d3c9737f04586'."\n"],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'JobList' => [
+ 'description' => '任务列表,列表中的每个元素和GetYikeAIAppJob的结果相同。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务详细信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => '9e09955d662a'."\n"],
+ 'AppInputConfig' => ['description' => 'AI应用运行输入参数,为JSON序列化后的字符串。', 'type' => 'string', 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n"],
+ 'ExecutionFinishTime' => ['description' => '任务开始时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)。', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'."\n"],
+ 'ExecutionStartTime' => ['description' => '任务结束时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)。', 'type' => 'string', 'example' => '2026-02-06T18:53:18.809+08:00'."\n"],
+ 'FolderId' => ['description' => '文件夹ID。', 'type' => 'string', 'example' => 'pd_0617169475'."\n"],
+ 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'."\n"],
+ 'ProductionId' => ['description' => '项目ID。', 'type' => 'string', 'example' => 'pd_0617169475'."\n"],
+ 'Result' => [
+ 'description' => '任务执行结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageResult' => [
+ 'description' => '图片任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资ID。', 'type' => 'string', 'example' => '318d6350a57d71f08c9ae7f7d4496302'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg'],
+ ],
+ ],
+ ],
+ 'AudioResult' => [
+ 'description' => '音频任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '音频任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资 ID。', 'type' => 'string', 'example' => 'bb1dfa20a0c971f08c94e7f6d6496202'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp3'],
+ ],
+ ],
+ ],
+ 'VideoResult' => [
+ 'description' => '视频任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视频任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资ID。', 'type' => 'string', 'example' => 'ec2de25068fd71f0a48cf7e6c4596302'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp4'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Status' => ['description' => '任务状态。取值为:'."\n"
+ .'- Created :任务刚创建。'."\n"
+ .'- Queuing:任务排队中。'."\n"
+ .'- Executing:任务执行中。'."\n"
+ .'- Finished:任务执行结束。'."\n"
+ .'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'Created'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量获取AI应用任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\\\n\\",\\n \\"JobList\\": [\\n {\\n \\"AppId\\": \\"9e09955d662a\\\\n\\",\\n \\"AppInputConfig\\": \\"{\\\\\\\\\\\\\\"LoadImage.1.TargetImage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MediaId1\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"ExecutionFinishTime\\": \\"2026-02-06T18:53:34.001+08:00\\\\n\\",\\n \\"ExecutionStartTime\\": \\"2026-02-06T18:53:18.809+08:00\\\\n\\",\\n \\"FolderId\\": \\"pd_0617169475\\\\n\\",\\n \\"JobId\\": \\"****a046-263c-3560-978a-fb287782****\\\\n\\",\\n \\"ProductionId\\": \\"pd_0617169475\\\\n\\",\\n \\"Result\\": {\\n \\"ImageResult\\": [\\n {\\n \\"MediaId\\": \\"318d6350a57d71f08c9ae7f7d4496302\\\\n\\",\\n \\"OutputUrl\\": \\"https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg\\"\\n }\\n ],\\n \\"AudioResult\\": [\\n {\\n \\"MediaId\\": \\"bb1dfa20a0c971f08c94e7f6d6496202\\\\n\\",\\n \\"OutputUrl\\": \\"https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp3\\"\\n }\\n ],\\n \\"VideoResult\\": [\\n {\\n \\"MediaId\\": \\"ec2de25068fd71f0a48cf7e6c4596302\\\\n\\",\\n \\"OutputUrl\\": \\"https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp4\\"\\n }\\n ]\\n },\\n \\"Status\\": \\"Created\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'BatchGetYikeAssetMediaInfos' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MediaIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '所有待查询的媒资ID,以逗号分隔。', 'type' => 'string', 'required' => false, 'example' => '******b48fb04483915d4f2cd8******,******c48fb37407365d4f2cd8******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'MediaInfos' => [
+ 'title' => '符合要求的媒资集合',
+ 'description' => '符合要求的媒资集合',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '符合要求的媒资集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '媒资ID', 'description' => '媒资ID', 'type' => 'string', 'example' => '******c48fb37407365d4f2cd8******'],
+ 'MediaBasicInfo' => [
+ 'title' => 'BasicInfo',
+ 'description' => 'BasicInfo',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => 'MediaId', 'description' => 'MediaId', 'type' => 'string', 'example' => '*****64623a94eca8516569c8f*****'],
+ 'InputURL' => ['title' => '待注册的媒资在相应系统中的地址', 'description' => '待注册的媒资在相应系统中的地址', 'type' => 'string', 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ 'MediaType' => ['title' => '媒资媒体类型', 'description' => '媒资媒体类型', 'type' => 'string', 'example' => 'video'],
+ 'BusinessType' => ['title' => '媒资业务类型', 'description' => '媒资业务类型', 'type' => 'string', 'example' => 'general'],
+ 'Source' => ['title' => '来源', 'description' => '来源', 'type' => 'string', 'example' => 'oss'],
+ 'Title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => 'title'],
+ 'Description' => ['title' => '内容描述', 'description' => '内容描述', 'type' => 'string', 'example' => 'sample_description'],
+ 'Category' => ['title' => '分类', 'description' => '分类', 'type' => 'string', 'example' => 'category'],
+ 'MediaTags' => ['title' => '标签', 'description' => '标签', 'type' => 'string', 'example' => 'tag1,tag2'],
+ 'CoverURL' => ['title' => '封面地址', 'description' => '封面地址', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg'],
+ 'UserData' => ['title' => '用户数据', 'description' => '用户数据', 'type' => 'string', 'example' => 'UserData'],
+ 'Snapshots' => ['title' => '截图', 'description' => '截图', 'type' => 'string', 'example' => '[]'],
+ 'Status' => ['title' => '资源状态', 'description' => '资源状态', 'type' => 'string', 'example' => 'Normal'],
+ 'TranscodeStatus' => ['title' => '转码状态', 'description' => '转码状态', 'type' => 'string', 'example' => 'Init'],
+ 'CreateTime' => ['title' => '媒资创建时间', 'description' => '媒资创建时间', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'ModifiedTime' => ['title' => '媒资修改时间', 'description' => '媒资修改时间', 'type' => 'string', 'example' => '2021-01-08T16:52:04Z'],
+ 'DeletedTime' => ['title' => '媒资删除时间', 'description' => '媒资删除时间', 'type' => 'string', 'example' => '2021-01-08T16:52:07Z'],
+ 'SpriteImages' => ['title' => '雪碧图', 'description' => '雪碧图', 'type' => 'string', 'example' => '[{"bucket":"example-bucket","count":"32","iceJobId":"******83ec44d58b2069def2e******","location":"oss-cn-shanghai","snapshotRegular":"example/example-{Count}.jpg","spriteRegular":"example/example-{TileCount}.jpg","templateId":"******e438b14ff39293eaec25******","tileCount":"1"}]'],
+ 'Biz' => ['description' => '媒资所属业务。', 'type' => 'string', 'example' => 'ICE'],
+ ],
+ ],
+ 'FileInfoList' => [
+ 'title' => 'FileInfos',
+ 'description' => 'FileInfos',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文件信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileBasicInfo' => [
+ 'title' => '文件基础信息,包含时长,大小等',
+ 'description' => '文件基础信息,包含时长,大小等',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileName' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'example' => 'example.mp4'],
+ 'FileStatus' => ['title' => '文件状态', 'description' => '文件状态', 'type' => 'string', 'example' => 'Normal'],
+ 'FileType' => ['title' => '文件类型', 'description' => '文件类型', 'type' => 'string', 'example' => 'source_file'],
+ 'FileSize' => ['title' => '文件大小(字节)', 'description' => '文件大小(字节)', 'type' => 'string', 'example' => '191'],
+ 'FileUrl' => ['title' => '文件oss地址', 'description' => '文件oss地址', 'type' => 'string', 'example' => 'http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=<ExpireTime>&OSSAccessKeyId=<OSSAccessKeyId>&Signature=<Signature>&security-token=<SecurityToken>'],
+ 'Region' => ['title' => '文件存储区域', 'description' => '文件存储区域', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'FormatName' => ['title' => '封装格式', 'description' => '封装格式', 'type' => 'string', 'example' => 'jpg'],
+ 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'string', 'example' => '200'],
+ 'Bitrate' => ['title' => '码率', 'description' => '码率', 'type' => 'string', 'example' => '30'],
+ 'Width' => ['title' => '宽', 'description' => '宽', 'type' => 'string', 'example' => '640'],
+ 'Height' => ['title' => '高', 'description' => '高', 'type' => 'string', 'example' => '416'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BizData' => [
+ 'description' => '业务信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => '文件夹ID。', 'type' => 'string', 'example' => 'pd_0617169475'],
+ 'ProductionId' => ['description' => '项目ID。', 'type' => 'string', 'example' => 'pd_0617169475'],
+ 'AuditBlockedLabel' => ['description' => '审核标签。', 'type' => 'string', 'example' => 'Label'],
+ 'AuditStatus' => ['description' => '审核状态。', 'type' => 'string', 'example' => 'pass'],
+ 'MediaAssetType' => ['description' => '媒资类型。', 'type' => 'string', 'example' => 'HistoricalUpload'],
+ 'MediaAssetSubType' => ['description' => '媒资子类型。', 'type' => 'string', 'example' => 'Image'],
+ 'SourceType' => ['description' => '源类型。', 'type' => 'string', 'example' => 'MainBody'],
+ 'SourceId' => ['description' => '来源ID。', 'type' => 'string', 'example' => 'f4a26390f02371f0a1f4e6e7c7586706'],
+ 'SourceName' => ['description' => '源名称。', 'type' => 'string', 'example' => 'name'],
+ 'IsFavorite' => ['description' => '是否最喜爱的。', 'type' => 'string', 'example' => '1'],
+ 'IsLogicalDeleted' => ['description' => '是否被删除。', 'type' => 'string', 'example' => '1'],
+ 'CreationJobId' => ['description' => '创建任务ID。', 'type' => 'string', 'example' => 'ID'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'IgnoredList' => [
+ 'description' => '获取失败的ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '获取失败的ID。', 'type' => 'string', 'example' => '****fb2101bf24bf41cb318787dc****'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'title' => '批量获取媒资信息详情',
+ 'summary' => '批量获取媒资信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\",\\n \\"MediaInfos\\": [\\n {\\n \\"MediaId\\": \\"******c48fb37407365d4f2cd8******\\",\\n \\"MediaBasicInfo\\": {\\n \\"MediaId\\": \\"*****64623a94eca8516569c8f*****\\",\\n \\"InputURL\\": \\"https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4\\",\\n \\"MediaType\\": \\"video\\",\\n \\"BusinessType\\": \\"general\\",\\n \\"Source\\": \\"oss\\",\\n \\"Title\\": \\"title\\",\\n \\"Description\\": \\"sample_description\\",\\n \\"Category\\": \\"category\\",\\n \\"MediaTags\\": \\"tag1,tag2\\",\\n \\"CoverURL\\": \\"https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg\\",\\n \\"UserData\\": \\"UserData\\",\\n \\"Snapshots\\": \\"[]\\",\\n \\"Status\\": \\"Normal\\",\\n \\"TranscodeStatus\\": \\"Init\\",\\n \\"CreateTime\\": \\"2020-12-26T04:11:08Z\\",\\n \\"ModifiedTime\\": \\"2021-01-08T16:52:04Z\\",\\n \\"DeletedTime\\": \\"2021-01-08T16:52:07Z\\",\\n \\"SpriteImages\\": \\"[{\\\\\\"bucket\\\\\\":\\\\\\"example-bucket\\\\\\",\\\\\\"count\\\\\\":\\\\\\"32\\\\\\",\\\\\\"iceJobId\\\\\\":\\\\\\"******83ec44d58b2069def2e******\\\\\\",\\\\\\"location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"snapshotRegular\\\\\\":\\\\\\"example/example-{Count}.jpg\\\\\\",\\\\\\"spriteRegular\\\\\\":\\\\\\"example/example-{TileCount}.jpg\\\\\\",\\\\\\"templateId\\\\\\":\\\\\\"******e438b14ff39293eaec25******\\\\\\",\\\\\\"tileCount\\\\\\":\\\\\\"1\\\\\\"}]\\",\\n \\"Biz\\": \\"ICE\\"\\n },\\n \\"FileInfoList\\": [\\n {\\n \\"FileBasicInfo\\": {\\n \\"FileName\\": \\"example.mp4\\",\\n \\"FileStatus\\": \\"Normal\\",\\n \\"FileType\\": \\"source_file\\",\\n \\"FileSize\\": \\"191\\",\\n \\"FileUrl\\": \\"http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=<ExpireTime>&OSSAccessKeyId=<OSSAccessKeyId>&Signature=<Signature>&security-token=<SecurityToken>\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"FormatName\\": \\"jpg\\",\\n \\"Duration\\": \\"200\\",\\n \\"Bitrate\\": \\"30\\",\\n \\"Width\\": \\"640\\",\\n \\"Height\\": \\"416\\"\\n }\\n }\\n ],\\n \\"BizData\\": {\\n \\"FolderId\\": \\"pd_0617169475\\",\\n \\"ProductionId\\": \\"pd_0617169475\\",\\n \\"AuditBlockedLabel\\": \\"Label\\",\\n \\"AuditStatus\\": \\"pass\\",\\n \\"MediaAssetType\\": \\"HistoricalUpload\\",\\n \\"MediaAssetSubType\\": \\"Image\\",\\n \\"SourceType\\": \\"MainBody\\",\\n \\"SourceId\\": \\"f4a26390f02371f0a1f4e6e7c7586706\\",\\n \\"SourceName\\": \\"name\\",\\n \\"IsFavorite\\": \\"1\\",\\n \\"IsLogicalDeleted\\": \\"1\\",\\n \\"CreationJobId\\": \\"ID\\"\\n }\\n }\\n ],\\n \\"IgnoredList\\": [\\n \\"****fb2101bf24bf41cb318787dc****\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateYikeAssetUpload' => [
+ 'summary' => '获取一刻媒资上传凭证',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FileExt',
+ 'in' => 'query',
+ 'schema' => ['title' => '文件后缀。', 'description' => '文件后缀。', 'type' => 'string', 'required' => true, 'example' => 'mp4'],
+ ],
+ [
+ 'name' => 'FileType',
+ 'in' => 'query',
+ 'schema' => ['title' => '文件类型,默认为Media', 'description' => '文件类型,默认为Media', 'type' => 'string', 'required' => false, 'example' => 'StoryboardInput'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => '请求ID。', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'FileURL' => ['title' => '文件 OSS 地址(不带鉴权)。', 'description' => '文件 OSS 地址(不带鉴权)。', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4'],
+ 'UploadAddress' => ['title' => '上传地址。', 'description' => '上传地址。', 'type' => 'string', 'example' => 'eyJTZWN1cml0a2VuIjoiQ0FJU3p3TjF****'],
+ 'UploadAuth' => ['title' => '上传凭证。', 'description' => '上传凭证。', 'type' => 'string', 'example' => 'eyJFbmRwb2ludCI6Imm****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '获取音视频上传地址和凭证',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"FileURL\\": \\"http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4\\",\\n \\"UploadAddress\\": \\"eyJTZWN1cml0a2VuIjoiQ0FJU3p3TjF****\\",\\n \\"UploadAuth\\": \\"eyJFbmRwb2ludCI6Imm****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateYikeProduction' => [
+ 'summary' => '创建一刻项目',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目标题。', 'type' => 'string', 'required' => true, 'example' => 'title', 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$'],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '工作室 ID。', 'type' => 'string', 'required' => false, 'example' => '581236'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ProductionId' => ['description' => '项目 ID。', 'type' => 'string', 'example' => 'ProductionId'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '创建项目',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"ProductionId\\": \\"ProductionId\\"\\n}","type":"json"}]',
+ ],
+ 'CreateYikeUser' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '工作室 ID。', 'type' => 'string', 'required' => true, 'example' => 'llm-az2gglkjauwnnhpq'],
+ ],
+ [
+ 'name' => 'UserNamePrefix',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户名前缀,规则为:'."\n"
+ ."\n"
+ .'- 最多 50 个字符,且需在工作室内保持唯一性。'."\n"
+ .'- 系统将自动生成用户登录名,格式为:{UserNamePrefix}.{工作室 Code}@{阿里云 UID}.yikeai。', 'type' => 'string', 'required' => true, 'example' => 'test', 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$'],
+ ],
+ [
+ 'name' => 'Nickname',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户昵称。', 'type' => 'string', 'required' => true, 'example' => 'nick', 'maxLength' => 100, 'pattern' => '^[^\';<>=|\\(\\)]+$'],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号密码。', 'type' => 'string', 'required' => true, 'example' => '***', 'maxLength' => 32, 'minLength' => 32, 'pattern' => '^[\\w.-]+$'],
+ ],
+ [
+ 'name' => 'ProductionIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联项目,支持多个,逗号隔开。'."\n"
+ .'> '."\n"
+ .'> - 同一个用户可以加入多个项目。', 'type' => 'string', 'required' => true, 'example' => 'id1,id2'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'UserInfo' => [
+ 'description' => '用户信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => ['description' => '用户 ID。', 'type' => 'string', 'example' => 'id'],
+ 'UserName' => ['description' => '用户名。', 'type' => 'string', 'example' => 'name'],
+ 'Nickname' => ['description' => '用户昵称。', 'type' => 'string', 'example' => 'nick'],
+ 'WorkspaceId' => ['description' => '工作室 ID。', 'type' => 'string', 'example' => 'spaceId'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '添加用户',
+ 'summary' => '创建一刻子用户',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"UserInfo\\": {\\n \\"UserId\\": \\"id\\",\\n \\"UserName\\": \\"name\\",\\n \\"Nickname\\": \\"nick\\",\\n \\"WorkspaceId\\": \\"spaceId\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateYikeWorkspace' => [
+ 'summary' => '创建工作室',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目标题。', 'type' => 'string', 'required' => true, 'example' => 'title', 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$'],
+ ],
+ [
+ 'name' => 'UserCountLimit',
+ 'in' => 'query',
+ 'schema' => ['description' => '工作室团队用户数量限制。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '1000', 'minimum' => '2', 'example' => '50'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'WorkspaceId' => ['description' => '工作室 ID。', 'type' => 'string', 'example' => 'llm-zna577pdximvztk5'],
+ 'ProductionId' => ['description' => '项目 ID。', 'type' => 'string', 'example' => 'ProductionId'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '创建工作室',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"WorkspaceId\\": \\"llm-zna577pdximvztk5\\",\\n \\"ProductionId\\": \\"ProductionId\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteYikeAssetMediaInfos' => [
+ 'summary' => '删除媒资信息',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MediaIds',
+ 'in' => 'query',
+ 'schema' => ['title' => 'ICE 媒资ID', 'description' => 'ICE 媒资ID', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****,****15d4a4b0448391508f2cb486****'],
+ ],
+ [
+ 'name' => 'LogicDelete',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否删除媒资信息及文件。取值为:'."\n"
+ .'- true(默认):逻辑删除,媒资进入回收站,文件保留。'."\n"
+ .'- false:删除媒资信息及文件。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'IgnoredList' => [
+ 'title' => '出现获取错误的ID或inputUr',
+ 'description' => '出现获取错误的ID或inputUr',
+ 'type' => 'array',
+ 'items' => ['description' => '删除失败的ID或InputUrl', 'type' => 'string', 'example' => '****fb2101bf24bf41cb318787dc****'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'title' => '删除媒资信息详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\",\\n \\"IgnoredList\\": [\\n \\"****fb2101bf24bf41cb318787dc****\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetImageGenerationJob' => [
+ 'summary' => '查询图片生成任务',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => '68ca759e798b40b4903b255*******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ImageGenerationJob' => [
+ 'description' => '图片生成任务',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => '任务 ID', 'type' => 'string', 'example' => 'fdc7f121056249c2b64e04bba27bcc8c'],
+ 'Status' => ['description' => '任务状态,枚举类型,包含:'."\n"
+ .'- Created:任务已创建'."\n"
+ .'- Queuing:任务排队中'."\n"
+ .'- Executing:任务执行中'."\n"
+ .'- Finished:任务运行成功'."\n"
+ .'- Failed:任务运行失败', 'type' => 'string', 'example' => 'Executing'],
+ 'Output' => ['description' => '生成结果,JsonString类型,包含:'."\n"
+ .'- Medias,媒体信息(Media对象)列表,Media 对象字段:'."\n"
+ .' - MediaId,String,媒资ID;'."\n"
+ .' - OutputUrl,String,媒体地址(含鉴权串);', 'type' => 'string', 'example' => '{"Medias":[{"MediaId":"***e3700761971f19c32e7e7d5496***","OutputUrl":"https://**bucket**.oss-ap-southeast-1.aliyuncs.com/xxx.prd"}]}'],
+ 'JobType' => ['description' => '任务类型', 'type' => 'string', 'example' => 'text_to_image'],
+ 'Model' => ['description' => '模型名称', 'type' => 'string', 'example' => 'wan2.7-image'],
+ 'Scene' => ['description' => '场景类型,目前仅有 `general `', 'type' => 'string', 'example' => 'general'],
+ 'Input' => ['description' => '任务输入', 'type' => 'string', 'example' => '{"Prompt":"图1在篮球场上,用图2来了个灌篮"}'],
+ 'JobParameters' => ['description' => '任务功能配置,暂不需要设置', 'type' => 'string', 'example' => '{}'],
+ 'Resolution' => ['description' => '生成视频分辨率。', 'type' => 'string', 'example' => '1K'],
+ 'AspectRatio' => ['description' => '视频宽高比。', 'type' => 'string', 'example' => '16:9'],
+ 'N' => ['description' => '生成的图片数量', 'type' => 'string', 'example' => '1'],
+ 'ErrorMessage' => ['description' => 'ErrorMessage,错误信息,String类型,Failed状态下返回', 'type' => 'string', 'example' => 'Input file not found.'],
+ 'UserData' => ['description' => '用户业务信息', 'type' => 'string', 'example' => '{}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询图片生成任务',
+ 'description' => '## 请求说明'."\n"
+ .'该API用于根据提供的文本内容及其它参数(如数字人信息、应用场景类型等)生成一段由虚拟人物口播的视频。用户需指定文本类型(原始稿或口播稿)、成片尺寸与清晰度等关键配置项,并可选择是否添加字幕或指定输出语言种类。此外,支持通过`UserData`字段传递自定义参数,在回调时原样返回。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"ImageGenerationJob\\": {\\n \\"JobId\\": \\"fdc7f121056249c2b64e04bba27bcc8c\\",\\n \\"Status\\": \\"Executing\\",\\n \\"Output\\": \\"{\\\\\\"Medias\\\\\\":[{\\\\\\"MediaId\\\\\\":\\\\\\"***e3700761971f19c32e7e7d5496***\\\\\\",\\\\\\"OutputUrl\\\\\\":\\\\\\"https://**bucket**.oss-ap-southeast-1.aliyuncs.com/xxx.prd\\\\\\"}]}\\",\\n \\"JobType\\": \\"text_to_image\\",\\n \\"Model\\": \\"wan2.7-image\\",\\n \\"Scene\\": \\"general\\",\\n \\"Input\\": \\"{\\\\\\"Prompt\\\\\\":\\\\\\"图1在篮球场上,用图2来了个灌篮\\\\\\"}\\",\\n \\"JobParameters\\": \\"{}\\",\\n \\"Resolution\\": \\"1K\\",\\n \\"AspectRatio\\": \\"16:9\\",\\n \\"N\\": \\"1\\",\\n \\"ErrorMessage\\": \\"Input file not found.\\",\\n \\"UserData\\": \\"{}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetVideoGenerationJob' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'],
+ 'parameters' => [
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => false, 'example' => 'xxxx'],
+ ],
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务 ID', 'type' => 'string', 'required' => false, 'example' => '68ca759e798b40b4903b255*******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'VideoGenerationJob' => [
+ 'description' => '视频生成任务',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'fdc7f121056249c2b64e04bba27bcc8c'],
+ 'Status' => ['description' => '任务状态,枚举类型,包含:'."\n"
+ .'- Created:任务已创建'."\n"
+ .'- Queuing:任务排队中'."\n"
+ .'- Executing:任务执行中'."\n"
+ .'- Finished:任务运行成功'."\n"
+ .'- Failed:任务运行失败', 'type' => 'string', 'example' => 'Executing'],
+ 'Output' => ['description' => '生成结果,JsonString 类型,包含:'."\n"
+ ."\n"
+ .'Medias,媒体信息(Media 对象)列表,Media 对象字段:'."\n"
+ .'MediaId,String,媒资 ID;'."\n"
+ .'OutputUrl,String,媒体地址(含鉴权串);', 'type' => 'string', 'example' => '{\\"Medias\\":[{\\"MediaId\\":\\"*****470732171f1bfcaf7f6d44*****\\",\\"OutputUrl\\":\\"https://xxxxxxx/.../xxxxx.mp4?Expires=xxxx&OSSAccessKeyId=xxx&Signature=xxxx\\"}]}'],
+ 'JobType' => ['description' => '任务类型', 'type' => 'string', 'example' => 'first_last_frame'],
+ 'Model' => ['description' => '模型名称', 'type' => 'string', 'example' => 'happyhorse-1.1'],
+ 'Scene' => ['description' => '场景类型,目前仅有 general', 'type' => 'string', 'example' => 'general'],
+ 'Input' => ['description' => '任务输入', 'type' => 'string', 'example' => '{"Prompt":"图1在篮球场上,用图2来了个灌篮","Medias":[{"Type":"image","Url":"https://xxx/xxx.jpg"},{"Type":"image","Url":"https://xxx/xxx.jpg"}]}'],
+ 'JobParameters' => ['description' => '任务功能配置,暂不需要设置', 'type' => 'string', 'example' => '{}'],
+ 'Resolution' => ['description' => '分辨率', 'type' => 'string', 'example' => '720P'],
+ 'AspectRatio' => ['description' => '宽高比', 'type' => 'string', 'example' => '16:9'],
+ 'Duration' => ['description' => '视频时长,单位:秒', 'type' => 'string', 'example' => '5'],
+ 'N' => ['description' => '生成数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ErrorMessage' => ['description' => 'ErrorMessage,错误信息,String 类型,Failed 状态下返回', 'type' => 'string', 'example' => 'Input file not found.'],
+ 'UserData' => ['description' => '用户业务信息', 'type' => 'string', 'example' => '{}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询视频生成任务',
+ 'summary' => '查询视频生成任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"VideoGenerationJob\\": {\\n \\"JobId\\": \\"fdc7f121056249c2b64e04bba27bcc8c\\",\\n \\"Status\\": \\"Executing\\",\\n \\"Output\\": \\"{\\\\\\\\\\\\\\"Medias\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"MediaId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"*****470732171f1bfcaf7f6d44*****\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OutputUrl\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://xxxxxxx/.../xxxxx.mp4?Expires=xxxx&OSSAccessKeyId=xxx&Signature=xxxx\\\\\\\\\\\\\\"}]}\\",\\n \\"JobType\\": \\"first_last_frame\\",\\n \\"Model\\": \\"happyhorse-1.1\\",\\n \\"Scene\\": \\"general\\",\\n \\"Input\\": \\"{\\\\\\"Prompt\\\\\\":\\\\\\"图1在篮球场上,用图2来了个灌篮\\\\\\",\\\\\\"Medias\\\\\\":[{\\\\\\"Type\\\\\\":\\\\\\"image\\\\\\",\\\\\\"Url\\\\\\":\\\\\\"https://xxx/xxx.jpg\\\\\\"},{\\\\\\"Type\\\\\\":\\\\\\"image\\\\\\",\\\\\\"Url\\\\\\":\\\\\\"https://xxx/xxx.jpg\\\\\\"}]}\\",\\n \\"JobParameters\\": \\"{}\\",\\n \\"Resolution\\": \\"720P\\",\\n \\"AspectRatio\\": \\"16:9\\",\\n \\"Duration\\": \\"5\\",\\n \\"N\\": 1,\\n \\"ErrorMessage\\": \\"Input file not found.\\",\\n \\"UserData\\": \\"{}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetYikeAIAppJob' => [
+ 'summary' => '获取一刻AI应用任务',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****'."\n"],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0622C702-41BE-467E-AF2E-883D4517962E'."\n"],
+ 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****'."\n"],
+ 'AppId' => ['description' => 'AI应用ID。', 'type' => 'string', 'example' => 'app-****'."\n"],
+ 'AppParams' => ['description' => 'AI应用运行输入参数,JSON序列化后的字符串。', 'type' => 'string', 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n"],
+ 'Status' => ['description' => '任务状态,包含:'."\n"
+ .'- Created :任务刚创建。'."\n"
+ .'- Queuing:任务排队中。'."\n"
+ .'- Executing:任务执行中。'."\n"
+ .'- Finished:任务执行结束。'."\n"
+ .'- Failed:任务执行失败。', 'type' => 'string', 'example' => 'Created'],
+ 'ProductionId' => ['description' => '项目ID。', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****'."\n"],
+ 'FolderId' => ['description' => '文件夹ID。', 'type' => 'string', 'example' => 'folder-u3ilwhoc36ux9a****'."\n"],
+ 'ExecutionStartTime' => ['description' => '任务开始时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)。', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'."\n"],
+ 'ExecutionFinishTime' => ['description' => '任务结束时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)。', 'type' => 'string', 'example' => '2026-02-06T18:53:18.809+08:00'."\n"],
+ 'Result' => [
+ 'description' => '任务执行结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageResult' => [
+ 'description' => '图片任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图片任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资 ID。', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.png'],
+ ],
+ ],
+ ],
+ 'VideoResult' => [
+ 'description' => '视频任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视频任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资ID。', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4'],
+ ],
+ ],
+ ],
+ 'AudioResult' => [
+ 'description' => '音频任务结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '音频任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '媒资ID。', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n"],
+ 'OutputUrl' => ['description' => '输出文件地址。', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp3'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0622C702-41BE-467E-AF2E-883D4517962E\\\\n\\",\\n \\"JobId\\": \\"****cdb3e74639973036bc84****\\\\n\\",\\n \\"AppId\\": \\"app-****\\\\n\\",\\n \\"AppParams\\": \\"{\\\\\\\\\\\\\\"LoadImage.1.TargetImage\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MediaId1\\\\\\\\\\\\\\"}\\\\n\\",\\n \\"Status\\": \\"Created\\",\\n \\"ProductionId\\": \\"****cdb3e74639973036bc84****\\\\n\\",\\n \\"FolderId\\": \\"folder-u3ilwhoc36ux9a****\\\\n\\",\\n \\"ExecutionStartTime\\": \\"2026-02-06T18:53:34.001+08:00\\\\n\\",\\n \\"ExecutionFinishTime\\": \\"2026-02-06T18:53:18.809+08:00\\\\n\\",\\n \\"Result\\": {\\n \\"ImageResult\\": [\\n {\\n \\"MediaId\\": \\"1a7852b032c371f0b64fe6f6c74b****\\\\n\\",\\n \\"OutputUrl\\": \\"http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.png\\"\\n }\\n ],\\n \\"VideoResult\\": [\\n {\\n \\"MediaId\\": \\"1a7852b032c371f0b64fe6f6c74b****\\\\n\\",\\n \\"OutputUrl\\": \\"http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4\\"\\n }\\n ],\\n \\"AudioResult\\": [\\n {\\n \\"MediaId\\": \\"1a7852b032c371f0b64fe6f6c74b****\\\\n\\",\\n \\"OutputUrl\\": \\"http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp3\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => '获取任务结果详情',
+ 'changeSet' => [],
+ ],
+ 'GetYikeAgentJob' => [
+ 'summary' => '查询一刻智能体任务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务 ID', 'type' => 'string', 'required' => true, 'example' => 'ab4802364a2e49208c99efab82df****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****'],
+ 'JobParams' => ['description' => '任务输入参数,Json String', 'type' => 'string', 'example' => '{\\"TextType\\":2,\\"TextContent\\":\\"Today, Beijing held a press conference to announce plans to further optimize the city\'s transportation network, including adding three new subway lines within the next three years....\\",\\"AspectRatio\\":\\"16:9\\", \\"Resolution\\":\\"720P\\", \\"OutputLanguages\\":[\\"CN\\",\\"YUE\\"]"}'],
+ 'JobStatus' => ['description' => '任务状态:Running、Succeeded、Failed', 'type' => 'string', 'example' => 'Running'],
+ 'JobResult' => [
+ 'description' => '多个任务结果,仅Succeeded状态时有效',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '单个任务结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '资产ID', 'type' => 'string', 'example' => '9d7e982012c671f1b803e7f6d75a6302'],
+ 'OutputUrl' => ['description' => '下载 URL', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/videos/task_abc123def456.mp4'],
+ 'OutputLanguage' => ['description' => '输出语种', 'type' => 'string', 'example' => 'CN'],
+ 'EditingProjectId' => ['description' => '在线剪辑工程 ID', 'type' => 'string', 'example' => '01a6adbbd181437eb5030d3d93e0182d'],
+ ],
+ ],
+ ],
+ 'UserData' => ['description' => '创建任务时传入的用户自定义参数(原样返回)', 'type' => 'string', 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'],
+ 'ErrorCode' => ['description' => '错误码,Failed状态下返回', 'type' => 'string', 'example' => 'WorkflowTaskFailed'],
+ 'JobType' => ['description' => 'Agent任务类型'."\n"
+ .'- VoiceNarrator:无数字人口播视频'."\n"
+ .'- AvatarNarrator:带数字人口播视频'."\n"
+ .'- VideoClone:视频复刻', 'type' => 'string', 'example' => 'VoiceNarrator'],
+ 'CreateTime' => ['description' => '任务开始时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'],
+ 'FinishTime' => ['description' => '任务结束时间,格式为:yyyy-mm-ddTHH:mm:ssZ(UTC 时间)', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询智能体任务信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\\\n\\",\\n \\"JobId\\": \\"ab4802364a2e49208c99efab82df****\\",\\n \\"JobParams\\": \\"{\\\\\\\\\\\\\\"TextType\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"TextContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today, Beijing held a press conference to announce plans to further optimize the city\'s transportation network, including adding three new subway lines within the next three years....\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AspectRatio\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"16:9\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"Resolution\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"720P\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"OutputLanguages\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"CN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"YUE\\\\\\\\\\\\\\"]\\\\\\"}\\",\\n \\"JobStatus\\": \\"Running\\",\\n \\"JobResult\\": [\\n {\\n \\"MediaId\\": \\"9d7e982012c671f1b803e7f6d75a6302\\",\\n \\"OutputUrl\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/videos/task_abc123def456.mp4\\",\\n \\"OutputLanguage\\": \\"CN\\",\\n \\"EditingProjectId\\": \\"01a6adbbd181437eb5030d3d93e0182d\\"\\n }\\n ],\\n \\"UserData\\": \\"{\\\\\\\\\\\\\\"newsKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NEWS_20260420_001\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value1\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"NotifyAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://cms.example.com/callback/video-task\\\\\\\\\\\\\\"}\\",\\n \\"ErrorCode\\": \\"WorkflowTaskFailed\\",\\n \\"JobType\\": \\"VoiceNarrator\\",\\n \\"CreateTime\\": \\"2026-02-06T18:53:34.001+08:00\\",\\n \\"FinishTime\\": \\"2026-02-06T18:53:34.001+08:00\\"\\n}","type":"json"}]',
+ ],
+ 'GetYikeAssetMediaInfo' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '6890',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MediaId',
+ 'in' => 'query',
+ 'schema' => ['description' => '媒资 ID。', 'type' => 'string', 'required' => true, 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'MediaInfo' => [
+ 'description' => '媒资信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '媒资ID', 'description' => '媒资ID', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ 'MediaBasicInfo' => [
+ 'title' => 'BasicInfo',
+ 'description' => 'BasicInfo',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => 'MediaId', 'description' => '媒资 ID。', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ 'InputURL' => ['title' => '待注册的媒资在相应系统中的地址', 'description' => '待注册的媒资在相应系统中的地址', 'type' => 'string', 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ 'MediaType' => ['title' => '媒资媒体类型', 'description' => '媒资媒体类型', 'type' => 'string', 'example' => 'video'],
+ 'BusinessType' => ['title' => '媒资业务类型', 'description' => '媒资业务类型', 'type' => 'string', 'example' => 'general'],
+ 'Source' => ['title' => '来源', 'description' => '来源', 'type' => 'string', 'example' => 'oss'],
+ 'Title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'example' => 'v6l82k_176822379****.jpeg'],
+ 'Description' => ['title' => '内容描述', 'description' => '内容描述', 'type' => 'string', 'example' => 'description'],
+ 'Category' => ['title' => '分类', 'description' => '分类', 'type' => 'string', 'example' => 'category'],
+ 'MediaTags' => ['title' => '标签', 'description' => '标签', 'type' => 'string', 'example' => 'tag1'],
+ 'CoverURL' => ['title' => '封面地址', 'description' => '封面地址', 'type' => 'string', 'example' => 'https://dtlive-vip.oss-cn-shanghai.aliyuncs.com/cover/4e88a055-75fc-4ff5-8b8a-f32224917514_open_live_cover.jpg'],
+ 'UserData' => ['title' => '用户数据', 'description' => '用户数据', 'type' => 'string', 'example' => 'UserData'],
+ 'Snapshots' => ['title' => '截图', 'description' => '截图', 'type' => 'string', 'example' => '[]'],
+ 'Status' => ['title' => '资源状态', 'description' => '资源状态', 'type' => 'string', 'example' => 'Normal'],
+ 'CreateTime' => ['title' => '媒资创建时间', 'description' => '媒资创建时间', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'ModifiedTime' => ['title' => '媒资修改时间', 'description' => '媒资修改时间', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'DeletedTime' => ['title' => '媒资删除时间', 'description' => '媒资删除时间', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'SpriteImages' => ['title' => '雪碧图', 'description' => '雪碧图', 'type' => 'string', 'example' => '[{"bucket":"example-bucket","count":"32","iceJobId":"******83ec44d58b2069def2e******","location":"oss-cn-shanghai","snapshotRegular":"example/example-{Count}.jpg","spriteRegular":"example/example-{TileCount}.jpg","templateId":"******e438b14ff39293eaec25******","tileCount":"1"}]'],
+ 'CateId' => ['description' => '分类ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3048'],
+ 'Biz' => ['description' => '媒资所属业务。', 'type' => 'string', 'example' => 'AiSaas'],
+ 'UploadSource' => ['description' => '媒资上传来源', 'type' => 'string', 'example' => 'general'],
+ 'CateName' => ['description' => '分类名称。', 'type' => 'string', 'example' => 'cateName'],
+ 'ReferenceId' => ['description' => '自定义ID,仅支持小写字母、大写字母、数字、横线、下划线,长度6-64位。用户维度唯一。', 'type' => 'string', 'example' => '123-1234'],
+ 'ThumbURL240P' => ['description' => '高度为 240 像素的缩略图。', 'type' => 'string', 'example' => 'ThumbURL240P'],
+ 'ThumbURLWebp' => ['description' => '采用 WebP 格式编码的缩略图‌。', 'type' => 'string', 'example' => 'ThumbURLWebp'],
+ ],
+ ],
+ 'FileInfoList' => [
+ 'title' => 'FileInfos',
+ 'description' => 'FileInfos',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文件信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileBasicInfo' => [
+ 'title' => '文件基础信息,包含时长,大小等',
+ 'description' => '文件基础信息,包含时长,大小等',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileName' => ['title' => '文件名', 'description' => '文件名', 'type' => 'string', 'example' => 'example.mp4'],
+ 'FileStatus' => ['title' => '文件状态', 'description' => '文件状态', 'type' => 'string', 'example' => 'Normal'],
+ 'FileType' => ['title' => '文件类型', 'description' => '文件类型', 'type' => 'string', 'example' => 'source_file'],
+ 'FileSize' => ['title' => '文件大小(字节)', 'description' => '文件大小(字节)', 'type' => 'string', 'example' => '27007'],
+ 'FileUrl' => ['title' => '文件oss地址', 'description' => '文件oss地址', 'type' => 'string', 'example' => 'http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=<ExpireTime>&OSSAccessKeyId=<OSSAccessKeyId>&Signature=<Signature>&security-token=<SecurityToken>'],
+ 'Region' => ['title' => '文件存储区域', 'description' => '文件存储区域', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'FormatName' => ['title' => '封装格式', 'description' => '封装格式', 'type' => 'string', 'example' => 'mp4'],
+ 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'string', 'example' => '16.2'],
+ 'Bitrate' => ['title' => '码率', 'description' => '码率', 'type' => 'string', 'example' => '20'],
+ 'Width' => ['title' => '宽', 'description' => '宽', 'type' => 'string', 'example' => '960'],
+ 'Height' => ['title' => '高', 'description' => '高', 'type' => 'string', 'example' => '540'],
+ 'CreateTime' => ['description' => '文件创建时间。', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'ModifiedTime' => ['description' => '文件修改时间。', 'type' => 'string', 'example' => '2020-12-26T04:11:10Z'],
+ ],
+ ],
+ 'AudioStreamInfoList' => [
+ 'title' => '音频流信息,一个媒资可能有多条音频流',
+ 'description' => '音频流信息,一个媒资可能有多条音频流',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '音频流信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '音频流序号', 'description' => '音频流序号', 'type' => 'string', 'example' => '1'],
+ 'CodecName' => ['title' => '编码格式简述名', 'description' => '编码格式简述名', 'type' => 'string', 'example' => 'aac'],
+ 'CodecLongName' => ['title' => '编码格式长述名', 'description' => '编码格式长述名', 'type' => 'string', 'example' => 'AAC (Advanced Audio Coding)'],
+ 'CodecTimeBase' => ['title' => '编码时基', 'description' => '编码时基', 'type' => 'string', 'example' => '1/44100'],
+ 'CodecTagString' => ['title' => '编码格式标记文本', 'description' => '编码格式标记文本', 'type' => 'string', 'example' => 'mp4a'],
+ 'CodecTag' => ['title' => '编码格式标记', 'description' => '编码格式标记', 'type' => 'string', 'example' => '0x6134706d'],
+ 'Profile' => ['title' => '编码预置', 'description' => '编码预置', 'type' => 'string', 'example' => 'High'],
+ 'SampleFmt' => ['title' => '采样格式', 'description' => '采样格式', 'type' => 'string', 'example' => 'fltp'],
+ 'SampleRate' => ['title' => '采样率', 'description' => '采样率', 'type' => 'string', 'example' => '44100'],
+ 'Channels' => ['title' => '声道数', 'description' => '声道数', 'type' => 'string', 'example' => '2'],
+ 'ChannelLayout' => ['title' => '声道输出样式', 'description' => '声道输出样式', 'type' => 'string', 'example' => 'stereo'],
+ 'Timebase' => ['title' => '时基', 'description' => '时基', 'type' => 'string', 'example' => '1/44100'],
+ 'StartTime' => ['title' => '起始时间', 'description' => '起始时间', 'type' => 'string', 'example' => '2026-02-04T02:13:00Z'],
+ 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'string', 'example' => '16.2'],
+ 'Bitrate' => ['title' => '码率', 'description' => '码率', 'type' => 'string', 'example' => '192.0'],
+ 'Fps' => ['title' => '音频帧率', 'description' => '音频帧率', 'type' => 'string', 'example' => '10'],
+ 'NumFrames' => ['title' => '总帧数', 'description' => '总帧数', 'type' => 'string', 'example' => '10'],
+ 'Lang' => ['title' => '语言', 'description' => '语言', 'type' => 'string', 'example' => 'zh'],
+ ],
+ ],
+ ],
+ 'VideoStreamInfoList' => [
+ 'title' => '视频流信息,一个媒资可能有多条视频流',
+ 'description' => '视频流信息,一个媒资可能有多条视频流',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '视频流信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '视频流序号', 'description' => '视频流序号', 'type' => 'string', 'example' => '0'],
+ 'CodecName' => ['title' => '编码格式简述名', 'description' => '编码格式简述名', 'type' => 'string', 'example' => 'h264'],
+ 'CodecLongName' => ['title' => '编码格式长述名', 'description' => '编码格式长述名', 'type' => 'string', 'example' => 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10'],
+ 'Profile' => ['title' => '编码预置', 'description' => '编码预置', 'type' => 'string', 'example' => 'High'],
+ 'CodecTimeBase' => ['title' => '编码时基', 'description' => '编码时基', 'type' => 'string', 'example' => '1/48'],
+ 'CodecTagString' => ['title' => '编码格式标记文本', 'description' => '编码格式标记文本', 'type' => 'string', 'example' => '[0][0][0][0]'],
+ 'CodecTag' => ['title' => '编码格式标记', 'description' => '编码格式标记', 'type' => 'string', 'example' => '0x0000'],
+ 'Width' => ['title' => '宽', 'description' => '宽', 'type' => 'string', 'example' => '960'],
+ 'Height' => ['title' => '高', 'description' => '高', 'type' => 'string', 'example' => '540'],
+ 'HasBFrames' => ['title' => '是否有B帧', 'description' => '是否有B帧', 'type' => 'string', 'example' => '2'],
+ 'Sar' => ['title' => '编码信号分辨率比', 'description' => '编码信号分辨率比', 'type' => 'string', 'example' => '0:1'],
+ 'Dar' => ['title' => '编码显示分辨率比', 'description' => '编码显示分辨率比', 'type' => 'string', 'example' => '0:1'],
+ 'PixFmt' => ['title' => '像素格式', 'description' => '像素格式', 'type' => 'string', 'example' => 'yuv420p'],
+ 'Level' => ['title' => '编码等级', 'description' => '编码等级', 'type' => 'string', 'example' => '30'],
+ 'Fps' => ['title' => '视频帧率', 'description' => '视频帧率', 'type' => 'string', 'example' => '24.0'],
+ 'AvgFPS' => ['title' => '平均帧率', 'description' => '平均帧率', 'type' => 'string', 'example' => '24.0'],
+ 'Timebase' => ['title' => '时基', 'description' => '时基', 'type' => 'string', 'example' => '1/12288'],
+ 'StartTime' => ['title' => '起始时间', 'description' => '起始时间', 'type' => 'string', 'example' => '2025-08-04T12:00:00Z'],
+ 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'string', 'example' => '216.206706'],
+ 'Bitrate' => ['title' => '码率', 'description' => '码率', 'type' => 'string', 'example' => '20'],
+ 'NumFrames' => ['title' => '总帧数', 'description' => '总帧数', 'type' => 'string', 'example' => '5184'],
+ 'Lang' => ['title' => '语言', 'description' => '语言', 'type' => 'string', 'example' => 'zh'],
+ 'Rotate' => ['title' => '旋转', 'description' => '旋转', 'type' => 'string', 'example' => '0'],
+ ],
+ ],
+ ],
+ 'SubtitleStreamInfoList' => [
+ 'title' => '字幕流信息,一个媒资可能有多条字幕流',
+ 'description' => '字幕流信息,一个媒资可能有多条字幕流',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '字幕流信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '音频流序号', 'description' => '音频流序号', 'type' => 'string', 'example' => '1'],
+ 'CodecName' => ['title' => '编码格式简述名', 'description' => '编码格式简述名', 'type' => 'string', 'example' => 'srt'],
+ 'CodecLongName' => ['title' => '编码格式长述名', 'description' => '编码格式长述名', 'type' => 'string', 'example' => 'SubRip Text'],
+ 'CodecTimeBase' => ['title' => '编码时基', 'description' => '编码时基', 'type' => 'string', 'example' => '29.97'],
+ 'CodecTagString' => ['title' => '编码格式标记文本', 'description' => '编码格式标记文本', 'type' => 'string', 'example' => 'unicode'],
+ 'CodecTag' => ['title' => '编码格式标记', 'description' => '编码格式标记', 'type' => 'string', 'example' => 'unicode'],
+ 'Timebase' => ['title' => '时基', 'description' => '时基', 'type' => 'string', 'example' => '30'],
+ 'StartTime' => ['title' => '起始时间', 'description' => '起始时间', 'type' => 'string', 'example' => '2025-03-07T01:30Z'],
+ 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'string', 'example' => '1'],
+ 'Lang' => ['title' => '语言', 'description' => '语言', 'type' => 'string', 'example' => 'zh'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BizData' => [
+ 'description' => '业务自定义信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => '文件夹 ID。', 'type' => 'string', 'example' => 'fd-CBMEJaa2fA'],
+ 'ProductionId' => ['description' => '项目ID。', 'type' => 'string', 'example' => 'ID'],
+ 'AuditBlockedLabel' => ['description' => '审核标签。', 'type' => 'string', 'example' => 'Label'],
+ 'AuditStatus' => ['description' => '审核状态。', 'type' => 'string', 'example' => 'Status'],
+ 'MediaAssetType' => ['description' => '媒资类型。', 'type' => 'string', 'example' => 'Type'],
+ 'MediaAssetSubType' => ['description' => '媒资子类型。', 'type' => 'string', 'example' => 'SubType'],
+ 'SourceType' => ['description' => '源类型。', 'type' => 'string', 'example' => 'MainBody'],
+ 'SourceId' => ['description' => '源ID。', 'type' => 'string', 'example' => 'f4a26390f02371f0a1f4e6e7c758****'],
+ 'SourceName' => ['description' => '源名称。', 'type' => 'string', 'example' => 'SourceName'],
+ 'IsFavorite' => ['description' => '是否最喜爱的。', 'type' => 'string', 'example' => '1'],
+ 'IsLogicalDeleted' => ['description' => '是否被删除。', 'type' => 'string', 'example' => '1'],
+ 'CreationJobId' => ['description' => '创建任务ID。', 'type' => 'string', 'example' => 'ID'],
+ 'Prompt' => ['description' => '提示词。', 'type' => 'string', 'example' => '请为上述内容生成一段摘要,字数必须限制在70字以内包含标点符号'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'title' => '获取媒资信息详情',
+ 'summary' => '获取一刻媒资内容信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\",\\n \\"MediaInfo\\": {\\n \\"MediaId\\": \\"****20b48fb04483915d4f2cd8ac****\\",\\n \\"MediaBasicInfo\\": {\\n \\"MediaId\\": \\"****20b48fb04483915d4f2cd8ac****\\",\\n \\"InputURL\\": \\"https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4\\",\\n \\"MediaType\\": \\"video\\",\\n \\"BusinessType\\": \\"general\\",\\n \\"Source\\": \\"oss\\",\\n \\"Title\\": \\"v6l82k_176822379****.jpeg\\",\\n \\"Description\\": \\"description\\",\\n \\"Category\\": \\"category\\",\\n \\"MediaTags\\": \\"tag1\\",\\n \\"CoverURL\\": \\"https://dtlive-vip.oss-cn-shanghai.aliyuncs.com/cover/4e88a055-75fc-4ff5-8b8a-f32224917514_open_live_cover.jpg\\",\\n \\"UserData\\": \\"UserData\\",\\n \\"Snapshots\\": \\"[]\\",\\n \\"Status\\": \\"Normal\\",\\n \\"CreateTime\\": \\"2020-12-26T04:11:08Z\\",\\n \\"ModifiedTime\\": \\"2020-12-26T04:11:08Z\\",\\n \\"DeletedTime\\": \\"2020-12-26T04:11:08Z\\",\\n \\"SpriteImages\\": \\"[{\\\\\\"bucket\\\\\\":\\\\\\"example-bucket\\\\\\",\\\\\\"count\\\\\\":\\\\\\"32\\\\\\",\\\\\\"iceJobId\\\\\\":\\\\\\"******83ec44d58b2069def2e******\\\\\\",\\\\\\"location\\\\\\":\\\\\\"oss-cn-shanghai\\\\\\",\\\\\\"snapshotRegular\\\\\\":\\\\\\"example/example-{Count}.jpg\\\\\\",\\\\\\"spriteRegular\\\\\\":\\\\\\"example/example-{TileCount}.jpg\\\\\\",\\\\\\"templateId\\\\\\":\\\\\\"******e438b14ff39293eaec25******\\\\\\",\\\\\\"tileCount\\\\\\":\\\\\\"1\\\\\\"}]\\",\\n \\"CateId\\": 3048,\\n \\"Biz\\": \\"AiSaas\\",\\n \\"UploadSource\\": \\"general\\",\\n \\"CateName\\": \\"cateName\\",\\n \\"ReferenceId\\": \\"123-1234\\",\\n \\"ThumbURL240P\\": \\"ThumbURL240P\\",\\n \\"ThumbURLWebp\\": \\"ThumbURLWebp\\"\\n },\\n \\"FileInfoList\\": [\\n {\\n \\"FileBasicInfo\\": {\\n \\"FileName\\": \\"example.mp4\\",\\n \\"FileStatus\\": \\"Normal\\",\\n \\"FileType\\": \\"source_file\\",\\n \\"FileSize\\": \\"27007\\",\\n \\"FileUrl\\": \\"http://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?Expires=<ExpireTime>&OSSAccessKeyId=<OSSAccessKeyId>&Signature=<Signature>&security-token=<SecurityToken>\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"FormatName\\": \\"mp4\\",\\n \\"Duration\\": \\"16.2\\",\\n \\"Bitrate\\": \\"20\\",\\n \\"Width\\": \\"960\\",\\n \\"Height\\": \\"540\\",\\n \\"CreateTime\\": \\"2020-12-26T04:11:08Z\\",\\n \\"ModifiedTime\\": \\"2020-12-26T04:11:10Z\\"\\n },\\n \\"AudioStreamInfoList\\": [\\n {\\n \\"Index\\": \\"1\\",\\n \\"CodecName\\": \\"aac\\",\\n \\"CodecLongName\\": \\"AAC (Advanced Audio Coding)\\",\\n \\"CodecTimeBase\\": \\"1/44100\\",\\n \\"CodecTagString\\": \\"mp4a\\",\\n \\"CodecTag\\": \\"0x6134706d\\",\\n \\"Profile\\": \\"High\\",\\n \\"SampleFmt\\": \\"fltp\\",\\n \\"SampleRate\\": \\"44100\\",\\n \\"Channels\\": \\"2\\",\\n \\"ChannelLayout\\": \\"stereo\\",\\n \\"Timebase\\": \\"1/44100\\",\\n \\"StartTime\\": \\"2026-02-04T02:13:00Z\\",\\n \\"Duration\\": \\"16.2\\",\\n \\"Bitrate\\": \\"192.0\\",\\n \\"Fps\\": \\"10\\",\\n \\"NumFrames\\": \\"10\\",\\n \\"Lang\\": \\"zh\\"\\n }\\n ],\\n \\"VideoStreamInfoList\\": [\\n {\\n \\"Index\\": \\"0\\",\\n \\"CodecName\\": \\"h264\\",\\n \\"CodecLongName\\": \\"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\\",\\n \\"Profile\\": \\"High\\",\\n \\"CodecTimeBase\\": \\"1/48\\",\\n \\"CodecTagString\\": \\"[0][0][0][0]\\",\\n \\"CodecTag\\": \\"0x0000\\",\\n \\"Width\\": \\"960\\",\\n \\"Height\\": \\"540\\",\\n \\"HasBFrames\\": \\"2\\",\\n \\"Sar\\": \\"0:1\\",\\n \\"Dar\\": \\"0:1\\",\\n \\"PixFmt\\": \\"yuv420p\\",\\n \\"Level\\": \\"30\\",\\n \\"Fps\\": \\"24.0\\",\\n \\"AvgFPS\\": \\"24.0\\",\\n \\"Timebase\\": \\"1/12288\\",\\n \\"StartTime\\": \\"2025-08-04T12:00:00Z\\",\\n \\"Duration\\": \\"216.206706\\",\\n \\"Bitrate\\": \\"20\\",\\n \\"NumFrames\\": \\"5184\\",\\n \\"Lang\\": \\"zh\\",\\n \\"Rotate\\": \\"0\\"\\n }\\n ],\\n \\"SubtitleStreamInfoList\\": [\\n {\\n \\"Index\\": \\"1\\",\\n \\"CodecName\\": \\"srt\\",\\n \\"CodecLongName\\": \\"SubRip Text\\",\\n \\"CodecTimeBase\\": \\"29.97\\",\\n \\"CodecTagString\\": \\"unicode\\",\\n \\"CodecTag\\": \\"unicode\\",\\n \\"Timebase\\": \\"30\\",\\n \\"StartTime\\": \\"2025-03-07T01:30Z\\",\\n \\"Duration\\": \\"1\\",\\n \\"Lang\\": \\"zh\\"\\n }\\n ]\\n }\\n ],\\n \\"BizData\\": {\\n \\"FolderId\\": \\"fd-CBMEJaa2fA\\",\\n \\"ProductionId\\": \\"ID\\",\\n \\"AuditBlockedLabel\\": \\"Label\\",\\n \\"AuditStatus\\": \\"Status\\",\\n \\"MediaAssetType\\": \\"Type\\",\\n \\"MediaAssetSubType\\": \\"SubType\\",\\n \\"SourceType\\": \\"MainBody\\",\\n \\"SourceId\\": \\"f4a26390f02371f0a1f4e6e7c758****\\",\\n \\"SourceName\\": \\"SourceName\\",\\n \\"IsFavorite\\": \\"1\\",\\n \\"IsLogicalDeleted\\": \\"1\\",\\n \\"CreationJobId\\": \\"ID\\",\\n \\"Prompt\\": \\"请为上述内容生成一段摘要,字数必须限制在70字以内包含标点符号\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetYikeProjectExportJob' => [
+ 'summary' => '查询剪辑工程导出任务信息与结果',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceM55707'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务ID', 'type' => 'string', 'required' => true, 'example' => '68ca759e798b40b4903b255*******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '****2876-6263-4B75-8F2C-CD0F7FCF****'],
+ 'ProjectExportJob' => [
+ 'description' => '导出任务对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => '任务ID', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****'],
+ 'ProjectId' => ['description' => '在线剪辑工程ID', 'type' => 'string', 'example' => '****fddd7748b58bf1d47e95****'],
+ 'ExportType' => ['description' => '工程导出类型', 'type' => 'string', 'example' => 'PureAudio'],
+ 'Status' => ['description' => '任务状态', 'type' => 'string', 'example' => 'Success'],
+ 'Code' => ['description' => '任务失败码', 'type' => 'string', 'example' => 'InvalidParameter'],
+ 'Message' => ['description' => '任务失败信息', 'type' => 'string', 'example' => 'The specified parameter is not valid.'],
+ 'ExportResult' => [
+ 'description' => '导出结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timeline' => ['description' => '剪辑时间线(暂不支持)', 'type' => 'string', 'example' => '....'],
+ 'ProjectUrl' => ['description' => 'PR工程文件下载地址(暂不支持)', 'type' => 'string', 'example' => '....'],
+ 'AudioUrl' => ['description' => '音频文件下载地址', 'type' => 'string', 'example' => 'http://....MP3?Expires='],
+ 'SrtList' => [
+ 'description' => '字幕列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '字幕对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'Tag' => ['description' => '类型枚举,当前仅有 VoiceOver', 'type' => 'string', 'example' => 'VoiceOver'],
+ 'SrtUrl' => ['description' => 'SRT文件下载地址', 'type' => 'string', 'example' => 'http://xxx?Expires='],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UserData' => ['description' => '自定义数据', 'type' => 'string', 'example' => '{\\"testKey\\":\\"testValue\\"}'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询剪辑工程导出任务信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****2876-6263-4B75-8F2C-CD0F7FCF****\\",\\n \\"ProjectExportJob\\": {\\n \\"JobId\\": \\"****cdb3e74639973036bc84****\\",\\n \\"ProjectId\\": \\"****fddd7748b58bf1d47e95****\\",\\n \\"ExportType\\": \\"PureAudio\\",\\n \\"Status\\": \\"Success\\",\\n \\"Code\\": \\"InvalidParameter\\",\\n \\"Message\\": \\"The specified parameter is not valid.\\",\\n \\"ExportResult\\": {\\n \\"Timeline\\": \\"....\\",\\n \\"ProjectUrl\\": \\"....\\",\\n \\"AudioUrl\\": \\"http://....MP3?Expires=\\",\\n \\"SrtList\\": [\\n {\\n \\"Tag\\": \\"VoiceOver\\",\\n \\"SrtUrl\\": \\"http://xxx?Expires=\\"\\n }\\n ]\\n },\\n \\"UserData\\": \\"{\\\\\\\\\\\\\\"testKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testValue\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetYikePromptExpansionVoiceFixJob' => [
+ 'summary' => '查询一刻提示词扩写和音频修复视频生成任务',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务ID', 'type' => 'string', 'required' => true, 'example' => '68ca759e798b40b4903b255*******'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'JobId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****'],
+ 'JobParams' => ['description' => '任务参数,JSON 格式字符串。包含以下字段:'."\n"
+ .'- model(String,必填):模型名称,例:happyhorse-1.0-r2v'."\n"
+ .'- input(Object,必填):输入数据对象'."\n"
+ .' - prompt(String,必填):提示词内容,长度不超过 10000 字符'."\n"
+ .' - media(Array(Object),必填):媒体素材列表,用于指定参考图像、音频'."\n"
+ .' - type(String,必填):输入媒资类型,支持reference_image、reference_audio'."\n"
+ .' - url(String,必填):输入媒资url'."\n"
+ .'- parameters(Object,必填):视频生成参数对象'."\n"
+ .' - duration(Integer,必填):视频时长(秒),必须为正整数,取值范围为 5-15'."\n"
+ .' - ratio(String,必填):画面宽高比,支持 16:9、9:16、4:3、3:4、1:1'."\n"
+ .' - resolution(String,必填):视频分辨率,支持 720P、1080P'."\n"
+ .' - specialEdition(Bool,选填):特惠版参数,仅分辨率为 1080P 时可以配置为 true'."\n"
+ .' - skipPromptEnhancer(Bool,选填):跳过提示词扩写,默认为 false'."\n"
+ .' - skipVoiceResync(Bool,选填):跳过音频修复,默认为 false', 'type' => 'string', 'example' => '{\\"model\\":\\"happyhorse-1.0-r2v\\",\\"input\\":{\\"prompt\\":\\"[Image 1]中身着红色旗袍的女性,镜头先以侧面中景勾勒旗袍修身剪裁与S型曲线,随即切换至低角度仰拍,捕捉她轻抬玉手展开[Image 2]中的折扇的同时,[Image 3]中的流苏耳坠随头部转动轻盈摆动的细节,最后推近至面部特写,定格在她指尖轻点扇骨、眼波流转间的含蓄风情,多视角全方位展现东方韵味。\\",\\"media\\":[{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/mvzfud/hh-v2v-girl.jpg\\"},{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/fvuihk/hh-v2v2-folding-fan.jpg\\"},{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/imerii/hh-v2v-earrings.jpg\\"}]},\\"parameters\\":{\\"resolution\\":\\"720P\\",\\"ratio\\":\\"16:9\\",\\"duration\\":5,\\"specialEdition\\":false,\\"skipPromptEnhancer\\":false,\\"skipVoiceResync\\":false}}'],
+ 'JobStatus' => ['description' => '任务状态,可取值:'."\n"
+ ."\n"
+ .'- **Succeeded**:处理成功。'."\n"
+ ."\n"
+ .'- **Failed**:处理失败。'."\n"
+ ."\n"
+ .'- **Running**:处理中。'."\n", 'type' => 'string', 'example' => 'Succeeded'],
+ 'JobResult' => [
+ 'description' => '单个任务结果',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '单个任务结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputUrl' => ['description' => 'Oss Url', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4'],
+ ],
+ ],
+ ],
+ 'UserData' => ['description' => '用户自定义参数', 'type' => 'string', 'example' => '{"testKey":"testValue"}'],
+ 'StartTime' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2025-06-24T00:55:06Z'],
+ 'EndTime' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2026-01-30T16:00:00Z'],
+ 'ErrorCode' => ['description' => '错误码,`Failed`状态下返回', 'type' => 'string', 'example' => 'Forbidden'],
+ 'ErrorMessage' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'error'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取一刻提示词扩写音频修复视频生成任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"JobId\\": \\"ab4802364a2e49208c99efab82df****\\",\\n \\"JobParams\\": \\"{\\\\\\\\\\\\\\"model\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"happyhorse-1.0-r2v\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"input\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"prompt\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[Image 1]中身着红色旗袍的女性,镜头先以侧面中景勾勒旗袍修身剪裁与S型曲线,随即切换至低角度仰拍,捕捉她轻抬玉手展开[Image 2]中的折扇的同时,[Image 3]中的流苏耳坠随头部转动轻盈摆动的细节,最后推近至面部特写,定格在她指尖轻点扇骨、眼波流转间的含蓄风情,多视角全方位展现东方韵味。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"media\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"reference_image\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/mvzfud/hh-v2v-girl.jpg\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"reference_image\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/fvuihk/hh-v2v2-folding-fan.jpg\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"reference_image\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/imerii/hh-v2v-earrings.jpg\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"parameters\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"resolution\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"720P\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ratio\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"16:9\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"duration\\\\\\\\\\\\\\":5,\\\\\\\\\\\\\\"specialEdition\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"skipPromptEnhancer\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"skipVoiceResync\\\\\\\\\\\\\\":false}}\\",\\n \\"JobStatus\\": \\"Succeeded\\",\\n \\"JobResult\\": [\\n {\\n \\"OutputUrl\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/test.mp4\\"\\n }\\n ],\\n \\"UserData\\": \\"{\\\\\\"testKey\\\\\\":\\\\\\"testValue\\\\\\"}\\",\\n \\"StartTime\\": \\"2025-06-24T00:55:06Z\\",\\n \\"EndTime\\": \\"2026-01-30T16:00:00Z\\",\\n \\"ErrorCode\\": \\"Forbidden\\",\\n \\"ErrorMessage\\": \\"error\\"\\n}","type":"json"}]',
+ ],
+ 'GetYikeStoryboardJob' => [
+ 'summary' => '获取一刻故事板任务',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['title' => '截图任务ID。', 'description' => '截图任务ID。', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '返回值',
+ 'description' => '返回值',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '任务ID。可以从[提交打包任务](~~461964~~)的返回参数中获取。', 'description' => '任务ID。可以从[提交打包任务](~~461964~~)的返回参数中获取。', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'],
+ 'JobParams' => [
+ 'title' => '算法作业参数,JSON对象,不同算法对应参数内容不同。',
+ 'description' => '算法作业参数,JSON对象,不同算法对应参数内容不同。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileURL' => ['title' => '文件 OSS 地址', 'description' => '文件 OSS 地址。', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4'],
+ 'ShotPromptMode' => ['title' => '分镜生成模式', 'description' => '分镜生成模式。', 'type' => 'string', 'example' => 'multi'],
+ 'SourceType' => ['title' => '源类型', 'description' => '源类型。', 'type' => 'string', 'example' => 'Novel'],
+ 'ModelParams' => ['title' => '随机种子', 'description' => '随机种子。', 'type' => 'string', 'example' => '{'."\n"
+ .' "AudioEnable": false'."\n"
+ .'}'],
+ 'ShotSplitMode' => ['title' => '分镜拆分模式', 'description' => '分镜拆分模式。', 'type' => 'string', 'example' => 'firstPersonNarration'],
+ 'NarrationVoiceId' => ['title' => '旁白音色', 'description' => '旁白音色。', 'type' => 'string', 'example' => 'sys_YoungGracefulWoman'],
+ 'VideoModel' => ['title' => '视频模型', 'description' => '视频模型。', 'type' => 'string', 'example' => 'wan2.6-r2v-flash'],
+ 'StyleId' => ['title' => '风格id', 'description' => '风格id。', 'type' => 'string', 'example' => 'RealisticPhotography'],
+ 'Resolution' => ['title' => '生成视频分辨率', 'description' => '生成视频分辨率。', 'type' => 'string', 'example' => '1K'],
+ 'Title' => ['title' => '任务标题'."\n"
+ ."\n"
+ .'\\- 长度不超过128字节。'."\n"
+ ."\n"
+ .'\\- UTF8编码。', 'description' => '任务标题。要求为:'."\n"
+ .'- 长度不超过128字节。'."\n"
+ .'- UTF8编码。', 'type' => 'string', 'example' => 'test-title'],
+ 'AspectRatio' => ['title' => '视频宽高比', 'description' => '视频宽高比。', 'type' => 'string', 'example' => '16:9'],
+ ],
+ ],
+ 'JobStatus' => ['title' => '任务状态,可取值:'."\n"
+ ."\n"
+ .'- **Succeeded**:处理成功。'."\n"
+ ."\n"
+ .'- **Failed**:处理失败。'."\n"
+ ."\n"
+ .'- **Running**:处理中。'."\n", 'description' => '任务状态,可取值:'."\n"
+ ."\n"
+ .'- **Succeeded**:处理成功。'."\n"
+ ."\n"
+ .'- **Failed**:处理失败。'."\n"
+ ."\n"
+ .'- **Running**:处理中。'."\n", 'type' => 'string', 'example' => 'Succeeded'],
+ 'JobResult' => [
+ 'title' => '任务结果',
+ 'description' => '任务结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputUrl' => ['title' => '可下载的OSS地址。', 'description' => '可下载的OSS地址。', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4'],
+ 'SrtFileUrl' => ['title' => 'srt文件链接', 'description' => 'srt文件链接', 'type' => 'string', 'example' => 'https://bucket.oss-cn-shanghai.aliyuncs.com/test/110412818/6bf24c75285142f395464d4b9c2bcf07.srt?Expires=1778220836&OSSAccessKeyId=*******&Signature=*******'],
+ 'SuccessStoryboardList' => ['title' => '成功故事板列表', 'description' => '成功故事板列表。', 'type' => 'string', 'example' => '[\\"st_2118280473\\"]'],
+ 'ExceptionStoryboardIds' => ['title' => '异常故事板列表', 'description' => '异常故事板列表。', 'type' => 'string', 'example' => '[\\"st_2053348871\\"]'],
+ 'FailureShotList' => ['title' => '失败分镜列表', 'description' => '失败分镜列表。', 'type' => 'string', 'example' => '[{\\"errorCode\\":\\"NoMediaData\\",\\"storyboardId\\":\\"st_2118280473\\",\\"shotId\\":\\"54\\"}]'],
+ 'SuccessStoryboardIds' => ['description' => '成功故事版数据列表,逗号分割。', 'type' => 'string', 'example' => 'st_2118280473, st_2118280471'."\n"],
+ 'StoryboardInfoList' => ['description' => '故事版生成任务,故事版详细信息。', 'type' => 'string', 'example' => '[{\\"storyboardId\\":\\"st_1541525214\\",\\"title\\":\\"test_1\\",\\"status\\":\\"Produced\\",\\"subStatus\\":\\"ProduceSucc\\"},{\\"storyboardId\\":\\"st_1633435355\\",\\"title\\":\\"test_2\\",\\"status\\":\\"Produced\\",\\"subStatus\\":\\"ProduceSucc\\"}]'],
+ ],
+ ],
+ 'JobCredit' => [
+ 'title' => '积分消耗',
+ 'description' => '积分消耗',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCreditCost' => ['title' => '总消耗', 'description' => '总消耗', 'type' => 'string', 'example' => '200.2'],
+ 'VideoGeneration' => ['title' => '视频生成积分消耗', 'description' => '视频生成积分消耗', 'type' => 'string', 'example' => '180.0'],
+ 'VideoComposition' => ['title' => '视频合成积分消耗', 'description' => '视频合成积分消耗', 'type' => 'string', 'example' => '10.2'],
+ 'ElementImageGeneration' => ['title' => '主体生成积分消耗', 'description' => '主体生图积分消耗', 'type' => 'string', 'example' => '10.0'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"****a046-263c-3560-978a-fb287782****\\",\\n \\"JobParams\\": {\\n \\"FileURL\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/test.mp4\\",\\n \\"ShotPromptMode\\": \\"multi\\",\\n \\"SourceType\\": \\"Novel\\",\\n \\"ModelParams\\": \\"{\\\\n \\\\\\"AudioEnable\\\\\\": false\\\\n}\\",\\n \\"ShotSplitMode\\": \\"firstPersonNarration\\",\\n \\"NarrationVoiceId\\": \\"sys_YoungGracefulWoman\\",\\n \\"VideoModel\\": \\"wan2.6-r2v-flash\\",\\n \\"StyleId\\": \\"RealisticPhotography\\",\\n \\"Resolution\\": \\"1K\\",\\n \\"Title\\": \\"test-title\\",\\n \\"AspectRatio\\": \\"16:9\\"\\n },\\n \\"JobStatus\\": \\"Succeeded\\",\\n \\"JobResult\\": {\\n \\"OutputUrl\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/test.mp4\\",\\n \\"SrtFileUrl\\": \\"https://bucket.oss-cn-shanghai.aliyuncs.com/test/110412818/6bf24c75285142f395464d4b9c2bcf07.srt?Expires=1778220836&OSSAccessKeyId=*******&Signature=*******\\",\\n \\"SuccessStoryboardList\\": \\"[\\\\\\\\\\\\\\"st_2118280473\\\\\\\\\\\\\\"]\\",\\n \\"ExceptionStoryboardIds\\": \\"[\\\\\\\\\\\\\\"st_2053348871\\\\\\\\\\\\\\"]\\",\\n \\"FailureShotList\\": \\"[{\\\\\\\\\\\\\\"errorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NoMediaData\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"storyboardId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"st_2118280473\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"shotId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"54\\\\\\\\\\\\\\"}]\\",\\n \\"SuccessStoryboardIds\\": \\"st_2118280473, st_2118280471\\\\n\\",\\n \\"StoryboardInfoList\\": \\"[{\\\\\\\\\\\\\\"storyboardId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"st_1541525214\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Produced\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"subStatus\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ProduceSucc\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"storyboardId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"st_1633435355\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test_2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Produced\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"subStatus\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ProduceSucc\\\\\\\\\\\\\\"}]\\"\\n },\\n \\"JobCredit\\": {\\n \\"TotalCreditCost\\": \\"200.2\\",\\n \\"VideoGeneration\\": \\"180.0\\",\\n \\"VideoComposition\\": \\"10.2\\",\\n \\"ElementImageGeneration\\": \\"10.0\\"\\n }\\n}","type":"json"}]',
+ 'title' => '查询故事板生成任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetYikeUser' => [
+ 'summary' => '获取一刻子用户信息',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户名', 'type' => 'string', 'required' => false, 'example' => 'test.xxx@xxx.yikeai', 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'UserInfo' => [
+ 'description' => '用户信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'YikeUserId' => ['description' => '用户 ID。', 'type' => 'string', 'example' => 'id'],
+ 'UserName' => ['description' => '用户名。', 'type' => 'string', 'example' => 'name'],
+ 'Nickname' => ['description' => '用户昵称。', 'type' => 'string', 'example' => 'nick'],
+ 'WorkspaceId' => ['description' => '工作室 ID。', 'type' => 'string', 'example' => 'spaceId'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '获取一刻用户',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"UserInfo\\": {\\n \\"YikeUserId\\": \\"id\\",\\n \\"UserName\\": \\"name\\",\\n \\"Nickname\\": \\"nick\\",\\n \\"WorkspaceId\\": \\"spaceId\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetYikeUserCredit' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户 ID。', 'type' => 'string', 'required' => true, 'example' => 'id'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'CreditUsage' => ['description' => '当前剩余可用积分。', 'type' => 'string', 'example' => '165.0'],
+ 'CreditTotal' => ['description' => '总计分配积分。', 'type' => 'string', 'example' => '10417.0'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '查询子账号积分',
+ 'summary' => '查询一刻用户积分',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"CreditUsage\\": \\"165.0\\",\\n \\"CreditTotal\\": \\"10417.0\\"\\n}","type":"json"}]',
+ ],
+ 'GetYikeVoiceNarratorJob' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务ID', 'type' => 'string', 'required' => true, 'example' => 'task_abc123def456'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'req_query_20260420_002'],
+ 'JobId' => ['description' => '任务ID', 'type' => 'string', 'example' => 'task_abc123def456'],
+ 'JobParams' => ['description' => '任务输入参数,Json String', 'type' => 'string', 'example' => '{\\"TextType\\":2,\\"TextContent\\":\\"Today, Beijing held a press conference to announce plans to further optimize the city\'s transportation network, including adding three new subway lines within the next three years....\\",\\"AspectRatio\\":\\"16:9\\", \\"Resolution\\":\\"720P\\", \\"OutputLanguages\\":[\\"CN\\",\\"YUE\\"]"}'],
+ 'JobStatus' => [
+ 'description' => '任务状态:`Running`、`Succeeded`、`Failed`',
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => 'Running',
+ ],
+ 'JobResult' => [
+ 'description' => '多个任务结果,仅`Succeeded`状态时有效',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '单个任务结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => '资产ID', 'type' => 'string', 'example' => '9d7e982012c671f1b803e7f6d75a6302'],
+ 'OutputUrl' => ['description' => '下载URL', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/videos/task\\_abc123def456.mp4'],
+ 'OutputLanguage' => ['description' => '输出语种', 'type' => 'string', 'example' => 'CN'],
+ 'EditingProjectId' => ['description' => '在线剪辑工程ID', 'type' => 'string', 'example' => '01a6adbbd181437eb5030d3d93e0182d'],
+ ],
+ ],
+ ],
+ 'UserData' => ['description' => '创建任务时传入的用户自定义参数(原样返回)', 'type' => 'string', 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'],
+ 'ErrorCode' => ['description' => '错误码,`Failed`状态下返回', 'type' => 'string', 'example' => 'WorkflowTaskFailed'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询纯口播视频智能成片生成任务',
+ 'summary' => '查询纯口播视频(无数字人)智能成片生成任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_query_20260420_002\\",\\n \\"JobId\\": \\"task_abc123def456\\",\\n \\"JobParams\\": \\"{\\\\\\\\\\\\\\"TextType\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"TextContent\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Today, Beijing held a press conference to announce plans to further optimize the city\'s transportation network, including adding three new subway lines within the next three years....\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AspectRatio\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"16:9\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"Resolution\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"720P\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"OutputLanguages\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"CN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"YUE\\\\\\\\\\\\\\"]\\\\\\"}\\",\\n \\"JobStatus\\": \\"Running\\",\\n \\"JobResult\\": [\\n {\\n \\"MediaId\\": \\"9d7e982012c671f1b803e7f6d75a6302\\",\\n \\"OutputUrl\\": \\"https://test.oss-cn-shanghai.aliyuncs.com/videos/task\\\\\\\\_abc123def456.mp4\\",\\n \\"OutputLanguage\\": \\"CN\\",\\n \\"EditingProjectId\\": \\"01a6adbbd181437eb5030d3d93e0182d\\"\\n }\\n ],\\n \\"UserData\\": \\"{\\\\\\\\\\\\\\"newsKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NEWS_20260420_001\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value1\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"NotifyAddress\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://cms.example.com/callback/video-task\\\\\\\\\\\\\\"}\\",\\n \\"ErrorCode\\": \\"WorkflowTaskFailed\\"\\n}","type":"json"}]',
+ ],
+ 'ListYikeAssetFolders' => [
+ 'summary' => '获取一刻文件夹列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目 ID,不填则查询默认项目。', 'type' => 'string', 'required' => false, 'example' => 'ProductionId'],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。默认值为 1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页返回的数据条数。默认值为 10,最大值为 50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'FolderList' => [
+ 'description' => '文件夹列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文件夹信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => '文件夹ID。', 'type' => 'string', 'example' => 'fd-YhFKIuciRP'],
+ 'FolderName' => ['description' => '文件夹名字。', 'type' => 'string', 'example' => 'default'],
+ 'ProductionId' => ['description' => '项目ID。', 'type' => 'string', 'example' => 'pd_1833************'],
+ 'IsDefault' => ['description' => '是否是默认文件夹。', 'type' => 'boolean', 'example' => 'true'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-06-03T02:23:01Z'],
+ 'WorkspaceId' => ['description' => '工作室ID。', 'type' => 'string', 'example' => 'llm-odl2p61i4vfbph4g'],
+ ],
+ ],
+ ],
+ 'Total' => ['description' => '总文件夹数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '78'],
+ 'MaxResults' => ['description' => '最大结果。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'NextToken' => ['description' => '下一个 Token。', 'type' => 'string', 'example' => 'Token'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取文件夹列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\",\\n \\"FolderList\\": [\\n {\\n \\"FolderId\\": \\"fd-YhFKIuciRP\\",\\n \\"FolderName\\": \\"default\\",\\n \\"ProductionId\\": \\"pd_1833************\\",\\n \\"IsDefault\\": true,\\n \\"CreateTime\\": \\"2025-06-03T02:23:01Z\\",\\n \\"WorkspaceId\\": \\"llm-odl2p61i4vfbph4g\\"\\n }\\n ],\\n \\"Total\\": 78,\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"Token\\"\\n}","type":"json"}]',
+ ],
+ 'ListYikeProductions' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => '最大结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '下一个 Token。', 'type' => 'string', 'required' => false, 'example' => 'Token'],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。默认值为 1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页返回的数据条数。默认值为 10,最大值为 50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '工作室 ID。', 'type' => 'string', 'required' => false, 'example' => 'llm-zna577pdximvztk5'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求 ID。', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'ProductionList' => [
+ 'description' => '项目列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProductionId' => ['description' => '项目 ID。', 'type' => 'string', 'example' => 'pd_463862****'],
+ 'Title' => ['description' => '项目标题。', 'type' => 'string', 'example' => 'Harvest'],
+ 'Description' => ['description' => '项目描述。', 'type' => 'string', 'example' => 'Swas_QuerySwasInstanceByRegion'],
+ 'Auth' => ['description' => '认证方式。', 'type' => 'string', 'example' => 'Manage'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2026-01-07T02:21:36Z'],
+ 'WorkspaceId' => ['description' => '工作室 ID。', 'type' => 'string', 'example' => 'llm-m3r546h1n9kq3mtm'],
+ 'CoverUrl' => ['description' => '封面URL。', 'type' => 'string', 'example' => 'https://tagvvcloud-material-center-prod.oss-cn-hangzhou.aliyuncs.com/sumvideo/utils_image/sumvideo-video-cover.png'],
+ 'CreateUserName' => ['description' => '创建用户名称。', 'type' => 'string', 'example' => 'aliyun_183*************'],
+ ],
+ ],
+ ],
+ 'MaxResults' => ['description' => '最大结果。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'NextToken' => ['description' => '下一个 Token。', 'type' => 'string', 'example' => 'Token'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取项目列表',
+ 'summary' => '获取一刻项目列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\\\n\\",\\n \\"ProductionList\\": [\\n {\\n \\"ProductionId\\": \\"pd_463862****\\",\\n \\"Title\\": \\"Harvest\\",\\n \\"Description\\": \\"Swas_QuerySwasInstanceByRegion\\",\\n \\"Auth\\": \\"Manage\\",\\n \\"CreateTime\\": \\"2026-01-07T02:21:36Z\\",\\n \\"WorkspaceId\\": \\"llm-m3r546h1n9kq3mtm\\",\\n \\"CoverUrl\\": \\"https://tagvvcloud-material-center-prod.oss-cn-hangzhou.aliyuncs.com/sumvideo/utils_image/sumvideo-video-cover.png\\",\\n \\"CreateUserName\\": \\"aliyun_183*************\\"\\n }\\n ],\\n \\"MaxResults\\": 50,\\n \\"NextToken\\": \\"Token\\"\\n}","type":"json"}]',
+ ],
+ 'ListYikeWorkspaces' => [
+ 'summary' => '获取一刻工作室列表',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['title' => '当前页码', 'description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '每页显示的记录数量', 'description' => '每页显示的记录数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4E84BE44-58A7-****-****-FBEBEA16EF94'."\n"],
+ 'WorkspaceList' => [
+ 'description' => '工作室列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '工作室信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'WorkspaceId' => ['description' => '工作室 ID。', 'type' => 'string', 'example' => 'ws_1243****'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => 'workspace title'],
+ 'Code' => ['description' => '工作室Code', 'type' => 'string', 'example' => 'ABCD12'],
+ 'Status' => [
+ 'description' => '工作室状态',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Offline' => 'Offline', 'Online' => 'Online'],
+ 'example' => 'Online',
+ ],
+ 'UserCount' => ['description' => '工作室中用户数量', 'type' => 'string', 'example' => '1'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2026-04-29T10:22:44Z'],
+ 'DefaultProductionId' => ['description' => '默认项目ID', 'type' => 'string', 'example' => 'pd_1234***'],
+ ],
+ ],
+ ],
+ 'TotalCount' => ['description' => '工作室总数', 'type' => 'integer', 'format' => 'int32', 'example' => '54'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取工作室列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E84BE44-58A7-****-****-FBEBEA16EF94\\\\n\\",\\n \\"WorkspaceList\\": [\\n {\\n \\"WorkspaceId\\": \\"ws_1243****\\",\\n \\"Title\\": \\"workspace title\\",\\n \\"Code\\": \\"ABCD12\\",\\n \\"Status\\": \\"Online\\",\\n \\"UserCount\\": \\"1\\",\\n \\"CreateTime\\": \\"2026-04-29T10:22:44Z\\",\\n \\"DefaultProductionId\\": \\"pd_1234***\\"\\n }\\n ],\\n \\"TotalCount\\": 54\\n}","type":"json"}]',
+ ],
+ 'PrecheckYikeAIAppJob' => [
+ 'summary' => '检查应用参数是否合法',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'AI应用ID。', 'type' => 'string', 'required' => false, 'example' => 'app-****'."\n"],
+ ],
+ [
+ 'name' => 'AppParams',
+ 'in' => 'query',
+ 'schema' => ['description' => 'AI应用运行输入参数,JSON序列化后的字符串。', 'type' => 'string', 'required' => false, 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n"],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'Status' => ['description' => '预校验结果。取值为:'."\n"
+ ."\n"
+ .'- Success:成功。'."\n"
+ .'- Failed:失败。', 'type' => 'string', 'example' => 'Success'],
+ 'Result' => [
+ 'description' => '预校验失败下返回,仅返回检验失败的参数。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '预校验失败的参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorCode' => ['description' => '参数校验异常原因。', 'type' => 'string', 'example' => 'ImageCheckFailed'],
+ 'Key' => ['description' => '应用参数名。', 'type' => 'string', 'example' => 'LoadImage.1.TargetImage'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '预校验应用任务参数',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\\\n\\",\\n \\"Status\\": \\"Success\\",\\n \\"Result\\": [\\n {\\n \\"ErrorCode\\": \\"ImageCheckFailed\\",\\n \\"Key\\": \\"LoadImage.1.TargetImage\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'RegisterYikeAssetMediaInfo' => [
+ 'summary' => '注册一刻媒资',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '6889',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InputURL',
+ 'in' => 'query',
+ 'schema' => ['title' => '媒资媒体url', 'description' => '媒资媒体 URL,可传入 CreateYikeAssetUpload 接口中返回的 FileURL。', 'type' => 'string', 'required' => true, 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => ['title' => '媒资媒体类型', 'description' => '媒资媒体类型', 'type' => 'string', 'required' => true, 'example' => 'video'],
+ ],
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目 ID,不填写则上传到默认项目。', 'type' => 'string', 'required' => false, 'example' => 'ProductionId'],
+ ],
+ [
+ 'name' => 'FolderId',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件夹 ID。', 'type' => 'string', 'required' => false, 'example' => 'fd-ABMFfAB2bA'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'MediaId' => ['title' => 'ICE媒资ID', 'description' => '媒资ID', 'type' => 'string', 'example' => '****c469e944b5a856828dc2****'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'Forbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.', 'description' => ''],
+ ],
+ ],
+ 'title' => '注册媒资信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"MediaId\\": \\"****c469e944b5a856828dc2****\\"\\n}","type":"json"}]',
+ ],
+ 'ResumeYikeStoryboardJob' => [
+ 'summary' => '故事板任务恢复继续执行任务',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['title' => '故事板任务ID。', 'description' => '截图任务ID。', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '任务ID。可以从[提交打包任务](~~461964~~)的返回参数中获取。', 'description' => '任务ID。可以从[提交打包任务](~~461964~~)的返回参数中获取。', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '恢复故事版执行状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"****a046-263c-3560-978a-fb287782****\\"\\n}","type":"json"}]',
+ ],
+ 'SetYikeCallbackConfig' => [
+ 'summary' => '业务体系相关事件回调配置。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CallbackUrl',
+ 'in' => 'query',
+ 'schema' => ['title' => '回调地址', 'description' => 'HTTP 回调地址', 'type' => 'string', 'required' => true, 'example' => 'http//example.com/callback'],
+ ],
+ [
+ 'name' => 'CallbackConfig',
+ 'in' => 'query',
+ 'schema' => ['title' => '回调配置', 'description' => '回调配置,CallbackEventList,支持配置多个事件,包含:'."\n"
+ .'- EventType,枚举值,事件类型,包括:`UserCreated`(用户成功创建);`UserCreditAdded`(用户积分新增)'."\n"
+ .'- UserData,Json Object,用户自定义数据', 'type' => 'string', 'required' => true, 'example' => '{"CallbackEventList":[{"EventType":"UserCreditAdded","UserData":"{}"}]}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '业务体系相关事件回调配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeCallbackConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\"\\n}","type":"json"}]',
+ ],
+ 'SetYikeUserRole' => [
+ 'summary' => '设置用户角色',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户 ID.', 'type' => 'string', 'required' => false, 'example' => 'id'],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户角色,可取值为:'."\n"
+ .'- SuperAdmin:主管理员。'."\n"
+ .'- Admin:管理员。'."\n"
+ .'- RegularUser:普通成员。', 'type' => 'string', 'required' => false, 'example' => 'Admin'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => '是否设置成功。'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '设置用户角色',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ 'SubYikeUserCredit' => [
+ 'summary' => '扣减用户积分',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '子账号用户 ID。', 'type' => 'string', 'required' => true, 'example' => 'id'],
+ ],
+ [
+ 'name' => 'Credit',
+ 'in' => 'query',
+ 'schema' => ['description' => '增加积分数量,必须大于0,最大不能超过子账号积分余额。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '50'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => '是否扣减成功。'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'ErrorCode' => ['description' => '错误码,增加失败情况下返回。取值为:'."\n"
+ .'- NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA:主账号积分余额不足。', 'type' => 'string', 'example' => 'NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '扣减子账户积分',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true,\\n \\"ErrorCode\\": \\"NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitImageGenerationJob' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
+ 'parameters' => [
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => false, 'example' => '****3e761e9d11edba640c42a1b7****'],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => ['description' => '生成任务类型'."\n"
+ .'- text_to_image,文生图'."\n"
+ .'- image_to_image,图生图', 'type' => 'string', 'required' => false, 'example' => 'text_to_image'],
+ ],
+ [
+ 'name' => 'Model',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型名称', 'type' => 'string', 'required' => false, 'example' => 'wan2.7-image'],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景,枚举类型,当前仅有 `general`', 'type' => 'string', 'required' => false, 'example' => 'general'],
+ ],
+ [
+ 'name' => 'Input',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务输入,Json String,包含:'."\n"
+ .'- Prompt,String,必填,提示词'."\n"
+ .'- Medias,媒体列表,`image_to_image` 类型时必填,最多9个'."\n"
+ .'> Media 结构包含:Type,媒体类型,String,可选 image; URL,媒体下载地址,String'."\n"
+ .'>', 'type' => 'string', 'required' => false, 'example' => '{\\"Bucket\\":\\"dbj-app-prod\\",\\"Location\\":\\"oss-cn-hangzhou\\",\\"Object\\":\\"classpal/1767838045280pzmgnvwe.mp4\\"}'],
+ ],
+ [
+ 'name' => 'JobParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务功能参数,json string,暂不需要设置', 'type' => 'string', 'required' => false, 'example' => '{}'],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => ['description' => '分辨率,可取值:1K(默认)、2K、4K', 'type' => 'string', 'required' => false, 'example' => '720P'],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => ['description' => '宽高比,可取值:16:9(默认)、9:16、4:3、3:4、1:1', 'type' => 'string', 'required' => false, 'example' => '4:3'],
+ ],
+ [
+ 'name' => 'N',
+ 'in' => 'query',
+ 'schema' => ['description' => '图片数量。取值范围为\\[1, 4],默认为1。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户业务数据,json格式', 'type' => 'string', 'required' => false, 'example' => '{"env":"prd"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['description' => '任务 ID', 'type' => 'string', 'example' => '******3B0E1A586AAC29742247******'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '提交图片生成任务',
+ 'summary' => '提交图片生成任务',
+ 'description' => '## 请求说明'."\n"
+ .'该API用于根据提供的文本内容及其它参数(如数字人信息、应用场景类型等)生成一段由虚拟人物口播的视频。用户需指定文本类型(原始稿或口播稿)、成片尺寸与清晰度等关键配置项,并可选择是否添加字幕或指定输出语言种类。此外,支持通过`UserData`字段传递自定义参数,在回调时原样返回。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"******3B0E1A586AAC29742247******\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitVideoGenerationJob' => [
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'paid'],
+ 'parameters' => [
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'allowEmptyValue' => false,
+ 'schema' => ['title' => '幂等参数', 'description' => '幂等参数', 'type' => 'string', 'required' => false, 'example' => '****3e761e9d11edba640c42a1b7****'],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务类型,枚举值:'."\n"
+ .'- text_to_video ,文生视频'."\n"
+ .'- image_to_video ,图生视频'."\n"
+ .'- first_last_frame ,首尾帧生视频'."\n"
+ .'- reference_to_video,参考生视频', 'type' => 'string', 'required' => false, 'example' => 'text_to_video'],
+ ],
+ [
+ 'name' => 'Model',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型名称'."\n"
+ .'- happyhorse-1.1'."\n"
+ .'- happyhorse-1.0', 'type' => 'string', 'required' => false, 'example' => 'happyhorse-1.1'],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景类型,枚举类型,当前仅有 `general`', 'type' => 'string', 'required' => false, 'example' => 'general'],
+ ],
+ [
+ 'name' => 'Input',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务输入,Json String,包含:'."\n"
+ .'- Prompt,String,必填,提示词'."\n"
+ .'- Medias,媒体列表'."\n"
+ .' - 当JobType=image_to_video 时,必填,Media仅需要1个'."\n"
+ .' - 当JobType=first_last_frame 时,必填,Media仅需要2个'."\n"
+ .' - 当JobType=reference_to_video 时,必填,Media最多9个'."\n"
+ .'> Media 结构包含:Type,媒体类型,String,可选值有`image`/`video`/`audio`;URL,媒体下载地址,String;'."\n"
+ .'>', 'type' => 'string', 'required' => false, 'example' => '{"Prompt":"图1在篮球场上,用图2来了个灌篮","Medias":[{"Type":"image","Url":"https://xxx/xxx.jpg"},{"Type":"image","Url":"https://xxx/xxx.jpg"}]}'],
+ ],
+ [
+ 'name' => 'JobParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务功能参数,暂不需要设置', 'type' => 'string', 'required' => false, 'example' => '{}'],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => ['description' => '分辨率,可取值:720P(默认)、1080P', 'type' => 'string', 'required' => false, 'example' => '720P'],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => ['description' => '宽高比,可取值:16:9(默认)、9:16、4:3、3:4、1:1', 'type' => 'string', 'required' => false, 'example' => '9:16'],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出时长,取值范围:4~15s,默认 5s', 'type' => 'string', 'required' => false, 'example' => '5'],
+ ],
+ [
+ 'name' => 'N',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出个数,取值[1,4],默认:1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户业务数据,json格式', 'type' => 'string', 'required' => false, 'example' => '{"env":"prd"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'JobId' => ['description' => '任务 ID', 'type' => 'string', 'example' => '****3e761e9d11edba640c42a1b7****'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '提交视频生成任务',
+ 'summary' => '提交视频生成任务接口',
+ 'description' => '## 请求说明'."\n"
+ .'该API用于根据提供的文本内容及其它参数(如数字人信息、应用场景类型等)生成一段由虚拟人物口播的视频。用户需指定文本类型(原始稿或口播稿)、成片尺寸与清晰度等关键配置项,并可选择是否添加字幕或指定输出语言种类。此外,支持通过`UserData`字段传递自定义参数,在回调时原样返回。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"JobId\\": \\"****3e761e9d11edba640c42a1b7****\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeAIAppJob' => [
+ 'summary' => '提交一刻AI应用任务',
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'AI应用ID', 'type' => 'string', 'required' => true, 'example' => 'app_test'."\n"],
+ ],
+ [
+ 'name' => 'AppParams',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'AI应用运行参数,JSON序列化后的字符串。', 'type' => 'string', 'required' => false, 'example' => '{"testKey":"testValue"}'."\n"],
+ ],
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '项目ID,用于保存结果到指定项目。', 'type' => 'string', 'required' => false, 'example' => 'ProductionId'],
+ ],
+ [
+ 'name' => 'FolderId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '文件夹ID,用于保存结果到指定文件夹。', 'type' => 'string', 'required' => false, 'example' => 'fd-cReaEcVqQK'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4E84BE44-58A7-****-****-FBEBEA16EF94'."\n"],
+ 'JobId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E84BE44-58A7-****-****-FBEBEA16EF94\\\\n\\",\\n \\"JobId\\": \\"ab4802364a2e49208c99efab82df****\\"\\n}","type":"json"}]',
+ 'title' => '提交应用任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SubmitYikeAvatarNarratorJob' => [
+ 'summary' => '创建数字人口播场景的智能成片任务,适用于 达人带货、知识讲解等视频场景。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobParams',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务请求内容,Json String,包含以下参数:'."\n"
+ ."\n"
+ .'- SceneType,string,枚举值,应用场景类型,包含:`creator-talk`:知识讲解,资讯/科普/财经讲解场景;`avatar-broadcast`:数字人播报,固定单镜场景'."\n"
+ .'- TextType,int 类型,文本类型,可选值:1-原始稿(商品或资讯信息,系统自动转为口播稿,avatar-broadcast不支持);2-(口播稿)'."\n"
+ .'- TextContent,string 类型,文本内容,最大长度 10000 字符'."\n"
+ .'- UserMaterials,Array< Object>类型,用户素材列表(avatar-broadcast不支持),包含字段:MediaId:媒资 ID(上传到万镜一刻的图片或视频)'."\n"
+ .'- AvatarData,object 类型,数字人信息,AvatarPortrait,必填,String,人像图片URL;AvatarVoice,选填,String,音频URL(用于音频复刻参考) 或 库内音色ID(详见万镜一刻音色库,系统自动选择)'."\n"
+ .'- VoiceDuration,int,预期口播时长,当TextType==1时设置,单位:秒,默认 60,最终成片会略少于预期时长'."\n"
+ .'- AspectRatio,string 类型,成片尺寸,可选值:16:9、9:16、4:3、3:4'."\n"
+ .'- Resolution,string 类型,视频清晰度,可选值:720P、1080P'."\n"
+ .'- WithSubtitles,bool 类型,是否带字幕,true:带字幕(默认),false:不带字幕', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "JobParams": "{\\"SceneType\\":\\"creator-talk\\",\\"TextType\\":1,\\"TextContent\\":\\"大摩点评美团业绩:无惊吓无惊喜,核心博弈点依然在市场份额与利润率回升。\\",\\"AspectRatio\\":\\"4:3\\",\\"Resolution\\":\\"720P\\",\\"OutputLanguages\\":[\\"CN\\",\\"EN\\",\\"YUE\\"],\\"VoiceDuration\\":15,\\"UserMaterials\\":[{\\"MediaId\\":\\"d5a26b50****71f1bfd9e7f6d45b6302\\"},{\\"MediaId\\":\\"4ce65730****71f1bfd9e7f6d45b6302\\"}],\\"WithSubtitles\\":true,\\"AvatarData\\":{\\"AvatarPortrait\\":\\"https://example-bucket.oss-cn-shanghai.aliyuncs.com/aigc/market/cloth/avatar_image.png\\",\\"AvatarVoice\\":\\"sys_ElegantProperMiddleAgedWoman\\"}}",'."\n"
+ .' "UserData": "{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://example.com/callback/video-task\\"}"'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户自定义参数,JSON String,回调结果会原样携带(如:newsKey)'."\n"
+ ."\n"
+ .'系统保留字段 NotifyAddress,回调地址 URL,任务完成后回调 {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'req_create_20260420_001'],
+ 'JobId' => ['description' => '任务 ID', 'type' => 'string', 'example' => 'task_abc123def456'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建数字人口播场景智能成片任务',
+ 'description' => '## 请求说明'."\n"
+ .'该API用于根据提供的文本内容及其它参数(如数字人信息、应用场景类型等)生成一段由虚拟人物口播的视频。用户需指定文本类型(原始稿或口播稿)、成片尺寸与清晰度等关键配置项,并可选择是否添加字幕或指定输出语言种类。此外,支持通过`UserData`字段传递自定义参数,在回调时原样返回。'."\n",
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAvatarNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeProjectExportJob' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceM55707'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => ['description' => '在线剪辑工程 ID', 'type' => 'string', 'required' => false, 'example' => '01a6adbbd181437eb5030d3d93e0182d'],
+ ],
+ [
+ 'name' => 'ExportType',
+ 'in' => 'query',
+ 'schema' => ['description' => '剪辑工程导出类型。取值:'."\n"
+ .'- PureAudio,纯音频(导出结果会返回纯音频和字幕文件)', 'type' => 'string', 'required' => false, 'example' => 'PureAudio'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户自定义参数,JSON String,回调结果会原样携带(如:newsKey)'."\n"
+ .'系统保留字段 NotifyAddress,回调地址 URL,任务完成后回调 {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'req_create_20260420_001'],
+ 'JobId' => ['title' => '合成作业Id', 'description' => '任务ID', 'type' => 'string', 'example' => 'task_abc123def456'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '提交剪辑工程导出任务',
+ 'summary' => '提交在线剪辑工程导出任务,支持导出纯音频和SRT字幕',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikePromptExpansionVoiceFixJob' => [
+ 'summary' => '提交一刻提示词扩写和音频修复视频生成任务',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobParams',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务参数,JSON 格式字符串。包含以下字段:'."\n"
+ .'- model(String,必填):模型名称,例:happyhorse-1.0-r2v'."\n"
+ .'- input(Object,必填):输入数据对象'."\n"
+ .' - prompt(String,必填):提示词内容,长度不超过 10000 字符'."\n"
+ .' - media(Array(Object),必填):媒体素材列表,用于指定参考图像、音频'."\n"
+ .' - type(String,必填):输入媒资类型,支持reference_image、reference_audio'."\n"
+ .' - url(String,必填):输入媒资url'."\n"
+ .'- parameters(Object,必填):视频生成参数对象'."\n"
+ .' - duration(Integer,必填):视频时长(秒),必须为正整数,取值范围为 5-15'."\n"
+ .' - ratio(String,必填):画面宽高比,支持 16:9、9:16、4:3、3:4、1:1'."\n"
+ .' - resolution(String,必填):视频分辨率,支持 720P、1080P'."\n"
+ .' - specialEdition(Bool,选填):特惠版参数,仅分辨率为 1080P 时可以配置为 true'."\n"
+ .' - skipPromptEnhancer(Bool,选填):跳过提示词扩写,默认为 false'."\n"
+ .' - skipVoiceResync(Bool,选填):跳过音频修复,默认为 false', 'type' => 'string', 'required' => true, 'example' => '{\\"model\\":\\"happyhorse-1.0-r2v\\",\\"input\\":{\\"prompt\\":\\"[Image 1]中身着红色旗袍的女性,镜头先以侧面中景勾勒旗袍修身剪裁与S型曲线,随即切换至低角度仰拍,捕捉她轻抬玉手展开[Image 2]中的折扇的同时,[Image 3]中的流苏耳坠随头部转动轻盈摆动的细节,最后推近至面部特写,定格在她指尖轻点扇骨、眼波流转间的含蓄风情,多视角全方位展现东方韵味。\\",\\"media\\":[{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/mvzfud/hh-v2v-girl.jpg\\"},{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/fvuihk/hh-v2v2-folding-fan.jpg\\"},{\\"type\\":\\"reference_image\\",\\"url\\":\\"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260424/imerii/hh-v2v-earrings.jpg\\"}]},\\"parameters\\":{\\"resolution\\":\\"720P\\",\\"ratio\\":\\"16:9\\",\\"duration\\":5,\\"specialEdition\\":false,\\"skipPromptEnhancer\\":false,\\"skipVoiceResync\\":false}}'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户自定义参数,JSON String,回调结果会原样携带(如:newsKey)'."\n"
+ ."\n"
+ .'系统保留字段 NotifyAddress,回调地址 URL,任务完成后回调 {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'."\n"
+ .'系统保留字段 NotifyAddress,回调地址 URL,任务完成后回调 {"NotifyAddress": "http://xxx.callback.url"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'JobId' => ['description' => '任务ID', 'type' => 'string', 'example' => '68ca759e798b40b4903b255********'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '提交一刻提示词扩写音频修复视频生成任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"JobId\\": \\"68ca759e798b40b4903b255********\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeStoryboardJob' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SourceType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '源类型',
+ 'description' => '素材来源类型。'."\n"
+ .'- Novel(小说)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Novel' => '小说'],
+ 'example' => 'Novel',
+ ],
+ ],
+ [
+ 'name' => 'FileURL',
+ 'in' => 'formData',
+ 'schema' => ['title' => '文件 OSS 地址。', 'description' => '文件 OSS 地址。'."\n"
+ .'要求txt和doc后缀的地址', 'type' => 'string', 'required' => false, 'example' => 'http://test.oss-cn-shanghai.aliyuncs.com/test.txt'],
+ ],
+ [
+ 'name' => 'ShotSplitMode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '拆分镜模式',
+ 'description' => '拆分镜模式。'."\n"
+ .'- firstPersonNarration(旁白解说模式)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['firstPersonNarration' => '旁白解说模式'],
+ 'example' => 'firstPersonNarration',
+ ],
+ ],
+ [
+ 'name' => 'StyleId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '故事板风格ID',
+ 'description' => '故事板风格ID。'."\n"
+ .'- RealisticPhotographyPro(真人写实Pro)'."\n"
+ .'- RealisticGuzhuangPro(真人古装Pro)'."\n"
+ .'- RealisticXianxiaPro(真人仙侠Pro)'."\n"
+ .'- RealisticWesternPro(欧美写实Pro)'."\n"
+ .'- RealisticPhotography(真人写实)'."\n"
+ .'- RealisticGuzhuang(真人古装)'."\n"
+ .'- RealisticXianxia(真人仙侠)'."\n"
+ .'- RealisticWasteland(真人废土)'."\n"
+ .'- RealisticEra(真人年代感)'."\n"
+ .'- GuofengAnime(2D国风动漫)'."\n"
+ .'- GuofengAnime3D(3D国风动漫)'."\n"
+ .'- AncientRomanceAnime(动漫古言)'."\n"
+ .'- PostApocalypticAnime(动漫末世)'."\n"
+ .'- Cartoon3D(3D卡通)'."\n"
+ .'- Photorealistic3D(逼真3D渲染)'."\n"
+ .'- SciFiRealism(科幻写实)'."\n"
+ .'- Chibi3D(3D Q版)'."\n"
+ .'- ShojoManga(日系漫画)'."\n"
+ .'- NewPeriodAnime(新时代日漫)'."\n"
+ .'- FairyTale2D(2D童话)'."\n"
+ .'- Wasteland2D(2D废土)'."\n"
+ .'- InkWuxia(水墨武侠)'."\n"
+ .'- ShadiaoMeme(熊猫头风格)'."\n"
+ .'- Chibi2D(2D Q版)'."\n"
+ .'- Ghibli(吉卜力)'."\n"
+ .'- SciFiComic(赛博朋克)'."\n"
+ .'- AmericanSuperhero(美式超级英雄)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'RealisticPhotographyPro' => '真人写实Pro', 'Ghibli' => '吉卜力', 'AmericanSuperhero' => '美式超级英雄', 'RealisticEra' => '真人年代感', 'Wasteland2D' => '2D废土', 'NewPeriodAnime' => '新时代日漫', 'RealisticXianxia' => '真人仙侠', 'Chibi3D' => '3D Q版', 'RealisticWesternPro' => '欧美写实Pro', 'PostApocalypticAnime' => '动漫末世',
+ 'ShadiaoMeme' => '熊猫头风格', 'RealisticGuzhuang' => '真人古装', 'RealisticGuzhuangPro' => '真人古装Pro', 'Photorealistic3D' => '逼真3D渲染', 'GuofengAnime3D' => '3D国风动漫', 'FairyTale2D' => '2D童话', 'GuofengAnime' => '2D国风动漫', 'AncientRomanceAnime' => '动漫古言', 'RealisticWasteland' => '真人废土', 'Chibi2D' => '2D Q版',
+ 'SciFiRealism' => '科幻写实', 'RealisticPhotography' => '真人写实', 'InkWuxia' => '水墨武侠', 'SciFiComic' => '赛博朋克', 'Cartoon3D' => '3D卡通', 'ShojoManga' => '日系漫画', 'RealisticXianxiaPro' => '真人仙侠Pro',
+ ],
+ 'example' => 'RealisticPhotography',
+ ],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '成片视频宽高比',
+ 'description' => '成片视频宽高比。'."\n"
+ .'- 16:9'."\n"
+ .'- 9:16'."\n"
+ .'- 4:3'."\n"
+ .'- 3:4',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['16:9' => '16:9', '9:16' => '9:16', '4:3' => '4:3', '3:4' => '3:4'],
+ 'example' => '4:3',
+ ],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '成片视频分辨率',
+ 'description' => '成片视频分辨率。'."\n"
+ .'- 720P'."\n"
+ .'- 1080P'."\n"
+ .'- 2K'."\n"
+ .'- 4K',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['1080P' => '1080P', '720P' => '720P', '4K' => '4K', '2K' => '2K'],
+ 'example' => '720P',
+ ],
+ ],
+ [
+ 'name' => 'ShotPromptMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '故事板分镜生成模式',
+ 'description' => '故事板分镜生成模式。'."\n"
+ .'- multi(多参生视频)'."\n"
+ .'- default(图生视频)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['default' => '图生视频', 'multi' => '多参生视频'],
+ 'example' => 'multi',
+ ],
+ ],
+ [
+ 'name' => 'NarrationVoiceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '旁白音色ID',
+ 'description' => '旁白音色ID。'."\n"
+ .'- sys_GracefulPoisedWoman(成熟优雅女)'."\n"
+ .'- sys_ElderlyWistfulWoman(无奈岁月女)'."\n"
+ .'- sys_SweetBrightGirl(乖巧伶俐女)'."\n"
+ .'- sys_YoungGracefulWoman(温婉贤淑女)'."\n"
+ .'- sys_MaturePoisedWoman(温婉大气女)'."\n"
+ .'- sys_MatureWiseWoman(优雅睿智女)'."\n"
+ .'- sys_CalmDeepMale(沉稳厚重男)'."\n"
+ .'- sys_SereneIntellect(清冷理性男)'."\n"
+ .'- sys_MajesticBaritone(威严深沉男)'."\n"
+ .'- sys_GravellySoulful(沧桑厚重男)'."\n"
+ .'- sys_ClassicYoungMan(经典解说男)'."\n"
+ .'- sys_WiseYoungMan(睿智解说男)'."\n"
+ .'- sys_ClassicYoungWoman(经典解说女)'."\n"
+ .'- sys_IntellectualYoungWoman(知性解说女)'."\n"
+ .'- sys_GentleYoungMan(温柔解说男)'."\n"
+ .'- sys_thoughtfulBoy(乖巧懂事男)'."\n"
+ .'- sys_RichBassMale(质感低音男)'."\n"
+ .'- sys_ClassicMiddleAgedWoman(经典解说女)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'sys_GracefulPoisedWoman' => '成熟优雅女', 'sys_ElderlyWistfulWoman' => '无奈岁月女', 'sys_SweetBrightGirl' => '乖巧伶俐女', 'sys_YoungGracefulWoman' => '温婉贤淑女', 'sys_CalmDeepMale' => '沉稳厚重男', 'sys_SereneIntellect' => '清冷理性男', 'sys_MajesticBaritone' => '威严深沉男', 'sys_ClassicMiddleAgedWoman' => '经典解说女', 'sys_GravellySoulful' => '沧桑厚重男', 'sys_ClassicYoungMan' => '经典解说男',
+ 'sys_WiseYoungMan' => '睿智解说男', 'sys_ClassicYoungWoman' => '经典解说女', 'sys_IntellectualYoungWoman' => '知性解说女', 'sys_MaturePoisedWoman' => '温婉大气女', 'sys_MatureWiseWoman' => '优雅睿智女', 'sys_GentleYoungMan' => '温柔解说男', 'sys_thoughtfulBoy' => '乖巧懂事男', 'sys_RichBassMale' => '质感低音男',
+ ],
+ 'example' => 'sys_YoungGracefulWoman',
+ ],
+ ],
+ [
+ 'name' => 'VideoModel',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '视频模型',
+ 'description' => '视频模型。'."\n"
+ .'- wan2.6-r2v-flash',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['wan2.6-r2v-flash' => 'wan2.6-r2v-flash'],
+ 'example' => 'wan2.6-r2v-flash',
+ ],
+ ],
+ [
+ 'name' => 'ModelParams',
+ 'in' => 'query',
+ 'schema' => ['title' => '模型功能参数,Json 格式', 'description' => '模型功能参数,Json 格式。'."\n"
+ ."\n"
+ .' "AudioEnable": false 声音关闭', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "AudioEnable": false'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['title' => '任务标题。若不提供,根据日期自动生成默认title 长度不超过128字节 UTF8编码', 'description' => '任务标题。若不提供,根据日期自动生成默认title 长度不超过128字节 UTF8编码。', 'type' => 'string', 'required' => false, 'example' => 'test-title'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['title' => '自定义设置,Json 格式。其中:'."\n"
+ .'- NotifyAddress 为任务完成的回调,支持设置MNS回调以及Http回调。', 'description' => '自定义设置,Json 格式。其中:'."\n"
+ .'- NotifyAddress 为任务完成的回调,支持设置MNS回调以及Http回调。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "NotifyAddress": "https://www.callback.com"'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'SkipFailureShot',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否跳过失败分镜,默认为True。', 'type' => 'boolean', 'required' => false, 'example' => 'True'],
+ ],
+ [
+ 'name' => 'ExecMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '故事板生成执行模式。取值为:'."\n"
+ .'- FullPipeline:全链路生成(包含故事板生成以及分镜视频生成)。'."\n"
+ .'- StoryboardOnly:仅生成故事板。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['FullPipeline' => '全链路生成', 'StoryboardOnly' => '仅生成故事板'],
+ 'example' => 'FullPipeline',
+ ],
+ ],
+ [
+ 'name' => 'KeepOriginDialogue',
+ 'in' => 'query',
+ 'schema' => ['description' => '成片合成时是否保留原对白,默认为True', 'type' => 'boolean', 'required' => false, 'example' => 'True'],
+ ],
+ [
+ 'name' => 'ShotPromptLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'NeedCaption',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '任务ID', 'description' => '任务ID', 'type' => 'string', 'example' => 'ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '提交故事板生成任务',
+ 'summary' => '提交一刻故事板任务',
+ 'description' => '建议调用时积分保持在5000以上,如果积分不足的话会导致中断',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeVideoCloneJob' => [
+ 'summary' => '创建视频复刻生成任务,支持同品类洗稿场景,即:保持原视频框架,通过替换局部元素(人/声/图/文)产生去重变体',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobParams',
+ 'in' => 'formData',
+ 'schema' => ['description' => '任务请求内容,Json String,包含以下参数:'."\n"
+ .'- SceneType,string,枚举值,复刻场景类型,可选值:`variant-clone`-完整复刻,适用于同品类洗稿场景,仅替换局部元素(人/声/图/文)'."\n"
+ .'- OriginalVideo,object 类型,包含字段:MediaId - 媒资ID(上传到万镜一刻的视频)'."\n"
+ .'- SceneConfig,json string类型,场景扩展参数,variant-clone类型包含`{"OldProductName":"xxx","ProductName":"xxx"}`'."\n"
+ .'- UserMaterials,Array< Object>类型,用户素材列表,包含字段:MediaId:媒资ID(上传到万镜一刻的图片或视频)'."\n"
+ .'- AvatarData,object 类型,数字人信息,AvatarPortrait,必填,String,人像图片 URL;AvatarVoice,选填,String,音频 URL(用于音频复刻参考)'."\n"
+ .'- Resolution,string类型,视频清晰度,可选值:`720P`、`1080P`'."\n"
+ .'- WithSubtitles,bool类型,是否带字幕,true:带字幕(默认),false:不带字幕', 'type' => 'string', 'required' => true, 'example' => '{'."\n"
+ .' "JobParams": "{\\"SceneType\\":\\"variant-clone\\",\\"OriginalVideo\\":{\\"MediaId\\":\\"1d342ee****c71f18000e7f6d45b6302\\"},\\"SceneConfig\\":\\xxxxxxxxx\\",\\"Resolution\\":\\"720P\\",\\"AvatarData\\":{\\"AvatarPortrait\\":\\"https://example-bucket.oss-cn-shanghai.aliyuncs.com/sucai/videoremake/0518/shuziren-005.png\\",\\"AvatarVoice\\":\\"xxxxxx\\"},\\"UserMaterials\\":[{\\"MediaId\\":\\"e3785e10****71f1bfc9e7f6c6586301\\"}],\\"WithSubtitles\\":true}"'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户自定义参数,JSON String,回调结果会原样携带(如:newsKey)'."\n"
+ ."\n"
+ .'系统保留字段 NotifyAddress,回调地址 URL,任务完成后回调 {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'req_create_20260420_001'],
+ 'JobId' => ['description' => '任务 ID', 'type' => 'string', 'example' => 'task_abc123def456'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建视频复刻智能成片任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeVoiceNarratorJob' => [
+ 'summary' => '创建纯口播场景的(无数字人)智能成片生成任务,适用于 商品展示、资讯播报等视频场景。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => ['FEATUREiceAC7EJK'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'JobParams',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '任务请求内容,Json String,包含以下参数:'."\n"
+ .'- SceneType,string,枚举值,应用场景类型,可选值:`briefing-voiceover`-资讯播报/金融教育行业'."\n"
+ .'- TextType,int类型,文本类型,可选值:`1`-原始稿(商品或资讯信息,系统自动转为口播稿);`2`-(口播稿)'."\n"
+ .'- TextContent,string类型,文本内容,最大长度10000字符'."\n"
+ .'- UserMaterials,Array< Object>类型,用户素材列表,包含字段:MediaId:媒资ID(上传到万镜一刻的图片或视频)'."\n"
+ .'- NarrationVoiceId,string类型,旁白音色ID,枚举值,详见:,默认 `sys_ElegantProperMiddleAgedWoman`'."\n"
+ .'- VoiceDuration,int,预期口播时长,当`TextType==1`时设置,单位:秒,默认60,最终成片会略少于预期时长'."\n"
+ .'- AspectRatio,string类型,成片尺寸,可选值:`16:9`、`9:16`、`4:3`、`3:4`'."\n"
+ .'- Resolution,string类型,视频清晰度,可选值:`720P`、`1080P`'."\n"
+ .'- OutputLanguages,Array<String>类型,输出视频语种,支持多选(当前仅支持中文),可选值:`CN` - 中文(默认);`EN` - 英语;`YUE` - 粤语;'."\n"
+ .'- WithSubtitles,bool类型,是否带字幕,true:带字幕(默认),false:不带字幕'."\n"
+ ."\n"
+ .'-- 以下为竖屏包装模板参数,仅针对 briefing-voiceover 类型有效 --'."\n"
+ .'- TargetAspectRatio,string类型,适配竖屏的尺寸,可选值:`9:16`、`3:4`'."\n"
+ .'- Title,string类型,模版中显示的主标题'."\n"
+ .'- SubHeading,string类型,模版中显示的副标题'."\n"
+ .'- Date,string类型,模版中显示的日期'."\n"
+ .'- Watermark,object类型,模版中显示的水印,包含字段: Text - 水印文字'."\n"
+ .'- EnabledAICover,bool类型,是否AI生成封面'."\n"
+ .'- IPCharacter,Object类型,AI生成封面是否带IP人物,包含字段:MediaId:媒资ID;MediaUrl:公网可访问的url;',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['-' => '-'],
+ 'example' => '{\\"SceneType\\":\\"briefing-voiceover\\","TextType\\":2,\\"TextContent\\":\\"Today, Beijing held a press conference to announce plans to further optimize the city\'s transportation network, including adding three new subway lines within the next three years....\\",\\"AspectRatio\\":\\"16:9\\", \\"Resolution\\":\\"720P\\", \\"OutputLanguages\\":[\\"CN\\",\\"YUE\\"]"}',
+ ],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '用户自定义参数,JSON String,回调结果会原样携带(如:newsKey)'."\n"
+ ."\n"
+ .'系统保留字段 NotifyAddress,回调地址URL,任务完成后回调'."\n"
+ .'`{"NotifyAddress": "http://xxx.callback.url"}`',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['-' => '-'],
+ 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'enumValueTitles' => ['-' => '-'],
+ 'example' => 'req_create_20260420_001',
+ ],
+ 'JobId' => [
+ 'description' => '任务ID',
+ 'type' => 'string',
+ 'enumValueTitles' => ['-' => '-'],
+ 'example' => 'task_abc123def456',
+ ],
+ ],
+ 'enumValueTitles' => ['-' => '-'],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建纯口播场景智能成片任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateYikeProduction' => [
+ 'summary' => '更新一刻项目',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目 ID。', 'type' => 'string', 'required' => true, 'example' => 'pd_12334**'],
+ ],
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目标题。', 'type' => 'string', 'required' => false, 'example' => 'title'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ProductionId' => ['description' => '项目 ID。', 'type' => 'string', 'example' => 'pd_12334**'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '更新一刻项目',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"ProductionId\\": \\"pd_12334**\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateYikeProductionMemberAuth' => [
+ 'summary' => '修改一刻项目成员权限',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREiceA3ZL64'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '项目 ID。', 'type' => 'string', 'required' => true, 'example' => 'pd_061716****'],
+ ],
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '子用户ID', 'type' => 'string', 'required' => true, 'example' => '21******'],
+ ],
+ [
+ 'name' => 'Auth',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '权限名'."\n"
+ ."\n"
+ .'- Manage 可管理'."\n"
+ .'- Edit 可编辑',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Manage' => 'Manage', 'Edit' => 'Edit'],
+ 'example' => 'Manage',
+ 'enum' => ['Edit', 'Manage'],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => '是否设置成功。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '更新一刻项目成员权限',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'yike.cn-shanghai.aliyuncs.com', 'endpoint' => 'yike.cn-shanghai.aliyuncs.com', 'vpc' => 'yike-vpc.cn-shanghai.aliyuncs.com'],
+ ],
+ 'errorCodes' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ram' => [
+ 'productCode' => 'Yike',
+ 'productName' => '万镜一刻',
+ 'ramCodes' => ['yike'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'CreateYikeUser',
+ 'description' => '添加用户',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateYikeProduction',
+ 'description' => '更新一刻项目',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RegisterYikeAssetMediaInfo',
+ 'description' => '注册媒资信息',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:RegisterYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeWorkspaces',
+ 'description' => '获取工作室列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeWorkspaces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddYikeProductionMembers',
+ 'description' => '增加一刻项目用户',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeProductionMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateYikeProductionMemberAuth',
+ 'description' => '更新一刻项目成员权限',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProductionMemberAuth',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeProjectExportJob',
+ 'description' => '查询剪辑工程导出任务信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeProjectExportJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetYikeAIAppJob',
+ 'description' => '批量获取AI应用任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeVoiceNarratorJob',
+ 'description' => '创建纯口播场景智能成片任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikePromptExpansionVoiceFixJob',
+ 'description' => '获取一刻提示词扩写音频修复视频生成任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeVoiceNarratorJob',
+ 'description' => '查询纯口播视频智能成片生成任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeAIAppJob',
+ 'description' => '提交应用任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeProjectExportJob',
+ 'description' => '提交剪辑工程导出任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeProjectExportJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PrecheckYikeAIAppJob',
+ 'description' => '预校验应用任务参数',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:PrecheckYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetYikeCallbackConfig',
+ 'description' => '业务体系相关事件回调配置',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeCallbackConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddYikeUserCredit',
+ 'description' => '增加子账号积分',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeAssetFolders',
+ 'description' => '获取文件夹列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeAssetFolders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeAvatarNarratorJob',
+ 'description' => '创建数字人口播场景智能成片任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAvatarNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAgentJob',
+ 'description' => '查询智能体任务信息',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAgentJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteYikeAssetMediaInfos',
+ 'description' => '删除媒资信息详情',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yike:DeleteYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeStoryboardJob',
+ 'description' => '查询故事板生成任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitVideoGenerationJob',
+ 'description' => '提交视频生成任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitVideoGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeVideoCloneJob',
+ 'description' => '创建视频复刻智能成片任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVideoCloneJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetYikeAssetMediaInfos',
+ 'description' => '批量获取媒资信息详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeUser',
+ 'description' => '获取一刻用户',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikePromptExpansionVoiceFixJob',
+ 'description' => '提交一刻提示词扩写音频修复视频生成任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeUserCredit',
+ 'description' => '查询子账号积分',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeProduction',
+ 'description' => '创建项目',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubYikeUserCredit',
+ 'description' => '扣减子账户积分',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetVideoGenerationJob',
+ 'description' => '查询视频生成任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetVideoGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeStoryboardJob',
+ 'description' => '提交故事板生成任务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeWorkspace',
+ 'description' => '创建工作室',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeWorkspace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetYikeUserRole',
+ 'description' => '设置用户角色',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeUserRole',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetImageGenerationJob',
+ 'description' => '查询图片生成任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetImageGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeProductions',
+ 'description' => '获取项目列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeProductions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAIAppJob',
+ 'description' => '获取任务结果详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResumeYikeStoryboardJob',
+ 'description' => '恢复故事版执行状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:ResumeYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAssetMediaInfo',
+ 'description' => '获取媒资信息详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeAssetUpload',
+ 'description' => '获取音视频上传地址和凭证',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeAssetUpload',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitImageGenerationJob',
+ 'description' => '提交图片生成任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitImageGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [],
+ ],
+];