Skip to main content

Filter: classifai_openai_text_to_speech_request_body

Filter the request body before sending to OpenAI.

Parameters

NameTypeDescription
$request_bodyarrayThe request body that will be sent to OpenAI.
$post_idintPost ID.
$post_contentstringPost content.

Since

  • 3.7.1

Source

Defined in includes/Classifai/Providers/OpenAI/TextToSpeech.php at line 414

Returns

The filtered request body.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.