Two adults and four children were able to get out with minor injuries after being alerted by smoke detectors.