Filter: classifai_xai_grok_descriptive_text_request_body

apply_filters( 'classifai_xai_grok_descriptive_text_request_body', $body, $post_id ) → {array}

Filter the request body before sending to xAI Grok.

Parameters:
Name Type Description
$body array

Request body that will be sent to xAI Grok.

$post_id int

ID of attachment we are describing.

Since:
  • 3.3.0
Source:
Returns:

Request body.

Type
array