Skip to content

Cookbook ​

Step-by-step recipes for the Gommo public API (v2.api.gommo.net + api.gommo.net). Each page is one complete task with curl + PowerShell.

Operators

Self-host JSON/proxy shortcuts → Deploy → Self-host (advanced). Recipes below use the Gommo public API only.

Try in browser first

Playground — Endpoints tab shows public URLs; Try/Send may use the docs dev proxy when running npm run docs:stack.

Prerequisites (all recipes) ​

ItemValue
Public APIhttps://v2.api.gommo.net (jobs) · https://api.gommo.net (auth/chat)
TokenGommo user access_token — Authentication
CatalogNever guess ratio / mode / resolution / duration — Models
powershell
$env:TOKEN = "<access_token>"
$h = @{ Authorization = "Bearer $env:TOKEN"; 'Content-Type' = 'application/x-www-form-urlencoded' }

Recipes ​

Get started ​

RecipeWhat you build
First image job (wait)Login → models → image → poll until done
Async job + poll loopCreate job → manual / loop poll

Media ​

RecipeWhat you build
Video or music jobSame pattern, different type
Tool jobs (upscale, remove-bg)Upload → upscale / remove background
Upload imageMultipart upload → public URL

Platform ​

RecipeWhat you build
Home feed appLogin → projects → newfeeds → optional explore & notifications
Chat + streamAgent chat and SSE
Audio TTSSearch voices → synthesize
Agent HTTP flowMinimal loop for LLM agents / scripts

Billing (operators) ​

Credit topup recipes call /billing/* on a self-hosted Gommo Developer instance — not the public Gommo API. See Portal & preview (operator):

RecipeWhat you build
Gommo credit top-upCredit packages → bank transfer → poll sync
PayOS topup (legacy)Merchant PayOS + sendBalances

Next ​