[GH-ISSUE #8212] Add "/v1/images/generations" endpoints for compatiblity in order to leverage vision models ` #5241

Closed
opened 2026-04-12 16:23:00 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @Routhinator on GitHub (Dec 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8212

I was playing with getting Nextcloud Assistant to try and use the llava model from the Ollama library, and realized that since Nextcloud's Asstant integration works through the LocalAI api syntax, it expects the vision models to respond from /v1/images/generations - which is an endpoint Ollama currently does not expose.

It would be nice to have this for integration compatibility.

Originally created by @Routhinator on GitHub (Dec 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8212 I was playing with getting Nextcloud Assistant to try and use the `llava` model from the Ollama library, and realized that since Nextcloud's Asstant integration works through the LocalAI api syntax, it expects the vision models to respond from `/v1/images/generations` - which is an endpoint Ollama currently does not expose. It would be nice to have this for integration compatibility.
GiteaMirror added the feature request label 2026-04-12 16:23:00 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 22, 2024):

ollama doesn't support image generation. #786, #8047

<!-- gh-comment-id:2558617039 --> @rick-github commented on GitHub (Dec 22, 2024): ollama doesn't support image generation. #786, #8047
Author
Owner

@Routhinator commented on GitHub (Dec 22, 2024):

Hmm ok that makes sense, guess maybe my best path, given I don't want a UI for a diffusion model, is to look at hosting a diffusion model on the same box and add it to the same nginx proxy with the /v1/images/ endpoints mapped to the diffusion api transparently.

Thanks.

<!-- gh-comment-id:2558631502 --> @Routhinator commented on GitHub (Dec 22, 2024): Hmm ok that makes sense, guess maybe my best path, given I don't want a UI for a diffusion model, is to look at hosting a diffusion model on the same box and add it to the same nginx proxy with the `/v1/images/` endpoints mapped to the diffusion api transparently. Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5241