image

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package image is the public, provider-agnostic image generation interface. It exists as a standalone client library separate from the generate_image agent tool (internal/tools/multimedia/imagegen.go) so a host application can call generation directly - e.g. a UI where a human types a prompt - without going through an LLM tool-calling loop for a deterministic action the human already decided to take. The same provider implementations (pkg/image/providers) power both call sites.

Index

Constants

This section is empty.

Variables

View Source
var ErrStreamingNotSupported = internalimage.ErrStreamingNotSupported

ErrStreamingNotSupported is returned by a provider's streaming method (if it has one) when it doesn't support incremental image delivery.

Functions

This section is empty.

Types

type Generation

type Generation = internalimage.Generation

Generation is the core interface for image generation providers.

type GenerationResponse

type GenerationResponse = internalimage.GenerationResponse

GenerationResponse groups one or more results from a single call.

type GenerationResult

type GenerationResult = internalimage.GenerationResult

GenerationResult holds a single generated image (URL or base64).

Directories

Path Synopsis
Package imageproviders exposes seshat's image.Generation implementations for direct use by a host application, independent of the agent/tool loop.
Package imageproviders exposes seshat's image.Generation implementations for direct use by a host application, independent of the agent/tool loop.

Jump to

Keyboard shortcuts

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