Let $\mathbb{H}^n_K$ denote the set of points of the hyperboloid model, which models the hyperbolic space with sectional curvature $K<0$. So
$$ \mathbb{H}^n_K=\left\{x\in\mathbb{R}^{n+1} \,\middle|\, \langle x,x\rangle_*=\frac{1}{K} \,\land\,x_1>0\right\} $$
where $\langle x,y\rangle_*=-x_1y_1+\sum_{i=2}^{n+1}x_iy_i$ denotes the Lorentz inner product.
Question: How do you derive the metric tensor $g$ for any sectional curvature $K$?
My solution so far:
The first coefficient of a point $\mathbf{x}$ on the manifold is a function of the remaining coefficients:
$$ \mathbf{x}=(x_1,\underbrace{x_2,\ldots, x_{n+1}}_{=\mathbf{x'}})\in\mathbb{H}^n_K \Longleftrightarrow x_1=\sqrt{||\mathbf{x'}||_2^2-\frac{1}{K}}. $$
So a point $\mathbf{x}\in\mathbb{H}^n_K$ is given as a function of $n$ parameters: $$ \mathbf{x}(\underbrace{u_1,\ldots,u_n}_{=\mathbf{u}}) = \left( \underbrace{\sqrt{||\mathbf{u}||_2^2-\frac{1}{K}}}_{x_1}, \overbrace{\underbrace{u_1}_{x_2}, \ldots,\underbrace{u_i}_{x_{(i+1)}},\ldots, \underbrace{u_n}_{x_{n+1}}}^{=\mathbf{x'}}\right)^T \in\mathbb{H}^n_K. $$
Now, a set of tangent vectors $\{\mathbf{x}_1,\ldots,\mathbf{x}_n\}$ spanning the tangent space $\mathcal{T}_{\mathbf{x}}\mathbb{H}^n_K$ is given by $$ \mathbf{x}_i(u_1,\ldots,u_n) := \frac{\partial \mathbf{x}}{\partial u_i} = \left( \frac{u_i}{\sqrt{||\mathbf{u}||_2^2-\frac{1}{K}}}, 0,\ldots,0,\underbrace{1}_{(i+1)\text{th index}},0,\ldots,0 \right)^T\in\mathbb{R}^{n+1}. $$
Indeed, one can see that $\langle\mathbf{x},\mathbf{x}_i\rangle_{*}=-u_i+u_i=0$ as we require from a tangent vector $\mathbf{x}_i$.
Now, the coefficients of the first fundamental form for the basis $\{\mathbf{x}_1,...,\mathbf{x}_n\}$ of the tangent space are given by:
$$ g_{ij}(\mathbf{x}) = \langle\mathbf{x}_i,\mathbf{x}_j\rangle_{*} = \frac{-x_{i+1}x_{j+1}}{||\mathbf{x}'||_2^2-\frac{1}{K}} + \delta_{ij} $$
Note that use the Lorentz inner product here, because the intrinsic hyberbolic geometry is induced by the extrinsic Lorentzian geometry.
For convenience, we'll define: $$ \mathbf{g}(\mathbf{x}) = \begin{pmatrix} g_{11}(\mathbf{x}) & \cdots & g_{1n}(\mathbf{x})\\ \vdots & \ddots & \vdots\\ g_{n1}(\mathbf{x}) & \cdots & g_{nn}(\mathbf{x})\\ \end{pmatrix}\in\mathbb{R}^{n\times n}. $$