This paper focus on the problem of reconstructing the time-dependent potential in a class of generalized (including three special cases: the classical/multi-term/distributed order) time-fractional super-diffusion equations with nonlinear sources from a nonlocal integral observation. For such nonlinear equation, we investigate it for both the direct and inverse time-dependent potential problems. For the direct problem, given the time-dependent potential function p(t), we obtain the well-posedness of the corresponding initial–boundary value problem. For the inverse potential problem, by utilizing additional nonlocal measurement data and using the Arzelà–Ascoli theorem and Grönwall’s inequality, we prove the existence and uniqueness of the solution for such nonlinear problem. Meanwhile, we also demonstrate the ill-posedness of the inverse problem. Moreover, to validate the theoretical results, we numerically reconstruct the potential term from Bayesian perspective. Several numerical examples are presented to show the efficiency of the proposed method.