@acedatacloud/sdk 2026.1101.1 → 2026.1103.0
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 +12 -3
- 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 +2 -0
package/README.md
CHANGED
|
@@ -206,9 +206,18 @@ The public model ID also works with `client.openai.images.generate(...)` and
|
|
|
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
|
-
only `gpt-image-2.5-flare` and `gpt-image-2.5-sunburst` (including `:
|
|
210
|
-
variants) additionally accept `xhigh` and `max`.
|
|
211
|
-
|
|
209
|
+
only `gpt-image-2.5-flare` and `gpt-image-2.5-sunburst` (including `:reverse`
|
|
210
|
+
and `:official` variants) additionally accept `xhigh` and `max`.
|
|
211
|
+
|
|
212
|
+
For both methods, `gpt-image-2.5-flare:reverse` and
|
|
213
|
+
`gpt-image-2.5-sunburst:reverse` are explicit aliases of their unsuffixed names.
|
|
214
|
+
Pass the complete model ID unchanged; the SDK does not select a fallback.
|
|
215
|
+
The server may use GPT Image 2.5 Flare during automatic recovery for reverse
|
|
216
|
+
models, while preserving the requested model and per-successful-image billing.
|
|
217
|
+
`gpt-image-2`, both 2.5 models, and their `:reverse` aliases have a base price
|
|
218
|
+
of **0.19 Credits per successful image**; check current account pricing and
|
|
219
|
+
usage records for final charges. Official-channel requests are billed by actual
|
|
220
|
+
token usage, not a fixed fee per image.
|
|
212
221
|
|
|
213
222
|
## Maestro Video Production
|
|
214
223
|
|
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:official' | 'gpt-image-2.5-sunburst' | '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.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 & {});
|
|
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:official' | 'gpt-image-2.5-sunburst' | '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.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 & {});
|
|
422
422
|
declare class Completions$1 {
|
|
423
423
|
private transport;
|
|
424
424
|
constructor(transport: Transport);
|