ReleaseReplicateReplicatepublished Jun 9, 2025seen 5d

replicate/replicate-python 1.1.0b1

replicate/replicate-python

Open original ↗

Captured source

source ↗
published Jun 9, 2025seen 5dcaptured 17hhttp 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.webp

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

  • Switch to using uv for 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/10

Routine beta release of client library