Filter: classifai_openai_dalle_max_prompt_chars

apply_filters( 'classifai_openai_dalle_max_prompt_chars', $model ) → {int}

Filter the max number of characters the prompt can have.

Useful if you want to change to a different model that has a different maximum.

Parameters:
Name Type Description
$model int

The default maximum prompt characters.

Since:
  • 3.4.0
Source:
Returns:

The maximum prompt characters.

Type
int