CoreFiles by mySites.guru
VideoGenerationOperationModelInterface.php26 lines, 797 bytes, from wordpress-7.1.zip
Raw History Compare with 7.0.8
md5
9e56cfb680ce8851d71c2f1400f0a236
sha1
28c86b3b7009e3d39fd552718ec7eb8e6530d1aa
sha256
8681d087b8c318584791b81308e556748e173accec81c1047229efd21d331bd7
<?php

declare (strict_types=1);
namespace WordPress\AiClient\Providers\Models\VideoGeneration\Contracts;

use WordPress\AiClient\Messages\DTO\Message;
use WordPress\AiClient\Operations\DTO\GenerativeAiOperation;
/**
 * Interface for models that support asynchronous video generation operations.
 *
 * Provides methods for initiating long-running video generation tasks.
 *
 * @since 1.3.0
 */
interface VideoGenerationOperationModelInterface
{
    /**
     * Creates a video generation operation.
     *
     * @since 1.3.0
     *
     * @param list<Message> $prompt Array of messages containing the video generation prompt.
     * @return GenerativeAiOperation The initiated video generation operation.
     */
    public function generateVideoOperation(array $prompt): GenerativeAiOperation;
}

The same content is in 37 releases, WordPress 7.0-beta5 to 7.2-RC1. See them all, or every version of this file.