Dark energy, spatial curvature, and star formation efficiency from JWST photometric and spectroscopic high-redshift galaxies | Synapse