> For the complete documentation index, see [llms.txt](https://doc.celantur.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.celantur.com/cloud-api/examples.md).

# Examples

Examples to use Celantur Cloud API

## Ready-to-use sample script

Get started by using the linked sample script.

<https://github.com/celantur/celantur-examples/blob/main/cloud-api/cloud-api-v2-client.py>

{% code title="Usage" overflow="wrap" %}

```bash
cloud-api-v2-client.py -i input-folder -o output-folder -u "username" -p "password" -c configuration.json
```

{% endcode %}

The script processes images in the input folder. Tasks are configured via properties in the `configuration.json` file. For reference, see [API Endpoints](/cloud-api/api-endpoints.md#create-anonymization-task).

{% code title="configuration.json (image)" %}

```json
{
    "anonymization_method": "blur",
    "face": true,
    "license-plate": true
}
```

{% endcode %}

{% code title="configuration.json (video)" %}

```json
{
    "anonymization-method": "blur",
    "face": true,
    "license-plate": true,
    "keep-bit-rate": true,
    "no-object-tracking": false
}
```

{% endcode %}

`keep-bit-rate` and `no-object-tracking` apply to videos only and are ignored for images. See [Object Tracking](/container/usage/object-tracking.md) and [API Endpoints](/cloud-api/api-endpoints.md#create-anonymization-task).
