WordPress\AiClient\Providers\Models\VideoGeneration\Contracts

VideoGenerationModelInterface::generateVideoResult │ public │ WP 1.3.0

Generates videos from a prompt.

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

Хуков нет.

Возвращает

GenerativeAiResult. Result containing generated videos.

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

$VideoGenerationModelInterface = new VideoGenerationModelInterface();
$VideoGenerationModelInterface->generateVideoResult( $prompt ): GenerativeAiResult;
$prompt(list) (обязательный)
Array of messages containing the video generation prompt.

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

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

Код VideoGenerationModelInterface::generateVideoResult() WP 7.1.4

public function generateVideoResult(array $prompt): GenerativeAiResult;