Basic API. Generate sequence.