Duet videos can't be pre-recorded - you have to record them within the TikTok app.