Python
The Python API can be installed using pip and is also included in the server installation.
Install with pip:
pip install diffusionTo install a specific version:
pip install diffusion==6.13.0
You can also download the SDK as a zipped WHL package:
https://download.diffusiondata.com/clients/6.13.0/python/diffusion-python-6.13.0.zip
If installing from this downloaded wheel, you will need to download a platform-specific 'diffusion-core' binary wheel as well.
It will be one of the following:
OSX:
https://download.diffusiondata.com/clients/6.13.0/python/diffusion-python-core-osx-0.2.2.zipWindows:
https://download.diffusiondata.com/clients/6.13.0/python/diffusion-python-core-windows-0.2.2.zipLinux:
https://download.diffusiondata.com/clients/6.13.0/python/diffusion-python-core-linux-0.2.2.zip
Extract both the client and core zip files.
You can then install with the command:
pip install {location of the client wheel} --find-links {directory containing unzipped 'diffusion-core' wheel}
Supported interpreters:
- CPython 3.10
- CPython 3.11
- CPython 3.12
- CPython 3.13
- CPython 3.14
Supported platforms:
- macOS 10.15 or later (Intel)
- macOS 11 or later (Apple silicon)
- Windows 64-bit (x86-64)
- Linux x86-64 distributions supported by the manylinux_2_28 binary wheel standard (glibc 2.28 or later)
We recommend using the newest available patch release.