API 2D e 3D