# To speak for a **fixed duration of time** ```{danger} This feature is not available in all characters! (TBD) ``` ```{important} **Related paramters:** * max_seconds: Limits the maximum length of synthesized speech. The range of values are `1` to `60`. Default is `30`. * duration: Define the length of synthesized speech. * model_version ``` If you want the **input text to be spoken for 20 seconds**, you must request as follows: ```bash $ curl \ --request POST \ --url https://typecast.ai/api/speak \ --header "Content-Type: application/json" \ --header "Authorization: Bearer $API_TOKEN" \ --data '{ "text": "My name is Typecast.", "lang": "auto", "actor_id": "${24-letters-your_actor_id}", "duration": 20, "model_version": "latest" }' ```