Two Indian courts have dismissed legal bids to delay the release of a biopic on Prime Minister Narendra Modi this Friday, less than a week before the first round of voting begin in India’s general elections.

The Bombay High Court on Monday dismissed a petition by activists demanding a stay on the release of PM Narendra Modi, before voting on the grounds that its screening provided the prime minister with "unfair electoral mileage".

The Delhi High Court too ruled similarly against an appeal that argued the biopic cannot be independent of the political personality on whose name and life the biopic is based, and hence would "unduly" influence voters.

The film's trailer features dramatic music and flag waving as it retells Mr Modi’s journey from a lowly tea seller in western Gujarat state to becoming prime minister in 2014 as head of India’s Hindu nationalist Bharatiya Janata Party (BJP) government.

The two-minute-and-a-half teaser also portrays Mr Modi leading his followers and Indian soldiers in snowy terrain in the Himalayan disputed Kashmir region, before they face a fusillade of bullets from Muslim militants.

“If you strike us again, we’ll strike harder,” Mr Modi says brandishing the Indian flag and yelling “Glory to Mother India”.