Versions in this module Expand all Collapse all v0 v0.1.1 Feb 18, 2026 v0.1.0 Feb 7, 2026 Changes in this version + const DefaultBaseURL + func AppendQueryParams(baseURL string, params url.Values) (string, error) + func WithClient(ctx context.Context, cl *Client) context.Context + type AutomaticRequest struct + Safe bool + Text string + type AutomaticResponse struct + Confidence float64 + Generator string + URL string + type Client struct + func ClientFromContext(ctx context.Context) *Client + func NewClient(opts ClientOptions) *Client + func (c *Client) Generate(ctx context.Context, req GenerateRequest) (*GenerateResponse, error) + func (c *Client) GenerateAutomatic(ctx context.Context, req AutomaticRequest) (*AutomaticResponse, error) + func (c *Client) GenerateCustom(ctx context.Context, req CustomRequest) (*GenerateResponse, error) + func (c *Client) Get(ctx context.Context, path string) (*http.Response, error) + func (c *Client) GetFont(ctx context.Context, id string) (*Font, error) + func (c *Client) GetTemplate(ctx context.Context, id string) (*Template, error) + func (c *Client) ListFonts(ctx context.Context) ([]Font, error) + func (c *Client) ListTemplates(ctx context.Context, filter string) ([]Template, error) + func (c *Client) Post(ctx context.Context, path string, body io.Reader) (*http.Response, error) + type ClientOptions struct + APIKey string + BaseURL string + UserAgent string + Verbose bool + type CustomRequest struct + Background string + Extension string + Font string + Layout string + Redirect bool + Style string + Text []string + type Error struct + Message string + StatusCode int + func (e *Error) Error() string + type Font struct + Alias *string + Filename string + ID string + Self string + type GenerateRequest struct + Extension string + Font string + Layout string + Redirect bool + Style []string + TemplateID string + Text []string + type GenerateResponse struct + URL string + type Template struct + Blank string + Example struct{ ... } + ID string + Keywords []string + Lines int + Name string + Overlays int + Self string + Source string + Styles []string