evolink-ad-video-generation 1.0.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 +20 -0
- package/README.npm.md +20 -0
- package/SKILL.md +83 -0
- package/bin/cli.js +71 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Ad Video Generation
|
|
2
|
+
|
|
3
|
+
Install the Ad Video Generation with Seedance 2 on EvoLink agent skill.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx evolink-ad-video-generation -y --path ./my-agent-project
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The installer writes the skill to `.agents/skills/ad-video-generation/SKILL.md`.
|
|
12
|
+
|
|
13
|
+
## Agent Use
|
|
14
|
+
|
|
15
|
+
After installation, use the skill when a user asks for the ad-video-generation EvoLink workflow.
|
|
16
|
+
|
|
17
|
+
## Links
|
|
18
|
+
|
|
19
|
+
- GitHub: https://github.com/Evolink-AI/evolink-agent-skills/tree/main/ad-video-generation
|
|
20
|
+
- EvoLink: https://evolink.ai?utm_source=npm&utm_medium=skill&utm_campaign=ad-video-generation
|
package/README.npm.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Ad Video Generation
|
|
2
|
+
|
|
3
|
+
Install the Ad Video Generation with Seedance 2 on EvoLink agent skill.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx evolink-ad-video-generation -y --path ./my-agent-project
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The installer writes the skill to `.agents/skills/ad-video-generation/SKILL.md`.
|
|
12
|
+
|
|
13
|
+
## Agent Use
|
|
14
|
+
|
|
15
|
+
After installation, use the skill when a user asks for the ad-video-generation EvoLink workflow.
|
|
16
|
+
|
|
17
|
+
## Links
|
|
18
|
+
|
|
19
|
+
- GitHub: https://github.com/Evolink-AI/evolink-agent-skills/tree/main/ad-video-generation
|
|
20
|
+
- EvoLink: https://evolink.ai?utm_source=npm&utm_medium=skill&utm_campaign=ad-video-generation
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ad-video-generation
|
|
3
|
+
displayName: "Ad Video Generation with Seedance 2 on EvoLink"
|
|
4
|
+
description: >
|
|
5
|
+
Generate short ad videos with Seedance 2 on EvoLink. Use this skill for product ads, launch videos, paid social clips, TikTok or Reels concepts, short marketing videos, and batch creative variants. GPT Image 2 can prepare first frames when needed.
|
|
6
|
+
homepage: "https://evolink.ai?utm_source=skillssh&utm_medium=skill&utm_campaign=ad-video-generation"
|
|
7
|
+
license: MIT
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Ad Video Generation with Seedance 2 on EvoLink
|
|
11
|
+
|
|
12
|
+
Create short commercial videos from a product, script, image, or campaign idea.
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx skills add Evolink-AI/evolink-agent-skills --skill ad-video-generation -g
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## When to Use This Skill
|
|
19
|
+
|
|
20
|
+
Use this skill when the user wants:
|
|
21
|
+
|
|
22
|
+
- product ad videos
|
|
23
|
+
- TikTok, Reels, or Shorts ads
|
|
24
|
+
- launch campaign videos
|
|
25
|
+
- ecommerce promotion clips
|
|
26
|
+
- short marketing videos
|
|
27
|
+
- multiple video ad variations
|
|
28
|
+
|
|
29
|
+
Use `product-to-ad` if the user also needs still assets created first.
|
|
30
|
+
|
|
31
|
+
## Prerequisites
|
|
32
|
+
|
|
33
|
+
1. EvoLink API access or EvoLink MCP configured.
|
|
34
|
+
2. Product or offer details.
|
|
35
|
+
3. Target platform, aspect ratio, duration, audience, and CTA.
|
|
36
|
+
4. Optional source image or first frame.
|
|
37
|
+
5. Attribution links should use `utm_source=skillssh&utm_medium=skill&utm_campaign=ad-video-generation`.
|
|
38
|
+
|
|
39
|
+
## Pick the Right Workflow
|
|
40
|
+
|
|
41
|
+
| User intent | Model path | Why |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| Text idea to ad video | Seedance 2 text-to-video | Fastest path from campaign idea to video concept. |
|
|
44
|
+
| Product image to ad video | Seedance 2 image-to-video | Strong for commercial clips when a product still exists. |
|
|
45
|
+
| Need a better first frame | GPT Image 2 -> Seedance 2 | Improves video quality by improving the starting image. |
|
|
46
|
+
| Need many variations | Seedance 2 batch prompts | Ads benefit from repeated hook, style, and audience tests. |
|
|
47
|
+
|
|
48
|
+
## Default Workflow
|
|
49
|
+
|
|
50
|
+
1. Capture the ad objective, audience, platform, and product promise.
|
|
51
|
+
2. Decide whether the best route is text-to-video, image-to-video, or GPT Image 2 first frame then Seedance 2.
|
|
52
|
+
3. Write a Seedance 2 video prompt with hook, scene, motion, product focus, and CTA direction.
|
|
53
|
+
4. Generate the first ad video.
|
|
54
|
+
5. Suggest batch variants across hook, audience, platform, and visual style.
|
|
55
|
+
|
|
56
|
+
## Prompting Tips
|
|
57
|
+
|
|
58
|
+
- Keep the first three seconds clear: product, problem, transformation, or emotional hook.
|
|
59
|
+
- Use one visual concept per clip.
|
|
60
|
+
- Avoid asking the video model to render exact legal or pricing text.
|
|
61
|
+
- Put CTA intent in the prompt, but add exact CTA copy in post-production when needed.
|
|
62
|
+
- For product ads, preserve packaging, logo, and product shape.
|
|
63
|
+
|
|
64
|
+
## Next Token Loop
|
|
65
|
+
|
|
66
|
+
After the first ad video, offer:
|
|
67
|
+
|
|
68
|
+
- three hook variants
|
|
69
|
+
- three platform variants
|
|
70
|
+
- one UGC-style adaptation with `ugc-video-ads`
|
|
71
|
+
- one still image pack with `ad-creative-images`
|
|
72
|
+
|
|
73
|
+
## Safety and Privacy
|
|
74
|
+
|
|
75
|
+
Reject or redirect requests for deceptive political ads, fake endorsements, unsafe regulated-product claims, impersonation, or unauthorized use of a person's likeness.
|
|
76
|
+
|
|
77
|
+
## See Also
|
|
78
|
+
|
|
79
|
+
- `product-to-ad`
|
|
80
|
+
- `image-to-video`
|
|
81
|
+
- `ugc-video-ads`
|
|
82
|
+
- [EvoLink](https://evolink.ai?utm_source=skillssh&utm_medium=skill&utm_campaign=ad-video-generation)
|
|
83
|
+
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
|
+
|
|
6
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
7
|
+
const packageRoot = path.resolve(__dirname, "..");
|
|
8
|
+
const skill = "ad-video-generation";
|
|
9
|
+
const packageJson = JSON.parse(fs.readFileSync(path.join(packageRoot, "package.json"), "utf8"));
|
|
10
|
+
|
|
11
|
+
function usage() {
|
|
12
|
+
console.log(`evolink-ad-video-generation v${packageJson.version}
|
|
13
|
+
|
|
14
|
+
Install the ${skill} EvoLink agent skill.
|
|
15
|
+
|
|
16
|
+
Usage:
|
|
17
|
+
npx evolink-ad-video-generation -y --path ./my-agent-project
|
|
18
|
+
npx evolink-ad-video-generation --skill
|
|
19
|
+
|
|
20
|
+
Options:
|
|
21
|
+
-y, --yes Accept install prompts.
|
|
22
|
+
--path <dir> Install into this project directory. Defaults to cwd.
|
|
23
|
+
--skill Print the bundled SKILL.md.
|
|
24
|
+
--no-open Accepted for CI compatibility.
|
|
25
|
+
--version Print package version.
|
|
26
|
+
--help Show this help.
|
|
27
|
+
`);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function parseArgs(argv) {
|
|
31
|
+
const args = { target: process.cwd(), yes: false, printSkill: false };
|
|
32
|
+
for (let i = 0; i < argv.length; i += 1) {
|
|
33
|
+
const arg = argv[i];
|
|
34
|
+
if (arg === "-y" || arg === "--yes") args.yes = true;
|
|
35
|
+
else if (arg === "--no-open") continue;
|
|
36
|
+
else if (arg === "--skill") args.printSkill = true;
|
|
37
|
+
else if (arg === "--path") {
|
|
38
|
+
args.target = path.resolve(argv[i + 1] || "");
|
|
39
|
+
i += 1;
|
|
40
|
+
} else if (arg === "--version") {
|
|
41
|
+
console.log(packageJson.version);
|
|
42
|
+
process.exit(0);
|
|
43
|
+
} else if (arg === "--help" || arg === "-h") {
|
|
44
|
+
usage();
|
|
45
|
+
process.exit(0);
|
|
46
|
+
} else {
|
|
47
|
+
console.error(`Unknown argument: ${arg}`);
|
|
48
|
+
usage();
|
|
49
|
+
process.exit(2);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return args;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const args = parseArgs(process.argv.slice(2));
|
|
56
|
+
const skillMarkdown = fs.readFileSync(path.join(packageRoot, "SKILL.md"), "utf8");
|
|
57
|
+
|
|
58
|
+
if (args.printSkill) {
|
|
59
|
+
process.stdout.write(skillMarkdown);
|
|
60
|
+
process.exit(0);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const destination = path.join(args.target, ".agents", "skills", skill);
|
|
64
|
+
fs.mkdirSync(destination, { recursive: true });
|
|
65
|
+
fs.writeFileSync(path.join(destination, "SKILL.md"), skillMarkdown);
|
|
66
|
+
|
|
67
|
+
console.log(`INSTALLED_SKILL=${skill}`);
|
|
68
|
+
console.log(`INSTALL_PATH=${destination}`);
|
|
69
|
+
console.log("EVOLINK_KEY_URL=https://evolink.ai?utm_source=npm&utm_medium=skill&utm_campaign=" + skill);
|
|
70
|
+
console.log("ENV_VAR_EXPORT=export EVOLINK_API_KEY=<your_evolink_api_key>");
|
|
71
|
+
console.log("AGENT_NEXT_ACTION=Use the installed SKILL.md whenever the user asks for this EvoLink workflow.");
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "evolink-ad-video-generation",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Install the Ad Video Generation with Seedance 2 on EvoLink agent skill.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"bin": {
|
|
8
|
+
"evolink-ad-video-generation": "bin/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"SKILL.md",
|
|
12
|
+
"bin",
|
|
13
|
+
"README.md",
|
|
14
|
+
"README.npm.md"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"evolink",
|
|
18
|
+
"agent-skill",
|
|
19
|
+
"skills",
|
|
20
|
+
"ai",
|
|
21
|
+
"ad-video-generation"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://github.com/Evolink-AI/evolink-agent-skills/tree/main/ad-video-generation",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/Evolink-AI/evolink-agent-skills.git",
|
|
27
|
+
"directory": "packages/ad-video-generation"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/Evolink-AI/evolink-agent-skills/issues"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"check:node": "node --check bin/cli.js",
|
|
37
|
+
"smoke:install": "tmp=$(mktemp -d) && node bin/cli.js -y --path \"$tmp\" --no-open && test -f \"$tmp/.agents/skills/ad-video-generation/SKILL.md\""
|
|
38
|
+
}
|
|
39
|
+
}
|