For the most part, visas must be obtained outside of the country. The STV can only be obtained at a Thai embassy in your home country or country of legal residence. Use the Thai embassy in NYC and submit an application online.
********************************************************************