ollama/cmd
Jeffrey Morgan 634c416645
Add experimental image generation fields to /api/generate (#13753)
Request fields (experimental):
- width: image width (max 4096)
- height: image height (max 4096)
- steps: denoising steps
- seed: random seed

Response fields (experimental):
- images: base64-encoded generated images
- completed: current step progress
- total: total steps

Other changes:
- Fix lifecycle bug where image models wouldn't unload (refCount issue)
- Fix "headers already written" error on Ctrl+C during streaming
- Add gin middleware for OpenAI /v1/images/generations compatibility
- Update CLI to use /api/generate with progress bar
- Add preload support in interactive mode
2026-01-17 18:27:41 -08:00
..
bench cmd/bench: fix binary name in README (#13276) 2025-12-10 14:16:58 -08:00
runner Runner for Ollama engine 2025-02-13 17:09:26 -08:00
cmd.go Add experimental image generation fields to /api/generate (#13753) 2026-01-17 18:27:41 -08:00
cmd_test.go Add experimental image generation fields to /api/generate (#13753) 2026-01-17 18:27:41 -08:00
interactive.go cmd: enable multi-line input and shift enter (#13694) 2026-01-14 17:52:46 -08:00
interactive_test.go server: add webp image input support (#10653) 2025-05-12 20:41:42 -07:00
start.go nolintlint 2024-06-04 11:13:30 -07:00
start_darwin.go mac: handle "keep" named apps (#11031) 2025-06-09 16:29:57 -07:00
start_default.go lint 2024-08-01 17:06:06 -07:00
start_windows.go spawn desktop quickly (#11011) 2025-06-08 09:34:52 -07:00
warn_thinking_test.go add thinking support to the api and cli (#10584) 2025-05-28 19:38:52 -07:00