Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

api: fix ImageData struct comment to expect raw image bytes (#10386)

Adrien Duermael40b10eee6d62
diff --git a/api/types.go b/api/types.go
index 53a9593e5..7d8b6e532 100644
--- a/api/types.go
+++ b/api/types.go
@@ -76,7 +76,7 @@ type GenerateRequest struct {
// this request.
KeepAlive *Duration `json:"keep_alive,omitempty"`
- // Images is an optional list of base64-encoded images accompanying this
+ // Images is an optional list of raw image bytes accompanying this
// request, for multimodal models.
Images []ImageData `json:"images,omitempty"`