WordPress\AiClient\Builders
PromptBuilder::isSupportedForImageGeneration
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() PromptBuilder::isSupportedForImageGeneration WP 7.1.4
public function isSupportedForImageGeneration(): bool
{
return $this->isSupported(CapabilityEnum::imageGeneration());
}