Add z-image image generation prototype (#13659)

This commit is contained in:
Jeffrey Morgan
2026-01-09 21:09:46 -08:00
committed by GitHub
parent c6d4c0c7f2
commit 2584940016
44 changed files with 6422 additions and 269 deletions

View File

@@ -98,7 +98,7 @@ func main() {
log.Fatal(loadErr)
}
var img *mlx.Array
img, err = m.GenerateFromConfig(&zimage.GenerateConfig{
img, err = m.GenerateFromConfig(context.Background(), &zimage.GenerateConfig{
Prompt: *prompt,
Width: int32(*width),
Height: int32(*height),