The Miami-based rapper also wrote and performed an original song for the film.

The Miami-based rapper also wrote and performed an original song, "Amore," for the movie's end credits. Gotti, directed by Kevin Connolly (Entourage), will make its world premiere May 15 during a private screening at the Cannes Film Festival.

When Travolta learned that Pitbull, aka Armando Christian Perez, was interested in becoming involved in Gotti, the actor quickly embraced the idea.

“Music has played an integral part in the success of some of my biggest films, and Armando is one of the most electric talents in the music industry today," Travolta said in a statement. "Everything about him — his style, creativity and culture — make his scoring of Gotti the perfect marriage of the artist and the material.”

Added Pitbull, "It's a true honor to be involved with this project and working with icon John Travolta on the legendary story of Gotti. By default, we were underdogs in our own right and found ways to survive against all odds.”

Born in Miami — his parents were Cuban expatriates — Pitbull's body of work spans rap, reggae, hip-hop, pop, rock and dance. He has collaborated with Jennifer Lopez, Usher, Marc Anthony, Enrique Iglesias, Leona Lewis and Shakira, among others.

While Gotti marks Pitbull's debut as a film composer, it's not the first time he has written a song for a movie. He wrote and recorded the theme song for Men in Black 3, "Back in Time."

Sunrider Productions and Vertical Entertainment will release Gotti nationwide on June 15. Last week, Travolta traveled to CinemaCon in Las Vegas to meet personally with theater owners, who gather every year on the Strip for their annual convention.

"Amore" is scheduled to be released as a single before the film hits theaters.