[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/php-ai-client/src/Providers/Models/SpeechGeneration/Contracts/ -> SpeechGenerationModelInterface.php (summary)

(no description)

File Size: 26 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SpeechGenerationModelInterface:: (1 method):
  generateSpeechResult()


Interface: SpeechGenerationModelInterface  - X-Ref

Interface for models that support speech generation.

Provides synchronous methods for generating speech from prompts.

generateSpeechResult(array $prompt)   X-Ref
Generates speech from a prompt.

return: GenerativeAiResult Result containing generated speech audio.
param: list<Message> $prompt Array of messages containing the speech generation prompt.



Generated : Sat Jun 13 09:38:55 2026 Cross-referenced by PHPXref