> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gradium.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing Input Text

> Get the best results for dates, numbers, money, times and abbreviations

You'll get the best results by writing text the way it should be spoken.
Some written forms can be read more than one way; the forms below are read
the way you mean them. These tips apply to every TTS endpoint (WebSocket,
REST and the SDKs). For pauses, see
[Flushing and Pauses](https://docs.gradium.ai/guides/text-to-speech.md#flushing-and-pauses).

Leave `<flush>` and `<break time="…" />` tags as they are: the tips below
apply to the text around them.

## Quick checklist

For the best results, rewrite these forms before sending. The sections below
give the details.

| For best results, write | Instead of | Example |
| - | - | - |
| The month as a word | A numeric date with no year (`9/14`) | Your order ships on September 14th. |
| The number format of the text's language | A thousands separator from another language (`1,250` in a German text) | Die Rechnung beträgt 1.250 €. |
| The word for percent | `%` | You get 15 percent off your next order. |
| The time as people say it | A time the language does not use (`15:00` in English, `3:30 p. m.` in Spanish) | Your appointment is at 3 p.m. on Monday. |
| The full name, or the acronym without dots | Acronyms with dots (`E.A.U.`) | Nous livrons aux Émirats arabes unis. |
| Duration units as words | Short forms (`3h 20m`) | The flight takes 3 hours 20 minutes. |
| The word for the symbol | `=` or `×` between numbers or words | 4 times 5 equals 20. |
| The web address without its query string | A query string (`?ref=app`) | You can track your order on example.com/orders. |

## Dates

The month as a word with a 4-digit year reads correctly in every language: "March 3rd, 2026", "14 de septiembre de 2026". For numeric
dates, always include the year and use the order of the text's language:

* **English**: write `mm/dd/yyyy` with slashes ("03/14/2026"). Numeric dates
  are read month first (US order), so a day-first date such as "03/04/80"
  meant as 3 April is read as March 4th. Use a 4-digit year, because a
  2-digit year can be read in the wrong century ("44" as 2044). Use slashes
  rather than dashes: in our tests, dashed dates were sometimes read day
  first ("03-04-2026" as April 3rd), and with a 2-digit year they were read
  erratically.
* **German, French, Spanish and Portuguese**: write "14/09/2026" or
  "14.09.2026", which are read day first. ISO dates ("2026-09-14") also work
  well.
* **No year**: write the month as a word ("September 14th",
  "14 de septiembre") rather than numbers only ("9/14", "14/09").

English examples:

| For best results, write | Instead of |
| - | - |
| March 20th, 1944 | 03/20/44 (can be read as 2044) |
| April 3rd, 1980 | 03/04/80 (read as March 4th) |
| January 14 | 1/14 |
| March 5 | 3/5 |
| March 14th, 2015 | 03-14-15 |
| May 2029 | 05/29 (card expiry) |

## Numbers, money and times

* **Amounts**: use the number format of the text's language (table below).
  In German, French, Spanish and Portuguese the comma is a decimal mark, so
  write "1.250" or "1 250" there, not "1,250", which can be read as 1.25.
  Currency symbols work well, before or after the amount as the language
  writes them. For large round amounts, write the currency as a word
  ("11 million pounds" rather than "£11 million").
* **Percentages**: write the word ("12 percent", "12 Prozent",
  "12 pour cent", "12 por ciento", "12 por cento").
* **Times**: write the time the way the language says it (table below).
* **Durations**: write the units as words ("3 hours 20 minutes",
  "3 Stunden 20 Minuten", "3 heures 20 minutes", "3 horas e 20 minutos").
* **Phone numbers**: write them in groups, as the country writes them
  ("06 12 34 56 78"), with `+` and the country code first, rather than as
  one run of digits.

| Language | Thousands | Decimal | Amount | Time |
| - | - | - | - | - |
| English | `,` | `.` | \$1,250.50 | 3 p.m., 3:30 p.m. |
| German | `.` | `,` | 1.250,50 € | 15 Uhr, 15:30 Uhr |
| French | space | `,` | 1 250,50 € | 14h, 14h30 |
| Spanish | `.` | `,` | 1.250,50 € | 15:30, 21:15 |
| Portuguese | `.` | `,` | 1.250,50 € | 15h, 7h30 |

| For best results, write | Instead of |
| - | - |
| 3.450 Dollar (German) | \$3,450 |
| un 12 por ciento de descuento (Spanish) | un 12 % de descuento |
| 20 Prozent Rabatt (German) | 20 % Rabatt |
| a las 21:15 (Spanish) | a las 9:15 p. m. |
| at 3 p.m. | at 15:00 |
| 3 hours 20 minutes | 3h 20m |

## Abbreviations, acronyms and symbols

* **Abbreviations**: write them out, in the words of the text's language
  ("Street", "zum Beispiel", "señora", "Estados Unidos"). This helps most
  with those that can be read as another word, such as "St." (Street or
  Saint) and "Dr." after a street name (Drive or Doctor), and with "Fri.",
  "ext.", "i.e.", "z. B.", "Avda.", "Dra.", "Sr.", "Sra." and "EE.UU.".
* **Acronyms**: write them without dots ("EAU" rather than "E.A.U."), or
  write the full name. "a.m." and "p.m." in English times work well.
* **Roman numerals** are usually read correctly. Write the number when the
  letters could also be read as a word or a code ("XX", "IIe").
* **Symbols**: write `=` and `×` as words ("equals", "times"). Do the same
  for `*` and `~` ("times", "about"): "about 20 euros" rather than "\~20 €".
* **Web addresses**: drop the query string (everything from `?`). A bare
  domain or a one-word path ("example.com/help") works best; for a longer
  path, keep the domain and the first path word.

| For best results, write | Instead of |
| - | - |
| 12 Main Street | 12 Main St. |
| 40 Oakwood Drive | 40 Oakwood Dr. |
| Friday at noon | Fri. at noon |
| extension 204 | ext. 204 |
| the fee, that is the total | the fee, i.e. the total |
| zum Beispiel morgen (German) | z. B. morgen |
| Avenida del Mar 8 (Spanish) | Avda. del Mar 8 |
| la doctora Ortega (Spanish) | la Dra. Ortega |
| en Estados Unidos (Spanish) | en EE.UU. |
| aux Émirats arabes unis (French) | aux E.A.U. |
| 4 times 5 equals 20 | 4 × 5 = 20 |
| example.com/help | example.com/help?ref=app\&id=7 |

## Before and after

One example per language. The rewrite keeps the meaning and changes only
the forms in the checklist above.

| Language | Before | After |
| - | - | - |
| English | The clinic on Birch St. opens at 15:00 from 9/14. The fee is \$1,250.50, see example.com/help?ref=app. | The clinic on Birch Street opens at 3 p.m. from September 14th. The fee is \$1,250.50, see example.com/help. |
| German | Der Termin ist am 14.09.2026 um 15:30 Uhr. Die Kosten betragen 1,250 €, mit 20 % Rabatt für Stammkunden. Mehr unter example.de/hilfe?id=7. | Der Termin ist am 14.09.2026 um 15:30 Uhr. Die Kosten betragen 1.250 €, mit 20 Prozent Rabatt für Stammkunden. Mehr unter example.de/hilfe. |
| Spanish | La cita con la Dra. Ortega es el 14/09 a las 3:30 p. m., en la Avda. del Sol. Hay un 15 % de descuento. | La cita con la doctora Ortega es el 14 de septiembre a las 15:30, en la Avenida del Sol. Hay un 15 por ciento de descuento. |
| French | Rendez-vous le 14/09/2026 à 14h30. Le prix est de 1,250.50 €, soit 15 % de moins. Détails sur exemple.fr/aide?id=7. | Rendez-vous le 14/09/2026 à 14h30. Le prix est de 1 250,50 €, soit 15 pour cent de moins. Détails sur exemple.fr/aide. |
| Portuguese | A consulta é a 14/09/2026, às 7:30 a. m. O valor é 850 reais. | A consulta é a 14/09/2026, às 7h30. O valor é 850 reais. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.