Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

796 B
Raw Blame
DEFAULT_BULK_DOWNLOAD_ID = "default"


class BulkDownloadException(Exception):
    """Exception raised when a bulk download fails."""

    def __init__(self, message="Bulk download failed"):
        super().__init__(message)
        self.message = message


class BulkDownloadTargetException(BulkDownloadException):
    """Exception raised when a bulk download target is not found."""

    def __init__(self, message="The bulk download target was not found"):
        super().__init__(message)
        self.message = message


class BulkDownloadParametersException(BulkDownloadException):
    """Exception raised when a bulk download parameter is invalid."""

    def __init__(self, message="No image names or board ID provided"):
        super().__init__(message)
        self.message = message