WordPress\AiClient\Builders
PromptBuilder::isSupportedForVideoGeneration
Checks if the prompt is supported for video generation.
Method of the class: PromptBuilder{}
No Hooks.
Returns
true|false. True if video generation is supported.
Usage
$PromptBuilder = new PromptBuilder(); $PromptBuilder->isSupportedForVideoGeneration(): bool;
Changelog
| Since 0.1.0 | Introduced. |
PromptBuilder::isSupportedForVideoGeneration() PromptBuilder::isSupportedForVideoGeneration code WP 7.0
public function isSupportedForVideoGeneration(): bool
{
return $this->isSupported(CapabilityEnum::videoGeneration());
}