summaryrefslogtreecommitdiff
path: root/data/en_us/yike
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/en_us/yike
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/yike')
-rw-r--r--data/en_us/yike/2026-03-19/api-docs.php4379
1 files changed, 4379 insertions, 0 deletions
diff --git a/data/en_us/yike/2026-03-19/api-docs.php b/data/en_us/yike/2026-03-19/api-docs.php
new file mode 100644
index 0000000..cb7811d
--- /dev/null
+++ b/data/en_us/yike/2026-03-19/api-docs.php
@@ -0,0 +1,4379 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => ['style' => 'RPC', 'product' => 'Yike', 'version' => '2026-03-19'],
+ 'directories' => [
+ [
+ 'children' => ['SubmitYikeAvatarNarratorJob', 'SubmitYikeVoiceNarratorJob', 'GetYikeAgentJob'],
+ 'type' => 'directory',
+ 'title' => 'Marketing solutions',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['SubmitYikePromptExpansionVoiceFixJob', 'GetYikePromptExpansionVoiceFixJob'],
+ 'type' => 'directory',
+ 'title' => 'Audio reference',
+ ],
+ ],
+ 'type' => 'directory',
+ 'title' => 'General solutions',
+ ],
+ [
+ 'children' => [
+ [
+ 'children' => ['ListYikeWorkspaces', 'CreateYikeWorkspace'],
+ 'type' => 'directory',
+ 'title' => 'Studio',
+ ],
+ [
+ 'children' => ['CreateYikeProduction', 'UpdateYikeProduction', 'ListYikeProductions', 'UpdateYikeProductionMemberAuth', 'AddYikeProductionMembers'],
+ 'type' => 'directory',
+ 'title' => 'Project',
+ ],
+ [
+ 'children' => ['CreateYikeUser', 'GetYikeUser', 'SetYikeUserRole'],
+ 'type' => 'directory',
+ 'title' => 'User',
+ ],
+ [
+ 'children' => ['AddYikeUserCredit', 'SubYikeUserCredit', 'GetYikeUserCredit'],
+ 'type' => 'directory',
+ 'title' => 'Credits',
+ ],
+ 'SetYikeCallbackConfig',
+ ],
+ 'type' => 'directory',
+ 'title' => 'Business system',
+ ],
+ [
+ 'children' => ['CreateYikeAssetUpload', 'RegisterYikeAssetMediaInfo', 'GetYikeAssetMediaInfo', 'BatchGetYikeAssetMediaInfos', 'ListYikeAssetFolders', 'DeleteYikeAssetMediaInfos'],
+ 'type' => 'directory',
+ 'title' => 'Asset center',
+ ],
+ [
+ 'children' => ['PrecheckYikeAIAppJob', 'SubmitYikeAIAppJob', 'GetYikeAIAppJob', 'BatchGetYikeAIAppJob'],
+ 'type' => 'directory',
+ 'title' => 'AI applications',
+ ],
+ [
+ 'children' => ['SubmitYikeStoryboardJob', 'ResumeYikeStoryboardJob', 'GetYikeStoryboardJob', 'GetYikeVoiceNarratorJob', 'GetImageGenerationJob', 'GetVideoGenerationJob', 'GetYikeProjectExportJob', 'SubmitImageGenerationJob', 'SubmitVideoGenerationJob', 'SubmitYikeProjectExportJob', 'SubmitYikeVideoCloneJob'],
+ 'type' => 'directory',
+ 'title' => 'Others',
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [
+ 'EntityMediaBasicInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EntityMediaId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'EntityId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Biz' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'AppId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'UserData' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ModifiedTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CreateTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'AddYikeProductionMembers' => [
+ 'summary' => 'Adds a member to a Yike project.',
+ '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' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => 'pd_061716***', 'title' => ''],
+ ],
+ [
+ 'name' => 'YikeUserIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The IDs of the RAM users.', 'type' => 'string', 'required' => true, 'example' => '21*****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => 'Indicates whether the member is added.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Add a yike project user',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeProductionMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ 'AddYikeUserCredit' => [
+ 'summary' => 'Increases user credits.',
+ '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' => 'The ID of the sub-account user.', 'type' => 'string', 'required' => true, 'example' => 'id', 'title' => ''],
+ ],
+ [
+ 'name' => 'Credit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of credits to increase. The value must be greater than 0.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '50', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => 'Indicates whether the credits were increased successfully.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code returned when the increase fails. Valid values:'."\n"
+ .'- NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA: The primary account does not have sufficient credit balance.', 'type' => 'string', 'example' => 'NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Increase sub-account credits',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BatchGetYikeAIAppJob' => [
+ 'summary' => 'Retrieves multiple Yike AI application generation tasks in a batch.',
+ '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' => 'The list of task IDs. Separate multiple IDs with commas (,).', 'type' => 'string', 'required' => false, 'example' => 'cec2c13da767c090,ca3d3c9737f04586'."\n", 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n", 'title' => ''],
+ 'JobList' => [
+ 'description' => 'The list of tasks. Each element in the list is the same as the result of GetYikeAIAppJob.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The task details.',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => ['description' => 'The application ID.', 'type' => 'string', 'example' => '9e09955d662a'."\n", 'title' => ''],
+ 'AppInputConfig' => ['description' => 'The input parameters for running the AI application. The value is a JSON-serialized string.', 'type' => 'string', 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n", 'title' => ''],
+ 'ExecutionFinishTime' => ['description' => 'The time when the task started. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'."\n", 'title' => ''],
+ 'ExecutionStartTime' => ['description' => 'The time when the task ended. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:18.809+08:00'."\n", 'title' => ''],
+ 'FolderId' => ['description' => 'The folder ID.', 'type' => 'string', 'example' => 'pd_0617169475'."\n", 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'."\n", 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'pd_0617169475'."\n", 'title' => ''],
+ 'Result' => [
+ 'description' => 'The task execution result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageResult' => [
+ 'description' => 'The image task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The image task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => '318d6350a57d71f08c9ae7f7d4496302'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AudioResult' => [
+ 'description' => 'The audio task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The audio task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => 'bb1dfa20a0c971f08c94e7f6d6496202'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp3', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'VideoResult' => [
+ 'description' => 'The video task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The video task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => 'ec2de25068fd71f0a48cf7e6c4596302'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.mp4', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Status' => ['description' => 'The task status. Valid values:'."\n"
+ .'- Created: The task is created.'."\n"
+ .'- Queuing: The task is queuing.'."\n"
+ .'- Executing: The task is being executed.'."\n"
+ .'- Finished: The task is finished.'."\n"
+ .'- Failed: The task failed.', 'type' => 'string', 'example' => 'Created', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Batch retrieve AI application tasks',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The IDs of the media assets to query, separated by commas.', 'type' => 'string', 'required' => false, 'example' => '******b48fb04483915d4f2cd8******,******c48fb37407365d4f2cd8******', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'MediaInfos' => [
+ 'title' => '',
+ 'description' => 'The collection of media assets that meet the requirements.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The collection of media assets that meet the requirements.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '', 'description' => 'The media asset ID.', 'type' => 'string', 'example' => '******c48fb37407365d4f2cd8******'],
+ 'MediaBasicInfo' => [
+ 'title' => '',
+ 'description' => 'BasicInfo',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '', 'description' => 'MediaId', 'type' => 'string', 'example' => '*****64623a94eca8516569c8f*****'],
+ 'InputURL' => ['title' => '', 'description' => 'The address of the media asset to be registered in the corresponding system.', 'type' => 'string', 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ 'MediaType' => ['title' => '', 'description' => 'The media type of the media asset.', 'type' => 'string', 'example' => 'video'],
+ 'BusinessType' => ['title' => '', 'description' => 'The business type of the media asset.', 'type' => 'string', 'example' => 'general'],
+ 'Source' => ['title' => '', 'description' => 'The source.', 'type' => 'string', 'example' => 'oss'],
+ 'Title' => ['title' => '', 'description' => 'The title.', 'type' => 'string', 'example' => 'title'],
+ 'Description' => ['title' => '', 'description' => 'The content description.', 'type' => 'string', 'example' => 'sample_description'],
+ 'Category' => ['title' => '', 'description' => 'The category.', 'type' => 'string', 'example' => 'category'],
+ 'MediaTags' => ['title' => '', 'description' => 'The tags.', 'type' => 'string', 'example' => 'tag1,tag2'],
+ 'CoverURL' => ['title' => '', 'description' => 'The cover URL.', 'type' => 'string', 'example' => 'https://dtlive-bj.oss-cn-beijing.aliyuncs.com/cover/01e1271d-ff4f-4689-9c20-e1df81486859_open_live_cover.jpg'],
+ 'UserData' => ['title' => '', 'description' => 'The user data.', 'type' => 'string', 'example' => 'UserData'],
+ 'Snapshots' => ['title' => '', 'description' => 'The snapshots.', 'type' => 'string', 'example' => '[]'],
+ 'Status' => ['title' => '', 'description' => 'The resource status.', 'type' => 'string', 'example' => 'Normal'],
+ 'TranscodeStatus' => ['title' => '', 'description' => 'The transcoding status.', 'type' => 'string', 'example' => 'Init'],
+ 'CreateTime' => ['title' => '', 'description' => 'The time when the media asset was created.', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'ModifiedTime' => ['title' => '', 'description' => 'The time when the media asset was modified.', 'type' => 'string', 'example' => '2021-01-08T16:52:04Z'],
+ 'DeletedTime' => ['title' => '', 'description' => 'The time when the media asset was deleted.', 'type' => 'string', 'example' => '2021-01-08T16:52:07Z'],
+ 'SpriteImages' => ['title' => '', 'description' => 'The sprite images.', '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' => 'The business to which the media asset belongs.', 'type' => 'string', 'example' => 'ICE', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FileInfoList' => [
+ 'title' => '',
+ 'description' => 'FileInfos',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The file information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileBasicInfo' => [
+ 'title' => '',
+ 'description' => 'The basic file information, including the duration and size.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'example' => 'example.mp4'],
+ 'FileStatus' => ['title' => '', 'description' => 'The file status.', 'type' => 'string', 'example' => 'Normal'],
+ 'FileType' => ['title' => '', 'description' => 'The file type.', 'type' => 'string', 'example' => 'source_file'],
+ 'FileSize' => ['title' => '', 'description' => 'The file size, in bytes.', 'type' => 'string', 'example' => '191'],
+ 'FileUrl' => ['title' => '', 'description' => 'The OSS URL of the file.', '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' => 'The storage region of the file.', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'FormatName' => ['title' => '', 'description' => 'The container format.', 'type' => 'string', 'example' => 'jpg'],
+ 'Duration' => ['title' => '', 'description' => 'The duration.', 'type' => 'string', 'example' => '200'],
+ 'Bitrate' => ['title' => '', 'description' => 'The bitrate.', 'type' => 'string', 'example' => '30'],
+ 'Width' => ['title' => '', 'description' => 'The width.', 'type' => 'string', 'example' => '640'],
+ 'Height' => ['title' => '', 'description' => 'The height.', 'type' => 'string', 'example' => '416'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'BizData' => [
+ 'description' => 'The business information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => 'The folder ID.', 'type' => 'string', 'example' => 'pd_0617169475', 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'pd_0617169475', 'title' => ''],
+ 'AuditBlockedLabel' => ['description' => 'The audit label.', 'type' => 'string', 'example' => 'Label', 'title' => ''],
+ 'AuditStatus' => ['description' => 'The audit status.', 'type' => 'string', 'example' => 'pass', 'title' => ''],
+ 'MediaAssetType' => ['description' => 'The media asset type.', 'type' => 'string', 'example' => 'HistoricalUpload', 'title' => ''],
+ 'MediaAssetSubType' => ['description' => 'The media asset subtype.', 'type' => 'string', 'example' => 'Image', 'title' => ''],
+ 'SourceType' => ['description' => 'The source type.', 'type' => 'string', 'example' => 'MainBody', 'title' => ''],
+ 'SourceId' => ['description' => 'The source ID.', 'type' => 'string', 'example' => 'f4a26390f02371f0a1f4e6e7c7586706', 'title' => ''],
+ 'SourceName' => ['description' => 'The source name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'IsFavorite' => ['description' => 'Indicates whether the media asset is marked as a favorite.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'IsLogicalDeleted' => ['description' => 'Indicates whether the media asset is logically deleted.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'CreationJobId' => ['description' => 'The ID of the creation task.', 'type' => 'string', 'example' => 'ID', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'IgnoredList' => [
+ 'description' => 'The IDs that failed to be retrieved.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The IDs that failed to be retrieved.', 'type' => 'string', 'example' => '****fb2101bf24bf41cb318787dc****', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'title' => 'Batch retrieve media asset information',
+ 'summary' => 'Retrieves information about multiple media assets in a batch.',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateYikeAssetUpload' => [
+ 'summary' => 'Retrieves the upload credential for a media asset.',
+ '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' => 'The file name extension.', 'type' => 'string', 'required' => true, 'example' => 'mp4'],
+ ],
+ [
+ 'name' => 'FileType',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The file type. Default value: Media.', 'type' => 'string', 'example' => 'StoryboardInput', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'FileURL' => ['title' => '', 'description' => 'The OSS URL of the file, without authentication.', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4'],
+ 'UploadAddress' => ['title' => '', 'description' => 'The upload address.', 'type' => 'string', 'example' => 'eyJTZWN1cml0a2VuIjoiQ0FJU3p3TjF****'],
+ 'UploadAuth' => ['title' => '', 'description' => 'The upload credential.', 'type' => 'string', 'example' => 'eyJFbmRwb2ludCI6Imm****'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Retrieve upload address and credential for audio and video',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeAssetUpload',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateYikeProduction' => [
+ 'summary' => 'Creates a project.',
+ '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' => 'The project title.', 'type' => 'string', 'required' => true, 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$', 'example' => 'title', 'title' => ''],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => '581236', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'ProductionId', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Create a project',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"ProductionId\\": \\"ProductionId\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-az2gglkjauwnnhpq', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserNamePrefix',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The username prefix of the sub-account. Rules:'."\n"
+ ."\n"
+ .'- The prefix can be up to 50 characters in length and must be unique within the workspace.'."\n"
+ .'- The system automatically generates the login name in the following format: {UserNamePrefix}.{Workspace Code}@{Alibaba Cloud UID}.yikeai.', 'type' => 'string', 'required' => true, 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$', 'example' => 'test', 'title' => ''],
+ ],
+ [
+ 'name' => 'Nickname',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The nickname of the sub-account user.', 'type' => 'string', 'required' => true, 'maxLength' => 100, 'pattern' => '^[^\';<>=|\\(\\)]+$', 'example' => 'nick', 'title' => ''],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The password of the sub-account.', 'type' => 'string', 'required' => true, 'maxLength' => 32, 'minLength' => 32, 'pattern' => '^[\\w.-]+$', 'example' => '***', 'title' => ''],
+ ],
+ [
+ 'name' => 'ProductionIds',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The associated projects. Multiple project IDs are supported, separated by commas.'."\n"
+ .'> - A single user can be added to multiple projects.', 'type' => 'string', 'required' => true, 'example' => 'id1,id2', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'UserInfo' => [
+ 'description' => 'The user information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => 'id', 'title' => ''],
+ 'UserName' => ['description' => 'The username.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'Nickname' => ['description' => 'The nickname of the user.', 'type' => 'string', 'example' => 'nick', 'title' => ''],
+ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'spaceId', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Add a user',
+ 'summary' => 'Creates a sub-account user in WonderClip.',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateYikeWorkspace' => [
+ 'summary' => 'Creates a workspace.',
+ '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' => 'The project title.', 'type' => 'string', 'required' => true, 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$', 'example' => 'title', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserCountLimit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The maximum number of team users allowed in the workspace.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '1000', 'minimum' => '2', 'example' => '50', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'llm-zna577pdximvztk5', 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'ProductionId', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Create a workspace',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"WorkspaceId\\": \\"llm-zna577pdximvztk5\\",\\n \\"ProductionId\\": \\"ProductionId\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeWorkspace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteYikeAssetMediaInfos' => [
+ 'summary' => 'Deletes media asset information.',
+ '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' => '', 'description' => 'The ICE media asset ID.', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****,****15d4a4b0448391508f2cb486****'],
+ ],
+ [
+ 'name' => 'LogicDelete',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to delete the media asset information and files. Valid values:'."\n"
+ .'- true (default): logical deletion. The media asset is moved to the recycle bin, and the files are retained.'."\n"
+ .'- false: deletes the media asset information and files.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'IgnoredList' => [
+ 'title' => '',
+ 'description' => 'The IDs or input URLs for which errors occurred during retrieval.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID or input URL that failed to be deleted.', 'type' => 'string', 'example' => '****fb2101bf24bf41cb318787dc****', 'title' => ''],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Delete media asset information details',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******11-DB8D-4A9A-875B-275798******\\",\\n \\"IgnoredList\\": [\\n \\"****fb2101bf24bf41cb318787dc****\\"\\n ]\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yike:DeleteYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetImageGenerationJob' => [
+ 'summary' => 'Queries an image generation task.',
+ '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' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => '68ca759e798b40b4903b255*******', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ImageGenerationJob' => [
+ 'description' => 'The image generation task.',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'fdc7f121056249c2b64e04bba27bcc8c', 'title' => ''],
+ 'Status' => ['description' => 'The task status. Valid values:'."\n"
+ .'- Created: The task is created.'."\n"
+ .'- Queuing: The task is queuing.'."\n"
+ .'- Executing: The task is being executed.'."\n"
+ .'- Finished: The task is completed.'."\n"
+ .'- Failed: The task failed.', 'type' => 'string', 'example' => 'Executing', 'title' => ''],
+ 'Output' => ['description' => 'The generation result in JSON string format. Fields:'."\n"
+ .'- Medias: a list of media information (Media objects). Fields of a Media object:'."\n"
+ .' - MediaId: String. The media asset ID.'."\n"
+ .' - OutputUrl: String. The media URL (with authentication string).', 'type' => 'string', 'example' => '{"Medias":[{"MediaId":"***e3700761971f19c32e7e7d5496***","OutputUrl":"https://**bucket**.oss-ap-southeast-1.aliyuncs.com/xxx.prd"}]}', 'title' => ''],
+ 'JobType' => ['description' => 'The task type.', 'type' => 'string', 'example' => 'text_to_image', 'title' => ''],
+ 'Model' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'wan2.7-image', 'title' => ''],
+ 'Scene' => ['description' => 'The scenario type. Currently only `general` is supported.', 'type' => 'string', 'example' => 'general', 'title' => ''],
+ 'Input' => ['description' => 'The task input.', 'type' => 'string', 'example' => '{"Prompt":"图1在篮球场上,用图2来了个灌篮"}', 'title' => ''],
+ 'JobParameters' => ['description' => 'The task feature configuration. No configuration is required at this time.', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ 'Resolution' => ['description' => 'The resolution of the generated video.', 'type' => 'string', 'example' => '1K', 'title' => ''],
+ 'AspectRatio' => ['description' => 'The video aspect ratio.', 'type' => 'string', 'example' => '16:9', 'title' => ''],
+ 'N' => ['description' => 'The number of generated images.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'ErrorMessage' => ['description' => 'The error message. This parameter is of the String type and is returned when the task is in the Failed state.', 'type' => 'string', 'example' => 'Input file not found.', 'title' => ''],
+ 'UserData' => ['description' => 'The custom business information.', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query image generation task',
+ 'description' => '## Request description'."\n"
+ .'This API generates a video narrated by a virtual human based on the provided text content and other parameters such as digital human information and common scenario type. You must specify key configuration items including the text type (original script or narration script), output dimensions, and resolution. You can also choose whether to add subtitles or specify the output language. Additionally, you can pass custom parameters through the `UserData` field, which are returned as-is in the callback.',
+ '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' => 'The idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'xxxx'],
+ ],
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => '68ca759e798b40b4903b255*******', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'VideoGenerationJob' => [
+ 'description' => 'The video generation task.',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'fdc7f121056249c2b64e04bba27bcc8c', 'title' => ''],
+ 'Status' => ['description' => 'The task status. Valid values:'."\n"
+ .'- Created: The task is created.'."\n"
+ .'- Queuing: The task is queuing.'."\n"
+ .'- Executing: The task is being executed.'."\n"
+ .'- Finished: The task is completed.'."\n"
+ .'- Failed: The task failed.', 'type' => 'string', 'example' => 'Executing', 'title' => ''],
+ 'Output' => ['description' => 'The output result in JsonString format. The following fields are included:'."\n"
+ ."\n"
+ .'Medias: a list of media information (Media objects). The Media object contains the following fields:'."\n"
+ .'MediaId: String. The media asset ID.'."\n"
+ .'OutputUrl: String. The media URL (with the authentication string).', 'type' => 'string', 'example' => '{\\"Medias\\":[{\\"MediaId\\":\\"*****470732171f1bfcaf7f6d44*****\\",\\"OutputUrl\\":\\"https://xxxxxxx/.../xxxxx.mp4?Expires=xxxx&OSSAccessKeyId=xxx&Signature=xxxx\\"}]}', 'title' => ''],
+ 'JobType' => ['description' => 'The task type.', 'type' => 'string', 'example' => 'first_last_frame', 'title' => ''],
+ 'Model' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'happyhorse-1.1', 'title' => ''],
+ 'Scene' => ['description' => 'The scene type. Currently, only general is supported.', 'type' => 'string', 'example' => 'general', 'title' => ''],
+ 'Input' => ['description' => 'The task input.', 'type' => 'string', 'example' => '{"Prompt":"图1在篮球场上,用图2来了个灌篮","Medias":[{"Type":"image","Url":"https://xxx/xxx.jpg"},{"Type":"image","Url":"https://xxx/xxx.jpg"}]}', 'title' => ''],
+ 'JobParameters' => ['description' => 'The task feature configuration. This parameter does not need to be set.', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ 'Resolution' => ['description' => 'The resolution.', 'type' => 'string', 'example' => '720P', 'title' => ''],
+ 'AspectRatio' => ['description' => 'The aspect ratio.', 'type' => 'string', 'example' => '16:9', 'title' => ''],
+ 'Duration' => ['description' => 'The video duration. Unit: seconds.', 'type' => 'string', 'example' => '5', 'title' => ''],
+ 'N' => ['description' => 'The number of generated videos.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'ErrorMessage' => ['description' => 'The error message. This parameter is returned when the task is in the Failed state.', 'type' => 'string', 'example' => 'Input file not found.', 'title' => ''],
+ 'UserData' => ['description' => 'The user business information.', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ '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' => 'Query a video generation task',
+ 'summary' => 'Queries an AI video generation task.',
+ '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' => 'Retrieves the details of an AI application task.',
+ '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' => 'The task ID.', 'type' => 'string', 'required' => false, 'example' => '****20b48fb04483915d4f2cd8ac****'."\n", 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0622C702-41BE-467E-AF2E-883D4517962E'."\n", 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****'."\n", 'title' => ''],
+ 'AppId' => ['description' => 'The AI application ID.', 'type' => 'string', 'example' => 'app-****'."\n", 'title' => ''],
+ 'AppParams' => ['description' => 'The input parameters for the AI application run. The value is a string obtained after JSON serialize.', 'type' => 'string', 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n", 'title' => ''],
+ 'Status' => ['description' => 'The task status. Valid values:'."\n"
+ .'- Created: The task is created.'."\n"
+ .'- Queuing: The task is queuing.'."\n"
+ .'- Executing: The task is being executed.'."\n"
+ .'- Finished: The task is finished.'."\n"
+ .'- Failed: The task failed.', 'type' => 'string', 'example' => 'Created', 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****'."\n", 'title' => ''],
+ 'FolderId' => ['description' => 'The folder ID.', 'type' => 'string', 'example' => 'folder-u3ilwhoc36ux9a****'."\n", 'title' => ''],
+ 'ExecutionStartTime' => ['description' => 'The time when the task started. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00'."\n", 'title' => ''],
+ 'ExecutionFinishTime' => ['description' => 'The time when the task ended. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:18.809+08:00'."\n", 'title' => ''],
+ 'Result' => [
+ 'description' => 'The task execution result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ImageResult' => [
+ 'description' => 'The image task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The image task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.png', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'VideoResult' => [
+ 'description' => 'The video task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The video task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp4', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'AudioResult' => [
+ 'description' => 'The audio task result.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The audio task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The media asset ID.', 'type' => 'string', 'example' => '1a7852b032c371f0b64fe6f6c74b****'."\n", 'title' => ''],
+ 'OutputUrl' => ['description' => 'The output file URL.', 'type' => 'string', 'example' => 'http://outin-***.oss-cn-shanghai.aliyuncs.com/stream/48555e8b-181dd5a8c07/48555e8b-181dd5a8c07.mp3', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'Retrieve task result details',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetYikeAgentJob' => [
+ 'summary' => 'Queries an agent task.',
+ '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'ab4802364a2e49208c99efab82df****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n", 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****', 'title' => ''],
+ 'JobParams' => ['description' => 'The input parameters of the task. The value is a 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\\"]"}', 'title' => ''],
+ 'JobStatus' => ['description' => 'The task status. Valid values:'."\n"
+ ."\n"
+ .'- Running'."\n"
+ .'- Succeeded'."\n"
+ .'- Failed.', 'type' => 'string', 'example' => 'Running', 'title' => ''],
+ 'JobResult' => [
+ 'description' => 'The task results. This parameter is valid only when the task is in the Succeeded state.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The individual task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The asset ID.', 'type' => 'string', 'example' => '9d7e982012c671f1b803e7f6d75a6302', 'title' => ''],
+ 'OutputUrl' => ['description' => 'The download URL.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/videos/task_abc123def456.mp4', 'title' => ''],
+ 'OutputLanguage' => ['description' => 'The output language.', 'type' => 'string', 'example' => 'CN', 'title' => ''],
+ 'EditingProjectId' => ['description' => 'The online editing project ID.', 'type' => 'string', 'example' => '01a6adbbd181437eb5030d3d93e0182d', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UserData' => ['description' => 'The custom user data that was passed in when the task was created. The value is returned as-is.', 'type' => 'string', 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code. This parameter is returned only when the task is in the Failed state.', 'type' => 'string', 'example' => 'WorkflowTaskFailed', 'title' => ''],
+ 'JobType' => ['description' => 'The agent task type. Valid values:'."\n"
+ ."\n"
+ .'- VoiceNarrator: narration video without a digital human.'."\n"
+ .'- AvatarNarrator: narration video with a digital human.'."\n"
+ .'- VideoClone: video cloning.', 'type' => 'string', 'example' => 'VoiceNarrator', 'title' => ''],
+ 'CreateTime' => ['description' => 'The time when the task started. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00', 'title' => ''],
+ 'FinishTime' => ['description' => 'The time when the task ended. The time is in the yyyy-mm-ddTHH:mm:ssZ format (UTC).', 'type' => 'string', 'example' => '2026-02-06T18:53:34.001+08:00', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query agent task information',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAgentJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The media asset ID.', 'type' => 'string', 'required' => true, 'example' => '****20b48fb04483915d4f2cd8ac****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'MediaInfo' => [
+ 'description' => 'The media asset information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '', 'description' => 'The media asset ID.', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ 'MediaBasicInfo' => [
+ 'title' => '',
+ 'description' => 'BasicInfo',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['title' => '', 'description' => 'The media asset ID.', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****'],
+ 'InputURL' => ['title' => '', 'description' => 'The address of the media asset to be registered in the corresponding system.', 'type' => 'string', 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ 'MediaType' => ['title' => '', 'description' => 'The media type of the media asset.', 'type' => 'string', 'example' => 'video'],
+ 'BusinessType' => ['title' => '', 'description' => 'The business type of the media asset.', 'type' => 'string', 'example' => 'general'],
+ 'Source' => ['title' => '', 'description' => 'The source.', 'type' => 'string', 'example' => 'oss'],
+ 'Title' => ['title' => '', 'description' => 'The title.', 'type' => 'string', 'example' => 'v6l82k_176822379****.jpeg'],
+ 'Description' => ['title' => '', 'description' => 'The content description.', 'type' => 'string', 'example' => 'description'],
+ 'Category' => ['title' => '', 'description' => 'The category.', 'type' => 'string', 'example' => 'category'],
+ 'MediaTags' => ['title' => '', 'description' => 'The tags.', 'type' => 'string', 'example' => 'tag1'],
+ 'CoverURL' => ['title' => '', 'description' => 'The cover URL.', 'type' => 'string', 'example' => 'https://dtlive-vip.oss-cn-shanghai.aliyuncs.com/cover/4e88a055-75fc-4ff5-8b8a-f32224917514_open_live_cover.jpg'],
+ 'UserData' => ['title' => '', 'description' => 'The user data.', 'type' => 'string', 'example' => 'UserData'],
+ 'Snapshots' => ['title' => '', 'description' => 'The snapshots.', 'type' => 'string', 'example' => '[]'],
+ 'Status' => ['title' => '', 'description' => 'The resource status.', 'type' => 'string', 'example' => 'Normal'],
+ 'CreateTime' => ['title' => '', 'description' => 'The time when the media asset was created.', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'ModifiedTime' => ['title' => '', 'description' => 'The time when the media asset was last modified.', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'DeletedTime' => ['title' => '', 'description' => 'The time when the media asset was deleted.', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z'],
+ 'SpriteImages' => ['title' => '', 'description' => 'The sprite images.', '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' => 'The category ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3048', 'title' => ''],
+ 'Biz' => ['description' => 'The business to which the media asset belongs.', 'type' => 'string', 'example' => 'AiSaas', 'title' => ''],
+ 'UploadSource' => ['description' => 'The upload source of the media asset.', 'type' => 'string', 'example' => 'general', 'title' => ''],
+ 'CateName' => ['description' => 'The category name.', 'type' => 'string', 'example' => 'cateName', 'title' => ''],
+ 'ReferenceId' => ['description' => 'The custom ID. Only lowercase letters, uppercase letters, digits, hyphens, and underscores are supported. The value must be 6 to 64 characters in length and is unique for each user.', 'type' => 'string', 'example' => '123-1234', 'title' => ''],
+ 'ThumbURL240P' => ['description' => 'The thumbnail with a height of 240 pixels.', 'type' => 'string', 'example' => 'ThumbURL240P', 'title' => ''],
+ 'ThumbURLWebp' => ['description' => 'The thumbnail encoded in WebP format.', 'type' => 'string', 'example' => 'ThumbURLWebp', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'FileInfoList' => [
+ 'title' => '',
+ 'description' => 'FileInfos',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The file information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileBasicInfo' => [
+ 'title' => '',
+ 'description' => 'The basic file information, including duration and size.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileName' => ['title' => '', 'description' => 'The file name.', 'type' => 'string', 'example' => 'example.mp4'],
+ 'FileStatus' => ['title' => '', 'description' => 'The file status.', 'type' => 'string', 'example' => 'Normal'],
+ 'FileType' => ['title' => '', 'description' => 'The file type.', 'type' => 'string', 'example' => 'source_file'],
+ 'FileSize' => ['title' => '', 'description' => 'The file size, in bytes.', 'type' => 'string', 'example' => '27007'],
+ 'FileUrl' => ['title' => '', 'description' => 'The OSS URL of the file.', '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' => 'The storage region of the file.', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'FormatName' => ['title' => '', 'description' => 'The container format.', 'type' => 'string', 'example' => 'mp4'],
+ 'Duration' => ['title' => '', 'description' => 'The duration.', 'type' => 'string', 'example' => '16.2'],
+ 'Bitrate' => ['title' => '', 'description' => 'The bitrate.', 'type' => 'string', 'example' => '20'],
+ 'Width' => ['title' => '', 'description' => 'The width.', 'type' => 'string', 'example' => '960'],
+ 'Height' => ['title' => '', 'description' => 'The height.', 'type' => 'string', 'example' => '540'],
+ 'CreateTime' => ['description' => 'The time when the file was created.', 'type' => 'string', 'example' => '2020-12-26T04:11:08Z', 'title' => ''],
+ 'ModifiedTime' => ['description' => 'The time when the file was last modified.', 'type' => 'string', 'example' => '2020-12-26T04:11:10Z', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'AudioStreamInfoList' => [
+ 'title' => '',
+ 'description' => 'The audio stream information. A media asset may contain multiple audio streams.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The audio stream information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '', 'description' => 'The index of the audio stream.', 'type' => 'string', 'example' => '1'],
+ 'CodecName' => ['title' => '', 'description' => 'The short name of the codec.', 'type' => 'string', 'example' => 'aac'],
+ 'CodecLongName' => ['title' => '', 'description' => 'The long name of the codec.', 'type' => 'string', 'example' => 'AAC (Advanced Audio Coding)'],
+ 'CodecTimeBase' => ['title' => '', 'description' => 'The codec time base.', 'type' => 'string', 'example' => '1/44100'],
+ 'CodecTagString' => ['title' => '', 'description' => 'The codec tag string.', 'type' => 'string', 'example' => 'mp4a'],
+ 'CodecTag' => ['title' => '', 'description' => 'The codec tag.', 'type' => 'string', 'example' => '0x6134706d'],
+ 'Profile' => ['title' => '', 'description' => 'The codec profile.', 'type' => 'string', 'example' => 'High'],
+ 'SampleFmt' => ['title' => '', 'description' => 'The sample format.', 'type' => 'string', 'example' => 'fltp'],
+ 'SampleRate' => ['title' => '', 'description' => 'The sample rate.', 'type' => 'string', 'example' => '44100'],
+ 'Channels' => ['title' => '', 'description' => 'The number of channels.', 'type' => 'string', 'example' => '2'],
+ 'ChannelLayout' => ['title' => '', 'description' => 'The channel layout.', 'type' => 'string', 'example' => 'stereo'],
+ 'Timebase' => ['title' => '', 'description' => 'The time base.', 'type' => 'string', 'example' => '1/44100'],
+ 'StartTime' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'example' => '2026-02-04T02:13:00Z'],
+ 'Duration' => ['title' => '', 'description' => 'The duration.', 'type' => 'string', 'example' => '16.2'],
+ 'Bitrate' => ['title' => '', 'description' => 'The bitrate.', 'type' => 'string', 'example' => '192.0'],
+ 'Fps' => ['title' => '', 'description' => 'The audio frame rate.', 'type' => 'string', 'example' => '10'],
+ 'NumFrames' => ['title' => '', 'description' => 'The total number of frames.', 'type' => 'string', 'example' => '10'],
+ 'Lang' => ['title' => '', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'VideoStreamInfoList' => [
+ 'title' => '',
+ 'description' => 'The video stream information. A media asset may contain multiple video streams.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The video stream information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '', 'description' => 'The index of the video stream.', 'type' => 'string', 'example' => '0'],
+ 'CodecName' => ['title' => '', 'description' => 'The short name of the codec.', 'type' => 'string', 'example' => 'h264'],
+ 'CodecLongName' => ['title' => '', 'description' => 'The long name of the codec.', 'type' => 'string', 'example' => 'H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10'],
+ 'Profile' => ['title' => '', 'description' => 'The codec profile.', 'type' => 'string', 'example' => 'High'],
+ 'CodecTimeBase' => ['title' => '', 'description' => 'The codec time base.', 'type' => 'string', 'example' => '1/48'],
+ 'CodecTagString' => ['title' => '', 'description' => 'The codec tag string.', 'type' => 'string', 'example' => '[0][0][0][0]'],
+ 'CodecTag' => ['title' => '', 'description' => 'The codec tag.', 'type' => 'string', 'example' => '0x0000'],
+ 'Width' => ['title' => '', 'description' => 'The width.', 'type' => 'string', 'example' => '960'],
+ 'Height' => ['title' => '', 'description' => 'The height.', 'type' => 'string', 'example' => '540'],
+ 'HasBFrames' => ['title' => '', 'description' => 'Indicates whether the video stream contains B-frames.', 'type' => 'string', 'example' => '2'],
+ 'Sar' => ['title' => '', 'description' => 'The sample aspect ratio (SAR).', 'type' => 'string', 'example' => '0:1'],
+ 'Dar' => ['title' => '', 'description' => 'The display aspect ratio (DAR).', 'type' => 'string', 'example' => '0:1'],
+ 'PixFmt' => ['title' => '', 'description' => 'The pixel format.', 'type' => 'string', 'example' => 'yuv420p'],
+ 'Level' => ['title' => '', 'description' => 'The codec level.', 'type' => 'string', 'example' => '30'],
+ 'Fps' => ['title' => '', 'description' => 'The video frame rate.', 'type' => 'string', 'example' => '24.0'],
+ 'AvgFPS' => ['title' => '', 'description' => 'The average frame rate.', 'type' => 'string', 'example' => '24.0'],
+ 'Timebase' => ['title' => '', 'description' => 'The time base.', 'type' => 'string', 'example' => '1/12288'],
+ 'StartTime' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'example' => '2025-08-04T12:00:00Z'],
+ 'Duration' => ['title' => '', 'description' => 'The duration.', 'type' => 'string', 'example' => '216.206706'],
+ 'Bitrate' => ['title' => '', 'description' => 'The bitrate.', 'type' => 'string', 'example' => '20'],
+ 'NumFrames' => ['title' => '', 'description' => 'The total number of frames.', 'type' => 'string', 'example' => '5184'],
+ 'Lang' => ['title' => '', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
+ 'Rotate' => ['title' => '', 'description' => 'The rotation angle.', 'type' => 'string', 'example' => '0'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'SubtitleStreamInfoList' => [
+ 'title' => '',
+ 'description' => 'The subtitle stream information. A media asset may contain multiple subtitle streams.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The subtitle stream information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => ['title' => '', 'description' => 'The index of the audio stream.', 'type' => 'string', 'example' => '1'],
+ 'CodecName' => ['title' => '', 'description' => 'The short name of the codec.', 'type' => 'string', 'example' => 'srt'],
+ 'CodecLongName' => ['title' => '', 'description' => 'The long name of the codec.', 'type' => 'string', 'example' => 'SubRip Text'],
+ 'CodecTimeBase' => ['title' => '', 'description' => 'The codec time base.', 'type' => 'string', 'example' => '29.97'],
+ 'CodecTagString' => ['title' => '', 'description' => 'The codec tag string.', 'type' => 'string', 'example' => 'unicode'],
+ 'CodecTag' => ['title' => '', 'description' => 'The codec tag.', 'type' => 'string', 'example' => 'unicode'],
+ 'Timebase' => ['title' => '', 'description' => 'The time base.', 'type' => 'string', 'example' => '30'],
+ 'StartTime' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'example' => '2025-03-07T01:30Z'],
+ 'Duration' => ['title' => '', 'description' => 'The duration.', 'type' => 'string', 'example' => '1'],
+ 'Lang' => ['title' => '', 'description' => 'The language.', 'type' => 'string', 'example' => 'zh'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'BizData' => [
+ 'description' => 'The custom business information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => 'The folder ID.', 'type' => 'string', 'example' => 'fd-CBMEJaa2fA', 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'ID', 'title' => ''],
+ 'AuditBlockedLabel' => ['description' => 'The audit label.', 'type' => 'string', 'example' => 'Label', 'title' => ''],
+ 'AuditStatus' => ['description' => 'The audit status.', 'type' => 'string', 'example' => 'Status', 'title' => ''],
+ 'MediaAssetType' => ['description' => 'The media asset type.', 'type' => 'string', 'example' => 'Type', 'title' => ''],
+ 'MediaAssetSubType' => ['description' => 'The media asset subtype.', 'type' => 'string', 'example' => 'SubType', 'title' => ''],
+ 'SourceType' => ['description' => 'The source type.', 'type' => 'string', 'example' => 'MainBody', 'title' => ''],
+ 'SourceId' => ['description' => 'The source ID.', 'type' => 'string', 'example' => 'f4a26390f02371f0a1f4e6e7c758****', 'title' => ''],
+ 'SourceName' => ['description' => 'The source name.', 'type' => 'string', 'example' => 'SourceName', 'title' => ''],
+ 'IsFavorite' => ['description' => 'Indicates whether the media asset is marked as a favorite.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'IsLogicalDeleted' => ['description' => 'Indicates whether the media asset is logically deleted.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'CreationJobId' => ['description' => 'The ID of the creation task.', 'type' => 'string', 'example' => 'ID', 'title' => ''],
+ 'Prompt' => ['description' => 'The prompt.', 'type' => 'string', 'example' => '请为上述内容生成一段摘要,字数必须限制在70字以内包含标点符号', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Retrieve media asset details',
+ 'summary' => 'Retrieves the content information of a media asset.',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetYikeProjectExportJob' => [
+ 'summary' => 'Queries the information and results of an editing project export task.',
+ '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => '68ca759e798b40b4903b255*******', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '****2876-6263-4B75-8F2C-CD0F7FCF****'],
+ 'ProjectExportJob' => [
+ 'description' => 'The export task object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '****cdb3e74639973036bc84****', 'title' => ''],
+ 'ProjectId' => ['description' => 'The online editing project ID.', 'type' => 'string', 'example' => '****fddd7748b58bf1d47e95****', 'title' => ''],
+ 'ExportType' => ['description' => 'The project export type.', 'type' => 'string', 'example' => 'PureAudio', 'title' => ''],
+ 'Status' => ['description' => 'The task status.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'Code' => ['description' => 'The task failure code.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''],
+ 'Message' => ['description' => 'The task failure message.', 'type' => 'string', 'example' => 'The specified parameter is not valid.', 'title' => ''],
+ 'ExportResult' => [
+ 'description' => 'The export result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Timeline' => ['description' => 'The editing timeline (not supported).', 'type' => 'string', 'example' => '....', 'title' => ''],
+ 'ProjectUrl' => ['description' => 'The download URL of the PR project file (not supported).', 'type' => 'string', 'example' => '....', 'title' => ''],
+ 'AudioUrl' => ['description' => 'The download URL of the audio file.', 'type' => 'string', 'example' => 'http://....MP3?Expires=', 'title' => ''],
+ 'SrtList' => [
+ 'description' => 'The subtitle list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The subtitle object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Tag' => ['description' => 'The type enumeration. Currently, only VoiceOver is supported.', 'type' => 'string', 'example' => 'VoiceOver', 'title' => ''],
+ 'SrtUrl' => ['description' => 'The download URL of the SRT file.', 'type' => 'string', 'example' => 'http://xxx?Expires=', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UserData' => ['description' => 'The custom data.', 'type' => 'string', 'example' => '{\\"testKey\\":\\"testValue\\"}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query editing project export task information',
+ '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' => 'Queries a Yike prompt enhancement and audio repair video generation task.',
+ '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => '68ca759e798b40b4903b255*******', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****', 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****', 'title' => ''],
+ 'JobParams' => ['description' => 'The task parameters, in JSON format. The following fields are included:'."\n"
+ .'- model (String, required): The model name. Example: happyhorse-1.0-r2v.'."\n"
+ .'- input (Object, required): The input data object.'."\n"
+ .' - prompt (String, required): The prompt content. The maximum length is 10,000 characters.'."\n"
+ .' - media (Array(Object), required): The list of media materials used to specify reference images and audio.'."\n"
+ .' - type (String, required): The input media type. Valid values: reference_image and reference_audio.'."\n"
+ .' - url (String, required): The URL of the input media.'."\n"
+ .'- parameters (Object, required): The video generation parameter object.'."\n"
+ .' - duration (Integer, required): The video duration in seconds. The value must be a positive integer. Valid values: 5 to 15.'."\n"
+ .' - ratio (String, required): The aspect ratio. Valid values: 16:9, 9:16, 4:3, 3:4, and 1:1.'."\n"
+ .' - resolution (String, required): The video resolution. Valid values: 720P and 1080P.'."\n"
+ .' - specialEdition (Bool, optional): The cost-effective edition parameter. This parameter can be set to true only when the resolution is 1080P.'."\n"
+ .' - skipPromptEnhancer (Bool, optional): Specifies whether to skip prompt enhancement. Default value: false.'."\n"
+ .' - skipVoiceResync (Bool, optional): Specifies whether to skip audio repair. Default value: 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}}', 'title' => ''],
+ 'JobStatus' => ['description' => 'The task status. Valid values:'."\n"
+ ."\n"
+ .'- **Succeeded**: The task is processed.'."\n"
+ ."\n"
+ .'- **Failed**: The task failed.'."\n"
+ ."\n"
+ .'- **Running**: The task is being processed.', 'type' => 'string', 'example' => 'Succeeded', 'title' => ''],
+ 'JobResult' => [
+ 'description' => 'The task result of the node.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The task result of the node.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputUrl' => ['description' => 'Oss Url', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UserData' => ['description' => 'The custom user parameter.', 'type' => 'string', 'example' => '{"testKey":"testValue"}', 'title' => ''],
+ 'StartTime' => ['title' => '', 'description' => 'The start time.', 'type' => 'string', 'example' => '2025-06-24T00:55:06Z'],
+ 'EndTime' => ['title' => '', 'description' => 'The end time.', 'type' => 'string', 'example' => '2026-01-30T16:00:00Z'],
+ 'ErrorCode' => ['description' => 'The error code. This parameter is returned when the task is in the Failed state.', 'type' => 'string', 'example' => 'Forbidden', 'title' => ''],
+ 'ErrorMessage' => ['title' => '', 'description' => 'The error message.', 'type' => 'string', 'example' => 'error'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query a yike prompt enhancement and audio repair video generation task',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', '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' => 'Retrieves a storyboard task.',
+ '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' => '', 'description' => 'The screenshot task ID.', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '', 'description' => 'The task ID. You can obtain this value from the response of [SubmitPackageJob](~~461964~~).', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'],
+ 'JobParams' => [
+ 'title' => '',
+ 'description' => 'The algorithm job parameters. This is a JSON object whose content varies depending on the algorithm.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileURL' => ['title' => '', 'description' => 'The OSS URL of the file.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4'],
+ 'ShotPromptMode' => ['title' => '', 'description' => 'The shot prompt generation mode.', 'type' => 'string', 'example' => 'multi'],
+ 'SourceType' => ['title' => '', 'description' => 'The source type.', 'type' => 'string', 'example' => 'Novel'],
+ 'ModelParams' => ['title' => '', 'description' => 'The random seed.', 'type' => 'string', 'example' => '{'."\n"
+ .' "AudioEnable": false'."\n"
+ .'}'],
+ 'ShotSplitMode' => ['title' => '', 'description' => 'The shot splitting mode.', 'type' => 'string', 'example' => 'firstPersonNarration'],
+ 'NarrationVoiceId' => ['title' => '', 'description' => 'The narration voice ID.', 'type' => 'string', 'example' => 'sys_YoungGracefulWoman'],
+ 'VideoModel' => ['title' => '', 'description' => 'The video model.', 'type' => 'string', 'example' => 'wan2.6-r2v-flash'],
+ 'StyleId' => ['title' => '', 'description' => 'The style ID.', 'type' => 'string', 'example' => 'RealisticPhotography'],
+ 'Resolution' => ['title' => '', 'description' => 'The resolution of the generated video.', 'type' => 'string', 'example' => '1K'],
+ 'Title' => ['title' => '', 'description' => 'The task title. Requirements:'."\n"
+ .'- The title cannot exceed 128 bytes in length.'."\n"
+ .'- The title must be UTF-8 encoded.', 'type' => 'string', 'example' => 'test-title'],
+ 'AspectRatio' => ['title' => '', 'description' => 'The aspect ratio of the video.', 'type' => 'string', 'example' => '16:9'],
+ ],
+ 'example' => '',
+ ],
+ 'JobStatus' => ['title' => '', 'description' => 'The task status. Valid values:'."\n"
+ ."\n"
+ .'- **Succeeded**: The task is successful.'."\n"
+ ."\n"
+ .'- **Failed**: The task failed.'."\n"
+ ."\n"
+ .'- **Running**: The task is running.', 'type' => 'string', 'example' => 'Succeeded'],
+ 'JobResult' => [
+ 'title' => '',
+ 'description' => 'The task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OutputUrl' => ['title' => '', 'description' => 'The downloadable OSS URL.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/test.mp4'],
+ 'SrtFileUrl' => ['title' => '', 'description' => 'The URL of the SRT file.', 'type' => 'string', 'example' => 'https://bucket.oss-cn-shanghai.aliyuncs.com/test/110412818/6bf24c75285142f395464d4b9c2bcf07.srt?Expires=1778220836&OSSAccessKeyId=*******&Signature=*******'],
+ 'SuccessStoryboardList' => ['title' => '', 'description' => 'The list of successful storyboards.', 'type' => 'string', 'example' => '[\\"st_2118280473\\"]'],
+ 'ExceptionStoryboardIds' => ['title' => '', 'description' => 'The list of abnormal storyboard IDs.', 'type' => 'string', 'example' => '[\\"st_2053348871\\"]'],
+ 'FailureShotList' => ['title' => '', 'description' => 'The list of failed shots.', 'type' => 'string', 'example' => '[{\\"errorCode\\":\\"NoMediaData\\",\\"storyboardId\\":\\"st_2118280473\\",\\"shotId\\":\\"54\\"}]'],
+ 'SuccessStoryboardIds' => ['description' => 'The list of successful storyboard IDs, separated by commas.', 'type' => 'string', 'example' => 'st_2118280473, st_2118280471'."\n", 'title' => ''],
+ 'StoryboardInfoList' => ['description' => 'The detailed storyboard information for the storyboard generation task.', 'type' => 'string', 'example' => '[{\\"storyboardId\\":\\"st_1541525214\\",\\"title\\":\\"test_1\\",\\"status\\":\\"Produced\\",\\"subStatus\\":\\"ProduceSucc\\"},{\\"storyboardId\\":\\"st_1633435355\\",\\"title\\":\\"test_2\\",\\"status\\":\\"Produced\\",\\"subStatus\\":\\"ProduceSucc\\"}]', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'JobCredit' => [
+ 'title' => '',
+ 'description' => 'The credit consumption.',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCreditCost' => ['title' => '', 'description' => 'The total credit consumption.', 'type' => 'string', 'example' => '200.2'],
+ 'VideoGeneration' => ['title' => '', 'description' => 'The credit consumption for video generation.', 'type' => 'string', 'example' => '180.0'],
+ 'VideoComposition' => ['title' => '', 'description' => 'The credit consumption for video composition.', 'type' => 'string', 'example' => '10.2'],
+ 'ElementImageGeneration' => ['title' => '', 'description' => 'The credit consumption for element image generation.', 'type' => 'string', 'example' => '10.0'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'Query a storyboard generation task',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetYikeUser' => [
+ 'summary' => 'Retrieves information about a WonderClip sub-account.',
+ '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' => 'The username of the WonderClip sub-account.', 'type' => 'string', 'required' => false, 'maxLength' => 50, 'pattern' => '^[^\';<>=|\\(\\)]+$', 'example' => 'test.xxx@xxx.yikeai', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'UserInfo' => [
+ 'description' => 'The user information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'YikeUserId' => ['description' => 'The user ID.', 'type' => 'string', 'example' => 'id', 'title' => ''],
+ 'UserName' => ['description' => 'The username.', 'type' => 'string', 'example' => 'name', 'title' => ''],
+ 'Nickname' => ['description' => 'The nickname.', 'type' => 'string', 'example' => 'nick', 'title' => ''],
+ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'spaceId', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Retrieve user information',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The user ID of the sub-account.', 'type' => 'string', 'required' => true, 'example' => 'id', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'CreditUsage' => ['description' => 'The remaining available credits.', 'type' => 'string', 'example' => '165.0', 'title' => ''],
+ 'CreditTotal' => ['description' => 'The total allocated credits.', 'type' => 'string', 'example' => '10417.0', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Query sub-account credits',
+ 'summary' => 'Queries the credit balance of a WonderClip user.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"CreditUsage\\": \\"165.0\\",\\n \\"CreditTotal\\": \\"10417.0\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => 'task_abc123def456', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'req_query_20260420_002', 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task_abc123def456', 'title' => ''],
+ 'JobParams' => ['description' => 'The input parameters of the task, in JSON string format.', '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\\"]"}', 'title' => ''],
+ 'JobStatus' => [
+ 'description' => 'The task status. Valid values:'."\n"
+ .'- Running'."\n"
+ .'- Succeeded'."\n"
+ .'- Failed.',
+ 'enumValueTitles' => [],
+ 'type' => 'string',
+ 'example' => 'Running',
+ 'title' => '',
+ ],
+ 'JobResult' => [
+ 'description' => 'The task results. This parameter is valid only when JobStatus is Succeeded.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The individual task result.',
+ 'type' => 'object',
+ 'properties' => [
+ 'MediaId' => ['description' => 'The asset ID.', 'type' => 'string', 'example' => '9d7e982012c671f1b803e7f6d75a6302', 'title' => ''],
+ 'OutputUrl' => ['description' => 'The download URL.', 'type' => 'string', 'example' => 'https://test.oss-cn-shanghai.aliyuncs.com/videos/task\\_abc123def456.mp4', 'title' => ''],
+ 'OutputLanguage' => ['description' => 'The output language.', 'type' => 'string', 'example' => 'CN', 'title' => ''],
+ 'EditingProjectId' => ['description' => 'The online editing project ID.', 'type' => 'string', 'example' => '01a6adbbd181437eb5030d3d93e0182d', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'UserData' => ['description' => 'The custom user data passed in when the task was created. The value is returned as-is.', 'type' => 'string', 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code. This parameter is returned only when JobStatus is Failed.', 'type' => 'string', 'example' => 'WorkflowTaskFailed', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query narration-only intelligent video generation task',
+ 'summary' => 'Queries an intelligent video generation task for a narration-only video without a digital human.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'Retrieves the list of folders.',
+ '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' => 'The project ID. If this parameter is not specified, the default project is queried.', 'type' => 'string', 'required' => false, 'example' => 'ProductionId', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The current page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. Default value: 10. Maximum value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'],
+ 'FolderList' => [
+ 'description' => 'The folder list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The folder information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FolderId' => ['description' => 'The folder ID.', 'type' => 'string', 'example' => 'fd-YhFKIuciRP', 'title' => ''],
+ 'FolderName' => ['description' => 'The folder name.', 'type' => 'string', 'example' => 'default', 'title' => ''],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'pd_1833************', 'title' => ''],
+ 'IsDefault' => ['description' => 'Indicates whether the folder is the default folder.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2025-06-03T02:23:01Z', 'title' => ''],
+ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'llm-odl2p61i4vfbph4g', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Total' => ['description' => 'The total number of folders.', 'type' => 'integer', 'format' => 'int32', 'example' => '78', 'title' => ''],
+ 'MaxResults' => ['description' => 'The maximum number of results.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'NextToken' => ['description' => 'The token for the next page.', 'type' => 'string', 'example' => 'Token', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Retrieve folder list',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeAssetFolders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'required' => false, 'example' => 'Token', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of entries per page. Default value: 10. Maximum value: 50.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ ],
+ [
+ 'name' => 'WorkspaceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => false, 'example' => 'llm-zna577pdximvztk5', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'ProductionList' => [
+ 'description' => 'The list of projects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of projects.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'pd_463862****', 'title' => ''],
+ 'Title' => ['description' => 'The project title.', 'type' => 'string', 'example' => 'Harvest', 'title' => ''],
+ 'Description' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'Swas_QuerySwasInstanceByRegion', 'title' => ''],
+ 'Auth' => ['description' => 'The authentication method.', 'type' => 'string', 'example' => 'Manage', 'title' => ''],
+ 'CreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-01-07T02:21:36Z', 'title' => ''],
+ 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => 'llm-m3r546h1n9kq3mtm', 'title' => ''],
+ 'CoverUrl' => ['description' => 'The cover URL.', 'type' => 'string', 'example' => 'https://tagvvcloud-material-center-prod.oss-cn-hangzhou.aliyuncs.com/sumvideo/utils_image/sumvideo-video-cover.png', 'title' => ''],
+ 'CreateUserName' => ['description' => 'The username of the creator.', 'type' => 'string', 'example' => 'aliyun_183*************', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'MaxResults' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''],
+ 'NextToken' => ['description' => 'The pagination token for the next page.', 'type' => 'string', 'example' => 'Token', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Retrieve project list',
+ 'summary' => 'Retrieves a list of Yike projects.',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeProductions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListYikeWorkspaces' => [
+ 'summary' => 'Get Yike Workspace List',
+ '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' => 'Current page number', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'Number of records per page', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4E84BE44-58A7-****-****-FBEBEA16EF94'."\n"],
+ 'WorkspaceList' => [
+ 'description' => 'Workspace list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Workspace information',
+ 'type' => 'object',
+ 'properties' => [
+ 'WorkspaceId' => ['description' => 'Workspace ID.', 'type' => 'string', 'example' => 'ws_1243****', 'title' => ''],
+ 'Title' => ['description' => 'Title', 'type' => 'string', 'example' => 'workspace title', 'title' => ''],
+ 'Code' => ['description' => 'Workspace code', 'type' => 'string', 'example' => 'ABCD12', 'title' => ''],
+ 'Status' => [
+ 'description' => 'Workspace status',
+ 'enumValueTitles' => ['Offline' => 'Offline', 'Online' => 'Online'],
+ 'type' => 'string',
+ 'example' => 'Online',
+ 'title' => '',
+ ],
+ 'UserCount' => ['description' => 'Number of users in the workspace', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'CreateTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2026-04-29T10:22:44Z', 'title' => ''],
+ 'DefaultProductionId' => ['description' => 'Default project ID', 'type' => 'string', 'example' => 'pd_1234***', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TotalCount' => ['description' => 'Total number of workspaces', 'type' => 'integer', 'format' => 'int32', 'example' => '54', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Get Workspace List',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeWorkspaces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'Checks whether the application parameters are valid.',
+ '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' => 'The AI application ID.', 'type' => 'string', 'required' => false, 'example' => 'app-****'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'AppParams',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The input parameters for running the AI application. The value is a JSON-serialized string.', 'type' => 'string', 'required' => false, 'example' => '{\\"LoadImage.1.TargetImage\\":\\"MediaId1\\"}'."\n", 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******11-DB8D-4A9A-875B-275798******'."\n"],
+ 'Status' => ['description' => 'The pre-check result. Valid values:'."\n"
+ ."\n"
+ .'- Success: The pre-check is successful.'."\n"
+ .'- Failed: The pre-check failed.', 'type' => 'string', 'example' => 'Success', 'title' => ''],
+ 'Result' => [
+ 'description' => 'The parameters that failed the pre-check. This parameter is returned only when the pre-check fails.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The parameter that failed the pre-check.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorCode' => ['description' => 'The cause of the parameter check failure.', 'type' => 'string', 'example' => 'ImageCheckFailed', 'title' => ''],
+ 'Key' => ['description' => 'The application parameter name.', 'type' => 'string', 'example' => 'LoadImage.1.TargetImage', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Pre-check application task parameters',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:PrecheckYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RegisterYikeAssetMediaInfo' => [
+ 'summary' => 'Registers a Yike media asset.',
+ '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' => '', 'description' => 'The URL of the media asset. You can pass in the FileURL returned by the CreateYikeAssetUpload operation.', 'type' => 'string', 'required' => true, 'example' => 'https://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4'],
+ ],
+ [
+ 'name' => 'MediaType',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The type of the media asset.', 'type' => 'string', 'required' => true, 'example' => 'video'],
+ ],
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The project ID. If this parameter is not specified, the media asset is uploaded to the default project.', 'type' => 'string', 'required' => false, 'example' => 'ProductionId', 'title' => ''],
+ ],
+ [
+ 'name' => 'FolderId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The folder ID.', 'type' => 'string', 'required' => false, 'example' => 'fd-ABMFfAB2bA', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'MediaId' => ['title' => '', 'description' => 'The media asset ID.', 'type' => 'string', 'example' => '****c469e944b5a856828dc2****'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ ['errorCode' => 'Forbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.', 'description' => ''],
+ ],
+ ],
+ 'title' => 'Register media asset information',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"MediaId\\": \\"****c469e944b5a856828dc2****\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:RegisterYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ResumeYikeStoryboardJob' => [
+ 'summary' => 'Resumes the execution of a storyboard task.',
+ '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' => '', 'description' => 'The ID of the screenshot task.', 'type' => 'string', 'example' => '****20b48fb04483915d4f2cd8ac****', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '', 'description' => 'The task ID. You can obtain this value from the response of [SubmitPackageJob](~~461964~~).', 'type' => 'string', 'example' => '****a046-263c-3560-978a-fb287782****'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Resume storyboard execution status',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"****a046-263c-3560-978a-fb287782****\\"\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:ResumeYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SetYikeCallbackConfig' => [
+ 'summary' => 'Configures event callbacks for the business system.',
+ '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' => 'The HTTP callback URL.', 'type' => 'string', 'required' => true, 'example' => 'http//example.com/callback'],
+ ],
+ [
+ 'name' => 'CallbackConfig',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The callback configuration. CallbackEventList supports multiple events, including:'."\n"
+ .'- EventType: the event type. Valid values:'."\n"
+ .' - UserCreated: The user is created.'."\n"
+ .' - UserCreditAdded: Credits are added to the user.'."\n"
+ .'- UserData: a JSON object that contains user-defined data.', 'type' => 'string', 'required' => true, 'example' => '{"CallbackEventList":[{"EventType":"UserCreditAdded","UserData":"{}"}]}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Configure event callbacks for the business system',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeCallbackConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\"\\n}","type":"json"}]',
+ ],
+ 'SetYikeUserRole' => [
+ 'summary' => 'Sets the user role.',
+ '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' => 'The ID of the sub-account user.', 'type' => 'string', 'required' => false, 'example' => 'id', 'title' => ''],
+ ],
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The role of the user. Valid values:'."\n"
+ .'- SuperAdmin: super administrator.'."\n"
+ .'- Admin: administrator.'."\n"
+ .'- RegularUser: regular member.', 'type' => 'string', 'required' => false, 'example' => 'Admin', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => 'Indicates whether the role is set. Valid values:'."\n"
+ .'- true: Successful.'."\n"
+ .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Set user role',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeUserRole',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SubYikeUserCredit' => [
+ 'summary' => 'Reclaims credits from a user.',
+ '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' => 'The sub-account user ID.', 'type' => 'string', 'required' => true, 'example' => 'id', 'title' => ''],
+ ],
+ [
+ 'name' => 'Credit',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of credits to reclaim. The value must be greater than 0 and cannot exceed the sub-account credit balance.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '50', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => 'Indicates whether the operation is successful. Valid values:'."\n"
+ .'- true: Successful.'."\n"
+ .'- false: Failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'ErrorCode' => ['description' => 'The error code returned when the deduction fails.'."\n"
+ .'- NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA: the account credit balance is insufficient.', 'type' => 'string', 'example' => 'NOT_ENOUGH_ALLOCATE_CREDIT_QUOTA', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Reclaim credits from a user',
+ '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"}]',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'The idempotency parameter.', 'type' => 'string', 'required' => false, 'example' => '****3e761e9d11edba640c42a1b7****'],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the generation task. Valid values:'."\n"
+ ."\n"
+ .'- text_to_image: text-to-image.'."\n"
+ .'- image_to_image: image-to-image.', 'type' => 'string', 'required' => false, 'example' => 'text_to_image', 'title' => ''],
+ ],
+ [
+ 'name' => 'Model',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The model name.', 'type' => 'string', 'required' => false, 'example' => 'wan2.7-image', 'title' => ''],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The scenario. This is an enumeration type. Currently, only `general` is supported.', 'type' => 'string', 'required' => false, 'example' => 'general', 'title' => ''],
+ ],
+ [
+ 'name' => 'Input',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task input. This is a JSON string that contains the following fields:'."\n"
+ .'- Prompt: String. Required. The prompt.'."\n"
+ .'- Medias: the media list. Required when the task type is `image_to_image`. A maximum of 9 items are supported.'."\n"
+ .'> The Media struct contains: Type, the media type, String, valid value: image. URL, the media download URL, String.'."\n"
+ .'>', 'type' => 'string', 'required' => false, 'example' => '{\\"Bucket\\":\\"dbj-app-prod\\",\\"Location\\":\\"oss-cn-hangzhou\\",\\"Object\\":\\"classpal/1767838045280pzmgnvwe.mp4\\"}', 'title' => ''],
+ ],
+ [
+ 'name' => 'JobParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task feature parameters. This is a JSON string. No configuration is required at this time.', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => ''],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resolution. Valid values: 1K (default), 2K, and 4K.', 'type' => 'string', 'required' => false, 'example' => '720P', 'title' => ''],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The aspect ratio. Valid values: 16:9 (default), 9:16, 4:3, 3:4, and 1:1.', 'type' => 'string', 'required' => false, 'example' => '4:3', 'title' => ''],
+ ],
+ [
+ 'name' => 'N',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of images. Valid values: 1 to 4. Default value: 1.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The user business data in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{"env":"prd"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '******3B0E1A586AAC29742247******', 'title' => ''],
+ ],
+ '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' => 'Submit an image generation task',
+ 'summary' => 'Submits an image generation task.',
+ 'description' => '## Operation description'."\n"
+ .'This API operation generates a video in which a virtual human delivers a spoken narration based on the provided text content and other parameters such as digital human information and common scenarios type. You must specify key configuration items including the text type (original script or narration script), output dimensions, and resolution. You can also choose whether to add subtitles or specify the output language. In addition, you can pass custom parameters through the UserData field, which are returned as-is in the callback.',
+ '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' => 'The idempotency token.', 'type' => 'string', 'required' => false, 'example' => '****3e761e9d11edba640c42a1b7****'],
+ ],
+ [
+ 'name' => 'JobType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task type. Valid values:'."\n"
+ .'- text_to_video: text-to-video'."\n"
+ .'- image_to_video: image-to-video'."\n"
+ .'- first_last_frame: first and last frame to video'."\n"
+ .'- reference_to_video: reference-to-video', 'type' => 'string', 'required' => false, 'example' => 'text_to_video', 'title' => ''],
+ ],
+ [
+ 'name' => 'Model',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The model name. Valid values:'."\n"
+ .'- happyhorse-1.1'."\n"
+ .'- happyhorse-1.0', 'type' => 'string', 'required' => false, 'example' => 'happyhorse-1.1', 'title' => ''],
+ ],
+ [
+ 'name' => 'Scene',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The scenario type. Currently only `general` is supported.', 'type' => 'string', 'required' => false, 'example' => 'general', 'title' => ''],
+ ],
+ [
+ 'name' => 'Input',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task input, in JSON string format. The following fields are included:'."\n"
+ .'- Prompt: String. Required. The prompt.'."\n"
+ .'- Medias: the media list.'."\n"
+ .' - When JobType is set to image_to_video, this field is required. Only 1 Media item is needed.'."\n"
+ .' - When JobType is set to first_last_frame, this field is required. Only 2 Media items are needed.'."\n"
+ .' - When JobType is set to reference_to_video, this field is required. A maximum of 9 Media items are supported.'."\n"
+ .'> The Media struct contains: Type, the media type, String, valid values are `image`/`video`/`audio`; URL, the media download 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"}]}', 'title' => ''],
+ ],
+ [
+ 'name' => 'JobParameters',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The task feature parameters. No configuration is required at this time.', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => ''],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resolution. Valid values: 720P (default) and 1080P.', 'type' => 'string', 'required' => false, 'example' => '720P', 'title' => ''],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The aspect ratio. Valid values: 16:9 (default), 9:16, 4:3, 3:4, and 1:1.', 'type' => 'string', 'required' => false, 'example' => '9:16', 'title' => ''],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The output duration. Valid values: 4 to 15 seconds. Default value: 5s.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''],
+ ],
+ [
+ 'name' => 'N',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The number of outputs. Valid values: 1 to 4. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The user business data in JSON format.', 'type' => 'string', 'required' => false, 'example' => '{"env":"prd"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '****3e761e9d11edba640c42a1b7****', 'title' => ''],
+ ],
+ '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' => 'Submit a video generation task',
+ 'summary' => 'Submits a video generation task.',
+ 'description' => '## Request description'."\n"
+ .'This API operation generates a video featuring a virtual human narration based on the provided text content and other parameters such as digital human information and common scenarios type. You must specify key configuration items including the text type (original script or narration script), output dimensions, and resolution. You can also choose whether to add subtitles or specify the output language. In addition, you can pass custom parameters through the `UserData` field, which are returned as-is in the callback.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"JobId\\": \\"****3e761e9d11edba640c42a1b7****\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeAIAppJob' => [
+ 'summary' => 'Submits an AI application task to Yike 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' => 'The AI application ID.', 'type' => 'string', 'required' => true, 'example' => 'app_test'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'AppParams',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The runtime parameters of the AI application. The value is a string produced by JSON serialization.', 'type' => 'string', 'required' => false, 'example' => '{"testKey":"testValue"}'."\n", 'title' => ''],
+ ],
+ [
+ 'name' => 'ProductionId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The project ID. This parameter is used to save results to the specified project.', 'type' => 'string', 'required' => false, 'example' => 'ProductionId', 'title' => ''],
+ ],
+ [
+ 'name' => 'FolderId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The folder ID. This parameter is used to save results to the specified folder.', 'type' => 'string', 'required' => false, 'example' => 'fd-cReaEcVqQK', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '4E84BE44-58A7-****-****-FBEBEA16EF94'."\n", 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'ab4802364a2e49208c99efab82df****', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E84BE44-58A7-****-****-FBEBEA16EF94\\\\n\\",\\n \\"JobId\\": \\"ab4802364a2e49208c99efab82df****\\"\\n}","type":"json"}]',
+ 'title' => 'Submit an application task',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SubmitYikeAvatarNarratorJob' => [
+ 'summary' => 'Creates an intelligent video production task for a digital human oral broadcasting scenario. This operation is applicable to video scenarios such as influencer product promotion and knowledge explanation.',
+ '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' => 'The task request content. The value is a JSON string that contains the following parameters:'."\n"
+ ."\n"
+ .'- SceneType: string. The common scenario type. Valid values:'."\n"
+ .' - creator-talk: knowledge explanation. Applicable to scenarios such as news, popular science, and financial explanation.'."\n"
+ .' - avatar-broadcast: digital human broadcasting. A fixed single-shot scenario.'."\n"
+ .'- TextType: int. The text type. Valid values:'."\n"
+ .' - 1: raw script. The system automatically converts product or news information into an oral broadcast script. This value is not supported for avatar-broadcast.'."\n"
+ .' - 2: oral broadcast script.'."\n"
+ .'- TextContent: string. The text content. Maximum length: 10,000 characters.'."\n"
+ .'- UserMaterials: Array\\<Object\\>. The list of user materials. This parameter is not supported for avatar-broadcast. Fields:'."\n"
+ .' - MediaId: the media asset ID. The ID of an image or video uploaded to Wanjing Yike.'."\n"
+ .'- AvatarData: object. The digital human information.'."\n"
+ .' - AvatarPortrait: required. String. The URL of the portrait image.'."\n"
+ .' - AvatarVoice: optional. String. The URL of an audio file for voice cloning reference, or a voice ID from the built-in voice library. For more information, see the Wanjing Yike voice library. If this parameter is not specified, the system automatically selects a voice.'."\n"
+ .'- VoiceDuration: int. The expected oral broadcast duration. Set this parameter when TextType is set to 1. Unit: seconds. Default value: 60. The final video duration is slightly shorter than the expected duration.'."\n"
+ .'- AspectRatio: string. The video dimensions. Valid values: 16:9, 9:16, 4:3, and 3:4.'."\n"
+ .'- Resolution: string. The video resolution. Valid values: 720P and 1080P.'."\n"
+ .'- WithSubtitles: bool. Specifies whether to add subtitles. Valid values:'."\n"
+ .' - true (default): Add subtitles.'."\n"
+ .' - false: Do not add subtitles.', '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"
+ .'}', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The custom user parameter. The value is a JSON string that is returned as-is in the callback result, for example, newsKey.'."\n"
+ ."\n"
+ .'The system reserved field NotifyAddress specifies the callback URL. The system sends a callback to this URL after the task is complete. Example: {"NotifyAddress": "http://xxx.callback.url"}.', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'req_create_20260420_001', 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task_abc123def456', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Create an intelligent video production task for a digital human oral broadcasting scenario',
+ 'description' => '## Description'."\n"
+ .'This operation generates a video in which a virtual human delivers an oral broadcast based on the provided text content and other parameters such as digital human information and application scenario type. You must specify key configuration items including the text type (raw script or oral broadcast script), video dimensions, and resolution. You can also choose whether to add subtitles or specify the output language. In addition, you can use the `UserData` field to pass custom parameters, which are returned as-is in the callback.'."\n"
+ ."\n"
+ .'Common scenarios: influencer product promotion, knowledge explanation, and similar video scenarios.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAvatarNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeProjectExportJob' => [
+ 'summary' => 'Submits an online editing project export task that supports exporting pure audio and SRT subtitles.',
+ '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' => 'The ID of the online editing project.', 'type' => 'string', 'required' => false, 'example' => '01a6adbbd181437eb5030d3d93e0182d', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExportType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The export type of the editing project. Valid values:'."\n"
+ .'- PureAudio: pure audio (the export result returns a pure audio file and a subtitle file).', 'type' => 'string', 'required' => false, 'example' => 'PureAudio', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The custom parameter in JSON string format. The callback result carries this parameter as-is (for example, newsKey).'."\n"
+ .'The system reserved field NotifyAddress specifies the callback URL. After the task is complete, a callback is sent to this URL. Example: {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'req_create_20260420_001'],
+ 'JobId' => ['title' => '', 'description' => 'The task ID.', 'type' => 'string', 'example' => 'task_abc123def456'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Submit an editing project export task',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikePromptExpansionVoiceFixJob' => [
+ 'summary' => 'Submits a video generation task with prompt enhancement and audio repair.',
+ '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' => 'The task parameters, a JSON-formatted string. The following fields are included:'."\n"
+ .'- model (String, required): The model name. Example: happyhorse-1.0-r2v.'."\n"
+ .'- input (Object, required): The input data object.'."\n"
+ .' - prompt (String, required): The prompt content. Maximum length: 10,000 characters.'."\n"
+ .' - media (Array(Object), required): The list of media materials used to specify reference images and audio.'."\n"
+ .' - type (String, required): The type of the input media asset. Valid values: reference_image and reference_audio.'."\n"
+ .' - url (String, required): The URL of the input media asset.'."\n"
+ .'- parameters (Object, required): The video generation parameter object.'."\n"
+ .' - duration (Integer, required): The video duration in seconds. The value must be a positive integer. Valid values: 5 to 15.'."\n"
+ .' - ratio (String, required): The aspect ratio of the video. Valid values: 16:9, 9:16, 4:3, 3:4, and 1:1.'."\n"
+ .' - resolution (String, required): The video resolution. Valid values: 720P and 1080P.'."\n"
+ .' - specialEdition (Bool, optional): The cost-effective edition parameter. This parameter can be set to true only when the resolution is 1080P.'."\n"
+ .' - skipPromptEnhancer (Bool, optional): Specifies whether to skip prompt enhancement. Default value: false.'."\n"
+ .' - skipVoiceResync (Bool, optional): Specifies whether to skip audio repair. Default value: 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}}', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The custom user parameter, a JSON string. This parameter is returned as-is in the callback result. Example: newsKey.'."\n"
+ ."\n"
+ .'The system reserved field NotifyAddress specifies the callback URL. After the task is completed, a callback is sent. Example: {"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"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****', 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '68ca759e798b40b4903b255********', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Submit a video generation task with prompt enhancement and audio repair',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', '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' => 'The type of the material source. Valid values:'."\n"
+ .'- Novel: novel',
+ 'enumValueTitles' => ['Novel' => 'Novel.'],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Novel',
+ ],
+ ],
+ [
+ 'name' => 'FileURL',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => 'The OSS URL of the file. The URL must point to a file with a .txt or .doc extension.', 'type' => 'string', 'example' => 'http://test.oss-cn-shanghai.aliyuncs.com/test.txt', 'required' => false],
+ ],
+ [
+ 'name' => 'ShotSplitMode',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The shot split mode. Valid values:'."\n"
+ .'- firstPersonNarration: narration commentary mode',
+ 'enumValueTitles' => ['firstPersonNarration' => 'Narration commentary mode.'],
+ 'type' => 'string',
+ 'example' => 'firstPersonNarration',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StyleId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The storyboard style ID. Valid values:'."\n"
+ .'- RealisticPhotographyPro: realistic photography Pro'."\n"
+ .'- RealisticGuzhuangPro: realistic ancient costume Pro'."\n"
+ .'- RealisticXianxiaPro: realistic Xianxia Pro'."\n"
+ .'- RealisticWesternPro: Western realistic Pro'."\n"
+ .'- RealisticPhotography: realistic photography'."\n"
+ .'- RealisticGuzhuang: realistic ancient costume'."\n"
+ .'- RealisticXianxia: realistic Xianxia'."\n"
+ .'- RealisticWasteland: realistic wasteland'."\n"
+ .'- RealisticEra: realistic vintage'."\n"
+ .'- GuofengAnime: 2D Chinese-style anime'."\n"
+ .'- GuofengAnime3D: 3D Chinese-style anime'."\n"
+ .'- AncientRomanceAnime: anime ancient romance'."\n"
+ .'- PostApocalypticAnime: anime post-apocalyptic'."\n"
+ .'- Cartoon3D: 3D cartoon'."\n"
+ .'- Photorealistic3D: photorealistic 3D rendering'."\n"
+ .'- SciFiRealism: sci-fi realism'."\n"
+ .'- Chibi3D: 3D chibi'."\n"
+ .'- ShojoManga: Japanese manga'."\n"
+ .'- NewPeriodAnime: new era Japanese anime'."\n"
+ .'- FairyTale2D: 2D fairy tale'."\n"
+ .'- Wasteland2D: 2D wasteland'."\n"
+ .'- InkWuxia: ink wash Wuxia'."\n"
+ .'- ShadiaoMeme: panda head meme style'."\n"
+ .'- Chibi2D: 2D chibi'."\n"
+ .'- Ghibli: Ghibli'."\n"
+ .'- SciFiComic: cyberpunk'."\n"
+ .'- AmericanSuperhero: American superhero',
+ 'enumValueTitles' => [
+ 'RealisticPhotographyPro' => 'Realistic photography Pro.', 'Ghibli' => 'Ghibli.', 'AmericanSuperhero' => 'American superhero.', 'RealisticEra' => 'Realistic vintage.', 'Wasteland2D' => '2D wasteland.', 'NewPeriodAnime' => 'New era Japanese anime.', 'RealisticXianxia' => 'Realistic Xianxia.', 'Chibi3D' => '3D chibi.', 'RealisticWesternPro' => 'Western realistic Pro.', 'PostApocalypticAnime' => 'Anime post-apocalyptic.',
+ 'ShadiaoMeme' => 'Panda head meme style.', 'RealisticGuzhuang' => 'Realistic ancient costume.', 'RealisticGuzhuangPro' => 'Realistic ancient costume Pro.', 'Photorealistic3D' => 'Photorealistic 3D rendering.', 'GuofengAnime3D' => '3D Chinese-style anime.', 'FairyTale2D' => '2D fairy tale.', 'GuofengAnime' => '2D Chinese-style anime.', 'AncientRomanceAnime' => 'Anime ancient romance.', 'RealisticWasteland' => 'Realistic wasteland.', 'Chibi2D' => '2D chibi.',
+ 'SciFiRealism' => 'Sci-fi realism.', 'RealisticPhotography' => 'Realistic photography.', 'InkWuxia' => 'Ink wash Wuxia.', 'SciFiComic' => 'Cyberpunk.', 'Cartoon3D' => '3D cartoon.', 'ShojoManga' => 'Japanese manga.', 'RealisticXianxiaPro' => 'Realistic Xianxia Pro.',
+ ],
+ 'type' => 'string',
+ 'example' => 'RealisticPhotography',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AspectRatio',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The aspect ratio of the output video. Valid values:'."\n"
+ .'- 16:9'."\n"
+ .'- 9:16'."\n"
+ .'- 4:3'."\n"
+ .'- 3:4',
+ 'enumValueTitles' => ['16:9' => '16:9', '9:16' => '9:16', '4:3' => '4:3', '3:4' => '3:4'],
+ 'type' => 'string',
+ 'example' => '4:3',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Resolution',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The resolution of the output video. Valid values:'."\n"
+ .'- 720P'."\n"
+ .'- 1080P'."\n"
+ .'- 2K'."\n"
+ .'- 4K',
+ 'enumValueTitles' => ['1080P' => '1080P', '720P' => '720P', '4K' => '4K', '2K' => '2K'],
+ 'type' => 'string',
+ 'example' => '720P',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ShotPromptMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The storyboard shot generation mode. Valid values:'."\n"
+ .'- multi: multi-reference video generation'."\n"
+ .'- default: image-to-video generation',
+ 'enumValueTitles' => ['default' => 'Image-to-video generation.', 'multi' => 'Multi-reference video generation.'],
+ 'type' => 'string',
+ 'example' => 'multi',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'NarrationVoiceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The narration voice ID. Valid values:'."\n"
+ .'- sys_GracefulPoisedWoman: mature graceful female'."\n"
+ .'- sys_ElderlyWistfulWoman: wistful elderly female'."\n"
+ .'- sys_SweetBrightGirl: sweet bright girl'."\n"
+ .'- sys_YoungGracefulWoman: gentle graceful female'."\n"
+ .'- sys_MaturePoisedWoman: poised mature female'."\n"
+ .'- sys_MatureWiseWoman: elegant wise female'."\n"
+ .'- sys_CalmDeepMale: calm deep male'."\n"
+ .'- sys_SereneIntellect: serene intellectual male'."\n"
+ .'- sys_MajesticBaritone: majestic baritone male'."\n"
+ .'- sys_GravellySoulful: gravelly soulful male'."\n"
+ .'- sys_ClassicYoungMan: classic narrator male'."\n"
+ .'- sys_WiseYoungMan: wise narrator male'."\n"
+ .'- sys_ClassicYoungWoman: classic narrator female'."\n"
+ .'- sys_IntellectualYoungWoman: intellectual narrator female'."\n"
+ .'- sys_GentleYoungMan: gentle narrator male'."\n"
+ .'- sys_thoughtfulBoy: thoughtful boy'."\n"
+ .'- sys_RichBassMale: rich bass male'."\n"
+ .'- sys_ClassicMiddleAgedWoman: classic middle-aged narrator female',
+ 'enumValueTitles' => [
+ 'sys_GracefulPoisedWoman' => 'Mature graceful female.', 'sys_ElderlyWistfulWoman' => 'Wistful elderly female.', 'sys_SweetBrightGirl' => 'Sweet bright girl.', 'sys_YoungGracefulWoman' => 'Gentle graceful female.', 'sys_CalmDeepMale' => 'Calm deep male.', 'sys_SereneIntellect' => 'Serene intellectual male.', 'sys_MajesticBaritone' => 'Majestic baritone male.', 'sys_ClassicMiddleAgedWoman' => 'Classic middle-aged narrator female.', 'sys_GravellySoulful' => 'Gravelly soulful male.', 'sys_ClassicYoungMan' => 'Classic narrator male.',
+ 'sys_WiseYoungMan' => 'Wise narrator male.', 'sys_ClassicYoungWoman' => 'Classic narrator female.', 'sys_IntellectualYoungWoman' => 'Intellectual narrator female.', 'sys_MaturePoisedWoman' => 'Poised mature female.', 'sys_MatureWiseWoman' => 'Elegant wise female.', 'sys_GentleYoungMan' => 'Gentle narrator male.', 'sys_thoughtfulBoy' => 'Thoughtful boy.', 'sys_RichBassMale' => 'Rich bass male.',
+ ],
+ 'type' => 'string',
+ 'example' => 'sys_YoungGracefulWoman',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'VideoModel',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The video model. Valid values:'."\n"
+ .'- wan2.6-r2v-flash',
+ 'enumValueTitles' => ['wan2.6-r2v-flash' => 'wan2.6-r2v-flash'],
+ 'type' => 'string',
+ 'example' => 'wan2.6-r2v-flash',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ModelParams',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The model parameters in JSON format.'."\n"
+ ."\n"
+ .'"AudioEnable": false disables audio.', 'type' => 'string', 'example' => '{'."\n"
+ .' "AudioEnable": false'."\n"
+ .'}', 'required' => false],
+ ],
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The task title. If not specified, a default title is automatically generated based on the date. The title cannot exceed 128 bytes in length and must be UTF-8 encoded.', 'type' => 'string', 'example' => 'test-title', 'required' => false],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The custom settings in JSON format. Fields include:'."\n"
+ .'- NotifyAddress: the callback URL for task completion. MNS callbacks and HTTP callbacks are supported.', 'type' => 'string', 'example' => '{'."\n"
+ .' "NotifyAddress": "https://www.callback.com"'."\n"
+ .'}', 'required' => false],
+ ],
+ [
+ 'name' => 'SkipFailureShot',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to skip failed shots. Default value: True.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''],
+ ],
+ [
+ 'name' => 'ExecMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The execution mode for storyboard generation. Valid values:'."\n"
+ .'- FullPipeline: full pipeline generation, which includes storyboard generation and shot video generation.'."\n"
+ .'- StoryboardOnly: generates only the storyboard.',
+ 'enumValueTitles' => ['FullPipeline' => 'Full pipeline generation.', 'StoryboardOnly' => 'Storyboard only.'],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FullPipeline',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'KeepOriginDialogue',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to retain the original dialogue during final video composition. Default value: True.', 'type' => 'boolean', 'required' => false, 'example' => 'True', 'title' => ''],
+ ],
+ [
+ 'name' => 'ShotPromptLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'NeedCaption',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '******3B-0E1A-586A-AC29-742247******'],
+ 'JobId' => ['title' => '', 'description' => 'The job ID.', 'type' => 'string', 'example' => 'ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Submit a storyboard generation task',
+ 'summary' => 'Submits a storyboard generation task.',
+ 'description' => 'Ensure that your credits remain above 5,000 when calling this operation. Insufficient credits may cause the task to be interrupted.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"******3B-0E1A-586A-AC29-742247******\\",\\n \\"JobId\\": \\"ab0e3e76-1e9d-11ed-ba64-0c42a1b73d66\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeVideoCloneJob' => [
+ 'summary' => 'Creates a video replication task that supports same-category content rewriting scenarios by preserving the original video framework and generating deduplicated variants through replacing partial elements (person/voice/image/text).',
+ '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' => 'The job request content. JSON string that contains the following parameters:'."\n"
+ .'- SceneType: string. The replication scene type. Valid values: `variant-clone`: full replication, applicable to same-category content rewriting scenarios where only partial elements (person/voice/image/text) are replaced.'."\n"
+ .'- OriginalVideo: object type that contains the following field: MediaId - the media asset ID (video uploaded to the platform).'."\n"
+ .'- SceneConfig: JSON string type. The scene extension parameters. For the variant-clone type, the value is `{"OldProductName":"xxx","ProductName":"xxx"}`.'."\n"
+ .'- UserMaterials: Array<Object> type. The list of user materials that contains the following field: MediaId - the media asset ID (image or video uploaded to the platform).'."\n"
+ .'- AvatarData: object type. The digital human information. AvatarPortrait: required, string, the portrait image URL. AvatarVoice: optional, string, the audio URL (used as a reference for audio replication).'."\n"
+ .'- Resolution: string type. The video resolution. Valid values: `720P`, `1080P`.'."\n"
+ .'- WithSubtitles: bool type. Specifies whether to include subtitles. Valid values: true: includes subtitles (default). false: does not include subtitles.', '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"
+ .'}', 'title' => ''],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The custom user parameter. JSON string. The callback result carries this value as-is (for example, newsKey).'."\n"
+ ."\n"
+ .'System reserved field NotifyAddress: the callback URL. The system sends a callback to this URL after the task is completed. Example: {"NotifyAddress": "http://xxx.callback.url"}', 'type' => 'string', 'required' => false, 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'req_create_20260420_001', 'title' => ''],
+ 'JobId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'task_abc123def456', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Create a video replication intelligent production task',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'SubmitYikeVoiceNarratorJob' => [
+ 'summary' => 'Creates an intelligent video generation task for a voice-over-only scenario (without a digital human). This task is applicable to video scenarios such as product showcasing and news broadcasting.',
+ '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' => 'The node request content. JSON string. This parameter contains the following fields:'."\n"
+ .'- SceneType: string. The common scenarios type. Valid values: `briefing-voiceover`: news broadcasting or financial education industry.'."\n"
+ .'- TextType: int. The text type. Valid values: `1`: raw text (product or news information that is automatically converted to a voice-over script by the system). `2`: voice-over script.'."\n"
+ .'- TextContent: string. The text content. Maximum length: 10,000 characters.'."\n"
+ .'- UserMaterials: Array\\<Object\\>. The list of user materials. Fields: MediaId: the media asset ID (an image or video uploaded to Wanjing Yike).'."\n"
+ .'- NarrationVoiceId: string. The narration voice ID. For valid values, see the documentation. Default value: `sys_ElegantProperMiddleAgedWoman`.'."\n"
+ .'- VoiceDuration: int. The expected voice-over duration. Set this field when `TextType==1`. Unit: seconds. Default value: 60. The final video duration is slightly shorter than the expected duration.'."\n"
+ .'- AspectRatio: string. The video aspect ratio. Valid values: `16:9`, `9:16`, `4:3`, `3:4`.'."\n"
+ .'- Resolution: string. The video resolution. Valid values: `720P`, `1080P`.'."\n"
+ .'- OutputLanguages: Array\\<String\\>. The output video languages. Multiple values are supported (currently only Chinese is supported). Valid values: `CN`: Chinese (default). `EN`: English. `YUE`: Cantonese.'."\n"
+ .'- WithSubtitles: bool. Specifies whether to include subtitles. Valid values: true: includes subtitles (default). false: does not include subtitles.'."\n"
+ ."\n"
+ .'-- The following parameters are for the vertical screen packaging template and are valid only for the briefing-voiceover type. --'."\n"
+ .'- TargetAspectRatio: string. The aspect ratio adapted for vertical screens. Valid values: `9:16`, `3:4`.'."\n"
+ .'- Title: string. The main title displayed in the template.'."\n"
+ .'- SubHeading: string. The subtitle displayed in the template.'."\n"
+ .'- Date: string. The date displayed in the template.'."\n"
+ .'- Watermark: object. The watermark displayed in the template. Fields: Text: the watermark text.'."\n"
+ .'- EnabledAICover: bool. Specifies whether to use AI to generate a cover image.'."\n"
+ .'- IPCharacter: Object. Settings for whether the AI-generated cover image includes an IP character. Fields: MediaId: the media asset ID. MediaUrl: a publicly accessible URL.',
+ 'enumValueTitles' => ['-' => '-'],
+ 'type' => 'string',
+ 'required' => true,
+ '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\\"]"}',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'UserData',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The custom user parameter. JSON string. The callback result carries this parameter as-is (for example, newsKey).'."\n"
+ ."\n"
+ .'System reserved field NotifyAddress: the callback URL. The system sends a callback to this URL after the task is completed.'."\n"
+ .'`{"NotifyAddress": "http://xxx.callback.url"}`',
+ 'enumValueTitles' => ['-' => '-'],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"newsKey\\":\\"NEWS_20260420_001\\",\\"key1\\":\\"value1\\", \\"NotifyAddress\\":\\"https://cms.example.com/callback/video-task\\"}',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.',
+ 'enumValueTitles' => ['-' => '-'],
+ 'type' => 'string',
+ 'example' => 'req_create_20260420_001',
+ 'title' => '',
+ ],
+ 'JobId' => [
+ 'description' => 'The task ID.',
+ 'enumValueTitles' => ['-' => '-'],
+ 'type' => 'string',
+ 'example' => 'task_abc123def456',
+ 'title' => '',
+ ],
+ ],
+ 'enumValueTitles' => ['-' => '-'],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Create an intelligent video generation task for voice-over-only scenarios',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"req_create_20260420_001\\",\\n \\"JobId\\": \\"task_abc123def456\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateYikeProduction' => [
+ 'summary' => 'Update a Yike project',
+ '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' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => 'pd_12334**', 'title' => ''],
+ ],
+ [
+ 'name' => 'Title',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The project title.', 'type' => 'string', 'required' => false, 'example' => 'title', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'ProductionId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => 'pd_12334**', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Update a Yike project',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"ProductionId\\": \\"pd_12334**\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateYikeProductionMemberAuth' => [
+ 'summary' => 'Modifies the permissions of a Yike project member.',
+ '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' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => 'pd_061716****', 'title' => ''],
+ ],
+ [
+ 'name' => 'YikeUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The RAM user ID.', 'type' => 'string', 'required' => true, 'example' => '21******', 'title' => ''],
+ ],
+ [
+ 'name' => 'Auth',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The permission name. Valid values:'."\n"
+ ."\n"
+ .'- Manage: manageable'."\n"
+ .'- Edit: editable.',
+ 'enumValueTitles' => ['Manage' => 'Manage', 'Edit' => 'Edit'],
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['Edit', 'Manage'],
+ 'example' => 'Manage',
+ 'title' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '', 'description' => 'RequestId', 'type' => 'string', 'example' => '****63E8B7C7-4812-46AD-0FA56029AC86****'],
+ 'Result' => ['description' => 'Indicates whether the permissions were set successfully.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Update yike project member permissions',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProductionMemberAuth',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"****63E8B7C7-4812-46AD-0FA56029AC86****\\",\\n \\"Result\\": true\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'WonderClip',
+ 'ramCodes' => ['yike'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'CreateYikeUser',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateYikeProduction',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RegisterYikeAssetMediaInfo',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:RegisterYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeWorkspaces',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeWorkspaces',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddYikeProductionMembers',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeProductionMembers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateYikeProductionMemberAuth',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yike:UpdateYikeProductionMemberAuth',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeProjectExportJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeProjectExportJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetYikeAIAppJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeVoiceNarratorJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikePromptExpansionVoiceFixJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeVoiceNarratorJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeVoiceNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeAIAppJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeProjectExportJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeProjectExportJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PrecheckYikeAIAppJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:PrecheckYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetYikeCallbackConfig',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeCallbackConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddYikeUserCredit',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:AddYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeAssetFolders',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeAssetFolders',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeAvatarNarratorJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeAvatarNarratorJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAgentJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAgentJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteYikeAssetMediaInfos',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yike:DeleteYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeStoryboardJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitVideoGenerationJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitVideoGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeVideoCloneJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeVideoCloneJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'BatchGetYikeAssetMediaInfos',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:BatchGetYikeAssetMediaInfos',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeUser',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikePromptExpansionVoiceFixJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikePromptExpansionVoiceFixJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeUserCredit',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeProduction',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeProduction',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubYikeUserCredit',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubYikeUserCredit',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetVideoGenerationJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetVideoGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitYikeStoryboardJob',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeWorkspace',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeWorkspace',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SetYikeUserRole',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SetYikeUserRole',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetImageGenerationJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetImageGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListYikeProductions',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yike:ListYikeProductions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAIAppJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAIAppJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ResumeYikeStoryboardJob',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:ResumeYikeStoryboardJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetYikeAssetMediaInfo',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yike:GetYikeAssetMediaInfo',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateYikeAssetUpload',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:CreateYikeAssetUpload',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SubmitImageGenerationJob',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yike:SubmitImageGenerationJob',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'Yike', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [],
+ ],
+];