Video gen

From ChatCut-Inc/agent-plugin · View interactive version

Video gen is an AI agent skill from the GitHub repository ChatCut-Inc/agent-plugin. AI video generation via Seedance, Gemini Omni, MiniMax H3, MiniMax H3 Max, Kling 3.0, and Kling 4.0. Use when the user wants to generate a video clip — text-to-video, image-to-video, first/last-frame transitions, reference-guided generation — or wants to modify / edit / extend an existing generated

How to use this skill

Skill file

Video Gen

Submits one video generation job per call and returns a jobId. Job status and later check-backs belong to track_progress; this skill does not place videos on the timeline automatically.

When to Use

Any time the user wants to generate a video clip — text-to-video, image-to-video, first-last-frame transition, reference-based generation, or generatively editing / extending an existing video (producing new generated footage based on a source clip; not timeline trimming).

Models

| Model | Reference | Strengths |

| ---------------- | ------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| seedance-2-5 | references/seedance25.md | First choice. 4-30s, up to 50 multimodal references, audio-only reference, timestamp control, and mp4/mov output. Strongest Seedance choice for new generation, edit, and extend. Its 480p clips are drafts that can become a matching 1080p final. |

| seedance2 | references/seedance2.md | Seedance 2.0 full model. 4-15s, rich multimodal references, and up to native 4K output (10-bit HEVC). An explicit ratio center-crops a first/last frame to that ratio. |

| seedance2fast | references/seedance2.md | Seedance 2.0 Fast — same inputs and 4-15s range as seedance2, returns in minutes instead of ~ten, ~20% cheaper, capped at 720p. Use when the user is iterating and turnaround matters more than peak fidelity. |

| seedance2mini | references/seedance2.md | Seedance 2.0 mini — same inputs and 4-15s range as seedance2, ~50% cheaper, capped at 720p. Use for cheap test runs and high-volume batches where the full model's fidelity isn't required; a later full-model run will not reproduce it. |

| minimax-h3 | references/minimax-h3.md | MiniMax H3. 4-15s, 768p/2k, first/last frames, and up to 9 image + 3 video + 3 audio references (12 total). Strong multimodal reference following. |

| minimax-h3-max | references/minimax-h3-max.md | MiniMax H3 Max, the faster H3 variant. 5-15s, 480p/768p, first/last frames or the same references as H3. No 2K output. |

| omni | references/omni.md | Gemini Omni 1.1 Flash. Targeted edits/extensions via continueFrom, first/last frames, and cheap 360p drafts. 3-10s; 720p default, upscaled 1080p/4k. |

| kling | references/kling.md | Kling 3.0. 3-15s, 720p/1080p, 16:9/9:16/1:1. First/last frames and reference images in one request (7 images in all). No video or audio references. |

| kling-4 | references/kling-4.md | Kling 4.0. Up to 30s in one clip, 720p/1080p, adds 21:9. Frames plus up to 10 images and 5 reference videos, addressed by name in the prompt (@image_1, @video_1). |

IMPORTANT: Before generating, READ the chosen model's reference for capabilities, input channels, modes, prompt structure, and model-specific behavior.

Model Selection

For a new generation, seedance-2-5 is the first choice. Only switch when one of:

Otherwise stay on seedance-2-5.

For revising a clip that already exists, the choice is made in Step 4 — not here. A revision request is not a reason to change the first choice for future fresh generations. Omni 1.1 replaces the previous Omni choice; keep the omni alias and do not invent a second legacy choice.

Access note: video generation costs credits. For ordinary beta/production accounts, Seedance, Omni and Kling also require the payer to have an eligible paid subscription; a credit-pack purchase alone does not unlock those routes. MiniMax currently uses credit checks without that subscription feature gate. Do not describe MiniMax as free or switch models to bypass an access error. If the user asks for a free path, offer Motion Graphic animation.

