What are the requirements for applying for an American visa in a different place?

When applying for an American visa in a different place, it is best to prove to the visa officer your residence certificate and work certificate in a different place (preferably for more than half a year), otherwise it is best to go back to the place where you registered, because applying for an American visa requires an interview, and the interviewer may ask you why you don't apply at your domicile or choose to apply in a different place. If you can't get a good answer, your visa application may also be affected. /zd/ym