QueuedImagePrompt
class QueuedImagePrompt
Properties
| Collection | $attachments |
Methods
__construct(string $prompt, Collection|array $attachments, string|null $size, string|null $quality, Provider|Lab|array|string|null $provider, string|null $model, int|null $timeout = null, array $providerOptions = [])
Create a queued image prompt.
bool
contains(string $string)
Determine if the prompt contains the given string.
bool
isSquare()
Determine if the image generation is square.
bool
isLandscape()
Determine if the image generation is landscape.
bool
isPortrait()
Determine if the image generation is portrait.
Details
at line 21
__construct(string $prompt, Collection|array $attachments, string|null $size, string|null $quality, Provider|Lab|array|string|null $provider, string|null $model, int|null $timeout = null, array $providerOptions = [])
Create a queued image prompt.
at line 37
bool
contains(string $string)
Determine if the prompt contains the given string.
at line 45
bool
isSquare()
Determine if the image generation is square.
at line 53
bool
isLandscape()
Determine if the image generation is landscape.
at line 61
bool
isPortrait()
Determine if the image generation is portrait.