WordPress\AiClient\Builders

PromptBuilder::isSupportedForImageGeneration │ public │ WP 0.1.0

Checks if the prompt is supported for image generation.

Method of the class: PromptBuilder{}

No Hooks.

Returns

bool. True if image generation is supported.

Usage

$PromptBuilder = new PromptBuilder();
$PromptBuilder->isSupportedForImageGeneration(): bool;

Changelog

Since 0.1.0 Introduced.

PromptBuilder::isSupportedForImageGeneration() code WP 7.1.2

public function isSupportedForImageGeneration(): bool
{
    return $this->isSupported(CapabilityEnum::imageGeneration());
}