replicate/replicate-python 1.1.0b1
replicate/replicate-python
Captured source
source ↗published Jun 9, 2025seen 5dcaptured 9hhttp 200method plain
1.1.0b1
Repository: replicate/replicate-python
Tag: 1.1.0b1
Published: 2025-06-09T21:23:43Z
Prerelease: yes
Release notes:
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.webpCheck out the README.md on the beta branch for more details.
- Switch to using
uvfor project tooling by @aron in https://github.com/replicate/replicate-python/pull/437 - Add experimental
replicate.use()function by @aron in https://github.com/replicate/replicate-python/pull/438
Full Changelog: https://github.com/replicate/replicate-python/compare/1.0.7...1.1.0b1
Notability
notability 2.0/10Routine beta release of client library