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.
Generate images, videos, music, and other media through Gommo V2 (https://v2.api.gommo.net). Jobs are asynchronous — create, then poll until complete.
type | Examples |
|---|---|
image | Text-to-image, edit |
video | Text/image-to-video |
music | Music generation |
tts | TTS as a job type |
avatar-lipsync | Talking avatar |
image-upscale, remove-bg | Image tools |
video-upscale, video-vfx, video-subtitle, video-cut | Video tools |
List available models for each type:
POST https://v2.api.gommo.net/ai/models?type=image
Authorization: Bearer {access_token}
Content-Type: application/x-www-form-urlencoded
type=image&domain=%REGISTRATION_DOMAIN%1. POST v2…/ai/models?type=image → pick model id + ratio/mode/…
2. POST v2…/ai/jobs/image/{model_id} → create job
3. POST v2…/ai/jobs/{id}?media=image → poll until complete
4. Use result URL from completed jobPOST https://v2.api.gommo.net/ai/jobs/image/{model_id}
Authorization: Bearer {access_token}
Content-Type: application/x-www-form-urlencoded
domain=%REGISTRATION_DOMAIN%&project_id=default&prompt=A product on white background&ratio=16:9&mode=low&resolution=2kWARNING
ratio, mode, resolution, and duration must come from your models list for that model — not from docs or other models.
Poll every 3500 ms, max 80 attempts:
POST https://v2.api.gommo.net/ai/jobs/{id_base}?media=image
Authorization: Bearer {access_token}
Content-Type: application/x-www-form-urlencoded
domain=%REGISTRATION_DOMAIN%&project_id=defaultPoll media: image | video | music (match job type).
Many video/image workflows need an asset URL first:
Optional detail endpoints on api.gommo.net:
POST https://api.gommo.net/ai/info/image/{id_base}
POST https://api.gommo.net/ai/info/video/{id}When self-hosting this repo — see Deploy → Self-host (advanced). Not required for direct Gommo integration.
→ Media & jobs reference · Models overview · Gommo public API
→ Upload · Chat · Features overview