Skip to content

Gommo public API ​

ใช้ URL เหล่านี้เมื่อ integrate ตรงกับ Gommo (ตาม Gommo public API) Auth: Authorization: Bearer <access_token> บน HTTPS Form body มี domain (โดเมนแอป เช่น <registration-domain>)

โฮสต์ ​

โฮสต์ใช้สำหรับ
https://v2.api.gommo.netโมเดล สร้าง/poll งาน อัปโหลดรูป/วิดีโอ คลัง album
https://api.gommo.netLogin, /th/ai/me, info งาน รายการคลัง แชท audio แพลตฟอร์ม

แท็บ Endpoints ใน playground แสดง URL ครบต่อ operation (v2 vs auth)

มีเดีย & งาน (v2) ​

การดำเนินการMethodURL
รายการโมเดลGET หรือ POSThttps://v2.api.gommo.net/ai/models?type={type}
สร้างงานPOSThttps://v2.api.gommo.net/ai/jobs/{type}/{model_id}
Poll งานPOSThttps://v2.api.gommo.net/ai/jobs/{id_base}?media=image|video|music
อัปโหลดรูปPOSThttps://v2.api.gommo.net/ai/upload/image
อัปโหลดวิดีโอPOSThttps://v2.api.gommo.net/ai/upload/video

สร้าง/poll ใช้ application/x-www-form-urlencoded (ไม่ใช่ JSON ของ gateway) โหลดโมเดลก่อนเสมอ — ห้ามเดา ratio, mode, resolution, หรือ duration

Poll: ช่วง 3.5s สูงสุด 80 ครั้ง (~5 นาที) ไม่มี webhook

คลัง & album ​

การดำเนินการโฮสต์Path
Album รูปv2POST /ai/library/album-images
Album วิดีโอv2POST /ai/library/album-videos
คลังเพลงv2POST /ai/library/musics
คลังเสียงv2POST /ai/library/audios

Body album (ทั่วไป): domain, project_id, limit, order_by, sort_by (+ access_token ใน form หรือ Bearer header)

Explore ชุมชน (platform app บน auth host) ​

ฟีดสาธารณะบนเว็บ dealer (แท็บ Explore) — application/x-www-form-urlencoded. Bearer ไม่บังคับเมื่อดูอย่างเดียว

การดำเนินการURL
วิดีโอชุมชนPOST https://api.gommo.net/api/apps/go-mmo/ai/public-videos
รูปชุมชนPOST https://api.gommo.net/api/apps/go-mmo/ai/images

วิดีโอ: domain, type=public_home, public_prompt, ทางเลือก language, model, access_token

รูป: domain, project_id=default, feed_type=suggested, ทางเลือก search, category, after_id, language, model, access_token

ฟีด home (newfeeds) ​

POST https://api.gommo.net/ai/newfeeds — ต้อง login

PresetForm
ฟีดสาธารณะprivacy=PUBLIC, limit=30, after_video_id (ทางเลือก)
ของฉันprivacy= ว่าง, after_video_id + after_image_id

→ Cookbook: Home feed

Projects & การแจ้งเตือน (auth) ​

การดำเนินการURL
รายการ AI projects (legacy)POST https://api.gommo.net/ai/projects
AI projects V2 (CRUD)POST https://api.gommo.net/api/v2/ai-projects
Inbox แจ้งเตือนPOST https://api.gommo.net/ai/notifications
News & updatesPOST https://api.gommo.net/api/apps/go-mmo/news/getAll
Changelogs (recent updates)POST https://api.gommo.net/api/apps/go-mmo/app/changelogs
DevicesPOST https://api.gommo.net/api/v2/devices
Support ticketsPOST https://api.gommo.net/api/apps/go-mmo/support/myTickets (+ create, detail, reply)

Projects (legacy): domain, access_token — { "data": [ … ] } pass-through

AI projects V2: form action=list, create, get, update, delete, set_password, get + optional password when protected, member_list, member_kick, invite, invite_revoke, set_budget, stats, activity_list; invite ใช้ identifier, role, scopes; invite_revoke ใช้ invite_id; stats ใช้ id_base, period; activity_list ใช้ id_base, limit, offset; Credit pools (แท็บ Ngân sách): POST …/api/v2/credit-pools — list, ledger, create, deposit (pool_id, amount), delete, set_share_credit; deposit: wallet reserve 100k

