-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpublish.yaml
133 lines (123 loc) · 3.56 KB
/
publish.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
Edition: 3.0.0
Effective: Public
Type: Project
Name: ai-audiobook-flow
Version: dev #0.0.31
Provider:
- 阿里云
Category: 人工智能
Description: 儿童有声读物的智能化自动化合生成,使用通义千问大模型+ Cosyvoice声音合成 + Flux 图像生成 + Paraformer 声音识别合成可用于生产的儿童有声读物
HomePage: https://github.com/devsapp/ai-audiobook-flow
Tags:
- AIGC
- 大模型
- flow
- 音视频
- cosyvoice
- asr
- paraformer
- tts
- cosyvoice
- flux
- 工作流
Service:
函数计算:
Authorities:
- AliyunFCFullAccess
Description: 原子化的AI API调用和视频渲染
云工作流:
Authorities:
- AliyunFnFFullAccess
Description: 使用工作流并行处理素材生成
对象存储:
Authorities:
- AliyunFCServerlessDevsRolePolicy
Description: 应用对象存储
专有网络:
Authorities:
- AliyunFCServerlessDevsRolePolicy
Description: 专有网络
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
required: # 必填项
- region
- ossBucket
- dashscopeApiKey
- invokeOssRole
- invokeFnfRole
- flowRoleArn
- workspace
properties:
projectName:
title: 工作流程名称
type: string
default: ai-audiobook-flow
description: Serverless 工作流流程名称
region:
title: 地域
type: string
default: cn-hangzhou
description: 创建应用所在的地区
enum:
- cn-beijing
- cn-hangzhou
- cn-shanghai
- cn-shenzhen
dashscopeApiKey:
title: 百炼API KEY
type: string
sensitive: true
default: ""
description: 百炼的 API-KEY,获取方式请参考:<a href="https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key" target="blank">如何获取</a>
ossBucket:
title: 对象存储存储桶名
type: string
default: ""
description: 对象存储存储桶名,和函数在同一个 region
required: true
x-bucket:
dependency:
- region
workspace:
title: 命名空间
type: string
default: "${default-suffix}"
description: 您可以根据需要多次创建该应用,通过命名空间来区分不同的应用地址
required: true
invokeFnfRole:
title: 函数调用工作流需要的角色及权限
type: string
default: 'AliyunFCDefaultRole'
pattern: '^acs:ram::[0-9]*:role/.*$'
description: 函数中需要基于此角色访问 CloudFlow,并调用 StartSyncExecution 调用在线查询流程
required: true
x-role:
name: AliyunFCDefaultRole # 角色名
service: FC # 服务账号
authorities:
- AliyunFnFFullAccess
invokeOssRole:
title: 函数访问OSS需要的角色及权限
type: string
default: "AliyunFCDefaultRole"
pattern: "^acs:ram::[0-9]*:role/.*$"
description: 函数中需要基于此角色访问 OSS 文件
required: true
x-role:
name: AliyunFCDefaultRole
service: FC
authorities:
- AliyunOSSFullAccess
flowRoleArn:
title: 工作流访问函数需要的角色
type: string
default: ""
pattern: "^acs:ram::[0-9]*:role/.*$"
description: "流程运行时需要使用的服务角色,流程会使用此角色调度您的函数。"
required: true
x-role:
name: fnf-execution-default-role
service: FNF
authorities:
- AliyunFCInvocationAccess