debug image api test