Documentation
¶
Index ¶
- func BuiltinImagesModels(options ...ai.ImagesModelsOptions) ai.MutableImagesModels
- func BuiltinImagesProviders() []ai.ImagesProvider
- func OpenRouterImages() ai.ImagesProvider
- type AuthKind
- type Provider
- func AmazonBedrock() Provider
- func Anthropic() Provider
- func AzureOpenAIResponses() Provider
- func Get(id ai.ProviderID) (Provider, bool)
- func GitHubCopilot() Provider
- func Google() Provider
- func GoogleVertex() Provider
- func KimiCoding() Provider
- func List() []Provider
- func Mistral() Provider
- func OpenAI() Provider
- func OpenAICodex() Provider
- func OpenRouter() Provider
- func XAI() Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuiltinImagesModels ¶
func BuiltinImagesModels(options ...ai.ImagesModelsOptions) ai.MutableImagesModels
func BuiltinImagesProviders ¶
func BuiltinImagesProviders() []ai.ImagesProvider
func OpenRouterImages ¶
func OpenRouterImages() ai.ImagesProvider
Types ¶
type AuthKind ¶
type AuthKind string
const AuthAPIKey AuthKind = "api_key"
const AuthOAuth AuthKind = "oauth"
type Provider ¶
type Provider struct {
ID ai.ProviderID
Name string
API ai.API
APIs []ai.API
BaseURL string
Auth AuthKind
OAuth bool
Env []string
// APIKeyEnv is the subset of Env whose value is request authentication.
// The remaining names configure ambient credentials or provider endpoints.
APIKeyEnv []string
Methods auth.ProviderAuth
}
func AmazonBedrock ¶
func AmazonBedrock() Provider
func AzureOpenAIResponses ¶
func AzureOpenAIResponses() Provider
func GitHubCopilot ¶
func GitHubCopilot() Provider
func GoogleVertex ¶
func GoogleVertex() Provider
func KimiCoding ¶
func KimiCoding() Provider
func OpenAICodex ¶
func OpenAICodex() Provider
func OpenRouter ¶
func OpenRouter() Provider
Source Files
¶
Click to show internal directories.
Click to hide internal directories.