Generation of light with desirable amplitude and phase profiles with nonlinear wavefront shaping is important for optical technologies. Here, the authors demonstrate nonlinear wavefront shaping with three-dimensional nonlinear photonic crystals formed by ultrafast-light-induced ferroelectric domain inversion approach.