Clarify API generation section and add a task that fails the tests if there is no API key.