12 CraiyonAPI is a client for the Craiyon AI art generation and search APIs.
13
14 Attributes:
15 Model: A class that contains constants for the available models, such as Art, Drawing, Photo, or NoneType. 16
17 Methods:
18 __init__: Initializes a new instance of the CraiyonAPI class.
93 text (str): The text to search for.
94
95 Returns:
96 List[Tuple[str, str]]: A list of tuples containing the image URL and its description. 97 """
98 payload = {
99 "text": text,
Docstring line lengths are recommended to be no greater than 79 characters.