@acedatacloud/sdk 2026.909.0 → 2026.910.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acedatacloud/sdk",
3
- "version": "2026.909.0",
3
+ "version": "2026.910.0",
4
4
  "description": "Official TypeScript SDK for AceDataCloud — AI-powered data services",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2,6 +2,24 @@
2
2
 
3
3
  import { Transport } from '../runtime/transport';
4
4
 
5
+ export type OpenAIImageModel =
6
+ | 'dall-e-2'
7
+ | 'dall-e-3'
8
+ | 'gpt-image-1'
9
+ | 'gpt-image-1.5'
10
+ | 'gpt-image-2'
11
+ | 'gpt-image-2.5-flare'
12
+ | 'gpt-image-2.5-flare:official'
13
+ | 'gpt-image-2.5-sunburst'
14
+ | 'gpt-image-2.5-sunburst:official'
15
+ | 'gpt-image-2:reverse'
16
+ | 'gpt-image-2:official'
17
+ | 'nano-banana'
18
+ | 'nano-banana-2-lite'
19
+ | 'nano-banana-2'
20
+ | 'nano-banana-pro'
21
+ | (string & {});
22
+
5
23
  class Completions {
6
24
  constructor(private transport: Transport) {}
7
25
 
@@ -90,7 +108,7 @@ class Images {
90
108
 
91
109
  async generate(opts: {
92
110
  prompt: string;
93
- model: string;
111
+ model: OpenAIImageModel;
94
112
  background?: string;
95
113
  moderation?: string;
96
114
  n?: number;
@@ -118,7 +136,7 @@ class Images {
118
136
  async edit(opts: {
119
137
  image: string | string[];
120
138
  prompt: string;
121
- model?: string;
139
+ model?: OpenAIImageModel;
122
140
  n?: number;
123
141
  background?: string;
124
142
  inputFidelity?: string;