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.

Parameters

string $prompt
Collection|array $attachments
string|null $size
string|null $quality
Provider|Lab|array|string|null $provider
string|null $model
int|null $timeout
array $providerOptions

at line 37
bool contains(string $string)

Determine if the prompt contains the given string.

Parameters

string $string

Return Value

bool

at line 45
bool isSquare()

Determine if the image generation is square.

Return Value

bool

at line 53
bool isLandscape()

Determine if the image generation is landscape.

Return Value

bool

at line 61
bool isPortrait()

Determine if the image generation is portrait.

Return Value

bool