Four lineages
One goddess, told four ways.
These are sacred narratives, not a historical family record. Different texts tell different stories, and each tradition holds its own as true. Her place in each tree is highlighted.
I
Vedic: the mother of rivers
Ṛgveda 1.13.9 · 2.41.16 · 6.61
The Ṛgveda names no parents for her, apart from one epithet, Pāvīravī, “daughter of lightning” (6.49.7). She is a mighty river and a goddess, praised as “best of mothers, best of rivers, best of goddesses”. She is invoked with two sister goddesses, Iḷā and Mahī (also called Bhāratī), as the three goddesses who bring joy. Later Vedic texts identify her with Vāk, speech itself.
II
Purāṇic: daughter and consort of Brahmā
Matsya Purāṇa and other Purāṇas
The most widely told account. When Brahmā began creation, Sarasvatī arose from him, from his mind or his mouth, as the power of knowledge and speech that creation needs. She becomes his consort and Śakti, his own power, not separate from him. The Matsya Purāṇa also calls her Śatarūpā, Sāvitrī and Gāyatrī, and names Svāyambhuva Manu, the first ancestor of humankind, as born of them.
III
Śākta: born of the great Devī
Devī Māhātmya · Prādhānika Rahasya
In the Śākta tradition the supreme Goddess, Mahālakṣmī, brings forth Mahākālī and Mahāsarasvatī. Each then creates a pair: from Mahālakṣmī, Brahmā and Lakṣmī; from Mahākālī, Rudra and Sarasvatī; from Mahāsarasvatī, Viṣṇu and Gaurī. The Goddess then gives Sarasvatī to Brahmā, Lakṣmī to Viṣṇu and Gaurī to Rudra, so that each god has his Śakti.
IV
Vaiṣṇava: from the mouth of Kṛṣṇa
Brahmavaivarta Purāṇa
In the Brahmavaivarta Purāṇa, Sarasvatī emerges from the mouth of Kṛṣṇa, the Supreme. She dwells with Nārāyaṇa beside Lakṣmī and Gaṅgā. After a quarrel and a curse, part of her descends to earth as the river Sarasvatī, and she abides with Brahmā as his consort.