@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/dist/index.d.mts CHANGED
@@ -417,6 +417,7 @@ declare class Platform {
417
417
 
418
418
  /** OpenAI-compatible facade resources. */
419
419
 
420
+ 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-pro' | (string & {});
420
421
  declare class Completions$1 {
421
422
  private transport;
422
423
  constructor(transport: Transport);
@@ -460,7 +461,7 @@ declare class Images {
460
461
  constructor(transport: Transport);
461
462
  generate(opts: {
462
463
  prompt: string;
463
- model: string;
464
+ model: OpenAIImageModel;
464
465
  background?: string;
465
466
  moderation?: string;
466
467
  n?: number;
@@ -478,7 +479,7 @@ declare class Images {
478
479
  edit(opts: {
479
480
  image: string | string[];
480
481
  prompt: string;
481
- model?: string;
482
+ model?: OpenAIImageModel;
482
483
  n?: number;
483
484
  background?: string;
484
485
  inputFidelity?: string;
package/dist/index.d.ts CHANGED
@@ -417,6 +417,7 @@ declare class Platform {
417
417
 
418
418
  /** OpenAI-compatible facade resources. */
419
419
 
420
+ 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-pro' | (string & {});
420
421
  declare class Completions$1 {
421
422
  private transport;
422
423
  constructor(transport: Transport);
@@ -460,7 +461,7 @@ declare class Images {
460
461
  constructor(transport: Transport);
461
462
  generate(opts: {
462
463
  prompt: string;
463
- model: string;
464
+ model: OpenAIImageModel;
464
465
  background?: string;
465
466
  moderation?: string;
466
467
  n?: number;
@@ -478,7 +479,7 @@ declare class Images {
478
479
  edit(opts: {
479
480
  image: string | string[];
480
481
  prompt: string;
481
- model?: string;
482
+ model?: OpenAIImageModel;
482
483
  n?: number;
483
484
  background?: string;
484
485
  inputFidelity?: string;