Skip to content

MCP tool reference ​

Host: Gommo remote MCP — https://api.gommo.net/api/v2/gommo-mcp
Khi connected: 10 tools

Gommo Developer MCP server (npm alias @ai-gateway/mcp-server) v0.1 chỉ có tập con (chưa có gommo_tasks_list, gommo_notify_send).

Tổng quan ​

ToolMục đíchTốn credit
gommo_account_infoHồ sơ, partner, balancesKhông
gommo_credit_balancecredits_ai nhanhKhông
gommo_models_listCatalog — ratio/mode/durationKhông
gommo_image_createJob ảnh async → id_baseCó
gommo_image_statusTrạng thái ảnh 1 lầnKhông
gommo_video_createJob video async → id_baseCó
gommo_video_statusTrạng thái video 1 lầnKhông
gommo_tasks_listJob ảnh/video gần đâyKhông
gommo_task_streamPoll đến xong / lỗi / timeoutKhông
gommo_notify_sendInbox + push + TelegramKhông

Quy tắc ​

  1. gommo_models_list trước create
  2. Không đoán ratio/mode/resolution/duration
  3. Giữ id_base sau create
  4. gommo_credit_balance trước create ảnh/video

Prompt mẫu: Use cases


gommo_account_info ​

Hồ sơ đầy đủ từ /vi/ai/me.


gommo_credit_balance ​

Số credits_ai hiện tại — gọi trước khi gen.


gommo_models_list ​

ParamGiá trị
typeimage | video | audio

audio = catalog music.


gommo_image_create ​

Tạo job ảnh → id_base. Tham số: model, prompt, ratio/resolution/mode từ catalog.


gommo_image_status ​

Trạng thái + URL theo id_base. Hoặc dùng gommo_task_stream.


gommo_video_create ​

Tạo video — hỗ trợ frame, motion, extend, multi-shot (xem schema trong client).


gommo_video_status ​

Trạng thái video theo id_base.


gommo_tasks_list ​

ParamMô tả
typeall | image | video
limit1–100
project_id, after_idTùy chọn

Xem lịch sử job, fallback khi status theo id lỗi.


gommo_task_stream ​

Poll lặp (mặc định 30s, tối đa 30 phút) cho đến khi xong.

ParamMặc định
interval_seconds30
max_wait_seconds1800

gommo_notify_send ​

Thông báo inbox + push + Telegram (nếu đã liên kết).

ParamMô tả
title, messageNội dung
urlDeep link (mặc định /vi/chat)
send_push, send_telegramMặc định true

Agent phải chủ động gọi — không tự động sau create.


Flow ví dụ ​

Ảnh: credit → models_list → image_create → task_stream

Video + notify: models_list → video_create → task_stream → notify_send

Debug: tasks_list → image_status

HTTP ​

Build app? Dùng HTTP tới Gommo public API — OpenAPI. Self-host → Deploy nâng cao.

Tiếp theo ​

→ Use cases · Host khác