Files
sanspie 5eb1832907
ci-platforms / darwin amd64 smoke (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Failing after 15m28s
ci / release (push) Skipped
ci-platforms / windows amd64 smoke (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
ci / checks (push) Successful in 7m47s
Complete Stage 12 for v0.12.0
2026-11-05 11:46:53 +03:00

15 lines
390 B
Go

package context
import "context"
// An adapter must decline a request it cannot fulfil within MaxCents; references are project PNGs explicitly selected by the user or agent.
type ImageGeneration struct {
Prompt string
Count, MaxCents int
References [][]byte
}
type ImageGenerator interface {
Name() string
Generate(context.Context, ImageGeneration) ([][]byte, error)
}