@acedatacloud/piece-gpt-image 0.1.5 → 0.1.7

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
@@ -2,16 +2,16 @@
2
2
 
3
3
  Create a GPT Image task and retrieve the **same task ID** through Ace Data Cloud. The Piece has two actions: **Create GPT Image task** and **Get GPT Image task**. Submission returns an ID; the image is ready only after the lookup reports `succeeded`.
4
4
 
5
- **Distribution:** Install `@acedatacloud/piece-gpt-image@0.1.3` as a custom Piece in your Activepieces instance. A public npm package does not automatically enter the shared Activepieces catalog. [中文指南](README.zh-CN.md)
5
+ **Distribution:** Install `@acedatacloud/piece-gpt-image` (this source targets `0.1.7`; check npm for the published version) as a custom Piece in your Activepieces instance. A public npm package does not automatically enter the shared Activepieces catalog. [中文指南](README.zh-CN.md)
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-gpt-image` and version `0.1.5`, then install it. Search for **GPT Image by Ace Data Cloud** when adding a flow action. Confirm the Ace Data Cloud logo and both actions.
9
+ In Activepieces 0.92.2+, open **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**. Enter `@acedatacloud/piece-gpt-image` and the published version (this release targets `0.1.7`), then install it. Search for **GPT Image** when adding a flow action. Confirm the GPT Image icon 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). If you have no General application, choose **Initialize General Application**.
12
- 2. Open a General application or an application with **GPT Image** access. A General key can access the services your account is entitled to use; a service-specific key is limited to that service.
13
- 3. Use the application's copy button, or choose **Manage Keys → Create** to create a separate key named `Activepieces GPT Image`. Set expiry and usage limits as needed. If you restrict **Allowed APIs**, include both `/openai/images/generations` and `/openai/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) and balance before generation.
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). The page prepares your **General Application** card automatically. If the card has no key, select **Create API Key** first.
12
+ 2. Use the **General Application** card and confirm your account has **GPT Image** access. A General key can access the services your account is entitled to use; a service-specific key is limited to that service.
13
+ 3. Click the copy button beside **API KEY** on the application card, or choose **Manage Keys → Create** to create a separate key named `Activepieces GPT Image`. Set expiry and usage limits as needed. If you restrict **Allowed APIs**, include both `/openai/images/generations` and `/openai/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) before generation. If the General Application balance is low, click **Top Up** on that card.
15
15
 
16
16
  ## First flow
17
17
 
@@ -49,4 +49,4 @@ Generation and task requests verify HTTPS certificates and stay on `api.acedata.
49
49
  ![Create a dedicated key: real redacted Ace console](docs/screenshots/create-api-key-en.png)
50
50
  ![Official Activepieces generic installation dialog](docs/screenshots/install-piece.png)
51
51
 
52
- References reused on 2026-10-18; [fixed sources and limits](docs/screenshots/onboarding-source.json). The installation picture is an official generic reference, not proof this Piece is in the shared catalog. After administrator installation, search the service name, select **by Ace Data Cloud**, and keep the raw API key in the action connection. Source PR, immutable npm release, official shared-catalog acceptance and first use are separate stages.
52
+ References reused on 2026-10-18; [fixed sources and limits](docs/screenshots/onboarding-source.json). The installation picture is an official generic reference, not proof this Piece is in the shared catalog. After administrator installation, search the service name, select **GPT Image** from the installed `@acedatacloud/piece-gpt-image` package, and keep the raw API key in the action connection. Source PR, immutable npm release, official shared-catalog acceptance and first use are separate stages.
package/README.zh-CN.md CHANGED
@@ -2,16 +2,16 @@
2
2
 
3
3
  通过 Ace Data Cloud 创建 GPT Image 任务,并按**同一个任务 ID**查询结果。Piece 提供 **Create GPT Image task** 和 **Get GPT Image task** 两个动作。提交返回 ID 并不代表图片已完成;查询到 `succeeded` 后才可使用成品。[English](README.md)
4
4
 
5
- **分发方式:**在 Activepieces 实例中将 `@acedatacloud/piece-gpt-image@0.1.3` 作为自定义 Piece 安装。公开 npm 包不会自动进入 Activepieces 共享目录。
5
+ **分发方式:**在 Activepieces 实例中将 `@acedatacloud/piece-gpt-image`(本源码目标为 `0.1.7`,已发布版本请查看 npm) 作为自定义 Piece 安装。公开 npm 包不会自动进入 Activepieces 共享目录。
6
6
 
7
7
  ## 安装与连接
8
8
 