When a generation tool returns FEATURE_NOT_INCLUDED for a generation.* feature, use its payer and access details. If the project owner needs Pro, explain that the owner pays and must upgrade; the member's own Pro does not unlock the project. Do not give the member a personal upgrade link or send them to their own billing menu. They can find the owner in the project's existing members view when available. Otherwise share the returned upgrade link, or ChatCut’s avatar menu → Upgrade. Existing credits are preserved and generation still consumes credits after upgrading. This rejection does not charge for generation; existing agent conversation fees are separate, so do not claim the whole conversation was free. Preserve the exact original tool input and project, then stop. Do not automatically search for or substitute stock media; offer alternatives only if the user explicitly asks.

When the user returns with “continue”, “继续”, “jixu”, or says they upgraded, recheck current payer eligibility and credits for the original input with estimate_generation when supported, otherwise the original tool’s precheck. If there is no separate precheck, one retry of the original tool lets its server check current access. If eligible, submit the original input once; if still blocked, explain the current blocker and stop. Do not ask the user to choose between the original generation and stock media again or state the old rejection as current status without checking. If a job was already accepted, track it instead of submitting again. Never switch generation tools, providers or services to bypass a gate.

Tool Params

Call submit_video with the model chosen above set explicitly. Its description and schema own the parameter names, allowed values, defaults and limits; per-model fields (e.g. Seedance references, Omni continueFrom) are in the model's reference.

Input Resolution

firstFrame / lastFrame / refImages / refVideos / refAudios accept project asset references or public HTTPS/s3:// resource URLs. Prefer a full UUID or short prefix from browse_assets for existing assets; asset://<id> and same-project asset URLs returned by asset tools are also accepted. Per-slot type: frame slots and refImages → image; refVideos → video; refAudios → audio. continueFrom also accepts a public video resource.

Pass public resources directly in the appropriate slot, including URLs resolved from skill/catalog references. ChatCut validates and measures them in managed generation storage without creating library assets. ChatCut downloads URL references up to 5 MiB for images and 50 MiB for video/audio; the model's own limits in its reference still apply. Do not download or import a resource merely for generation. Private S3 objects, base64 and workspace paths are not URL references.

Workflow

Four-step loop. For each new generation, restart from Step 1 if the user's intent has shifted.

Step 1 — Align scope with the user

Before writing any prompt, align on three dimensions:

  1. Duration & segments — total length, how many shots, and whether they live in one clip or several.

If the user has already stated a direction ("做一段", "in one video", "分别生成", "split into N shots", etc.), follow it — don't second-guess.

Otherwise, surface the two paths and let the user pick:

Offer the trade-off; do not pick for the user.

  1. Content — what each clip depicts. Summarize back what you understood, segment by segment. When content is vague (e.g. "generate a video of a girl dancing"), the user typically hasn't specified one or more of:

Focus on the items that matter for this specific request and can't be safely inferred — don't turn this into a blank-filling exercise. Summarize the understood parts back to the user before proceeding.

  1. Consistency anchors — only when multiple shots reuse a character, object, or scene: identify which anchor (reference image or video) to pin across shots. For sourcing rules, see §Visual consistency across shots below.

For each dimension, check the user's words:

What NOT to do
Hard overrides (user's explicit word wins)

Step 2 — Write the prompt

See the chosen model's reference for prompt structure and param combinations (e.g., Seedance's 8-element structure and modes). Before submitting, check:

Step 3 — Submit one, wait, confirm

Submit one generation job at a time. Unless the user asked for multiple clips in parallel, directly or by approving a plan that names them (such as several takes of one prompt), do not submit the next clip until the current one completes and the user has reviewed it. Parallel submission hides problems: if the first shot has drift or wrong framing, the user would rather redo it once than have several misaligned shots to discard.

Step 4 — Iterate

When the user wants a next clip, a revision, or a continuation, first decide what the existing clip is in the next call:

