evolink-image-to-video 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 +81 -0
- package/bin/cli.js +71 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Image To Video
|
|
2
|
+
|
|
3
|
+
Install the Image-to-Video with Seedance 2 on EvoLink agent skill.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx evolink-image-to-video -y --path ./my-agent-project
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The installer writes the skill to `.agents/skills/image-to-video/SKILL.md`.
|
|
12
|
+
|
|
13
|
+
## Agent Use
|
|
14
|
+
|
|
15
|
+
After installation, use the skill when a user asks for the image-to-video EvoLink workflow.
|
|
16
|
+
|
|
17
|
+
## Links
|
|
18
|
+
|
|
19
|
+
- GitHub: https://github.com/Evolink-AI/evolink-agent-skills/tree/main/image-to-video
|
|
20
|
+
- EvoLink: https://evolink.ai?utm_source=npm&utm_medium=skill&utm_campaign=image-to-video
|
package/README.npm.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Image To Video
|
|
2
|
+
|
|
3
|
+
Install the Image-to-Video with Seedance 2 on EvoLink agent skill.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx evolink-image-to-video -y --path ./my-agent-project
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The installer writes the skill to `.agents/skills/image-to-video/SKILL.md`.
|
|
12
|
+
|
|
13
|
+
## Agent Use
|
|
14
|
+
|
|
15
|
+
After installation, use the skill when a user asks for the image-to-video EvoLink workflow.
|
|
16
|
+
|
|
17
|
+
## Links
|
|
18
|
+
|
|
19
|
+
- GitHub: https://github.com/Evolink-AI/evolink-agent-skills/tree/main/image-to-video
|
|
20
|
+
- EvoLink: https://evolink.ai?utm_source=npm&utm_medium=skill&utm_campaign=image-to-video
|
package/SKILL.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: image-to-video
|
|
3
|
+
displayName: "Image-to-Video with Seedance 2 on EvoLink"
|
|
4
|
+
description: >
|
|
5
|
+
Turn still images into short videos with Seedance 2 on EvoLink. Use this skill when the user has a product image, character image, poster, ad image, or edited GPT Image 2 asset and wants motion, camera movement, or a short commercial clip.
|
|
6
|
+
homepage: "https://evolink.ai?utm_source=skillssh&utm_medium=skill&utm_campaign=image-to-video"
|
|
7
|
+
license: MIT
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Image-to-Video with Seedance 2 on EvoLink
|
|
11
|
+
|
|
12
|
+
Animate a still image into a short video. This is the main handoff from GPT Image 2 image assets into Seedance 2 video generation.
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npx skills add Evolink-AI/evolink-agent-skills --skill image-to-video -g
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## When to Use This Skill
|
|
19
|
+
|
|
20
|
+
Use this skill when the user wants to:
|
|
21
|
+
|
|
22
|
+
- animate a product image
|
|
23
|
+
- turn an ad image into a short video
|
|
24
|
+
- make a poster, character, or scene move
|
|
25
|
+
- add camera motion to a still visual
|
|
26
|
+
- create a video from a GPT Image 2 output
|
|
27
|
+
- test multiple motion directions from the same source image
|
|
28
|
+
|
|
29
|
+
Use `product-image-generation` or `image-edit` first if the source image is low quality or not campaign-ready.
|
|
30
|
+
|
|
31
|
+
## Prerequisites
|
|
32
|
+
|
|
33
|
+
1. EvoLink API access or EvoLink MCP configured.
|
|
34
|
+
2. One source image URL or local image available to the agent.
|
|
35
|
+
3. Desired duration, aspect ratio, motion style, and output use case.
|
|
36
|
+
4. Attribution links should use `utm_source=skillssh&utm_medium=skill&utm_campaign=image-to-video`.
|
|
37
|
+
|
|
38
|
+
## Pick the Right Workflow
|
|
39
|
+
|
|
40
|
+
| User intent | Model path | Why |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| Product reveal from one image | Seedance 2 image-to-video | Best first video path when the image is already strong. |
|
|
43
|
+
| Ad image to paid social clip | Seedance 2 image-to-video | Turns a static creative into motion for Reels, Shorts, or TikTok. |
|
|
44
|
+
| Weak source image | GPT Image 2 edit -> Seedance 2 | Improve the source frame before spending video tokens. |
|
|
45
|
+
| Need multiple motion tests | Seedance 2 variants | Reuse one image with different camera and action prompts. |
|
|
46
|
+
|
|
47
|
+
## Default Workflow
|
|
48
|
+
|
|
49
|
+
1. Inspect the image and identify the subject that must stay stable.
|
|
50
|
+
2. Ask for all missing requirements in one message: duration, platform, aspect ratio, motion, and style.
|
|
51
|
+
3. Write a Seedance 2 prompt focused on motion, camera, scene change, and preservation.
|
|
52
|
+
4. Generate the first clip.
|
|
53
|
+
5. Suggest two iteration directions: motion variant and commercial variant.
|
|
54
|
+
|
|
55
|
+
## Prompting Tips
|
|
56
|
+
|
|
57
|
+
- Lead with motion: camera push-in, orbit, product rotation, hand interaction, walk cycle, light sweep.
|
|
58
|
+
- Do not redescribe every visible object. Focus on what changes over time.
|
|
59
|
+
- Preserve identity explicitly: product label unchanged, face stable, packaging shape unchanged.
|
|
60
|
+
- Use one primary action per clip.
|
|
61
|
+
- Keep text overlays out of the generation prompt unless the user accepts text artifacts.
|
|
62
|
+
|
|
63
|
+
## Next Token Loop
|
|
64
|
+
|
|
65
|
+
After the first clip, offer:
|
|
66
|
+
|
|
67
|
+
- three motion variants from the same image
|
|
68
|
+
- one platform adaptation for TikTok, Reels, or Shorts
|
|
69
|
+
- a product ad version with `ad-video-generation`
|
|
70
|
+
|
|
71
|
+
## Safety and Privacy
|
|
72
|
+
|
|
73
|
+
Do not animate private people, public figures, or brand assets in misleading contexts without user authorization. Do not produce deceptive political, medical, financial, or impersonation content.
|
|
74
|
+
|
|
75
|
+
## See Also
|
|
76
|
+
|
|
77
|
+
- `image-edit`
|
|
78
|
+
- `product-image-generation`
|
|
79
|
+
- `ad-video-generation`
|
|
80
|
+
- [EvoLink](https://evolink.ai?utm_source=skillssh&utm_medium=skill&utm_campaign=image-to-video)
|
|
81
|
+
|
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 = "image-to-video";
|
|
9
|
+
const packageJson = JSON.parse(fs.readFileSync(path.join(packageRoot, "package.json"), "utf8"));
|
|
10
|
+
|
|
11
|
+
function usage() {
|
|
12
|
+
console.log(`evolink-image-to-video v${packageJson.version}
|
|
13
|
+
|
|
14
|
+
Install the ${skill} EvoLink agent skill.
|
|
15
|
+
|
|
16
|
+
Usage:
|
|
17
|
+
npx evolink-image-to-video -y --path ./my-agent-project
|
|
18
|
+
npx evolink-image-to-video --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-image-to-video",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Install the Image-to-Video with Seedance 2 on EvoLink agent skill.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"bin": {
|
|
8
|
+
"evolink-image-to-video": "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
|
+
"image-to-video"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://github.com/Evolink-AI/evolink-agent-skills/tree/main/image-to-video",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/Evolink-AI/evolink-agent-skills.git",
|
|
27
|
+
"directory": "packages/image-to-video"
|
|
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/image-to-video/SKILL.md\""
|
|
38
|
+
}
|
|
39
|
+
}
|