{"message":"API Upload Ảnh đang hoạt động!","endpoints":{"POST /upload":"Upload một ảnh (file) (Yêu cầu Bearer token)","POST /upload-multiple":"Upload nhiều ảnh (tối đa 10) (Yêu cầu Bearer token)","POST /upload-base64":"Upload ảnh base64 (Yêu cầu Bearer token)","POST /upload-base64-n8n":"Upload ảnh base64 từ n8n (Yêu cầu Bearer token)","POST /upload-from-url":"Upload ảnh từ URL (Yêu cầu Bearer token)","POST /convert-to-base64":"Chuyển đổi ảnh file thành base64 (Yêu cầu Bearer token)","POST /convert_to_base64":"Chuyển đổi ảnh từ URL thành base64 (Yêu cầu Bearer token)","POST /upload-video":"Upload một video (file) (Yêu cầu Bearer token)","POST /upload-videos":"Upload nhiều video (tối đa 5) (Yêu cầu Bearer token)","POST /upload-video-base64":"Upload video base64 (Yêu cầu Bearer token)","POST /convert-video-to-base64":"Chuyển đổi video file thành base64 (Yêu cầu Bearer token)","POST /image-url-info":"Lấy thông tin ảnh từ URL (Yêu cầu Bearer token)","GET /images":"Lấy danh sách tất cả ảnh","GET /videos":"Lấy danh sách tất cả video","GET /uploads/:filename":"Lấy file theo tên file","GET /image-info/:filename":"Lấy thông tin chiều rộng, cao của ảnh","DELETE /images/:filename":"Xóa ảnh theo tên file (Yêu cầu Bearer token)","DELETE /videos/:filename":"Xóa video theo tên file (Yêu cầu Bearer token)","DELETE /delete-by-url":"Xóa ảnh theo URL (Yêu cầu Bearer token)","DELETE /delete-image":"Xóa ảnh theo URL query parameter (Yêu cầu Bearer token)"},"authentication":{"upload-base64":"Yêu cầu Bearer token trong header Authorization","upload-from-url":"Yêu cầu Bearer token trong header Authorization"},"curl_examples":{"upload_file":"curl -X POST https://binh.seominisuite.com/upload -H \"Authorization: Bearer <API_KEY>\" -F \"image=@/duong/dan/anh.jpg\"","upload_multiple":"curl -X POST https://binh.seominisuite.com/upload-multiple -H \"Authorization: Bearer <API_KEY>\" -F \"images=@/duong/dan/anh1.jpg\" -F \"images=@/duong/dan/anh2.jpg\"","upload_base64":"curl -X POST https://binh.seominisuite.com/upload-base64 -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"image\": \"data:image/jpeg;base64,base64_string_here\"}'","upload_base64_n8n":"curl -X POST https://binh.seominisuite.com/upload-base64-n8n -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"mimeType\": \"image/jpeg\", \"data\": \"base64_string_here\"}'","upload_from_url":"curl -X POST https://binh.seominisuite.com/upload-from-url -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"imageUrl\": \"https://link-to-image.jpg\"}'","convert_to_base64":"curl -X POST https://binh.seominisuite.com/convert-to-base64 -H \"Authorization: Bearer <API_KEY>\" -F \"image=@/duong/dan/anh.jpg\"","convert_to_base64_url":"curl -X POST https://binh.seominisuite.com/convert-url-to-base64 -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"image\": \"https://link-to-image.jpg\"}'","upload_video":"curl -X POST https://binh.seominisuite.com/upload-video -H \"Authorization: Bearer <API_KEY>\" -F \"video=@/duong/dan/video.mp4\"","upload_video_base64":"curl -X POST https://binh.seominisuite.com/upload-video-base64 -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"video\": \"data:video/mp4;base64,base64_string_here\"}'","image_url_info":"curl -X POST https://binh.seominisuite.com/image-url-info -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"imageUrl\": \"https://link-to-image.jpg\"}'","image_info":"curl -X GET https://binh.seominisuite.com/image-info/ten-file-anh.jpg","delete_by_url":"curl -X DELETE https://binh.seominisuite.com/delete-by-url -H \"Authorization: Bearer <API_KEY>\" -H \"Content-Type: application/json\" -d '{\"imageUrl\": \"https://binh.seominisuite.com/uploads/ten-file-anh.jpg\"}'","delete_image":"curl -X DELETE \"https://binh.seominisuite.com/delete-image?url=https://binh.seominisuite.com/uploads/ten-file-anh.jpg\" -H \"Authorization: Bearer <API_KEY>\""},"setup":{"API_KEY":"Thiết lập biến môi trường API_KEY hoặc sử dụng giá trị mặc định","DOMAIN":"Domain của server (mặc định: binh.seominisuite.com)","PROTOCOL":"Protocol (http/https, mặc định: https)"},"domain":{"current":"https://binh.seominisuite.com","uploads":"https://binh.seominisuite.com/uploads/"}}