pip install replicate and configure your Replicate credentials, as described in the Working with Replicate tutorial.
View source on GitHub
UDFs
run() udf
Run a model on Replicate.
For additional details, see: https://replicate.com/docs/topics/models/run-a-model
Request throttling: Applies the rate limit set in the config (section replicate, key rate_limit). If no rate limit is configured, uses a default of 600 RPM.
Requirements:
pip install replicate
input(Json): The input parameters for the model.ref(String): The name of the model to run.
- Json: The output of the model.
meta/meta-llama-3-8b-instruct to an existing Pixeltable column tbl.prompt of the table tbl:
black-forest-labs/flux-schnell to generate images from an existing Pixeltable column tbl.prompt: