Iranian President Masoud Pezeshkian has said Iran will pursue negotiations with the US after requests from "friendly governments in the region" to respond to a US proposal for talks.

In a statement on X, Pezeshkian said he had told Iran's Minister of Foreign Affairs Abbas Araghchi to pursue talks "provided that a suitable environment exists - one free from threats and unreasonable expectations".

The Iranian president's words come after the country's supreme leader Ayatollah Ali Khamenei warned any attack on Iran would spark a regional conflict.

US President Donald Trump has threatened to intervene in Iran over its nuclear ambitions and deadly crackdown on protesters, building up forces nearby.

"These negotiations shall be conducted within the framework of our national interests", Pezeshkian added.