| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare (strict_types=1); 4 namespace WordPress\AiClient\Providers\Models\ImageGeneration\Contracts; 5 6 use WordPress\AiClient\Messages\DTO\Message; 7 use WordPress\AiClient\Operations\DTO\GenerativeAiOperation; 8 /** 9 * Interface for models that support asynchronous image generation operations. 10 * 11 * Provides methods for initiating long-running image generation tasks. 12 * 13 * @since 0.1.0 14 */ 15 interface ImageGenerationOperationModelInterface 16 { 17 /** 18 * Creates an image generation operation. 19 * 20 * @since 0.1.0 21 * 22 * @param list<Message> $prompt Array of messages containing the image generation prompt. 23 * @return GenerativeAiOperation The initiated image generation operation. 24 */ 25 public function generateImageOperation(array $prompt): GenerativeAiOperation; 26 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |