@acedatacloud/piece-seedance 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,17 +6,17 @@ Create a Seedance text-to-video task and retrieve the **same task ID** through A
6
6
 
7
7
  ## Install and connect
8
8
 
9
- In Activepieces 0.92.2+, open **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**. Enter `@acedatacloud/piece-seedance` and version `0.1.1`. Search for **Seedance by Ace Data Cloud** when adding a flow action, then check the logo and both actions.
9
+ In Activepieces 0.92.2+, open **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**. Enter `@acedatacloud/piece-seedance` and version `0.1.2`. Search for **Seedance by Ace Data Cloud** when adding a flow action, then check the logo and both actions.
10
10
 
11
- 1. Register or sign in at [Ace Data Cloud Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_api_key). If you have no General application, choose **Initialize General Application**.
11
+ 1. Register or sign in at [Ace Data Cloud Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen). If you have no General application, choose **Initialize General Application**.
12
12
  2. Open a General application or an application with **Seedance** access. A General key can access the services your account is entitled to use; a service-specific key is limited to that service.
13
13
  3. Use the application's copy button, or choose **Manage Keys → Create** to create a separate key named `Activepieces Seedance`. Set expiry and usage limits as needed. If you restrict **Allowed APIs**, include both `/seedance/videos` and `/seedance/tasks`, then copy the key.