| The existing clip is… | Path |

| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |

| The thing being modified — a targeted change; preservation is not pixel-exact | omni + continueFrom |

| A source to re-generate from — new motion / camera, whole-clip style shift, extend, bridge | seedance-2-5 + refVideos; set taskMode for edit/extend |

| Not reusable — the intent changed | regenerate, restart at Step 1 |

A localized change defaults to omni + continueFrom. For an explicitly chosen Omni continuation use taskMode:"extend" + continueFrom; for transitions between two images use firstFrame + lastFrame. Keep Seedance 2.5 as the general edit/extend path otherwise. Do not wait for the user to say "keep everything else" — "把气球改成黄色" / "remove the text in the corner" already means it. Route to seedance-2-5 only when the change genuinely needs re-inference (motion, camera, duration, whole-clip style), not because Seedance is more familiar.

omni source edits/extensions require a project video of up to 10 seconds. For longer sources use seedance-2-5 + refVideos or ask to trim first. This integration is stateless: do not promise the upstream 40-second multi-turn workflow.

No generative edit is lossless. Omni 1.1 supports upscaled 1080p/4k, but higher resolution does not guarantee detail or unchanged pixels. Review the result before replacing a timeline item; the original asset remains available.

Then apply the standing rules:

Visual consistency across shots

Text alone cannot reliably maintain visual identity across shots; visual references constrain output far more precisely than words.

Anchors: the cornerstone of consistency

An anchor is a reference image or video pinned across every shot that shares the same character, object, or style. Any multi-shot sequence with recurring visual elements needs an anchor — don't try to reproduce them from text.

Sourcing an anchor

Have reference awareness. When the user's request involves a recurring character / object / scene, think about what anchor to use before writing prompts:

Establishing a new anchor (with user consent)

When no existing asset fits and one must be generated, propose it to the user first — it costs credits and shapes every downstream shot. Model-specific paths — see the chosen model's ref.

Using the anchor

Multi-character projects

When a project has multiple named characters with distinct attributes (e.g. Faz with fire energy, Kev with ice energy), treat each character as a separate anchor — one reference asset per character. In every prompt:

Missing either explicit attribution or negation causes cross-character attribute mixing.

Multiple characters in the same frame. For shots where multiple characters appear together (especially facing the camera), the model is prone to face-swap or body-clipping. Add strong positional + outfit anchors to each character and prefer a fixed camera for that shot:

Positional words (left / right / foreground / background) + distinctive outfit colors give the model enough signal to keep the characters apart.

Escalate when text adjustments fail

If a visual-identity issue (wrong character, drift, color mismatch) persists after two text-prompt adjustments on the same shot, stop adjusting text. Text is not a substitute for an anchor. Escalate to:

Do not submit a third text-only retry on the same consistency issue.

When to skip anchoring

Simple, one-off, or exploratory requests do not need anchors — generate directly.

Run

// Text-to-video (Seedance 2.5)
submit_video({
  model: "seedance-2-5",
  prompt: "A cat walks across a sunny windowsill",
  name: "Cat on windowsill",
});

// Image-to-video with Seedance 2.5 — pass the project asset id directly
submit_video({
  model: "seedance-2-5",
  prompt: "The scene comes to life, gentle breeze rustles the curtains",
  firstFrame: "abc12345",
  name: "Living room animation",
});

After submission, return the jobId and end the turn by default. Call track_progress only when the user asks for status (action=status) or a dependent step needs the completed asset (action=wait, then do what its result says). Both return immediately; do not loop.

Config Mode

For complex multimodal jobs, build the full args object up front and pass it in a single call:

submit_video({
  model: "seedance-2-5",
  prompt: "...",
  name: "...",
  refImages: ["def67890", "ghi24680"],
  refVideos: ["abc99999"],
  refAudios: ["jkl55555"],
  durationSeconds: 8,
  ratio: "9:16",
});

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.