06_image_input

command
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Multimodal input example - sending images to the model.

This example demonstrates how to send images along with text to models that support vision capabilities (GPT-4 Vision, Claude 3, etc.).

To run:

export OPENAI_API_KEY="your-key-here"
go run examples/06_image_input/main.go path/to/image.jpg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL