@acedatacloud/piece-gpt-image 0.1.8 → 0.1.11
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 +5 -5
- package/README.zh-CN.md +6 -4
- package/dist/src/lib/actions/generate-image.d.ts +3 -0
- package/dist/src/lib/actions/generate-image.js +44 -2
- package/dist/src/lib/common/client.js +24 -16
- package/examples/gpt-image-edit-quickstart.json +2 -2
- package/examples/gpt-image-quickstart.json +2 -2
- package/package.json +1 -2
- package/docs/screenshots/create-api-key-en.png +0 -0
package/README.md
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Create a GPT Image task and retrieve the **same task ID** through Ace Data Cloud. The Piece provides **Create GPT Image task**, **Edit a GPT Image**, 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` (this source targets `0.1.
|
|
5
|
+
**Distribution:** Install `@acedatacloud/piece-gpt-image` (this source targets `0.1.11`; 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 the published version (this release targets `0.1.
|
|
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.10`), then install it. Search for **GPT Image** when adding a flow action. Confirm the GPT Image icon and all three actions.
|
|
10
10
|
|
|
11
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
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.
|
|
@@ -16,13 +16,13 @@ In Activepieces 0.92.2+, open **Platform Admin → Catalogue → Pieces → Inst
|
|
|
16
16
|
## First flow
|
|
17
17
|
|
|
18
18
|
1. Add **Create GPT Image task**. The **Model** and **Quality** dropdowns read the current public image-generation API catalog. Choose an exact model, including any supported compatibility alias. The model, size, and image-count defaults remain `gpt-image-2`, `1024x1024`, and `1`. Quality is optional with no preset: leave it empty to omit the field and let the API use the selected model’s default.
|
|
19
|
-
2. Run creation **once** and save its `task_id`. The action uses `
|
|
19
|
+
2. Run creation **once** and save its `task_id`. The action uses `async: true` 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 submitting again: the task may already exist.
|
|
20
20
|
3. Add **Get GPT Image task**. Map its **Task ID** from the creation output. Query this same ID until `status=succeeded` or `failed`. Pending media is never returned as final output.
|
|
21
21
|
4. Open a URL from `media_urls` only after `success=true`. The lookup can alternatively use a trace ID if the original request supplied a custom trace ID and its task ID was lost. This creation action does not set a custom trace ID.
|
|
22
22
|
|
|
23
23
|
The [credential-free quickstart flow](https://raw.githubusercontent.com/AceDataCloud/GPTImageActivepieces/main/examples/gpt-image-quickstart.json) imports with both connections empty and the task-ID mapping intact. Add your own connection before running it. Its creation action has automatic retries disabled.
|
|
24
24
|
|
|
25
|
-
The validation snapshot contains 24 model IDs and eight quality values; the dropdowns read the current catalog when refreshed. For generation, DALL-E 2 accepts `standard` and DALL-E 3 accepts `standard` or `hd` with image count `1`. GPT Image 1, 1.5 and 2 accept `auto`, `low`, `medium` or `high`; the 2.5 and 2.6 Flare/Sunburst series additionally accept `xhigh` and `max`. Explicit unsupported choices are rejected before submission. Other models have their own limits; consult the current API descriptions. Image count is 1–10 and each successful image can incur a charge. `size` accepts `auto` or `WIDTHxHEIGHT`. A task lookup does not create or bill another image.
|
|
25
|
+
The validation snapshot contains 24 model IDs and eight quality values; the dropdowns read the current catalog when refreshed. For generation, DALL-E 2 accepts `standard` and DALL-E 3 accepts `standard` or `hd` with image count `1`. GPT Image 1, 1.5 and 2 accept `auto`, `low`, `medium` or `high`; the 2.5 and 2.6 Flare/Sunburst series additionally accept `xhigh` and `max`. Explicit unsupported choices are rejected before submission. Other models have their own limits; consult the current API descriptions. Image count is 1–10 and each successful image can incur a charge. `size` accepts `auto` or `WIDTHxHEIGHT`. A task lookup does not create or bill another image. The optional **Background**, **Output format** and **Output compression** settings apply to GPT Image models. Use PNG or WebP for transparency and choose JPEG or WebP before setting compression. GIF is available for GPT Image 2.6 Flare and Sunburst.
|
|
26
26
|
|
|
27
27
|
Catalog lookup is anonymous and sends no connection, prompt or API key. If metadata is unavailable, the dropdown shows an explicit error instead of a partial fallback list; refresh it to retry. Existing saved flows continue using their stored model IDs and explicit quality values without a catalog lookup during execution; an unsupported explicit DALL-E quality must be corrected or cleared. The quickstart leaves quality unset so changing its model does not carry a GPT-specific quality value. Generation and editing read their respective public API catalogs; existing saved selections do not require a catalog request during execution.
|
|
28
28
|
|
|
@@ -54,7 +54,7 @@ Generation, editing and task requests verify HTTPS certificates and stay on `api
|
|
|
54
54
|
## Visual setup references
|
|
55
55
|
|
|
56
56
|

|
|
57
|
-
|
|
57
|
+
|
|
58
58
|

|
|
59
59
|
|
|
60
60
|
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,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
通过 Ace Data Cloud 创建 GPT Image 任务,并按**同一个任务 ID**查询结果。Piece 提供 **Create GPT Image task**、**Edit a GPT Image** 和 **Get GPT Image task** 三个动作。提交返回 ID 并不代表图片已完成;查询到 `succeeded` 后才可使用成品。[English](README.md)
|
|
4
4
|
|
|
5
|
-
**分发方式:**在 Activepieces 实例中将 `@acedatacloud/piece-gpt-image`(本源码目标为 `0.1.
|
|
5
|
+
**分发方式:**在 Activepieces 实例中将 `@acedatacloud/piece-gpt-image`(本源码目标为 `0.1.11`,已发布版本请查看 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.
|
|
9
|
+
Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Install Piece → NPM Registry**,填写 `@acedatacloud/piece-gpt-image` 和已发布版本(本次目标为 `0.1.11`)。在流程中搜索 **GPT Image**,核对 GPT Image 图标和三个动作。
|
|
10
10
|
|
|
11
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
12
|
2. 使用**通用应用**卡片,并确认账号具备 **GPT Image** 权限。通用 Key 可访问账号已获授权的服务;专用 Key 仅限对应服务。
|
|
@@ -16,7 +16,7 @@ Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Ins
|
|
|
16
16
|
## 首次流程
|
|
17
17
|
|
|
18
18
|
1. 添加 **Create GPT Image task**。**Model** 与 **Quality** 下拉框读取当前公开图片生成接口目录,选择精确型号及其支持的参数,目录包含兼容别名。模型、尺寸和数量默认值仍为 `gpt-image-2`、`1024x1024` 和 `1`。质量为可选项且不预填;留空时请求不发送 quality 字段,由 API 使用所选模型的默认值。
|
|
19
|
-
2. **只运行一次**创建动作,保存输出的 `task_id`。动作使用 `
|
|
19
|
+
2. **只运行一次**创建动作,保存输出的 `task_id`。动作使用 `async: true` 异步提交,不设置 HTTP 重试。若超时或返回 5xx,先查[请求历史](https://platform.acedata.cloud/console/usages?utm_source=opensource&utm_medium=referral&utm_campaign=evergreen)再考虑重提,任务可能已被接收。
|
|
20
20
|
3. 添加 **Get GPT Image task**,把 **Task ID** 映射为创建动作的输出。只查询同一个 ID,直至 `status=succeeded` 或 `failed`。pending 时不会把预览当作最终媒体。
|
|
21
21
|
4. 仅当 `success=true` 时打开 `media_urls`。若原始请求自带自定义 Trace ID 且丢失任务 ID,也可按 Trace ID 查询;本 Piece 的创建动作不设置自定义 Trace ID。
|
|
22
22
|
|
|
@@ -28,6 +28,8 @@ Activepieces 0.92.2+ 中进入 **Platform Admin → Catalogue → Pieces → Ins
|
|
|
28
28
|
|
|
29
29
|
此前隔离的 Activepieces CE 0.92.2 验证已接受构建归档,并通过 **Get GPT Image task** 查询一条既有完成任务;流程返回 `succeeded` 和 1 个最终图片 URL。本轮未通过创建动作提交新的付费图片任务。
|
|
30
30
|
|
|
31
|
+
生成动作可以为 GPT Image 模型指定背景、输出格式和压缩率。透明背景用 PNG 或 WebP,压缩率需先选 JPEG 或 WebP。GPT Image 2.6 Flare 和 Sunburst 可选择 GIF。
|
|
32
|
+
|
|
31
33
|
## 编辑参考图
|
|
32
34
|
|
|
33
35
|
导入[无密钥编辑示例](examples/gpt-image-edit-quickstart.json),在两个步骤选择连接,将占位地址换成自己有权使用、可公开访问的 HTTPS 图片。**Edit a GPT Image** 支持每行一个链接或 JSON 数组,共 1–16 张;DALL-E 2 仅支持一张不超过 4 MB 的正方形 PNG。Piece 只把链接发送给 API,不自行下载图片。
|
|
@@ -54,7 +56,7 @@ Piece 只向 `https://api.acedata.cloud` 发送所选输入和 API Key,仅在
|
|
|
54
56
|
## 图文配置参考
|
|
55
57
|
|
|
56
58
|

|
|
57
|
-
|
|
59
|
+
|
|
58
60
|

|
|
59
61
|
|
|
60
62
|
2026-10-18 复用的真实/官方参考图,[固定来源与边界](docs/screenshots/onboarding-source.json)保留。安装图不是本 Piece 已被官方共享目录收录的证明。管理员安装后按服务名搜索并核对 **GPT Image** 和已安装的 `@acedatacloud/piece-gpt-image` 包;Key 只放动作连接。源码 PR、npm 发版、官方目录收录与真实首用分别验收。
|
|
@@ -4,4 +4,7 @@ export declare const generateImage: import("@activepieces/pieces-framework").IAc
|
|
|
4
4
|
quality: import("@activepieces/pieces-framework").DropdownProperty<string, false, undefined>;
|
|
5
5
|
size: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
6
6
|
count: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
7
|
+
background: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
8
|
+
outputFormat: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
9
|
+
outputCompression: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
7
10
|
}>;
|
|
@@ -45,9 +45,27 @@ exports.generateImage = (0, pieces_framework_1.createAction)({
|
|
|
45
45
|
required: true,
|
|
46
46
|
defaultValue: 1,
|
|
47
47
|
}),
|
|
48
|
+
background: pieces_framework_1.Property.StaticDropdown({
|
|
49
|
+
displayName: 'Background',
|
|
50
|
+
description: 'Optional for GPT Image. Transparency requires PNG or WebP.',
|
|
51
|
+
required: false,
|
|
52
|
+
options: { options: ['auto', 'opaque', 'transparent'].map((value) => ({ label: value, value })) },
|
|
53
|
+
}),
|
|
54
|
+
outputFormat: pieces_framework_1.Property.StaticDropdown({
|
|
55
|
+
displayName: 'Output format',
|
|
56
|
+
description: 'Optional for GPT Image. GIF is available for GPT Image 2.6 Flare and Sunburst.',
|
|
57
|
+
required: false,
|
|
58
|
+
options: { options: ['png', 'jpeg', 'webp', 'gif'].map((value) => ({ label: value, value })) },
|
|
59
|
+
}),
|
|
60
|
+
outputCompression: pieces_framework_1.Property.Number({
|
|
61
|
+
displayName: 'Output compression',
|
|
62
|
+
description: 'Optional whole number from 0 to 100. Choose JPEG or WebP first.',
|
|
63
|
+
required: false,
|
|
64
|
+
}),
|
|
48
65
|
},
|
|
49
66
|
async run(context) {
|
|
50
|
-
const { prompt, model, quality, size, count } = context.propsValue;
|
|
67
|
+
const { prompt, model, quality, size, count, background, outputFormat } = context.propsValue;
|
|
68
|
+
const compression = context.propsValue.outputCompression;
|
|
51
69
|
if (!prompt.trim()) {
|
|
52
70
|
throw new Error('An image description is required.');
|
|
53
71
|
}
|
|
@@ -67,6 +85,27 @@ exports.generateImage = (0, pieces_framework_1.createAction)({
|
|
|
67
85
|
if (model === 'dall-e-3' && count !== 1) {
|
|
68
86
|
throw new Error('DALL-E 3 supports one image per request.');
|
|
69
87
|
}
|
|
88
|
+
if (background && !['auto', 'opaque', 'transparent'].includes(background)) {
|
|
89
|
+
throw new Error('Choose a supported background.');
|
|
90
|
+
}
|
|
91
|
+
if (outputFormat && !['png', 'jpeg', 'webp', 'gif'].includes(outputFormat)) {
|
|
92
|
+
throw new Error('Choose a supported output format.');
|
|
93
|
+
}
|
|
94
|
+
if ((background || outputFormat || compression != null) && !model.startsWith('gpt-image-')) {
|
|
95
|
+
throw new Error('Background, output format, and compression are available for GPT Image models.');
|
|
96
|
+
}
|
|
97
|
+
if (outputFormat === 'gif' && !/^gpt-image-2\.6-(flare|sunburst)(?::(?:reverse|official))?$/.test(model)) {
|
|
98
|
+
throw new Error('GIF is available for GPT Image 2.6 Flare and Sunburst.');
|
|
99
|
+
}
|
|
100
|
+
if (background === 'transparent' && outputFormat && !['png', 'webp'].includes(outputFormat)) {
|
|
101
|
+
throw new Error('Transparent backgrounds require PNG or WebP.');
|
|
102
|
+
}
|
|
103
|
+
if (compression != null && (!Number.isInteger(compression) || compression < 0 || compression > 100)) {
|
|
104
|
+
throw new Error('Output compression must be a whole number from 0 to 100.');
|
|
105
|
+
}
|
|
106
|
+
if (compression != null && !['jpeg', 'webp'].includes(outputFormat ?? '')) {
|
|
107
|
+
throw new Error('Output compression requires JPEG or WebP.');
|
|
108
|
+
}
|
|
70
109
|
const response = await client_1.gptImageClient.post({
|
|
71
110
|
token: context.auth.secret_text,
|
|
72
111
|
path: '/openai/images/generations',
|
|
@@ -76,7 +115,10 @@ exports.generateImage = (0, pieces_framework_1.createAction)({
|
|
|
76
115
|
...(explicitQuality ? { quality: explicitQuality } : {}),
|
|
77
116
|
size,
|
|
78
117
|
n: count,
|
|
79
|
-
|
|
118
|
+
...(background ? { background } : {}),
|
|
119
|
+
...(outputFormat ? { output_format: outputFormat } : {}),
|
|
120
|
+
...(compression != null ? { output_compression: compression } : {}),
|
|
121
|
+
async: true,
|
|
80
122
|
},
|
|
81
123
|
});
|
|
82
124
|
const taskId = client_1.gptImageClient.taskIdFromSubmission(response);
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.gptImageClient = void 0;
|
|
4
|
-
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
5
4
|
const secure_http_1 = require("../secure-http");
|
|
6
5
|
async function post({ token, path, body, }) {
|
|
7
6
|
const response = await secure_http_1.httpClient.sendRequest({
|
|
8
|
-
method:
|
|
7
|
+
method: 'POST',
|
|
9
8
|
url: `https://api.acedata.cloud${path}`,
|
|
10
9
|
headers: {
|
|
11
10
|
Authorization: `Bearer ${token}`,
|
|
@@ -25,31 +24,35 @@ function normalizeTask({ body, taskId, traceId }) {
|
|
|
25
24
|
const values = record(payload);
|
|
26
25
|
const returnedTaskId = stringValue(envelope.id);
|
|
27
26
|
const resultTaskId = stringValue(values.task_id);
|
|
28
|
-
if ((taskId && returnedTaskId
|
|
27
|
+
if ((taskId && (!returnedTaskId || !sameTaskId(taskId, returnedTaskId))) ||
|
|
29
28
|
(resultTaskId && (returnedTaskId || taskId) && !sameTaskId(resultTaskId, returnedTaskId || taskId))) {
|
|
30
29
|
throw new Error('The response did not match the requested original task.');
|
|
31
30
|
}
|
|
32
31
|
const returnedTraceId = stringValue(envelope.trace_id);
|
|
33
32
|
const resultTraceId = stringValue(values.trace_id);
|
|
34
33
|
if ((returnedTraceId && resultTraceId && returnedTraceId !== resultTraceId) ||
|
|
35
|
-
(!taskId && traceId &&
|
|
34
|
+
(!taskId && traceId && traceId !== (returnedTraceId || resultTraceId))) {
|
|
36
35
|
throw new Error('The response did not match the requested original trace.');
|
|
37
36
|
}
|
|
38
37
|
const states = collectStates(payload);
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
const envelopeState = stringValue(envelope.status) || stringValue(envelope.state);
|
|
39
|
+
if (envelopeState)
|
|
40
|
+
states.push(envelopeState.toLowerCase());
|
|
41
|
+
const failed = states.some((state) => FAILED_STATES.has(state)) || hasFailure(payload) ||
|
|
42
|
+
envelope.success === false || Boolean(envelope.error);
|
|
43
|
+
const hasFinish = envelope.finished_at !== undefined && envelope.finished_at !== null && envelope.finished_at !== '';
|
|
44
|
+
const completeStates = states.length === 0 || states.every((state) => COMPLETE_STATES.has(state));
|
|
45
|
+
const media = collectMediaUrls(payload);
|
|
46
|
+
const finished = hasFinish && !failed && completeStates && media.length > 0;
|
|
47
|
+
const noFinalMedia = hasFinish && !failed && completeStates && media.length === 0;
|
|
45
48
|
const foundTraceId = stringValue(values.trace_id) || stringValue(envelope.trace_id) || traceId || '';
|
|
46
49
|
return {
|
|
47
50
|
task_id: stringValue(envelope.id) || taskId,
|
|
48
|
-
status: failed ? 'failed' : finished ? 'succeeded' : 'pending',
|
|
51
|
+
status: failed || noFinalMedia ? 'failed' : finished ? 'succeeded' : 'pending',
|
|
49
52
|
success: finished,
|
|
50
53
|
trace_id: foundTraceId,
|
|
51
|
-
media_urls: finished ?
|
|
52
|
-
result: sanitize(payload),
|
|
54
|
+
media_urls: finished ? media : [],
|
|
55
|
+
result: finished ? sanitize(payload) : failed ? sanitizeFailure(payload) : {},
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
function taskIdFromSubmission(body) {
|
|
@@ -124,9 +127,6 @@ function collectMediaUrls(value) {
|
|
|
124
127
|
});
|
|
125
128
|
return [...new Set(urls)];
|
|
126
129
|
}
|
|
127
|
-
function hasContent(value) {
|
|
128
|
-
return Array.isArray(value) ? value.length > 0 : Object.keys(record(value)).length > 0;
|
|
129
|
-
}
|
|
130
130
|
function sanitize(value) {
|
|
131
131
|
if (Array.isArray(value)) {
|
|
132
132
|
return value.map(sanitize);
|
|
@@ -138,6 +138,14 @@ function sanitize(value) {
|
|
|
138
138
|
.filter(([key]) => !SENSITIVE_KEYS.has(key.toLowerCase()) && !SENSITIVE_KEY_PATTERN.test(key))
|
|
139
139
|
.map(([key, child]) => [key, key === 'error' ? 'Task failed; inspect its task or trace ID.' : sanitize(child)]));
|
|
140
140
|
}
|
|
141
|
+
function sanitizeFailure(value) {
|
|
142
|
+
const item = record(value);
|
|
143
|
+
return {
|
|
144
|
+
...(item.success === false ? { success: false } : {}),
|
|
145
|
+
...(stringValue(item.task_id) ? { task_id: stringValue(item.task_id) } : {}),
|
|
146
|
+
...(item.error ? { error: 'Task failed; inspect its task or trace ID.' } : {}),
|
|
147
|
+
};
|
|
148
|
+
}
|
|
141
149
|
exports.gptImageClient = { post, normalizeTask, taskIdFromSubmission };
|
|
142
150
|
const COMPLETE_STATES = new Set(['complete', 'completed', 'succeeded', 'succeed', 'success', 'finished']);
|
|
143
151
|
const FAILED_STATES = new Set(['failed', 'error', 'cancelled', 'canceled', 'rejected']);
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"pieceName": "@acedatacloud/piece-gpt-image",
|
|
38
38
|
"actionName": "edit_image",
|
|
39
39
|
"sampleData": {},
|
|
40
|
-
"pieceVersion": "0.1.
|
|
40
|
+
"pieceVersion": "0.1.11",
|
|
41
41
|
"propertySettings": {
|
|
42
42
|
"imageUrls": {
|
|
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.
|
|
78
|
+
"pieceVersion": "0.1.11",
|
|
79
79
|
"propertySettings": {
|
|
80
80
|
"taskId": {
|
|
81
81
|
"type": "MANUAL"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"pieceName": "@acedatacloud/piece-gpt-image",
|
|
38
38
|
"actionName": "generate_image",
|
|
39
39
|
"sampleData": {},
|
|
40
|
-
"pieceVersion": "0.1.
|
|
40
|
+
"pieceVersion": "0.1.11",
|
|
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.
|
|
78
|
+
"pieceVersion": "0.1.11",
|
|
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.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "GPT Image generation, editing and task lookup through Ace Data Cloud for Activepieces",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"bugs": "https://github.com/AceDataCloud/GPTImageActivepieces/issues",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@activepieces/pieces-common": "0.12.5",
|
|
28
27
|
"@activepieces/pieces-framework": "0.32.0"
|
|
29
28
|
},
|
|
30
29
|
"devDependencies": {
|
|
Binary file
|