corent-mcp 0.8.0 → 0.8.1
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 +3 -2
- package/dist/server.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,8 +84,9 @@ results back, and `tools` / `response_format` for function calling and JSON.
|
|
|
84
84
|
that the prompt is applied as an *edit* of, so the same face, character, or
|
|
85
85
|
product survives into a new scene. Use it whenever the user wants "the same
|
|
86
86
|
person again", a product placed somewhere, or a matching series. Edit-capable
|
|
87
|
-
models sit at
|
|
88
|
-
|
|
87
|
+
models sit at pro and up, so pass `tier` `pro` / `max_pro`, or no tier at all:
|
|
88
|
+
`air`, `lite` and `premium` are refused with a message saying so. (Check
|
|
89
|
+
`list_tiers` -> `supports_reference_images` for the live list.)
|
|
89
90
|
|
|
90
91
|
### What the generate tools can ask for
|
|
91
92
|
|
package/dist/server.js
CHANGED
|
@@ -18,7 +18,7 @@ import { z } from "zod";
|
|
|
18
18
|
import { MEDIA_WIDGET_HTML } from "./widget-html.js";
|
|
19
19
|
import { registerPrompts } from "./prompts.js";
|
|
20
20
|
export const DEFAULT_API_URL = "https://api.corent.tech";
|
|
21
|
-
export const SERVER_VERSION = "0.8.
|
|
21
|
+
export const SERVER_VERSION = "0.8.1";
|
|
22
22
|
// Transport resilience, matching the two SDKs: a 429 or 5xx is retried with
|
|
23
23
|
// backoff, but ONLY on calls that carry an Idempotency-Key (or are GETs), so a
|
|
24
24
|
// retry can never buy a second generation.
|
|
@@ -255,7 +255,7 @@ export function createCorentServer(config = {}) {
|
|
|
255
255
|
server.registerTool("generate_image", {
|
|
256
256
|
title: "Generate image",
|
|
257
257
|
_meta: toolMeta("Generating image", "Image ready", true),
|
|
258
|
-
description: "Generate an image from a text prompt. Returns a permanent public URL. Synchronous, usually 2-20 seconds. Costs a few cents (premium ~7c); failed generations are never billed. Takes reference_image_urls to keep a face, character or product consistent (tier
|
|
258
|
+
description: "Generate an image from a text prompt. Returns a permanent public URL. Synchronous, usually 2-20 seconds. Costs a few cents (premium ~7c); failed generations are never billed. Takes reference_image_urls to keep a face, character or product consistent (tier pro or up).",
|
|
259
259
|
inputSchema: {
|
|
260
260
|
prompt: z.string().describe("What to generate, in plain language"),
|
|
261
261
|
tier: z
|
|
@@ -321,8 +321,8 @@ export function createCorentServer(config = {}) {
|
|
|
321
321
|
.describe("1 to 4 public https image URLs that keep a CHARACTER, FACE, or PRODUCT consistent across " +
|
|
322
322
|
"generations. The prompt is applied as an EDIT of these references, so use it whenever the " +
|
|
323
323
|
"user wants the same person/object again in a new scene, a product placed somewhere, or a " +
|
|
324
|
-
"series that has to match. Served only by edit-capable models, which sit at
|
|
325
|
-
"pass tier
|
|
324
|
+
"series that has to match. Served only by edit-capable models, which sit at pro and up: " +
|
|
325
|
+
"pass tier pro/max_pro (or omit tier), never air/lite/premium. Omit entirely for plain " +
|
|
326
326
|
"text-to-image."),
|
|
327
327
|
},
|
|
328
328
|
outputSchema: imageOutput,
|
package/package.json
CHANGED