Upload ảnh
POST https://v2.api.gommo.net/ai/upload/image — field file.
curl
bash
curl.exe -X POST "https://v2.api.gommo.net/ai/upload/image" ^
-H "Authorization: Bearer %TOKEN%" ^
-F "domain=%REGISTRATION_DOMAIN%" ^
-F "project_id=default" ^
-F "file=@C:\path\to\photo.png"PowerShell (curl)
powershell
curl.exe -X POST "https://v2.api.gommo.net/ai/upload/image" `
-H "Authorization: Bearer $env:TOKEN" `
-F "domain=%REGISTRATION_DOMAIN%" `
-F "project_id=default" `
-F "file=@C:\path\to\photo.png"Response: URL dùng trong job tiếp theo (vd. image-to-video) khi model chấp nhận image URL trong form.
Upload video
POST https://v2.api.gommo.net/ai/upload/video — field video_file hoặc file.
Self-host (chỉ operator)
Khi deploy local — Deploy → Self-host nâng cao.
Playground
Upload panel → Image tab → chọn file → Upload.
