summaryrefslogtreecommitdiff
path: root/internal/image/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/image/search.go')
-rw-r--r--internal/image/search.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/internal/image/search.go b/internal/image/search.go
index 8de97e0..80d5e33 100644
--- a/internal/image/search.go
+++ b/internal/image/search.go
@@ -27,8 +27,13 @@ type SearchOptions struct {
Page int // Page number (1-based)
ImageType string // Type: "photo", "illustration", "vector", "all"
Orientation string // Orientation: "horizontal", "vertical", "all"
- CustomPrompt string // Custom prompt for AI image generation
- AspectRatio string // Override aspect ratio (e.g. "9:16"); empty = provider default
+ CustomPrompt string // Custom prompt for AI image generation
+ AspectRatio string // Override aspect ratio (e.g. "9:16"); empty = provider default
+ // ReferenceImages holds raw PNG bytes of previously generated images.
+ // When non-empty, the NanoBanana client sends them as multimodal content
+ // alongside the text prompt so the model can match character appearance
+ // across pages (iterative chaining technique).
+ ReferenceImages [][]byte
}
// DefaultSearchOptions returns sensible defaults for Bulgarian word searches