Skip to content

Upload image ​

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 "access_token=%TOKEN%" -F "domain=%REGISTRATION_DOMAIN%" ^
  -F "project_id=default" -F "file=@C:\path\to\photo.png"

PowerShell (curl) ​

powershell
$domain = $env:GOMMO_API_DOMAIN; if (-not $domain) { throw 'Set GOMMO_API_DOMAIN to the user registration domain (dealer)' }
curl.exe -X POST "https://v2.api.gommo.net/ai/upload/image" `
  -H "Authorization: Bearer $env:TOKEN" `
  -F "access_token=$env:TOKEN" -F "domain=$domain" `
  -F "project_id=default" -F "file=@C:\path\to\photo.png"

Response includes a public URL — use it in downstream jobs (e.g. image-to-video) when the model accepts image URLs in form fields.

Video upload ​

POST https://v2.api.gommo.net/ai/upload/video — field video_file or file.

Playground ​

Upload panel → Image tab → choose file → Upload.

Self-host (operators only) ​

When you deploy Gommo Developer locally — Deploy → Self-host (advanced).

Next ​