You must take your ND Driver's license photo at the DOT office. When you take your photo, you should make sure that you wear what you would wear normally. It's extremely important that your face is clearly shown and recognizable. Look straight at the camera and do not smile, as a resting face is easier to identify.
When you apply for your ND Learner's Permit, you will need to bring proof of your name, your date of birth and your lawful presence in North Dakota. You can find a list of acceptable versions of these documents by visiting this website: http://www.dot.nd.gov/divisions/driverslicense/dlinfo.htm
Typically ND DOT offices accept applications from people 15 years old or older, but North Dakota does occasionally allow applicants, who are 14, to obtain a ND Learner's Permit. You should contact your local DOT office to see if you qualify.