Ten people are in hospital after shots were fired overnight in the Moss Side area of Manchester.
Police have said they are treating the incident as attempted murder.
Two children are among those with “pellet-type wounds” and one man is in a serious but stable condition with leg injuries, police have said.
The nine people with pellet injuries are expected to leave hospital later today.
“A large number” of armed and unarmed officers were on the scene at Claremont Road after a series of “bangs” were reported 2.25am.
Manchester Caribbean Carnival had brought large groups of people to the area, with several after-parties understood to have taken place in Claremont Road.
The carnival – which this year is celebrating the 70th anniversary of the Windrush generation – will go ahead as planned on Sunday.
Festival organiser Mike Bisson called the shooting “an isolated incident” and said it had “nothing to do with the carnival”.
Chief Superintendent Wasim Chaudhry, from Greater Manchester Police, called the shooting “a reckless act that could have had devastating consequences”.
He added: “Guns have no place on our streets and we want to assure you we are doing everything we can to find the person or people responsible.”
Moss Side is about two miles out of Manchester city centre
Councillor Pat Karney highlighted the community spirit in the area, saying: “It’s an individual, an idiot, who was messing around with a firearm and you can’t tar a whole community because of some idiotic behaviour.”
He also said the man who had suffered a leg injury was understood to have broken his limb while “attempting to flee the incident”.
Claremont Road runs for about two miles through Moss Side.
The area has numerous gang territories and has long had problems connected with drugs and gun violence.
Detective Superintendent Debbie Dooley said: “We currently have a number of people in hospital all being treated for different injuries but thankfully most do not appear to be life-threatening at this time.
“Officers are trying to establish exactly where this incident took place and who is responsible for such a dangerous attack.”
Police say they are looking at CCTV to find out how events unfolded
Officers and forensic experts are now on the scene.
Superintendent Dooley said: “The area is being searched and examined while we are also trying to speak to as many people as possible and are reviewing CCTV to get all the facts.”