Back to Articles

2026-04-13

BrushCue Python API Is Now Available

By Anthony Dito

The BrushCue Python API is now available on PyPI. Install it and start scripting BrushCue workflows from Python.

BrushCue Python API Is Now Available

The BrushCue Python API is here. You can now use BrushCue's image processing capabilities directly from Python — install the package, write a script, and start building.

Getting Started

Install via pip:

pip install brushcue

All of BrushCue's capabilities are exposed via this Python API. Here is a simple example:

import brushcue
from PIL import Image
import io

ctx = brushcue.Context()
c1 = brushcue.composition_monet_women_with_parasol()
c2 = brushcue.composition_grayscale(c1)
result = c2.execute(ctx)
composition = result.as_composition()
data_bytes = composition.to_image_bytes(ctx)
img = Image.open(io.BytesIO(data_bytes))
img

Documentation and Examples

You can check out the documentation here where you will also find a list of examples that contains most of our tools.

Next Steps

We are going to continue adding more examples and capabilities to the API as new features are added to the BrushCue website. The Python API will stay in sync.

If you have anything you would like to see available from Python, please reach out to support@brushcue.com or create an issue on our GitHub repo.