Public declaration syntax from forge-go/media/image.go Original source SHA-256: 3584e4211fb55e5467d210dd192a8b6887e96404995072ec57e7bb15d428df12 Function bodies and constant values are omitted. This is not the complete implementation. Source line 8 type ImageFormat string const ( // ImageFormatPNG is the PNG image format. ImageFormatPNG ImageFormat; Source line 22 func (f ImageFormat) MimeType() string Source line 36 func (f ImageFormat) Extension() string Source line 46 type ImageOptions struct Source line 66 type ImageResult struct Source line 89 type ImageProvider interface Source line 122 func GenerateImage(ctx context.Context, provider ImageProvider, prompt string, options ImageOptions) (*ImageResult, error)