WordPress\AiClient\Builders

PromptBuilder::isSupportedForImageGeneration │ public │ WP 0.1.0

Checks if the prompt is supported for image generation.

Метод класса: PromptBuilder{}

Хуков нет.

Возвращает

bool. True if image generation is supported.

Использование

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

Список изменений

С версии 0.1.0 Введена.

Код PromptBuilder::isSupportedForImageGeneration() WP 7.1.4

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