Pixy is a GenAI plform to generate multi-media resources. This SDK provides a super simple and integrated interface to generate images, videos and subtitles using the Pixy API.
We recommend installing the SDK using pip, easily as below:
pip install pixy-sdk
This SDK can be used in two ways:
-
Naive: Conducting tasks using the
PixyClient
class; this way, operations are simple and straightforward, sacrificing flexibility. -
Advanced: Methods of the
PixyClient
rely on a set of functions, available at theutils
module; using these functions directly increases the flexibility, however this approach can get more complex.
For each module of the SDK, we have prepaired exlusive documentation pages, as below:
-
client
: This module provides thePixyClient
class; if you are considering taking the Naive approach (as described above) to use the SDK, you should start here. -
schemas
: To avoid data validation issues, we define and use custom data classes as schemas; on this page, we go through each of them individually. -
utils
: To provide advanced users with more control over the SDK, the whole functionality of the SDK is also available outside of thePixyClient
class; on this page, we go through each of them individually.