Skip to content

feat(imagegen): add support for quite flag for image generation#356

Merged
aandrew-me merged 2 commits into
aandrew-me:mainfrom
amanshaw4511:main
Apr 4, 2025
Merged

feat(imagegen): add support for quite flag for image generation#356
aandrew-me merged 2 commits into
aandrew-me:mainfrom
amanshaw4511:main

Conversation

@amanshaw4511
Copy link
Copy Markdown

@amanshaw4511 amanshaw4511 commented Apr 3, 2025

Refactor:

  • move image generation logic to imagegen package
  • exit with exit code 1 when image generation fail

New Options:

  • Add support for quiet flag during image generation
    image

  • Add support for out option for output image path
    image

  • Add support for height & width option for output image generation
    image

- feat: add support for quite flag during image generation
- refactor: move imaggen logic to imagegen package
- exit with exit code 1 when image generation fail
@amanshaw4511 amanshaw4511 force-pushed the main branch 2 times, most recently from 3392f2c to 2a80db7 Compare April 3, 2025 18:08
@aandrew-me aandrew-me merged commit ed6b068 into aandrew-me:main Apr 4, 2025
@aandrew-me
Copy link
Copy Markdown
Owner

Awesome!

@amanshaw4511
Copy link
Copy Markdown
Author

Awesome!

