This is impossible. Machines which use magnets and wires So forget magnets acting alone. Let's mix in some wires and electric currents. People are always asking me whether their odd configuration of wires and magnets will generate a power output from lesser input power. The answer is no, but it is not always clear from elementary physics textbooks why this is so.
Textbooks are inclined to describe the forces involved without explaining what the implications are.
Let's start with generators. In this simple case it is easy to calculate the voltage, it is equal to BvL volts. To generate a field this strong and a meter across would require an electromagnet weighing several tons. Wiggling a few inches of wire in the field of a small magnet will produce a few millivolts. It makes no difference whether it is the conductor or the field which is moving, only the relative motion counts.