Skip to content

อัปโหลดรูป ​

POST https://v2.api.gommo.net/ai/upload/image — ฟิลด์ 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 สำหรับงานถัดไป (เช่น image-to-video) เมื่อโมเดลรับ image URL ใน form

อัปโหลดวิดีโอ ​

POST https://v2.api.gommo.net/ai/upload/video — ฟิลด์ video_file หรือ file

Self-host (operator เท่านั้น) ​

เมื่อ deploy local — Deploy → Self-host ขั้นสูง

Playground ​

Upload panel → Image tab → เลือกไฟล์ → Upload

ถัดไป ​