Skip to content

1.1.0b1

Pre-release
Pre-release

Choose a tag to compare

@aron aron released this 09 Jun 21:23
· 1 commit to main since this release

What's Changed

The main change in 1.1.0b1 is the introduction of a new experimental replicate.use() function intended to eventually replace replicate.run(). This provides a more expressive function-like interface for calling models.

import replicate

flux_dev = replicate.use("black-forest-labs/flux-dev")
outputs = flux_dev(prompt="a cat wearing an amusing hat")

for output in outputs:
    print(output) # /tmp/output.webp

Check out the README.md on the beta branch for more details.

  • Switch to using uv for project tooling by @aron in #437
  • Add experimental replicate.use() function by @aron in #438

Full Changelog: 1.0.7...1.1.0b1