Touch the front of your tongue to the roof of your mouth, then release into a 'zh' position. Add vocal cord vibration.

Americans pronounce generic as juh-NEH-ruhk (/dʒəˈnɛrək/). Stress falls on the second syllable — keep everything else short and quick. You'll hear it in sentences like "He debated between the generic brand and the name brand".
Record yourself saying "generic" and play it back. The mic stays on your device — nothing's uploaded.
3 syllables, 7 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Curl or bunch your tongue without letting the tip touch the roof of your mouth. Brace the sides of your tongue against your upper back teeth, and round your lips slightly.
Relax your lips, jaw, and tongue completely. Drop your jaw slightly and keep the tongue neutral.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

The textbook way isn't wrong — it's just not how anyone actually says it.
In "generic", the "k" is not released — the articulators get into position but hold without the burst of air. Air stops but there's no release burst — the articulators hold position.
Stress falls on the second syllable, not the others. Stretch NEH — keep everything else short and quick.
Don't pronounce the first syllable too fully. The unstressed syllable reduces to a schwa — the lazy "uh" sound — in casual speech.