Pixfaro

com.pixfaro由 pixfaro.com 发布官方发布者v0.1.3更新于 Nov 11, 2026

Generate images with any major model — one API key, one prepaid balance, one MCP.

已验证Streamable HTTP可网页运行媒体与设计AI 与机器学习

概览

AI 生成的概览

通过一个 Pixfaro 预付账户生成和编辑图片,并提供模型列表、模板卡片、素材上传和余额查询。

可以做什么
  • 根据文字提示生成图片,并按 id 对已有生成结果做自然语言编辑,可指定宽高比
  • 列出可用图像模型及其价格与延迟,并查询异步生成任务状态
  • 用模板渲染排版卡片(如引言卡、帖子卡),并列出模板的槽位与价格
  • 上传 PNG 或 JPEG 图片作为可复用素材,供模板槽位使用
  • 查询当前预付余额(美元)
适用场景
适合让助手直接产出图片、社交卡片或修改后的视觉素材,而不必自行管理多家模型供应商账户;也适合希望在对话中看到单张成本与余额的场景。
运行要求
可使用远程端点并通过浏览器登录(OAuth),或通过 npx 运行本地 npm 包并提供来自 pixfaro.com 的 PIXFARO_KEY。账户需预先充值,无订阅制。不支持 OAuth 的客户端可用 Bearer 方式传密钥。需要能访问 Pixfaro API 的网络。
安装前请注意
每次生成、编辑、模板渲染和上传都会从预付余额中扣费,费用按调用累积。API 密钥是可计费凭证,不应写入共享配置文件。上传的图片和提示词会发送给 Pixfaro 及其上游模型供应商。README 注明部分工具仅在远程服务器上提供。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Pixfaro,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.pixfaro%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "pixfaro": {
      "type": "http",
      "url": "https://mcp.pixfaro.com/mcp"
    }
  }
}

README

Pixfaro MCP — image generation MCP server for every image model

One MCP connection, one prepaid balance, every major image model — Nano Banana, Gemini today, GPT Image next (visible as "coming soon" in list_models). Pixfaro holds the provider accounts, keys, retries and format differences; your agent just asks for an image.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP client.

Quickstart — no terminal needed (≈1 minute)

The remote server is the easiest path: paste one URL, sign in with your Pixfaro account in the browser window that opens. No API key in any file.

Claude (claude.ai / Claude Desktop, any plan): Settings → Connectors → Add custom connector → URL https://mcp.pixfaro.com/mcp → sign in. (Team/Enterprise: an org Owner adds it once under Organization settings → Connectors → Custom → Web.)

Cursor: Add to Cursor → — or Cursor Settings → MCP → Add new MCP server (type URL, address https://mcp.pixfaro.com/mcp); Cursor runs the OAuth flow itself.

ChatGPT (Pro/Plus/Business/Edu): Settings → enable Developer mode (connectors live under Plugins since the July 2026 rename, formerly Connectors → Advanced) → add a custom connector with URL https://mcp.pixfaro.com/mcp, OAuth.

Quickstart — command line / config file

  1. Get an API key at pixfaro.com and top up (no subscription).
  2. Add the server to your MCP client config:
{
  "mcpServers": {
    "pixfaro": {
      "command": "npx",
      "args": ["-y", "@pixfaro/mcp"],
      "env": { "PIXFARO_KEY": "pf_live_…" }
    }
  }
}
  1. Ask your agent for an image. That's it.

For Claude Code:

claude mcp add pixfaro -e PIXFARO_KEY=pf_live_… -- npx -y @pixfaro/mcp

Clients that speak streamable HTTP can also take the remote form in the same file — no key, OAuth on first use:

{ "mcpServers": { "pixfaro": { "url": "https://mcp.pixfaro.com/mcp" } } }
``` Clients
without OAuth can pass an API key instead: `Authorization: Bearer pf_live_…`.

## Tools

| Tool | What it does |
|---|---|
| `generate_image` | prompt → hosted image URL (+cost and balance in the reply) |
| `edit_image` | natural-language edit of a previous generation by its `img_…` id |
| `list_models` | models with price, latency, and what each is best for |
| `render_template` | typeset card (quote/post) from a template — $0.02, ~2 s, sharp type · *remote server; npx parity coming in 0.2* |
| `list_templates` | card templates with slots, style axes and exact prices · *remote server* |
| `upload_asset` | upload a PNG/JPEG (≤5 MB) as a reusable asset (e.g. a card avatar) · *remote server* |
| `get_balance` | current prepaid balance |

Replies carry a hosted URL, never base64 — your agent's context stays small.

Both generation tools accept `aspect_ratio` (e.g. `"16:9"`, `"9:16"`). Edits
keep the source image's shape when you omit it — pass one only to reshape.

## CLI

The same package family ships an unscoped CLI for scripts, CI, and pipelines:

```bash
export PIXFARO_KEY=pf_live_…
npx pixfaro gen "a lighthouse at night, minimal flat style" -a 16:9 -o cover.png
npx pixfaro models
npx pixfaro balance
npx pixfaro edit img_8f2a… "make the sky darker" -o v2.png

Environment

VariableMeaning
PIXFARO_KEYyour API key (pf_live_…) — required for everything except models
PIXFARO_API_URLendpoint override (default https://api.pixfaro.com)

What this repo is

The thin open client over the Pixfaro API: the MCP server (@pixfaro/mcp) and the pixfaro CLI share one HTTP client. The balance/provider layer lives behind api.pixfaro.com — this code is intentionally small enough to read before you hand it a key.

MIT © Pixfaro

来源:README.md,提交 05cd59e

工具

8

generate_image

Generate image

Generate an image from a text prompt. Returns a hosted URL plus cost and balance. Slow models (mode "async" in list_models) return a j_… job id instead — poll it with check_job.

输入参数modelprompt必填overlayresolutionaspect_ratio

edit_image

Edit image

Edit a previously generated image by its img_… id with a natural-language instruction.

输入参数image必填modeloverlayresolutioninstruction必填aspect_ratio

render_template

Render template

Render a typeset card from a template — a finished, on-brand social image (quote card, post card) in about two seconds. Cheaper and more legible than generating type with a model. Get the templates and their slots from list_templates.

输入参数sizescaleslots必填styleoverlaytemplate必填

upload_asset

Upload asset

Upload an image (PNG or JPEG, ≤5 MB) as a reusable asset — an avatar for a card, for example. Returns an ast_… id to pass into a template slot.

输入参数data必填kind必填

list_models

List models

List available image models with pricing and latency.

无需输入参数。

list_templates

List templates

List card templates with their slots, style axes and exact price.

无需输入参数。

get_balance

Balance

Show the current prepaid balance in USD.

无需输入参数。

check_job

Check job

Check an async generation job by its j_… id. Slow models (mode "async" in list_models) return a job instead of an image — poll this until it succeeds or fails.

输入参数job_id必填

版本历史

2
  1. v0.1.3最新Nov 11, 2026
  2. v0.1.2Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分