Documentation
¶
Overview ¶
Package aiflags provides shared flags for AI image generation plugins. These flags are common across all AI-based input plugins like googlegenai and openrouter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Prompt is the text description for image generation. Prompt string // Model is the AI model to use for generation. Model string // ListModels indicates whether to list available models and exit. ListModels bool // NoExtendedPrompt disables automatic wallpaper prompt enhancements. NoExtendedPrompt bool // NoNegativePrompt disables the default negative prompt. NoNegativePrompt bool // NegativePrompt is a custom negative prompt to discourage certain elements. NegativePrompt string )
Shared AI flag variables - these are shared across all AI plugins.
Functions ¶
func IsRegistered ¶
func IsRegistered() bool
IsRegistered returns whether the flags have been registered.
func RegisterFlags ¶
RegisterFlags registers the shared AI flags on the given command. This should be called by each AI plugin - it will only register once. Returns true if this call performed the registration, false if already registered.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.