Gyanasai, born to Ramanappa and Saraswati from Chittoor district, has been suffering from a rare liver disease known as biliary atresia, since her birth, a state government release said.
"The parents could not bear the huge cost of treatment for the disease and they approached a court in Chittoor district seeking mercy killing for the baby as they were unable to see her pain," it said.
State Health Minister Kamineni Srinivas took up the matter with Chief Minister N Chandrababu Naidu, who announced that help would be provided to the child from the Chief Minister's Relief Fund.
Officials have completed all arrangements for the surgery to be performed in Chennai, it said.