[PR #13866] [MERGED] x/imagegen: fix image editing support #45673

Closed
opened 2026-04-25 01:19:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13866
Author: @jmorganca
Created: 1/23/2026
Status: Merged
Merged: 1/23/2026
Merged by: @jmorganca

Base: mainHead: jmorganca/imageedit-fixes


📝 Commits (2)

  • 05979b9 x/imagegen: fix image editing support
  • 23a21b2 fix parenthesis escape

📊 Changes

4 files changed (+53 additions, -5 deletions)

View changed files

📝 cmd/cmd.go (+7 -3)
📝 x/create/client/create.go (+16 -1)
📝 x/imagegen/cli.go (+3 -1)
📝 x/imagegen/image.go (+27 -0)

📄 Description

  • Fix panic in ollama show for image gen models (safe type assertion)
  • Add vision capability for Flux2KleinPipeline models at create time
  • Flatten transparent PNG images onto white background for better results

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13866 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/23/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/imageedit-fixes` --- ### 📝 Commits (2) - [`05979b9`](https://github.com/ollama/ollama/commit/05979b9112e9fea9dcc6e42083dc61258e57e922) x/imagegen: fix image editing support - [`23a21b2`](https://github.com/ollama/ollama/commit/23a21b2099690cf9cd72eea221301b1b663da003) fix parenthesis escape ### 📊 Changes **4 files changed** (+53 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+7 -3) 📝 `x/create/client/create.go` (+16 -1) 📝 `x/imagegen/cli.go` (+3 -1) 📝 `x/imagegen/image.go` (+27 -0) </details> ### 📄 Description - Fix panic in ollama show for image gen models (safe type assertion) - Add vision capability for Flux2KleinPipeline models at create time - Flatten transparent PNG images onto white background for better results --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 01:19:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#45673