Thanks.

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Apr 21, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [aandrew-me/tgpt](https://github.com/aandrew-me/tgpt) | patch | `v2.9.2` -> `v2.9.6` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>aandrew-me/tgpt (aandrew-me/tgpt)</summary>

### [`v2.9.6`](https://github.com/aandrew-me/tgpt/releases/tag/v2.9.6): tgpt 2.9.6

[Compare Source](aandrew-me/tgpt@v2.9.5...v2.9.6)

#### Changelog:

-   Fixed isou

<details><summary>SHA256 Hashes</summary><code>
SHA256 hashes of the built binaries:
88cc426cabb91b6b2dbd0ee2d57577235d1396311cab1467b0e10fba79e1486a  tgpt-linux-amd64
9c4e125ca9995b639cdfec0ae2d62a22ef85ac6776239090f6b5054f07d139d4  tgpt-linux-i386
0167ddc135d1583542489dbed399e4fb009d6eebebb1406cead68c140245f4a5  tgpt-linux-arm64
898be97365929fbffb82a35f9463a6dbee7e42098e2d705ee0c8e98bd8c5b8c0  tgpt-linux-arm
049faab92c1bf897aca79afc35c86c92a550e017cfb35515be0b8b04f9ef99ee  tgpt-amd64.exe
06378bc09ec79e5eb2925f6c2f103b5426f85fe3e37a9031aeca28c5944741c0  tgpt-i386.exe
7bb6c43c591e5cea5b89a8db8de7564ab13a3ae79fee5e70828bf147cd1cbb89  tgpt-mac-amd64
b09eaf1af48107994e94bd2c1ed4cf15c098f3f61d0b41a285364ed6adcb87b5  tgpt-mac-arm64
</code></details>

### [`v2.9.5`](https://github.com/aandrew-me/tgpt/releases/tag/v2.9.5): tgpt 2.9.5

[Compare Source](aandrew-me/tgpt@v2.9.4...v2.9.5)

#### Changelog:

-   Added new image gen provider
-   Minor enhancements

<details><summary>SHA256 Hashes</summary><code>
SHA256 hashes of the built binaries:
08de7a390027431e8e0da41ff50af58c6c4da72fdaa148aea4ae7f5179483ee0  tgpt-linux-amd64
470b76bdf2a96290a5964a81edea2823cedec410b8680921d83e0c2d29aed03d  tgpt-linux-i386
4e9ccff8557998baeddcbaa84897ec9535a28cfd8cc2a1d078830e388fc45ddf  tgpt-linux-arm64
3694e0b35f519d927e71904b6b6e284260716fb2ca0cd8c400938ab2e1e8e897  tgpt-linux-arm
3f2f451a946338cec744f9d3328240049f6c4fea1a60152e0e95b555bbdb9456  tgpt-amd64.exe
9ceae5c73db1da5ece9c75a3453ab35d77b3f5f50ad1799a4ccfe0917011550e  tgpt-i386.exe
60727b1f103ba53ceeb02d99b3b481e57dc2a486d99fd2b4aef4612c67bd24d6  tgpt-mac-amd64
abf0eb9f0c79782377617fba9bf127d8e2cc7bf3bd2f15d9eec4340184f54c9f  tgpt-mac-arm64
</code></details>

### [`v2.9.4`](https://github.com/aandrew-me/tgpt/releases/tag/v2.9.4): tgpt 2.9.4

[Compare Source](aandrew-me/tgpt@v2.9.3...v2.9.4)

#### Changelog:

-   Fix for deepseek reasoner [#&#8203;357](aandrew-me/tgpt#357)
-   Add support for -q flag for image gen [#&#8203;356](aandrew-me/tgpt#356) [#&#8203;348](aandrew-me/tgpt#348)
-   Add support for image generation with custom output filename and dimensions [#&#8203;356](aandrew-me/tgpt#356)

<details><summary>SHA256 Hashes</summary><code>
SHA256 hashes of the built binaries:
327c54653e53c6573734815ea695b3df075d1c3ded4638d9c24847bd68bbcb18  tgpt-linux-amd64
acee8cbb3f08c8498033326eeb9a126a71b7f1472d6b1b98e6061468ced20785  tgpt-linux-i386
e30df75d26b5d171e255db74cfb534dd66ded37265d75910b3610a2fc6c212f6  tgpt-linux-arm64
311d9ec7fe87b35b2297abd3cee005d3298410483601787ed45b41a3b5511894  tgpt-linux-arm
023e1a65fe33abd6ff08bc77e04ace861c38c1158bd1133ae4a6ad9a8d91c864  tgpt-amd64.exe
79283060100b266cd8a8a8b425b24e01f8540788da73160a7db27a17ad497074  tgpt-i386.exe
b7d021ce5f996fc076a0ff689f3f68973bf59b4ff966b98e07352fbadb13ce5c  tgpt-mac-amd64
680aa67d4412c6cd6b5dfc343e4077e0d0c7752ce0ca43a03679c533eb3b745c  tgpt-mac-arm64
</code></details>

### [`v2.9.3`](https://github.com/aandrew-me/tgpt/releases/tag/v2.9.3): tgpt 2.9.3

[Compare Source](aandrew-me/tgpt@v2.9.2...v2.9.3)

#### Changelog:

-   Added Gemini provider [#&#8203;342](aandrew-me/tgpt#342)
-   Images generated with same prompt will be random
-   Fix [#&#8203;350](aandrew-me/tgpt#350)

<details><summary>SHA256 Hashes</summary><code>
SHA256 hashes of the built binaries:
1274b6685cd58fda7c88a3b8b56015558e0814032570f6c165c6bf68a6eafefe  tgpt-linux-amd64
9c04b0e3739335bc141992cc90d70aeb4ff9d7bb889f3cef9961e77475682d4b  tgpt-linux-i386
b54a476a527ed55fbf1d866a53890c2c1bc637a3251921596999e5d095256afb  tgpt-linux-arm64
41d093118730686a6799400760ad66724327e574038684536f12c82c26a4e89b  tgpt-linux-arm
6503344b7b26e949ad0615fb23c85eb8d68cda1ae3540d53722ee53eeb5a1a5e  tgpt-amd64.exe
e9ad4972712dab371b9d1e8a514e862670088bd4f4c61cb0435b8046940ab877  tgpt-i386.exe
d297c7dfbc8dfa51021618fba57c8eca8633e281393c045b5a25242616b55282  tgpt-mac-amd64
79811ee1f34fb525e44c6c6af93b2a099af464eaafe0733bbf72cef751ff9cf1  tgpt-mac-arm64
</code></details>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTEuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI1MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants