1 USD ≈ 27,000 credits · display only
Reference rate may change over time.
1 USD ≈ 27,000 credits · display only
Reference rate may change over time.
Upload assets to Gommo storage before passing URLs into media jobs (e.g. image-to-video, edit workflows).
| Asset | URL |
|---|---|
| Image | POST https://v2.api.gommo.net/ai/upload/image |
| Video | POST https://v2.api.gommo.net/ai/upload/video |
Auth: Authorization: Bearer {access_token}. Form: domain, project_id=default, file field.
| Type | Field name | Notes |
|---|---|---|
| Image | file | Optional fileName |
| Video | video_file or file | Respect upstream size limits |
curl -X POST "https://v2.api.gommo.net/ai/upload/image" \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "domain=%REGISTRATION_DOMAIN%" \
-F "project_id=default" \
-F "[email protected]"Response includes a URL to use in subsequent job form fields (exact field name depends on the target model).
curl -X POST "https://v2.api.gommo.net/ai/upload/video" \
-H "Authorization: Bearer YOUR_TOKEN" \
-F "domain=%REGISTRATION_DOMAIN%" \
-F "project_id=default" \
-F "[email protected]"Upload asset → URL in response
↓
POST v2…/ai/models?type=video
↓
POST v2…/ai/jobs/video/{model_id} with URL + prompt + ratio from catalog
↓
Poll POST v2…/ai/jobs/{id}?media=videoManage uploads at Files (sidebar Developer → Files, badge beta):
When self-hosting this repo — Deploy → Self-host (advanced).
→ Upload reference · Gommo public API