Torres who recently had surgery on his right knee after tearing the meniscus, said his recovery had gone "perfectly" and he might take part in Spain's three warm-up friendlies against Saudi Arabia, South Korea and Poland.
"I am in very good shape and happy with how the injury is developing," the 26-year-old said in an interview with Spanish sports daily Marca published on Tuesday.
"I have had two operations since January and that's not easy," he added further.
"Everything was very good with the first and the aim of the second was to be ready within six or seven weeks and I am at the start of the sixth.
"I will do some targeted work for a few more days and, God willing, be at 100 percent for the first match."
Spain will play their opening Group H game against the Switzerland in Durban on June 16 before taking on Honduras in Johannesburg on June 21 and Chile in Pretoria on June 25.