Animate Magic

This spell is a class spell for sorcerers and wizards

Animate Magic

9th-level transmutation

Casting Time: 1 action
Range: 60 ft.
Components: V, S
Duration: 8 hours

A magical effect is transformed into a being of living magic, an animate spell. Choose a spell effect of 6th level or higher within range. That spell ends, and an animate spell is formed in a space of your choice within range of the spell. The animate spell is of a school according to the effect you targeted. For example, if you targeted an evocation spell with this spell, you would create a living evocation. You cannot command the animate spell, which is an independent creature beyond your control, though it is initially friendly to you and your allies.

Ref: TPKB1 p22