Image 1 of 2: Terminal listing four generated product images, each with its direction, URL and saved path
An MCP server connects ChatGPT, Claude, Cursor and other clients to the MeiGen backend for generation, inspiration search and reusable visual Skills. Interrupted jobs are recovered with check_generation instead of a second paid submission.
Trade-offs
- Schemas use
z.string().optional()instead of enums. New backend tiers work without an npm release, and the backend rejects invalid values. - No client-side defaults for backend-owned values. A
2Kfallback once doubled credit cost for two days, so unset fields now stay unset. - One semaphore across image and video tools. Four submits at most, because two separate ones burst to 8 and tripped 429s on a shared 12 req/min limit.
Q&A4
Retries cover status queries only and stop after three consecutive errors. A gateway failure is not treated as a failed generation:
requestId and generationId are kept and a recovery action is returned.npm has a long tail of stale versions, so a hardcoded price keeps misleading for months after it changes.
list_models shows credits_per_generation from the backend at request time instead.Only an authenticated JSON 404 with
request_not_found allows same-ID recovery. Any other 404 returns endpoint_unavailable: a missing route says nothing about an existing charged job, so it never triggers an automatic paid POST.processAndUploadImage validates JPEG, PNG, WebP and GIF signatures before compression and upload, not just the extension, so a renamed binary never reaches the pipeline or the CDN.Links
Built by
Reviews
Loading reviews
More in MCP
See all 53 →
jobdGPU-aware job broker for a few personal machines, with an MCP server
DeftSelf-hosted workspace shared by people and AI agents
ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
AgenvoySelf-hosted agent harness in one Go binary, running around the clock
PageSiftSelf-hosted Rust binary that turns URLs and documents into Markdown or JSON
More in AI agents
See all 99 →
HashCortxLocal-first desktop workspace for chat, coding agents and agent teams- ZeroboxDeny-by-default process sandbox with per-host secret injection
EntrolyLocal context layer that picks what coding agents send to the model- Active GraphEvent-sourced graph runtime for long-running, auditable agents
AEGISPre-execution firewall that checks every agent tool call before it runs
ClawMoatZero-dependency security layer for AI agents and laptop-hosted agent hosts
More in TypeScript
See all 176 →
Charted RootsGenealogy and worldbuilding inside an Obsidian vault, from GEDCOM to maps
Prisma CalendarCalendar, timelines and recurring notes over the dated notes in Obsidian
MigrationPilotPostgreSQL migration linter that blocks unsafe DDL before merge- TileLineBasePlain-text database for Obsidian with tables, kanban, gallery and slides
JDFDocument format in plain JSON that renders like a PDF and diffs in git
MuTracerPhysically based path tracer for the web on WebGPU, with a WebGL 2 fallback