image-generation

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

image-generation demonstrates calling an OpenRouter image-capable model and writing the returned PNG/JPEG bytes to disk.

Set OPENROUTER_API_KEY to run against the real provider:

go run ./examples/image-generation

Jump to

Keyboard shortcuts

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