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. 按创作需求生成视频镜头。

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 | Default. 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. |

| seedance2 | references/seedance2.md | Seedance 2.0 full model. 4-15s, rich multimodal references, and up to 1080p output. |

| 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 drafts and high-volume batches where the full model's fidelity isn't required. |

| kling | references/kling.md | Camera-control language via prompt; strong on fine emotional / performance control for character shots. 1080p via mode:"pro". |

| 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. 5-15s, 480p/768p, text or first/last-frame generation. No reference mode or 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. |

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 default. 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 default 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: all eight models require ChatCut paid video-generation entitlement (subscription or paid credits). Never present another model as a free workaround for a subscription gate; offer free Motion Graphic animation instead when the user asks for a free path.

Tool Params

| Param | Values | Default |

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

| prompt | video description (required) | — |

| model | seedance-2-5, seedance2, seedance2fast, seedance2mini, kling, minimax-h3, minimax-h3-max, omni | seedance-2-5 |

| durationSeconds | seconds | 5 |

| ratio | see model docs | 16:9 |

| resolution | model-specific; H3: 768p/2k; H3 Max: 480p/768p; Seedance: 480p/720p/1080p; Omni: 360p/720p/1080p/4k | 720p (H3 models: 768p) |

| outputFormat | mp4, mov (seedance-2-5 only) | mp4 (generate); mov (edit/extend) |

| taskMode | generate, edit, extend (seedance-2-5 or omni) | generate |

| name | descriptive asset name (required) | — |

| firstFrame | project asset ref | — |

| lastFrame | project asset ref | — |

| continueFrom | video asset ref — omni only, source to edit/extend | — |

Model-specific params (e.g., Kling mode, Seedance refImages / refVideos / refAudios) — see the model's reference.

Input Resolution

firstFrame / lastFrame / refImages / refVideos / refAudios all take a project asset reference. Prefer a full UUID or short prefix from browse_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.

External URLs and base64 are not accepted. If the source is a public URL, download it into the sandbox workspace, import the local file through the asset-import workflow, and pass the resulting asset id.

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; Kling's prompt tips). Before submitting, check:

Step 3 — Submit one, wait, confirm

Submit one generation job at a time. Unless the user explicitly asked for multiple clips in parallel, 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 default)
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",
});

// Kling text-to-video — only after Model Selection check
submit_video({
  model: "kling",
  prompt: "A sports car drifts around a wet corner",
  name: "Car drift shot",
});

After submission, return the jobId and end the turn by default. Call track_progress only when the user later asks for status or a dependent step needs the completed asset. Use action=status; it returns immediately, so follow its later check-back guidance and do not loop or expect action=wait to block.

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.