command
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 6, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.