Project media (modal tab): files-manager list (project, media_type); /ai/audio action_type=get.list + project_id; ai_musics/getAll + project_id.

→ AI projects · Credit pools

→ รายละเอียด: AI projects

Notifications: domain, access_token, ทางเลือก limit, page — pass-through envelope (อาจมี array data)

Devices: domain, access_token, ทางเลือก action, device_id / device_name / device_info — pass-through (เรียกตอน boot แอป home) หลาย feed รับ field device ชุดเดียวกันทุก request

Support: domain, access_token — list POST …/support/myTickets; create …/support/create; detail/reply ใช้ ticket_id_base (SUP-…) ทางเลือก language, device_*

→ ตั๋วซัพพอร์ต

โปรแกรมพาร์ทเนอร์: domain, access_token, action_type status | apply — POST …/users/partner_program. Apply ต้องมี field จ่ายเงิน + accept_rules=1. ใช้ application?.status มากกว่า can_join เมื่อรอตรวจ

→ โปรแกรมพาร์ทเนอร์

Creator Rewards: domain, access_token, action_type status | pool | apply — POST …/users/creator_rewards. Apply ใช้ payout_pref (credit | cash) + accept_rules=1. ใช้ program.application?.status มากกว่า can_join เมื่อรอตรวจ

→ Creator Rewards

Changelogs: modal Recent updates — POST …/app/changelogs ไม่ใช่ news/getAll → Changelogs

เฉพาะ dealer (ไม่ใช่ home Tier A)

community-chat, get_rooms, mini-apps, site-config — ไม่จำเป็นสำหรับฟีด home ของ integrator news/getAll และ app/changelogs เป็นทางเลือก ดู Cookbook home feed

สถานะงาน (auth) ​

การดำเนินการURL
ข้อมูลรูปPOST https://api.gommo.net/ai/info/image/{id_base}
ข้อมูลวิดีโอPOST https://api.gommo.net/ai/info/video/{id}
ข้อมูลเพลงPOST https://api.gommo.net/ai/info/music/{id_base}

Auth & โปรไฟล์ (auth) ​

การดำเนินการURL
LoginPOST https://api.gommo.net/api/apps/go-mmo/auth/login
สมัคร (merchant, server)POST https://api.gommo.net/api/apps/go-mmo/auth/register
เปลี่ยนรหัสผ่านPOST https://api.gommo.net/api/apps/go-mmo/auth/change-password
โอน creditPOST https://api.gommo.net/api/apps/go-mmo/users/sendBalances
ประวัติธุรกรรมPOST https://api.gommo.net/api/apps/go-mmo/users/paymentsHistory
Me / creditsPOST https://api.gommo.net/ai/me

→ สมัครสมาชิก · เปลี่ยนรหัสผ่าน · โอน credit · ประวัติธุรกรรม · อุปกรณ์เซสชัน · ตั๋วซัพพอร์ต · โปรแกรมพาร์ทเนอร์ · Creator Rewards

แชท & เสียง (auth) ​

การดำเนินการURL
แชท / stream / modelsPOST https://api.gommo.net/api/v2/chat
Chat sessions (sync)POST https://api.gommo.net/api/v2/ai-chat-sessions

→ Chat reference | Voices / TTS | POST https://api.gommo.net/ai/audio |

Gommo Developer (dev ทางเลือก) ​

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

Repo สามารถ expose REST/proxy ทางเลือกเมื่อ deploy — ดู Deploy → Self-host ขั้นสูง ไม่ใช่เส้นทางเชื่อมต่อค่าเริ่มต้น

OpenAPI ​

path สาธารณะอยู่ใน openapi.yaml ภายใต้ tag Gommo V2 และ Gommo Platform path self-host (billing, /gateway/*, admin) แยก tag — ดู Deploy → Self-host ขั้นสูง

ถัดไป ​

→ เริ่มต้นใช้งาน · การยืนยันตัวตน · มีเดีย & งาน