| [ 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\TextToSpeechConversion\Contracts; 5 6 use WordPress\AiClient\Messages\DTO\Message; 7 use WordPress\AiClient\Operations\DTO\GenerativeAiOperation; 8 /** 9 * Interface for models that support asynchronous text-to-speech conversion operations. 10 * 11 * Provides methods for initiating long-running text-to-speech conversion tasks. 12 * 13 * @since 0.1.0 14 */ 15 interface TextToSpeechConversionOperationModelInterface 16 { 17 /** 18 * Creates a text-to-speech conversion operation. 19 * 20 * @since 0.1.0 21 * 22 * @param list<Message> $prompt Array of messages containing the text to convert to speech. 23 * @return GenerativeAiOperation The initiated text-to-speech conversion operation. 24 */ 25 public function convertTextToSpeechOperation(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 |