add effect api