ollama/api
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
..
examples ci: restore previous linter rules (#13322) 2025-12-03 18:55:02 -08:00
client.go x/imagegen: add naive TeaCache and FP8 quantization support (#13683) 2026-01-12 13:45:22 -08:00
client_test.go api/client: handle non-json streaming errors (#13007) 2025-12-01 15:10:16 -08:00
types.go Add experimental image generation fields to /api/generate (#13753) 2026-01-17 18:27:41 -08:00
types_test.go preserve tool definition and call JSON ordering (#13525) 2026-01-05 18:03:36 -08:00
types_typescript_test.go tools: support anyOf types 2025-08-05 16:46:24 -07:00