14
- 4. Create an Activepieces connection and enter only the API key, without `Bearer `. A `platform-...` management token is not a generation API key. Keep the key in the connection, never in a flow export. Check current [pricing](https://platform.acedata.cloud/models?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_pricing) and balance before generating.
14
+ 4. Create an Activepieces connection and enter only the API key, without `Bearer `. A `platform-...` management token is not a generation API key. Keep the key in the connection, never in a flow export. Check current [pricing](https://platform.acedata.cloud/models?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) and balance before generating.
15
15
 
16
16
  ## First flow
17
17
 
18
18
  1. Add **Create Seedance video task**. Enter a text description. For a small first run, choose `doubao-seedance-2-0-mini-260615`, `480p`, 4 seconds, `16:9`, and leave **Generate audio** off.
19
- 2. Run creation **once** and save `task_id`. The action uses `callback_url` for asynchronous submission and has no HTTP retry. If a timeout or 5xx occurs, inspect [request history](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_request_history) before trying again: a task may already exist.
19
+ 2. Run creation **once** and save `task_id`. The action uses `callback_url` for asynchronous submission and has no HTTP retry. If a timeout or 5xx occurs, inspect [request history](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) before trying again: a task may already exist.
20
20
  3. Add **Get Seedance task** and map **Task ID** from the creation output. Query that same ID until `status=succeeded` or `failed`. Pending media is not returned as final video.
21
21
  4. Open a URL in `media_urls` only when `success=true`. A task lookup does not create or bill another video.
22
22
 
package/README.zh-CN.md CHANGED
@@ -6,17 +6,17 @@
6
6
 
7
7
  ## 安装与连接
8
8
 
9
- Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**,填写 `@acedatacloud/piece-seedance` 和版本 `0.1.1`。在流程中搜索 **Seedance by Ace Data Cloud**,核对 Logo 和两个动作。
9
+ Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**,填写 `@acedatacloud/piece-seedance` 和版本 `0.1.2`。在流程中搜索 **Seedance by Ace Data Cloud**,核对 Logo 和两个动作。
10
10
 
11
- 1. 在 [Ace Data Cloud Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_api_key) 注册或登录。若没有通用应用,点击 **Initialize General Application**。
11
+ 1. 在 [Ace Data Cloud Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) 注册或登录。若没有通用应用,点击 **Initialize General Application**。
12
12
  2. 打开通用应用或具备 **Seedance** 权限的应用。通用 Key 可访问账号已获授权的服务;专用 Key 仅限对应服务。
13
13
  3. 使用应用卡片的复制按钮,或通过 **Manage Keys → Create** 创建名为 `Activepieces Seedance` 的独立 Key,按需设置有效期与用量限制。若启用 **Allowed APIs**,应同时包含 `/seedance/videos` 与 `/seedance/tasks`,创建后复制 Key。
14
- 4. 创建 Activepieces 连接,只填写 API Key 本身,不加 `Bearer `。`platform-...` 管理 Token 不是生成 API Key。Key 留在连接中,不写入流程导出。生成前查看当前[价格](https://platform.acedata.cloud/models?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_pricing)与余额。
14
+ 4. 创建 Activepieces 连接,只填写 API Key 本身,不加 `Bearer `。`platform-...` 管理 Token 不是生成 API Key。Key 留在连接中,不写入流程导出。生成前查看当前[价格](https://platform.acedata.cloud/models?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen)与余额。
15
15
 
16
16
  ## 首次流程
17
17
 
18
18
  1. 添加 **Create Seedance video task** 并填写文本描述。首次小样例可选 `doubao-seedance-2-0-mini-260615`、`480p`、4 秒、`16:9`,关闭 **Generate audio**。
19
- 2. **只运行一次**创建动作,保存输出的 `task_id`。动作使用 `callback_url` 异步提交,不设置 HTTP 重试。若超时或返回 5xx,先查[请求历史](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_readme_request_history)再考虑重提;任务可能已被接收。
19
+ 2. **只运行一次**创建动作,保存输出的 `task_id`。动作使用 `callback_url` 异步提交,不设置 HTTP 重试。若超时或返回 5xx,先查[请求历史](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen)再考虑重提;任务可能已被接收。
20
20
  3. 添加 **Get Seedance task**,将 **Task ID** 映射为创建动作输出。只查询同一个 ID,直到 `status=succeeded` 或 `failed`。pending 时不展示最终视频链接。
21
21
  4. 仅当 `success=true` 时打开 `media_urls`。查询不会再次创建视频或计费。
22
22
 
@@ -4,6 +4,6 @@ exports.seedanceAuth = void 0;
4
4
  const pieces_framework_1 = require("@activepieces/pieces-framework");
5
5
  exports.seedanceAuth = pieces_framework_1.PieceAuth.SecretText({
6
6
  displayName: 'Ace Data Cloud API key',
7
- description: 'Register or sign in at [Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen&utm_content=seedance_activepieces_connection_api_key). If needed choose Initialize General Application, then copy the key or use Manage Keys → Create for a dedicated Activepieces key. Check service permissions, balance, current pricing and Allowed APIs in the guide. Paste only the API key without Bearer; a platform management token is not a generation key.',
7
+ description: 'Register or sign in at [Applications](https://platform.acedata.cloud/console/applications?utm_source=activepieces&utm_medium=referral&utm_campaign=evergreen). If needed choose Initialize General Application, then copy the key or use Manage Keys → Create for a dedicated Activepieces key. Check service permissions, balance, current pricing and Allowed APIs in the guide. Paste only the API key without Bearer; a platform management token is not a generation key.',
8
8
  required: true,
9
9
  });
@@ -39,7 +39,7 @@
39
39
  "pieceName": "@acedatacloud/piece-seedance",
40
40
  "actionName": "generate_video",
41
41
  "sampleData": {},
42
- "pieceVersion": "0.1.1",
42
+ "pieceVersion": "0.1.2",
43
43
  "propertySettings": {
44
44
  "prompt": {
45
45
  "type": "MANUAL"
@@ -82,7 +82,7 @@
82
82
  "pieceName": "@acedatacloud/piece-seedance",
83
83
  "actionName": "get_task",
84
84
  "sampleData": {},
85
- "pieceVersion": "0.1.1",
85
+ "pieceVersion": "0.1.2",
86
86
  "propertySettings": {
87
87
  "taskId": {
88
88
  "type": "MANUAL"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/piece-seedance",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Seedance video generation and task lookup through Ace Data Cloud for Activepieces",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/src/index.js",