@aigne/ideogram 0.4.10-beta.1 → 0.4.10-beta.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.10-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.10-beta.3...ideogram-v0.4.10-beta.4) (2025-11-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add timeout to doubao and ideogram image models ([#761](https://github.com/AIGNE-io/aigne-framework/issues/761)) ([c232483](https://github.com/AIGNE-io/aigne-framework/commit/c232483c6024426524c3310e64b22d9f63206227))
9
+
10
+ ## [0.4.10-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.10-beta.2...ideogram-v0.4.10-beta.3) (2025-11-19)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * The following workspace dependencies were updated
16
+ * dependencies
17
+ * @aigne/core bumped to 1.69.0-beta.2
18
+
19
+ ## [0.4.10-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.10-beta.1...ideogram-v0.4.10-beta.2) (2025-11-18)
20
+
21
+
22
+ ### Features
23
+
24
+ * improve image model architecture and file handling ([#527](https://github.com/AIGNE-io/aigne-framework/issues/527)) ([4db50aa](https://github.com/AIGNE-io/aigne-framework/commit/4db50aa0387a1a0f045ca11aaa61613e36ca7597))
25
+ * **models:** support aigne hub models ([#416](https://github.com/AIGNE-io/aigne-framework/issues/416)) ([b4f014c](https://github.com/AIGNE-io/aigne-framework/commit/b4f014cf5ed08ef930d3ddfc278d3610e64c6af3))
26
+ * **models:** support gemini and ideogram images models ([#412](https://github.com/AIGNE-io/aigne-framework/issues/412)) ([6534fec](https://github.com/AIGNE-io/aigne-framework/commit/6534fecb0bdfb4b0a4440d44c0e563b9a029a68f))
27
+ * **models:** support gemini and ideogram images models ([#412](https://github.com/AIGNE-io/aigne-framework/issues/412)) ([6534fec](https://github.com/AIGNE-io/aigne-framework/commit/6534fecb0bdfb4b0a4440d44c0e563b9a029a68f))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * add fetch utility with timeout and enhanced error handling ([#694](https://github.com/AIGNE-io/aigne-framework/issues/694)) ([c2d4076](https://github.com/AIGNE-io/aigne-framework/commit/c2d4076ec590150d2751591a4f723721f78381e9))
33
+ * add prefer input file type option for image model ([#536](https://github.com/AIGNE-io/aigne-framework/issues/536)) ([3cba8a5](https://github.com/AIGNE-io/aigne-framework/commit/3cba8a5562233a1567b49b6dd5c446c0760f5c4c))
34
+ * bump version ([93a1c10](https://github.com/AIGNE-io/aigne-framework/commit/93a1c10cf35f88eaafe91092481f5d087bd5b3a9))
35
+ * move zod from devDependencies to dependencies in ideogram model ([#539](https://github.com/AIGNE-io/aigne-framework/issues/539)) ([9a08529](https://github.com/AIGNE-io/aigne-framework/commit/9a08529c53a40817acc831fb9b1925e200671f40))
36
+ * standardize file parameter naming across models ([#534](https://github.com/AIGNE-io/aigne-framework/issues/534)) ([f159a9d](https://github.com/AIGNE-io/aigne-framework/commit/f159a9d6af21ec0e99641996b150560929845845))
37
+ * support gemini-2.0-flash model for image model ([#429](https://github.com/AIGNE-io/aigne-framework/issues/429)) ([5a0bba1](https://github.com/AIGNE-io/aigne-framework/commit/5a0bba197cf8785384b70302f86cf702d04b7fc4))
38
+
39
+
40
+ ### Dependencies
41
+
42
+ * The following workspace dependencies were updated
43
+ * dependencies
44
+ * @aigne/core bumped to 1.69.0-beta.1
45
+
3
46
  ## [0.4.10-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.10-beta...ideogram-v0.4.10-beta.1) (2025-11-18)
4
47
 
5
48
 
@@ -18,6 +18,7 @@ export interface IdeogramImageModelOptions extends ImageModelOptions<IdeogramIma
18
18
  baseURL?: string;
19
19
  model?: string;
20
20
  modelOptions?: Omit<Partial<IdeogramImageModelInput>, "model">;
21
+ clientOptions?: Record<string, any>;
21
22
  }
22
23
  export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInput, IdeogramImageModelOutput> {
23
24
  options?: IdeogramImageModelOptions | undefined;
@@ -15,6 +15,7 @@ const ideogramImageModelOptionsSchema = zod_1.z.object({
15
15
  baseURL: zod_1.z.string().optional(),
16
16
  model: zod_1.z.string().optional(),
17
17
  modelOptions: zod_1.z.object({}).optional(),
18
+ clientOptions: zod_1.z.object({}).optional(),
18
19
  });
19
20
  class IdeogramImageModel extends core_1.ImageModel {
20
21
  options;
@@ -88,6 +89,7 @@ class IdeogramImageModel extends core_1.ImageModel {
88
89
  method: "POST",
89
90
  headers: { "api-key": apiKey },
90
91
  body: formData,
92
+ timeout: this.options?.clientOptions?.timeout ?? 60 * 1000,
91
93
  });
92
94
  const data = await response.json();
93
95
  return {
@@ -18,6 +18,7 @@ export interface IdeogramImageModelOptions extends ImageModelOptions<IdeogramIma
18
18
  baseURL?: string;
19
19
  model?: string;
20
20
  modelOptions?: Omit<Partial<IdeogramImageModelInput>, "model">;
21
+ clientOptions?: Record<string, any>;
21
22
  }
22
23
  export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInput, IdeogramImageModelOutput> {
23
24
  options?: IdeogramImageModelOptions | undefined;
@@ -18,6 +18,7 @@ export interface IdeogramImageModelOptions extends ImageModelOptions<IdeogramIma
18
18
  baseURL?: string;
19
19
  model?: string;
20
20
  modelOptions?: Omit<Partial<IdeogramImageModelInput>, "model">;
21
+ clientOptions?: Record<string, any>;
21
22
  }
22
23
  export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInput, IdeogramImageModelOutput> {
23
24
  options?: IdeogramImageModelOptions | undefined;
@@ -12,6 +12,7 @@ const ideogramImageModelOptionsSchema = z.object({
12
12
  baseURL: z.string().optional(),
13
13
  model: z.string().optional(),
14
14
  modelOptions: z.object({}).optional(),
15
+ clientOptions: z.object({}).optional(),
15
16
  });
16
17
  export class IdeogramImageModel extends ImageModel {
17
18
  options;
@@ -85,6 +86,7 @@ export class IdeogramImageModel extends ImageModel {
85
86
  method: "POST",
86
87
  headers: { "api-key": apiKey },
87
88
  body: formData,
89
+ timeout: this.options?.clientOptions?.timeout ?? 60 * 1000,
88
90
  });
89
91
  const data = await response.json();
90
92
  return {
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "ufo": "^1.6.1",
38
38
  "zod": "3.25.67",
39
- "@aigne/core": "1.68.3-beta.1"
39
+ "@aigne/core": "1.69.0-beta.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/bun": "^1.2.22",
@@ -47,7 +47,7 @@
47
47
  "rimraf": "^6.0.1",
48
48
  "typescript": "^5.9.2"
49
49
  },
50
- "version": "0.4.10-beta.1",
50
+ "version": "0.4.10-beta.4",
51
51
  "scripts": {
52
52
  "lint": "tsc --noEmit",
53
53
  "build": "tsc --build scripts/tsconfig.build.json",