This question already has an answer here:

I am from India and I am going to study in Germany for 1 year. I want to apply for us visa from Germany as i do not have time in India . Will i be able to apply or i have to come back to India to apply?

marked as duplicate by phoog usa Jul 25 at 12:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.