{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/3"}],"enrichment":{"capability":"A Python client for running machine learning models on Replicate's API, supporting synchronous and asynchronous execution, file streaming, and webhook-based background jobs.","skillfed_tags":["ml-inference","async-ready","api-client"],"use_cases":["Generate images by running text-to-image models like Flux or Stable Diffusion with a single replicate.run() call.","Stream tokens from large language models in real time using replicate.stream() for interactive chatbot or text-generation applications.","Run multiple model predictions concurrently using async_run() within an asyncio context for batch processing workflows.","Start long-running predictions in the background and receive webhook notifications when they complete instead of blocking.","Process files (images, audio) by passing local file handles or URLs to models that accept file inputs."],"what_it_does":"Replicate is a Python client that connects your code to Replicate's hosted machine learning models via HTTP. It abstracts away API details, letting you run image generation, language models, and other AI tasks with a single function call. The package handles authentication via environment variables, manages prediction lifecycle (starting, polling, streaming), and provides both synchronous and asynchronous interfaces for concurrent workloads.\n\nThe 1.0.0 release introduced a breaking change: model outputs that produce files now return FileOutput objects by default instead of URL strings, offering streaming-like iteration over file content. You can opt out with use_file_output=False if needed. The client supports streaming tokens from language models in real time, running predictions in the background with webhook callbacks, and composing multiple model outputs into pipelines.","worth_installing":"Yes. This is the official Replicate Python client with low install friction, permissive licensing, and no known vulnerabilities. Install it if you need to call Replicate models from Python\u2014it's the standard integration point. Be aware that the project is aging (last commit August 2025) and the 1.0.0 breaking change around FileOutput requires code updates if upgrading from earlier versions."},"id":"replicate","links":{"html":"https://skillfed.io/packages/replicate","md":"https://skillfed.io/packages/replicate.md","pypi":"https://pypi.org/project/replicate/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-05-27","license_spdx":null,"license_treatment":"permissive","name":"replicate","python_support":"supports_current","summary":"Python client for Replicate"},"popularity":{"monthly_downloads":1832814,"position":3509,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.7"}
