Versions in this module Expand all Collapse all v0 v0.0.2 Aug 30, 2026 Changes in this version + const DefaultBaseURL + const DefaultPollIntervalSeconds + const DefaultPollTimeoutSeconds + const DefaultTTSPollTimeoutSeconds + const ImageRequestExtensionKey + const ImageResponseExtensionKey + const ModelFlux11Pro + const ModelFlux11ProUltra + const ModelFluxDev + const ModelFluxKontextMax + const ModelFluxKontextPro + const ModelFluxPro + const ModelFluxSchnell + const ModelIdeogramV2 + const ModelIdeogramV2Turbo + const ModelXTTSV2 + const Provider + const SpeechRequestExtensionKey + const SpeechResponseExtensionKey + type AudioTTSModel struct + func NewAudioTTSModel(config AudioTTSModelConfig) (*AudioTTSModel, error) + func (a *AudioTTSModel) Call(ctx context.Context, req *tts.Request) (*tts.Response, error) + type AudioTTSModelConfig struct + APIKey string + BaseURL string + DefaultOptions tts.Options + HTTPClient *http.Client + InputSchema SpeechInputSchema + PollInterval time.Duration + PollTimeout time.Duration + func (a AudioTTSModelConfig) Validate() error + type FileOutputKind string + const FileOutputURI + const FileOutputURIList + type ImageInputSchema struct + HeightKey string + NegativePromptKey string + OutputFormatKey string + OutputFormats map[string]string + OutputKind FileOutputKind + PromptKey string + SeedKey string + WidthKey string + func FluxSchnellImageInputSchema() ImageInputSchema + func (i ImageInputSchema) Clone() ImageInputSchema + func (i ImageInputSchema) Validate() error + type ImageModel struct + func NewImageModel(config ImageModelConfig) (*ImageModel, error) + func (i *ImageModel) Call(ctx context.Context, req *image.Request) (*image.Response, error) + type ImageModelConfig struct + APIKey string + BaseURL string + DefaultOptions image.Options + HTTPClient *http.Client + InputSchema ImageInputSchema + PollInterval time.Duration + PollTimeout time.Duration + func (i ImageModelConfig) Validate() error + type SpeechInputSchema struct + OutputKind FileOutputKind + SpeedKey string + TextKey string + VoiceKey string + VoiceRequired bool + func XTTSV2SpeechInputSchema() SpeechInputSchema + func (s SpeechInputSchema) Validate() error v0.0.1 Aug 27, 2026