@pixeldojo/mcp 0.22.0 → 0.23.0
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/cli.cjs +69 -6
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +69 -6
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +69 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +69 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Restart your agent. You'll see 23 new tools.
|
|
|
55
55
|
| `pixeldojo_episode` | Faceless Studio: a narrated faceless video episode from a topic (script, scenes, voice, music, export). |
|
|
56
56
|
| `pixeldojo_ad` | Marketing Studio: a product video ad from a URL or product images. |
|
|
57
57
|
| `pixeldojo_upscale` | Enhance any image (up to 16×) or video (up to 4K). |
|
|
58
|
-
| `pixeldojo_overlay` |
|
|
58
|
+
| `pixeldojo_overlay` | Ad text layouts on a video: hook title, lower-third callout, review card, progress bar, offer badge and a branded end card with logo. Exact text, your brand color, clear of the platform UI. |
|
|
59
59
|
| `pixeldojo_caption` | Animated word-by-word captions on a video with speech, placed clear of the TikTok/Reels/Shorts buttons. Pop, Highlighter or Clean, any highlight color. |
|
|
60
60
|
| `pixeldojo_audio` | Full audio scenes: dialogue + effects + music in one clip (Seed Audio 1.0). Reference clips are hosted URLs; local audio files are not accepted. |
|
|
61
61
|
| `pixeldojo_library` | Search your media library: saved Library items + recent generations. |
|
package/dist/cli.cjs
CHANGED
|
@@ -1311,14 +1311,29 @@ var init_caption = __esm({
|
|
|
1311
1311
|
}
|
|
1312
1312
|
});
|
|
1313
1313
|
async function run7(input, ctx) {
|
|
1314
|
-
|
|
1315
|
-
|
|
1314
|
+
const { hook, callout, review, offer, end_card: card } = input;
|
|
1315
|
+
if (!hook && !callout && !review && !input.progress_bar && !offer && !card) {
|
|
1316
|
+
return { kind: "text", text: "pixeldojo_overlay needs at least one of hook, callout, review, progress_bar, offer or end_card." };
|
|
1316
1317
|
}
|
|
1317
|
-
const { offer, end_card: card } = input;
|
|
1318
1318
|
const submitted = await ctx.client.run(MODEL2, {
|
|
1319
1319
|
prompt: "",
|
|
1320
1320
|
video: input.video_url,
|
|
1321
1321
|
...input.color ? { color: input.color } : {},
|
|
1322
|
+
...hook ? { hook_text: hook.text, hook_duration: hook.duration_sec } : {},
|
|
1323
|
+
...callout ? {
|
|
1324
|
+
callout_title: callout.title,
|
|
1325
|
+
callout_subtitle: callout.subtitle,
|
|
1326
|
+
callout_start: callout.start_sec,
|
|
1327
|
+
callout_duration: callout.duration_sec
|
|
1328
|
+
} : {},
|
|
1329
|
+
...review ? {
|
|
1330
|
+
review_quote: review.quote,
|
|
1331
|
+
review_name: review.name,
|
|
1332
|
+
review_stars: review.stars,
|
|
1333
|
+
review_start: review.start_sec,
|
|
1334
|
+
review_duration: review.duration_sec
|
|
1335
|
+
} : {},
|
|
1336
|
+
...input.progress_bar ? { progress_bar: true } : {},
|
|
1322
1337
|
...offer ? {
|
|
1323
1338
|
offer_text: offer.text,
|
|
1324
1339
|
offer_subtext: offer.subtext,
|
|
@@ -1354,6 +1369,21 @@ var init_overlay = __esm({
|
|
|
1354
1369
|
InputSchema7 = zod.z.object({
|
|
1355
1370
|
video_url: zod.z.string().url(),
|
|
1356
1371
|
color: zod.z.string().optional(),
|
|
1372
|
+
hook: zod.z.object({ text: zod.z.string().max(60), duration_sec: zod.z.number().min(1).max(6).optional() }).optional(),
|
|
1373
|
+
callout: zod.z.object({
|
|
1374
|
+
title: zod.z.string().max(32),
|
|
1375
|
+
subtitle: zod.z.string().max(40).optional(),
|
|
1376
|
+
start_sec: zod.z.number().min(0).optional(),
|
|
1377
|
+
duration_sec: zod.z.number().min(1).max(10).optional()
|
|
1378
|
+
}).optional(),
|
|
1379
|
+
review: zod.z.object({
|
|
1380
|
+
quote: zod.z.string().max(90),
|
|
1381
|
+
name: zod.z.string().max(30).optional(),
|
|
1382
|
+
stars: zod.z.number().int().min(1).max(5).optional(),
|
|
1383
|
+
start_sec: zod.z.number().min(0).optional(),
|
|
1384
|
+
duration_sec: zod.z.number().min(1).max(10).optional()
|
|
1385
|
+
}).optional(),
|
|
1386
|
+
progress_bar: zod.z.boolean().optional(),
|
|
1357
1387
|
offer: zod.z.object({
|
|
1358
1388
|
text: zod.z.string().max(24),
|
|
1359
1389
|
subtext: zod.z.string().max(40).optional(),
|
|
@@ -1375,9 +1405,42 @@ var init_overlay = __esm({
|
|
|
1375
1405
|
properties: {
|
|
1376
1406
|
video_url: { type: "string", format: "uri", description: "The video to brand (MP4 or MOV)." },
|
|
1377
1407
|
color: { type: "string", description: "Brand color as #RRGGBB: the badge and the button. Defaults to #FFE500." },
|
|
1408
|
+
hook: {
|
|
1409
|
+
type: "object",
|
|
1410
|
+
description: "Hook title over the first seconds, the overlay that decides whether people keep watching. 5-8 words.",
|
|
1411
|
+
required: ["text"],
|
|
1412
|
+
properties: {
|
|
1413
|
+
text: { type: "string", maxLength: 60, description: 'e.g. "Octopuses have THREE hearts?".' },
|
|
1414
|
+
duration_sec: { type: "number", minimum: 1, maximum: 6, description: "Default 2.5." }
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
callout: {
|
|
1418
|
+
type: "object",
|
|
1419
|
+
description: 'Lower-third label that slides in from the left: a benefit ("Ships in 24h") or a name and title.',
|
|
1420
|
+
required: ["title"],
|
|
1421
|
+
properties: {
|
|
1422
|
+
title: { type: "string", maxLength: 32, description: "The label." },
|
|
1423
|
+
subtitle: { type: "string", maxLength: 40, description: "Optional second line." },
|
|
1424
|
+
start_sec: { type: "number", description: "Default 3." },
|
|
1425
|
+
duration_sec: { type: "number", minimum: 1, maximum: 10, description: "Default 4." }
|
|
1426
|
+
}
|
|
1427
|
+
},
|
|
1428
|
+
review: {
|
|
1429
|
+
type: "object",
|
|
1430
|
+
description: "Review card: stars, a short quote and a name.",
|
|
1431
|
+
required: ["quote"],
|
|
1432
|
+
properties: {
|
|
1433
|
+
quote: { type: "string", maxLength: 90, description: "The review text, without quote marks." },
|
|
1434
|
+
name: { type: "string", maxLength: 30, description: 'e.g. "Jess, verified buyer".' },
|
|
1435
|
+
stars: { type: "integer", minimum: 1, maximum: 5, description: "Default 5." },
|
|
1436
|
+
start_sec: { type: "number", description: "Default just after the hook." },
|
|
1437
|
+
duration_sec: { type: "number", minimum: 1, maximum: 10, description: "Default 4." }
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
progress_bar: { type: "boolean", description: "A thin bar in the brand color across the top that fills as the video plays." },
|
|
1378
1441
|
offer: {
|
|
1379
1442
|
type: "object",
|
|
1380
|
-
description: "Offer callout: a badge that pops in on cue.",
|
|
1443
|
+
description: "Offer callout: a badge that pops in on cue (after the hook when there is one).",
|
|
1381
1444
|
required: ["text"],
|
|
1382
1445
|
properties: {
|
|
1383
1446
|
text: { type: "string", maxLength: 24, description: 'e.g. "50% OFF".' },
|
|
@@ -1403,7 +1466,7 @@ var init_overlay = __esm({
|
|
|
1403
1466
|
};
|
|
1404
1467
|
overlaySkill = {
|
|
1405
1468
|
name: "pixeldojo_overlay",
|
|
1406
|
-
description: 'Add
|
|
1469
|
+
description: 'Add short-form ad text layouts to a finished video, exact text in the brand color, clear of the TikTok/Reels/Shorts UI: hook (title over the first seconds), callout (lower-third label), review (stars, quote, name), progress_bar, offer ("50% OFF" badge) and end_card (logo, headline, button, web address over the held last frame). Pass video_url plus any of them; one call does all. 2 credits.',
|
|
1407
1470
|
inputZod: InputSchema7,
|
|
1408
1471
|
inputJsonSchema: InputJsonSchema7,
|
|
1409
1472
|
allowedModels: [MODEL2],
|
|
@@ -3892,7 +3955,7 @@ function makeRedactedLogger(target = console) {
|
|
|
3892
3955
|
}
|
|
3893
3956
|
|
|
3894
3957
|
// src/server.ts
|
|
3895
|
-
var PACKAGE_VERSION = "0.
|
|
3958
|
+
var PACKAGE_VERSION = "0.23.0" ;
|
|
3896
3959
|
var SERVER_INSTRUCTIONS = "Pixel Dojo generates images, video, audio and short films from one catalog of AI models, billed in credits from the connected Pixel Dojo account. A job that runs past the 30-second wait returns a jobId to check later; check it rather than submitting again, since every new submission is charged. Generated asset URLs are deleted one hour after they are created: pixeldojo_save keeps one in the user's My Media permanently (after a safety check), and finished films stay in the account library. In any prompt, @Name uses a character, product, outfit, location, prop or style the user saved in Character Studio: its photos are attached automatically. pixeldojo_library source=characters lists them, and pixeldojo_save_character saves a new one from 3 to 5 photos.";
|
|
3897
3960
|
function buildServer(options) {
|
|
3898
3961
|
if (!options.apiKey) {
|