forgemesh-imagegen 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +5 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -13,9 +13,9 @@ Part of the [ForgeMesh](https://github.com/forgemeshlabs/forgemesh) ecosystem
13
13
 
14
14
  | Tool | What it does | Price |
15
15
  |---|---|---|
16
- | `generate_image` | Standard text-to-image generation | $0.25 USDC |
16
+ | `generate_image` | Standard text-to-image generation | $0.05 USDC |
17
17
  | `generate_clean` | Generate + background removal | $0.35 USDC |
18
- | `generate_hd` | Premium generate + 4x upscale (HD) | $0.50 USDC |
18
+ | `generate_hd` | Premium generate + 4x upscale (HD) | $0.10 USDC |
19
19
  | `generate_pro` | Top-tier generate + bg removal + 4x upscale | $0.75 USDC |
20
20
  | `list_presets` | List the 58 identity-preserving transform presets (person or pet) | $0.005 USDC |
21
21
  | `transform_image` | Transform a photo with a preset while keeping the subject's identity (FLUX Kontext Max) | $0.75 USDC |
package/index.js CHANGED
@@ -30,7 +30,7 @@ const TOOLS = [
30
30
  {
31
31
  name: "generate_image",
32
32
  annotations: GENERATE_ANNOTATIONS,
33
- description: "Generate a standard AI image from a text prompt. Returns a PNG image URL. Costs $0.25 USDC on Base mainnet — paid automatically.",
33
+ description: "Generate a standard AI image from a text prompt. Returns a PNG image URL. Costs $0.05 USDC on Base mainnet — paid automatically.",
34
34
  inputSchema: promptSchema("Text description of the image to generate"),
35
35
  },
36
36
  {
@@ -42,7 +42,7 @@ const TOOLS = [
42
42
  {
43
43
  name: "generate_hd",
44
44
  annotations: GENERATE_ANNOTATIONS,
45
- description: "Generate a premium AI image upscaled 4x HD. Returns a high-resolution image URL. Costs $0.50 USDC on Base mainnet.",
45
+ description: "Generate a premium AI image upscaled 4x HD. Returns a high-resolution image URL. Costs $0.10 USDC on Base mainnet.",
46
46
  inputSchema: promptSchema("Text description of the image to generate"),
47
47
  },
48
48
  {
@@ -75,9 +75,9 @@ const TOOLS = [
75
75
  ];
76
76
 
77
77
  const TOOL_ENDPOINTS = {
78
- generate_image: { path: "/generate", price: "$0.25" },
78
+ generate_image: { path: "/generate", price: "$0.05" },
79
79
  generate_clean: { path: "/generate/clean", price: "$0.35" },
80
- generate_hd: { path: "/generate/hd", price: "$0.50" },
80
+ generate_hd: { path: "/generate/hd", price: "$0.10" },
81
81
  generate_pro: { path: "/generate/pro", price: "$0.75" },
82
82
  list_presets: { path: "/presets", price: "$0.005" },
83
83
  transform_image: { path: "/transform", price: "$0.75" },
@@ -88,7 +88,7 @@ function buildHttpClient() {
88
88
  if (!key) {
89
89
  throw new Error(
90
90
  "WALLET_PRIVATE_KEY required — set a dedicated, low-balance Base wallet private key funded with USDC.\n" +
91
- " generate_image = $0.25 | generate_clean = $0.35 | generate_hd = $0.50 | generate_pro = $0.75 | transform_image = $0.75"
91
+ " generate_image = $0.05 | generate_clean = $0.35 | generate_hd = $0.10 | generate_pro = $0.75 | transform_image = $0.75"
92
92
  );
93
93
  }
94
94
  const pk = key.startsWith("0x") ? key : "0x" + key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgemesh-imagegen",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "mcpName": "io.github.forgemeshlabs/imagegen-mcp",
5
5
  "description": "MCP server for AI image generation — generate, clean (bg removal), HD (4x upscale), Pro. Pay per image in USDC via x402 on Base. No API key needed.",
6
6
  "main": "index.js",