[PR #13669] imagegen: support other modelfile commands for image generation models in short-circuited workflow #14328

Open
opened 2026-04-13 00:51:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13669
Author: @jmorganca
Created: 1/10/2026
Status: 🔄 Open

Base: mainHead: jmorganca/imagegen-modelfile


📝 Commits (1)

  • 87cb080 support other modelfile commands for image generation models

📊 Changes

3 files changed (+113 additions, -14 deletions)

View changed files

📝 cmd/cmd.go (+15 -0)
📝 x/imagegen/client/create.go (+63 -14)
x/imagegen/client/create_test.go (+35 -0)

📄 Description

While in experimental, image generation models support a "short circuited" ollama create workflow that doesn't require conversion to GGUF files or blob uploads to the Ollama API. This allows that workflow to support more commands like PARAMETER for width, height, steps and more.


🔄 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/13669 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/10/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `jmorganca/imagegen-modelfile` --- ### 📝 Commits (1) - [`87cb080`](https://github.com/ollama/ollama/commit/87cb080a91dfbaa0148432e0c95109254b03717e) support other modelfile commands for image generation models ### 📊 Changes **3 files changed** (+113 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+15 -0) 📝 `x/imagegen/client/create.go` (+63 -14) ➕ `x/imagegen/client/create_test.go` (+35 -0) </details> ### 📄 Description While in experimental, image generation models support a "short circuited" `ollama create` workflow that doesn't require conversion to GGUF files or blob uploads to the Ollama API. This allows that workflow to support more commands like PARAMETER for `width`, `height`, `steps` and more. --- <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-13 00:51:00 -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#14328