flux

package
v0.0.0-...-900d3d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FluxSchnell string = "black-forest-labs/flux-schnell"
	FluxDev     string = "black-forest-labs/flux-dev"
	FluxPro     string = "black-forest-labs/flux-pro"

	FluxPro11      string = "black-forest-labs/flux-1.1-pro"
	FluxProUltra11 string = "black-forest-labs/flux-1.1-pro-ultra"
)

Variables

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
	*replicate.Client
	// contains filtered or unexported fields
}

func NewRenderer

func NewRenderer(model string, options ...replicate.Option) (*Renderer, error)

func (*Renderer) Render

func (r *Renderer) Render(ctx context.Context, prompt string, options *provider.RenderOptions) (*provider.Image, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL