@acedatacloud/sdk 2026.1103.0 → 2026.1105.1
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 +23 -12
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/openai.ts +6 -0
package/README.md
CHANGED
|
@@ -202,22 +202,33 @@ The public model ID also works with `client.openai.images.generate(...)` and
|
|
|
202
202
|
`client.openai.images.edit(...)`; those use the OpenAI-compatible fields
|
|
203
203
|
(`image` for editing) and return response objects, not task handles.
|
|
204
204
|
|
|
205
|
-
### GPT Image 2.5 quality
|
|
205
|
+
### GPT Image 2.5 / 2.6 quality
|
|
206
206
|
|
|
207
207
|
`client.openai.images.generate(...)` and `.edit(...)` pass `quality` through
|
|
208
208
|
unchanged. GPT Image models accept `auto`, `low`, `medium`, and `high`;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
For both methods,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
209
|
+
2.5 and 2.6 Flare/Sunburst models (including `:reverse` and `:official`
|
|
210
|
+
variants) additionally accept `xhigh` and `max`.
|
|
211
|
+
|
|
212
|
+
For both methods, `:reverse` is an explicit alias of the corresponding
|
|
213
|
+
unsuffixed Flare/Sunburst model. Pass the complete model ID unchanged, such as
|
|
214
|
+
`gpt-image-2.6-flare` or `gpt-image-2.6-sunburst:reverse`; do not use the
|
|
215
|
+
incomplete `gpt-image-2.6`. The SDK does not select a fallback.
|
|
216
|
+
The server may use GPT Image 2.5 Flare during automatic recovery for 2.0 / 2.5
|
|
217
|
+
reverse models, while preserving the requested model and per-successful-image
|
|
218
|
+
billing; 2.6 does not configure cross-model substitution.
|
|
217
219
|
`gpt-image-2`, both 2.5 models, and their `:reverse` aliases have a base price
|
|
218
|
-
of **0.19 Credits per successful image
|
|
219
|
-
|
|
220
|
-
token usage, not a fixed fee per
|
|
220
|
+
of **0.19 Credits per successful image**. The 2.6 Flare/Sunburst models and their
|
|
221
|
+
`:reverse` aliases have a base price of **0.22 Credits per successful image**.
|
|
222
|
+
Official-channel requests are billed by actual token usage, not a fixed fee per
|
|
223
|
+
image; 2.6 uses the same official rates as 2.5. Check current account pricing and
|
|
224
|
+
usage records for final charges.
|
|
225
|
+
|
|
226
|
+
Both 2.6 models use the existing raster parameters: `outputFormat` is `png`,
|
|
227
|
+
`jpeg`, or `webp` (not SVG/GIF), and `size` is `auto` or `WIDTHxHEIGHT`.
|
|
228
|
+
Explicit dimensions must be multiples of 16, with a longest side of at most
|
|
229
|
+
3840, 655,360–8,294,400 total pixels, and an aspect ratio of at most 3:1.
|
|
230
|
+
Editing uses image URLs through the SDK's JSON interface; Backend multipart
|
|
231
|
+
file upload support is not exposed by these helpers.
|
|
221
232
|
|
|
222
233
|
## Maestro Video Production
|
|
223
234
|
|
package/dist/index.d.mts
CHANGED
|
@@ -418,7 +418,7 @@ declare class Platform {
|
|
|
418
418
|
|
|
419
419
|
/** OpenAI-compatible facade resources. */
|
|
420
420
|
|
|
421
|
-
type OpenAIImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1' | 'gpt-image-1.5' | 'gpt-image-2' | 'gpt-image-2.5-flare' | 'gpt-image-2.5-flare:reverse' | 'gpt-image-2.5-flare:official' | 'gpt-image-2.5-sunburst' | 'gpt-image-2.5-sunburst:reverse' | 'gpt-image-2.5-sunburst:official' | 'gpt-image-2:reverse' | 'gpt-image-2:official' | 'nano-banana' | 'nano-banana-2-lite' | 'nano-banana-2' | 'nano-banana-2.1' | 'nano-banana-pro' | (string & {});
|
|
421
|
+
type OpenAIImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1' | 'gpt-image-1.5' | 'gpt-image-2' | 'gpt-image-2.5-flare' | 'gpt-image-2.6-flare' | 'gpt-image-2.5-flare:reverse' | 'gpt-image-2.6-flare:reverse' | 'gpt-image-2.5-flare:official' | 'gpt-image-2.6-flare:official' | 'gpt-image-2.5-sunburst' | 'gpt-image-2.6-sunburst' | 'gpt-image-2.5-sunburst:reverse' | 'gpt-image-2.6-sunburst:reverse' | 'gpt-image-2.5-sunburst:official' | 'gpt-image-2.6-sunburst:official' | 'gpt-image-2:reverse' | 'gpt-image-2:official' | 'nano-banana' | 'nano-banana-2-lite' | 'nano-banana-2' | 'nano-banana-2.1' | 'nano-banana-pro' | (string & {});
|
|
422
422
|
declare class Completions$1 {
|
|
423
423
|
private transport;
|
|
424
424
|
constructor(transport: Transport);
|
package/dist/index.d.ts
CHANGED
|
@@ -418,7 +418,7 @@ declare class Platform {
|
|
|
418
418
|
|
|
419
419
|
/** OpenAI-compatible facade resources. */
|
|
420
420
|
|
|
421
|
-
type OpenAIImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1' | 'gpt-image-1.5' | 'gpt-image-2' | 'gpt-image-2.5-flare' | 'gpt-image-2.5-flare:reverse' | 'gpt-image-2.5-flare:official' | 'gpt-image-2.5-sunburst' | 'gpt-image-2.5-sunburst:reverse' | 'gpt-image-2.5-sunburst:official' | 'gpt-image-2:reverse' | 'gpt-image-2:official' | 'nano-banana' | 'nano-banana-2-lite' | 'nano-banana-2' | 'nano-banana-2.1' | 'nano-banana-pro' | (string & {});
|
|
421
|
+
type OpenAIImageModel = 'dall-e-2' | 'dall-e-3' | 'gpt-image-1' | 'gpt-image-1.5' | 'gpt-image-2' | 'gpt-image-2.5-flare' | 'gpt-image-2.6-flare' | 'gpt-image-2.5-flare:reverse' | 'gpt-image-2.6-flare:reverse' | 'gpt-image-2.5-flare:official' | 'gpt-image-2.6-flare:official' | 'gpt-image-2.5-sunburst' | 'gpt-image-2.6-sunburst' | 'gpt-image-2.5-sunburst:reverse' | 'gpt-image-2.6-sunburst:reverse' | 'gpt-image-2.5-sunburst:official' | 'gpt-image-2.6-sunburst:official' | 'gpt-image-2:reverse' | 'gpt-image-2:official' | 'nano-banana' | 'nano-banana-2-lite' | 'nano-banana-2' | 'nano-banana-2.1' | 'nano-banana-pro' | (string & {});
|
|
422
422
|
declare class Completions$1 {
|
|
423
423
|
private transport;
|
|
424
424
|
constructor(transport: Transport);
|