Johansson, who plays Black Widow in Disney-Marvel’s superhero film series, would voice the character of Kaa, a python who hypnotizes and eats animals. Nyong’o would play Rakcha, the wolf who adopts Mowgli, the young protagonist who has yet to be cast.

The film, a live-action hybrid version of the Rudyard Kipling book — which Disney first turned into a 1967 animated feature — was written by Justin Marks and will be directed by Jon Favreau.

Johansson is in the midst of a hot run, voicing the AI character Samantha in the Oscar-winning film “Her,” and then co-starring in the box office champion “Captain America: The Winter Soldier.” She is currently shooting “The Avengers” sequel.