9
- Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**,填写 `@acedatacloud/piece-gpt-image` 和版本 `0.1.5`。在流程中搜索 **GPT Image by Ace Data Cloud**,核对 Ace Data Cloud Logo 和两个动作。
9
+ Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**,填写 `@acedatacloud/piece-gpt-image` 和已发布版本(本次目标为 `0.1.7`)。在流程中搜索 **GPT Image**,核对 GPT Image 图标和两个动作。
10
10
 
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
- 2. 打开通用应用或具备 **GPT Image** 权限的应用。通用 Key 可访问账号已获授权的服务;专用 Key 仅限对应服务。
13
- 3. 使用应用卡片的复制按钮,或通过 **Manage Keys → Create** 创建名为 `Activepieces GPT Image` 的独立 Key,按需设置有效期与用量限制。若启用 **Allowed APIs**,应同时包含 `/openai/images/generations` 与 `/openai/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)与余额。
11
+ 1. 在 [Ace Data Cloud Applications](https://platform.acedata.cloud/console/applications?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen) 注册或登录。页面会自动准备好**通用应用**卡片。若卡片尚无 Key,请先选择**创建 API Key**。
12
+ 2. 使用**通用应用**卡片,并确认账号具备 **GPT Image** 权限。通用 Key 可访问账号已获授权的服务;专用 Key 仅限对应服务。
13
+ 3. 点击应用卡片上 **API KEY** 旁的复制按钮,或通过 **Manage Keys → Create** 创建名为 `Activepieces GPT Image` 的独立 Key,按需设置有效期与用量限制。若启用 **Allowed APIs**,应同时包含 `/openai/images/generations` 与 `/openai/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)。通用应用余额不足时,点击该卡片上的**充值**。
15
15
 
16
16
  ## 首次流程
17
17
 
@@ -49,4 +49,4 @@ Piece 只向 `https://api.acedata.cloud` 发送所选输入和 API Key,仅在
49
49
  ![创建独立 Key:真实脱敏 Ace 控制台](docs/screenshots/create-api-key-en.png)
50
50
  ![官方 Activepieces 通用安装弹窗](docs/screenshots/install-piece.png)
51
51
 
52
- 2026-10-18 复用的真实/官方参考图,[固定来源与边界](docs/screenshots/onboarding-source.json)保留。安装图不是本 Piece 已被官方共享目录收录的证明。管理员安装后按服务名搜索并核对 **by Ace Data Cloud**;Key 只放动作连接。源码 PR、npm 发版、官方目录收录与真实首用分别验收。
52
+ 2026-10-18 复用的真实/官方参考图,[固定来源与边界](docs/screenshots/onboarding-source.json)保留。安装图不是本 Piece 已被官方共享目录收录的证明。管理员安装后按服务名搜索并核对 **GPT Image** 和已安装的 `@acedatacloud/piece-gpt-image` 包;Key 只放动作连接。源码 PR、npm 发版、官方目录收录与真实首用分别验收。
package/dist/src/index.js CHANGED
@@ -6,7 +6,7 @@ const generate_image_1 = require("./lib/actions/generate-image");
6
6
  const get_task_1 = require("./lib/actions/get-task");
7
7
  const auth_1 = require("./lib/auth");
8
8
  exports.gptImage = (0, pieces_framework_1.createPiece)({
9
- displayName: 'GPT Image by Ace Data Cloud',
9
+ displayName: 'GPT Image',
10
10
  description: 'Create GPT Image tasks and retrieve the same task through Ace Data Cloud.',
11
11
  logoUrl: 'https://raw.githubusercontent.com/AceDataCloud/GPTImageDify/6916f7f1ee7fdb9531abf1c3ef1c57a34061eaf7/_assets/icon.png',
12
12
  authors: ['Ace Data Cloud'],
@@ -4,6 +4,6 @@ exports.gptImageAuth = void 0;
4
4
  const pieces_framework_1 = require("@activepieces/pieces-framework");
5
5
  exports.gptImageAuth = 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=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.',
7
+ description: 'Register or sign in at [Applications](https://platform.acedata.cloud/console/applications?utm_source=activepieces&utm_medium=referral&utm_campaign=evergreen). On the General Application card, select Create API Key first if no key appears. Then click the copy button beside API KEY. For a separate key, use Manage Keys → Create. Check service permissions, current pricing and Allowed APIs. If the General Application balance is low, click Top Up on that card. Paste only the API key without Bearer; a platform management token is not a generation key.',
8
8
  required: true,
9
9
  });
@@ -37,7 +37,7 @@
37
37
  "pieceName": "@acedatacloud/piece-gpt-image",
38
38
  "actionName": "generate_image",
39
39
  "sampleData": {},
40
- "pieceVersion": "0.1.5",
40
+ "pieceVersion": "0.1.7",
41
41
  "propertySettings": {
42
42
  "prompt": {
43
43
  "type": "MANUAL"
@@ -75,7 +75,7 @@
75
75
  "pieceName": "@acedatacloud/piece-gpt-image",
76
76
  "actionName": "get_task",
77
77
  "sampleData": {},
78
- "pieceVersion": "0.1.5",
78
+ "pieceVersion": "0.1.7",
79
79
  "propertySettings": {
80
80
  "taskId": {
81
81
  "type": "MANUAL"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/piece-gpt-image",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "GPT Image generation and task lookup through Ace Data Cloud for Activepieces",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/src/index.js",