\Engine\Plugins\MovieScene\SequencerScripting\Content\Python\sequencer_anim_examples.py
this file template could work for you, using unreal.SequencerTools.export_anim_sequence()
but I have got a new problem: how could I using it in multi thread? It seems like this function only work in the game thread?