@acedatacloud/sdk 2026.1106.0 → 2026.1106.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 +4 -2
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/resources/openai.ts +3 -0
package/README.md
CHANGED
|
@@ -224,7 +224,7 @@ image; 2.6 uses the same official rates as 2.5. Check current account pricing an
|
|
|
224
224
|
usage records for final charges.
|
|
225
225
|
|
|
226
226
|
Both 2.6 models use the existing raster parameters: `outputFormat` is `png`,
|
|
227
|
-
`jpeg`, or `webp` (not
|
|
227
|
+
`jpeg`, or `webp` (plus GIF for GPT Image 2.6; SVG is not supported), and `size` is `auto` or `WIDTHxHEIGHT`.
|
|
228
228
|
Explicit dimensions must be multiples of 16, with a longest side of at most
|
|
229
229
|
3840, 655,360–8,294,400 total pixels, and an aspect ratio of at most 3:1.
|
|
230
230
|
Editing uses image URLs through the SDK's JSON interface; Backend multipart
|
|
@@ -491,6 +491,8 @@ MIT
|
|
|
491
491
|
|
|
492
492
|
### GPT Image 2.6 native GIF
|
|
493
493
|
|
|
494
|
-
GIF generation and editing are available for `gpt-image-2.6-flare`, its `:reverse`/`:official` variants, and `gpt-image-2.6-sunburst
|
|
494
|
+
GIF generation and editing are available for `gpt-image-2.6-flare`, its `:reverse`/`:official` variants, and all `gpt-image-2.6-sunburst` variants. Use `output_format="gif"` in Python, `outputFormat: "gif"` in TypeScript, or `OutputFormat: "gif"` in Go. Frame controls are `frame_count`/`frame_duration_ms` (Python), `frameCount`/`frameDurationMs` (TypeScript), and `FrameCount`/`FrameDurationMS` (Go).
|
|
495
495
|
|
|
496
496
|
GIF defaults to a 512x512 preview, 9 frames and 200 ms per frame; actual dimensions may be adjusted by the model. The static 4K presets (`3840x2160`, `2160x3840`) remain supported for PNG/JPEG/WebP generation and editing on all 2.6 variants. GIF has separate size/frame constraints.
|
|
497
|
+
|
|
498
|
+
GPT Image 2.6 supports `complexity="low"|"medium"|"high"` (omitted: model default high). Static edits accept `markup`: a PNG with transparent pixels, matching the first reference after orientation, up to 16,777,216 pixels per image and 40MB for the annotation. JSON accepts an HTTPS URL, PNG data URL or an object containing only `image_url`; multipart accepts an annotation file. Do not combine markup with mask, GIF or prompt_rewriter. GIF frame count is 2–16; frame duration is 20–655350ms, rounded to 10ms. GIF rejects masks, custom compression and partial streaming. Pricing is unchanged.
|
package/dist/index.d.mts
CHANGED
|
@@ -473,6 +473,7 @@ declare class Images {
|
|
|
473
473
|
partialImages?: number;
|
|
474
474
|
size?: string;
|
|
475
475
|
quality?: string;
|
|
476
|
+
complexity?: 'low' | 'medium' | 'high';
|
|
476
477
|
responseFormat?: string;
|
|
477
478
|
style?: string;
|
|
478
479
|
callbackUrl?: string;
|
|
@@ -487,12 +488,16 @@ declare class Images {
|
|
|
487
488
|
background?: string;
|
|
488
489
|
inputFidelity?: string;
|
|
489
490
|
mask?: string;
|
|
491
|
+
markup?: string | {
|
|
492
|
+
image_url: string;
|
|
493
|
+
};
|
|
490
494
|
outputFormat?: string;
|
|
491
495
|
frameCount?: number;
|
|
492
496
|
frameDurationMs?: number;
|
|
493
497
|
outputCompression?: number;
|
|
494
498
|
partialImages?: number;
|
|
495
499
|
quality?: string;
|
|
500
|
+
complexity?: 'low' | 'medium' | 'high';
|
|
496
501
|
size?: string;
|
|
497
502
|
responseFormat?: string;
|
|
498
503
|
callbackUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -473,6 +473,7 @@ declare class Images {
|
|
|
473
473
|
partialImages?: number;
|
|
474
474
|
size?: string;
|
|
475
475
|
quality?: string;
|
|
476
|
+
complexity?: 'low' | 'medium' | 'high';
|
|
476
477
|
responseFormat?: string;
|
|
477
478
|
style?: string;
|
|
478
479
|
callbackUrl?: string;
|
|
@@ -487,12 +488,16 @@ declare class Images {
|
|
|
487
488
|
background?: string;
|
|
488
489
|
inputFidelity?: string;
|
|
489
490
|
mask?: string;
|
|
491
|
+
markup?: string | {
|
|
492
|
+
image_url: string;
|
|
493
|
+
};
|
|
490
494
|
outputFormat?: string;
|
|
491
495
|
frameCount?: number;
|
|
492
496
|
frameDurationMs?: number;
|
|
493
497
|
outputCompression?: number;
|
|
494
498
|
partialImages?: number;
|
|
495
499
|
quality?: string;
|
|
500
|
+
complexity?: 'low' | 'medium' | 'high';
|
|
496
501
|
size?: string;
|
|
497
502
|
responseFormat?: string;
|
|
498
503
|
callbackUrl?: string;
|