@aigne/ideogram 0.4.16-beta.13 → 0.4.16-beta.16
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,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.4.16-beta.16](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.16-beta.15...ideogram-v0.4.16-beta.16) (2026-01-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/core bumped to 1.72.0-beta.16
|
|
11
|
+
|
|
12
|
+
## [0.4.16-beta.15](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.16-beta.14...ideogram-v0.4.16-beta.15) (2026-01-10)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
* The following workspace dependencies were updated
|
|
18
|
+
* dependencies
|
|
19
|
+
* @aigne/core bumped to 1.72.0-beta.15
|
|
20
|
+
|
|
21
|
+
## [0.4.16-beta.14](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.16-beta.13...ideogram-v0.4.16-beta.14) (2026-01-09)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Dependencies
|
|
25
|
+
|
|
26
|
+
* The following workspace dependencies were updated
|
|
27
|
+
* dependencies
|
|
28
|
+
* @aigne/core bumped to 1.72.0-beta.14
|
|
29
|
+
|
|
3
30
|
## [0.4.16-beta.13](https://github.com/AIGNE-io/aigne-framework/compare/ideogram-v0.4.16-beta.12...ideogram-v0.4.16-beta.13) (2026-01-08)
|
|
4
31
|
|
|
5
32
|
|
|
@@ -35,5 +35,5 @@ export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInp
|
|
|
35
35
|
* @param input The input to process
|
|
36
36
|
* @returns The generated response
|
|
37
37
|
*/
|
|
38
|
-
process(input: IdeogramImageModelInput,
|
|
38
|
+
process(input: IdeogramImageModelInput, _options: AgentInvokeOptions): Promise<ImageModelOutput>;
|
|
39
39
|
}
|
|
@@ -45,7 +45,7 @@ class IdeogramImageModel extends core_1.ImageModel {
|
|
|
45
45
|
* @param input The input to process
|
|
46
46
|
* @returns The generated response
|
|
47
47
|
*/
|
|
48
|
-
async process(input,
|
|
48
|
+
async process(input, _options) {
|
|
49
49
|
const model = input.model || this.credential.model;
|
|
50
50
|
const formData = new FormData();
|
|
51
51
|
if (model !== "ideogram-v3") {
|
|
@@ -78,7 +78,7 @@ class IdeogramImageModel extends core_1.ImageModel {
|
|
|
78
78
|
if (inputImages.length > 1) {
|
|
79
79
|
throw new Error(`${this.name} only support one image for editing`);
|
|
80
80
|
}
|
|
81
|
-
const { data } = await this.transformFileType("file", image
|
|
81
|
+
const { data } = await this.transformFileType("file", image);
|
|
82
82
|
formData.append("image", new Blob([Buffer.from(data, "base64")]));
|
|
83
83
|
}
|
|
84
84
|
const { url, apiKey } = this.credential;
|
|
@@ -35,5 +35,5 @@ export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInp
|
|
|
35
35
|
* @param input The input to process
|
|
36
36
|
* @returns The generated response
|
|
37
37
|
*/
|
|
38
|
-
process(input: IdeogramImageModelInput,
|
|
38
|
+
process(input: IdeogramImageModelInput, _options: AgentInvokeOptions): Promise<ImageModelOutput>;
|
|
39
39
|
}
|
|
@@ -35,5 +35,5 @@ export declare class IdeogramImageModel extends ImageModel<IdeogramImageModelInp
|
|
|
35
35
|
* @param input The input to process
|
|
36
36
|
* @returns The generated response
|
|
37
37
|
*/
|
|
38
|
-
process(input: IdeogramImageModelInput,
|
|
38
|
+
process(input: IdeogramImageModelInput, _options: AgentInvokeOptions): Promise<ImageModelOutput>;
|
|
39
39
|
}
|
|
@@ -42,7 +42,7 @@ export class IdeogramImageModel extends ImageModel {
|
|
|
42
42
|
* @param input The input to process
|
|
43
43
|
* @returns The generated response
|
|
44
44
|
*/
|
|
45
|
-
async process(input,
|
|
45
|
+
async process(input, _options) {
|
|
46
46
|
const model = input.model || this.credential.model;
|
|
47
47
|
const formData = new FormData();
|
|
48
48
|
if (model !== "ideogram-v3") {
|
|
@@ -75,7 +75,7 @@ export class IdeogramImageModel extends ImageModel {
|
|
|
75
75
|
if (inputImages.length > 1) {
|
|
76
76
|
throw new Error(`${this.name} only support one image for editing`);
|
|
77
77
|
}
|
|
78
|
-
const { data } = await this.transformFileType("file", image
|
|
78
|
+
const { data } = await this.transformFileType("file", image);
|
|
79
79
|
formData.append("image", new Blob([Buffer.from(data, "base64")]));
|
|
80
80
|
}
|
|
81
81
|
const { url, apiKey } = this.credential;
|
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.72.0-beta.
|
|
39
|
+
"@aigne/core": "1.72.0-beta.16"
|
|
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.16-beta.
|
|
50
|
+
"version": "0.4.16-beta.16",
|
|
51
51
|
"scripts": {
|
|
52
52
|
"lint": "tsc --noEmit",
|
|
53
53
|
"build": "tsc --build scripts/tsconfig.build.json",
|