Three pillars:
One line: character + space + style → clip. Fits home / aesthetics / makeover feeds.
Dependencies: WERYAI_API_KEY + Node.js 18+. When you run the CLI, scripts/video_gen.js must exist; WERYAI_VIDEO_API.md must exist under resources/ (supply both via publish or pre-use assembly). Full commands and JSON fields: see resources/WERYAI_VIDEO_API.md. No other Cursor skills. Default parameters and model tiers are in the tables below; live API limits follow weryai models. Before installing or running, review the bundled video_gen.js to confirm it meets your requirements. Pay particular attention to how it handles local files if you choose to allow their usage, ensuring this behavior aligns with the skill's intended workflow for image-to-video requests.
WERYAI_API_KEY must be set in the environment before running video_gen.js.https image URLs. If the assembled scripts/video_gen.js supports local file paths, review and verify the script first, then get explicit consent before it reads a local image and uploads it to WeryAI to obtain a public URL.wait run consumes WeryAI credits; re-running creates new paid tasks.WERYAI_API_KEY: Treat as a secret. Only configure it if you trust this skill's source; it is listed in OpenClaw metadata as requires.env / primaryEnv so installers know it is mandatory at runtime (never commit it inside the skill package).video_gen.js): Video tasks use https://api.weryai.com; the models list uses https://api-growth-agent.weryai.com. Only WERYAI_API_KEY is read from the environment—do not rely on URL-related environment variables.https image URLs. If the assembled scripts/video_gen.js supports local file paths, it may read a local image and upload it to WeryAI to obtain a public URL; require review / verification and explicit consent before using that path.scripts/video_gen.js (HTTPS submit + poll loop) before production use. Verify whether the runtime can read local image files and upload them to WeryAI, and obtain explicit consent before using that path.video_gen.js does not expand prompts. Before every wait --json, turn the user's short or vague brief into a full English production prompt.
When: The user gives only keywords, one line, or loose intent—or asks for richer video language. Exception: They paste a finished long prompt within the model's prompt_length_limit and ask you not to rewrite; still show the full text in the confirmation table.
Always add (video language): shot scale and angle; camera move or lock-off; light quality and motivation; subject action paced to duration; one clear payoff for this niche; state 9:16 vertical when this skill defaults to vertical.
Length: Obey prompt_length_limit for the chosen model_key when this doc lists it; trim filler adjectives before removing core action, lens, or light clauses.
Confirmation: The pre-submit table must include the full expanded prompt (never a one-line summary). Wait for confirm or edits.
### Example prompts at the top of this file are short triggers only—always expand from the user's actual request.
model key.prompt using ## Prompt expansion (mandatory) below. Do not call the API with only the user's minimal words.prompt against the selected model's prompt_length_limit in the frozen tables in this document (when present); shorten if needed.duration, aspect_ratio, resolution, generate_audio, negative_prompt, and other fields against the frozen tables in this document and WERYAI_VIDEO_API.md.prompt; wait for confirm or edits.node scripts/video_gen.js wait --json '...' with the expanded prompt.errorCode / errorMessage and suggest parameter fixes.node scripts/video_gen.js wait --json '{"model":"…","prompt":"…","duration":5,"aspect_ratio":"9:16"}'
node scripts/video_gen.js wait --json '…' --dry-run
node scripts/video_gen.js status --task-id <id>
Full reference: WERYAI_VIDEO_API.md.
Done when the user receives at least one playable video URL from the API response, or a clear failure explanation with next steps. All parameters used must fall within the selected model's allowed sets in this document. The submitted prompt must be the expanded production prompt unless the user explicitly supplied a finished long prompt and asked not to rewrite it.
WERYAI_VIDEO_API.md.weryai-model-capabilities.md or shared ../references/ paths; use resources/WERYAI_VIDEO_API.md for CLI/API details.SKILL.md) so scripts/ and resources/ paths resolve.Shabby rental turned cream aesthetic by a hamster—rug, string lights, warm lights full on at endFrom this messy balcony: motion into a coffee cornerKids’ room: paint + star ceiling, big contrast but cozyRoom makeover timelapse 9:16, cozy lighting reveal at end| Field | Value |
|---|---|
| ------- | -------- |
| Model | KLING_V3_0_PRO |
| Aspect | 9:16 (fixed, vertical short) |
| Duration | 10 s (duration: 10, room for full process) |
| Audio | Off |
| Look | Medium or wide, natural + warm accent light; before cooler/darker, after warmer/brighter; time-lapse compression |
> API validity (default KLING_V3_0_PRO): Text-to-video: duration only 5 / 10 / 15, aspect_ratio only 9:16, 1:1, 16:9; image-to-video: aspect_ratio only 9:16, 16:9, 1:1; no resolution field—do not send. Fast VEO tier: text VEO_3_1_FAST, image CHATBOT_VEO_3_1_FAST, duration fixed 8, aspect_ratio only 9:16 or 16:9. For other model_key values, follow the allowed sets in this document and the API validity notes above; do not send unsupported fields such as resolution.
Animals “finish” a tired space overnight—the classic arc: enter messy room → busy montage → lights on, new room.
User provides:
Flow:
Show all parameters in a table and wait for explicit user confirmation before submitting:
> 📋 Ready to generate—please confirm:
>
> | Field | This run | Notes |
> |-------|----------|-------|
> | model | KLING_V3_0_PRO | Best tier default; fast: text VEO_3_1_FAST, image CHATBOT_VEO_3_1_FAST (duration fixed 8); good → KLING_V3_0_STA; or specify a model name |
> | aspect_ratio | 9:16 | Default KLING: 9:16, 1:1, 16:9 only; if you switch model, check that row’s aspect_ratios etc. |
> | duration | 10s | KLING family: 5 / 10 / 15; VEO fast: duration 8 only |
> | generate_audio | false | Auto-generate audio or not |
> | prompt | Full expanded English prompt (entire text for this run) | Revise before confirm |
> | seamless loop | off | Reply "loop" to add seamless loop |
>
> Reply "confirm" to start, or list what to change.
```sh
node scripts/video_gen.js wait --json '{"model":"(confirmed model)","prompt":"(full English prompt)","aspect_ratio":"9:16","duration":10,"generate_audio":false}'
```
aspect_ratio, duration, generate_audio, model must match the table; add resolution only if supported. Parse videos from stdout.
Parameters:
| Field | Value |
|---|---|
| ------- | -------- |
| model | KLING_V3_0_PRO |
| aspect_ratio | 9:16 |
| duration | 10 |
| generate_audio | false |
Sample prompt (bunny, rental, cream):
> A small white bunny with oversized ears begins transforming a dull, cluttered rental apartment bedroom, medium wide shot shows peeling walls and mismatched cheap furniture, the bunny hangs linen curtains, places cream-colored cushions, adds dried pampas grass in a ceramic vase, time-lapse with warm evening light slowly shifting, final reveal: the same room now glows in a soft cream-beige aesthetic with warm Edison bulb string lights overhead, low-angle medium shot shows the complete transformation, diffused golden light, cozy hygge atmosphere, paint texture walls, before-after contrast dramatic
Sample prompt (hamster, study, cyber):
> A tiny hamster in overalls transforms a bare study corner into a cyberpunk workspace, medium shot follows the hamster mounting LED strip lights in cyan and purple, placing holographic desk accessories, hanging circuit board art prints, time-lapse compression of the assembly process, dramatic before-after cut: sterile white room transitions to neon-lit cyberpunk den, wide establishing shot captures the full room with light reflections on all surfaces, dark dramatic void background outside window, Dutch angle for final reveal, high contrast neon against deep shadow
Sample prompt (cat, old balcony → café):
> A gray cat with white gloves methodically converts a neglected dusty balcony into a cozy café corner, overhead wide shot starts with cracked tiles and dead plants, cat places small round table with mosaic top, installs string fairy lights along the railing, arranges potted herbs in terracotta planters, golden hour time-lapse as the sun sets, final reveal at dusk: the balcony warmly lit with fairy lights, espresso machine on the table, trailing ivy across the wall, warm amber light, wide-to-close dolly movement revealing the full transformation
Expected outcome: Strong before/after; clear rhythm peak at lights-on; color temp cold→warm for emotional arc—fits home / lifestyle accounts.
More “real” makeover: camera on the room only—good when the result itself is the star.
User provides:
Flow:
```sh
node scripts/video_gen.js wait --json '{"model":"KLING_V3_0_PRO","prompt":"(full English prompt)","aspect_ratio":"9:16","duration":10,"generate_audio":false}'
```
Fields match the table; parse stdout for URLs.
Parameters:
| Field | Value |
|---|---|
| ------- | -------- |
| model | KLING_V3_0_PRO |
| aspect_ratio | 9:16 |
| duration | 10 |
| generate_audio | false |
Sample prompt (low-budget rental glow-up):
> Wide establishing shot of a low-budget rental room transformation, left half of the frame shows original water-stained walls, plastic furniture, fluorescent lighting, the right half reveals the same space after makeover with white paint, thrifted wooden shelf, warm LED strip lights, fabric headboard, time-lapse renovation progress fills the center, final wide shot shows the complete after: cozy Scandinavian-minimalist aesthetic on zero budget, warm 3000K ambient lighting, slight aerial perspective
Style precision: Cream → cream-beige aesthetic, warm Edison bulb; cyber → neon cyan and purple, dark dramatic void; café corner → mosaic table, terracotta, fairy lights, trailing ivy. More specific style tokens reduce drift.
Time span: Add time-lapse compression and golden hour light slowly shifting so 10 s reads like “one night” of work.
Reveal peak: Use before-after contrast dramatic or reveal moment so the model knows there’s a single dramatic turn—usually lights-on.
共 1 个版本