Skip to content

Commit 481ca92

Browse files
committed
Fix AI Generation with imagen
1 parent c4a68bc commit 481ca92

File tree

4 files changed

+356
-28
lines changed

4 files changed

+356
-28
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
### Fixes
1818

19+
- Revert AI logo generation model to `imagen-3.0-generate-001` to fix 404 error caused by `imagen-4.0-generate-001` being unavailable or incorrectly specified.
20+
- Use `v1beta` endpoint with `generateImages` method for broader compatibility.
21+
1922
## [0.1.19] - 2026-01-14
2023

2124
### Miscellaneous

deno.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"imports": {
1111
"@std/fs": "jsr:@std/fs@^1.0.21",
1212
"@std/path": "jsr:@std/path@^1.1.4",
13-
"@std/fmt/colors": "jsr:@std/fmt@^1.0.8/colors"
13+
"@std/fmt/colors": "jsr:@std/fmt@^1.0.8/colors",
14+
"@google/genai": "npm:@google/genai"
1415
},
1516
"publish": {
1617
"exclude": [

deno.lock

Lines changed: 340 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)