Any marriage solemnised in India is desired to be registered in India on the basis of Indian citizenship, that has to be registered under the Foreign marriages act by following the prescribed procedures laid down in it.
However a marriage certificate obtained in US for the marriage solemnised in US is very much valid in India too.
In my opinion even if your marriage is solemnised in the Indian consulate it is a foreign marriage as far as Indian laws are concerned. You may check this up and confirm.
The provisions of Foreign marriage act, 1969, the following are furnished for your information:
Marriage Officers.—For the purposes of this Act, the Central Government may, by notification in the Official Gazette, appoint such of its diplomatic or consular officers as it may think fit to be Marriage Officers for any foreign country. Explanation.—In this section, "diplomatic officer" means an ambassador, envoy, minister, high commissioner, commissioner, charge d' affairs or other diplomatic representative or a counsellor or secretary of an embassy, legation or high commission.
4. Conditions relating to solemnization of foreign marriages.—A marriage between parties one of whom at least is a citizen of India may be solemnized under this Act by or before a Marriage Officer in a foreign country, if, at the time of the marriage, the following conditions are fulfilled, namely:—
(a) neither party has a spouse living,
(b) neither party is an idiot or a lunatic,
(c) the bridegroom has completed the age of twenty one years and the bride the age of eighteen years at the time of the marriage, and
(d) the parties are not within the degrees of prohibited relationship: Provided that where the personal law or a custom governing at least one of the parties permits of a marriage between them, such marriage may be solemnized, notwithstanding that they are within the degree of prohibited relationship.
Besides above, there are other formalities to be followed in this regard.