How to commit a image via gitlab commit API?

Hey @zxlc

Did you check the GitLab API documentation https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions ? Are you having any specific issue to use this endpoint?