Skip to content

Class swarmauri_core.image_gens.IGenImage.IGenImage

swarmauri_core.image_gens.IGenImage.IGenImage

Bases: ABC

Interface focusing on the basic properties and settings essential for defining image generating models.

generate_image abstractmethod

generate_image(*args, **kwargs)

Generate images based on the input data provided to the model.

Source code in swarmauri_core/image_gens/IGenImage.py
 9
10
11
12
13
14
@abstractmethod
def generate_image(self, *args, **kwargs) -> any:
    """
    Generate images based on the input data provided to the model.
    """
    pass

agenerate_image abstractmethod async

agenerate_image(*args, **kwargs)

Generate images based on the input data provided to the model.

Source code in swarmauri_core/image_gens/IGenImage.py
16
17
18
19
20
21
@abstractmethod
async def agenerate_image(self, *args, **kwargs) -> any:
    """
    Generate images based on the input data provided to the model.
    """
    pass

batch_generate abstractmethod

batch_generate(*args, **kwargs)

Generate images based on the input data provided to the model.

Source code in swarmauri_core/image_gens/IGenImage.py
23
24
25
26
27
28
@abstractmethod
def batch_generate(self, *args, **kwargs) -> any:
    """
    Generate images based on the input data provided to the model.
    """
    pass

abatch_generate abstractmethod async

abatch_generate(*args, **kwargs)

Generate images based on the input data provided to the model.

Source code in swarmauri_core/image_gens/IGenImage.py
30
31
32
33
34
35
@abstractmethod
async def abatch_generate(self, *args, **kwargs) -> any:
    """
    Generate images based on the input data provided to the model.
    """
    pass