Sieve has many functions available to reference in your code out of the box. Instead of rewriting the code for popular models and building blocks, you can use shared functions in a few lines.

There’s a few ways to run a public function, each of which is outlined on the function’s usage guide.

Here’s a couple examples of running the public sieve/autocrop function:

Make sure you replace your API key with the key from your settings
curl "" \
    -X POST \
    -H "Content-Type: application/json" \
    -H 'X-API-Key: <your-api-key>' \
    -d '{
        "function": "sieve/autocrop",
        "inputs": {
            "file": {
                "url": ""

You should now see your job running in the dashboard where you can visualize outputs. You can also get job outputs via the API.