netintel-mcp 1.1.10 → 1.1.11
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.
- package/README.md +1 -1
- package/dist/index.js +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ Or add manually to your Claude Desktop config:
|
|
|
104
104
|
| netintel_event_classify | Cheap, fast "is this a dateable event?" filter for social and web text… | $0.02 |
|
|
105
105
|
| netintel_event_extract | Extract a normalized calendar event from any caption, announcement, or… | $0.10 |
|
|
106
106
|
| netintel_messages | OpenAI-compatible chat completions over x402, answered by Claude Sonnet… | $0.06 |
|
|
107
|
-
|
|
|
107
|
+
| netintel_ai_image | Generate agent-ready image assets (icons, logos, social graphics… | $0.25 |
|
|
108
108
|
|
|
109
109
|
## Payment
|
|
110
110
|
All tools pay automatically via x402 on Base mainnet (USDC).
|
package/dist/index.js
CHANGED
|
@@ -750,6 +750,16 @@ function registerTools(server, api) {
|
|
|
750
750
|
return err(e);
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
|
+
// 72. Ai Image (POST)
|
|
754
|
+
server.tool("netintel_ai_image", "Generate agent-ready image assets (icons, logos, social graphics, thumbnails, banners) with gpt-image-1. Claude refines the prompt, screens content, adds alt text and a score. Returns image_url as a base64 PNG data URI. Flat $0.25; n=1…", { prompt: z.string(), use_case: z.string().optional(), aspect_ratio: z.string().optional(), style: z.string().optional(), brand_colors: z.array(z.string()).optional() }, async ({ prompt, use_case, aspect_ratio, style, brand_colors }) => {
|
|
755
|
+
try {
|
|
756
|
+
const res = await api.post("/ai-image/generate", { prompt, use_case, aspect_ratio, style, brand_colors });
|
|
757
|
+
return ok(res.data);
|
|
758
|
+
}
|
|
759
|
+
catch (e) {
|
|
760
|
+
return err(e);
|
|
761
|
+
}
|
|
762
|
+
});
|
|
753
763
|
}
|
|
754
764
|
async function main() {
|
|
755
765
|
const api = await createClient();
|