replicate-go
replicate-go copied to clipboard
official models should be able to run without version
the model does not seem to have a version
output, err := client.Run(ctx, "black-forest-labs/flux-schnell", inputData, nil)
error: failed to run model: version must be specified
It seems similar to https://github.com/replicate/replicate-go/issues/75
https://replicate.com/black-forest-labs/flux-schnell/examples?input=python API example for python clearly shows that model should simply run without a model version
output = replicate.run(
"black-forest-labs/flux-schnell",
input={
"prompt": "black forest gateau cake spelling out the words \"FLUX SCHNELL\", tasty, food photography, dynamic shot",
"go_fast": True,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"output_quality": 80
}
)
print(output)
to be consistent with other libraries i would expect this library to work the same way.