Logo Canvotion

Canvotion

Cộng đồng
Cordy27
canvotion

Generate editable video projects and render them using code via the Canvotion CLI.

Tổng quan

Nhà phát hànhCordy27
Kho mãcanvotion-skill
Tên kỹ năngcanvotion
Sao
31
Bản fork
0
Tệp đi kèm
32
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 32 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Cordy27 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Canvotion trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Cordy27/canvotion-skill/tree/master
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cordy27/canvotion-skill.git \
  .claude/skills/canvotion
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Canvotion trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Canvotion ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Canvotion với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Canvotion CLI Skill

Role

  • Use the Canvotion CLI to interact with Canvotion services.
  • Execute only standard high-level CLI commands (e.g., canvotion ...).
  • Do not attempt to call underlying API endpoints or internal system commands directly.
  • For authoring guidelines, refer to the rule files under the [references/authoring](./references/authoring) directory (which contains guidelines for planning, visuals, coding, and 3D scenes).

Setup

  • Ensure the canvotion npm package is downloaded and installed:
    • Install globally: npm install -g canvotion
    • Or install locally in a project directory: npm install canvotion and run with npx canvotion
    • Always execute the CLI using the installed canvotion npm package command directly (e.g., canvotion [command] or npx canvotion [command]).
  • Run canvotion login first to authenticate with the Canvotion service.
  • The CLI credentials will be managed automatically. Do not ask the user for database or storage credentials.
  • Automation environments can authenticate using canvotion login --cli-token <token> or by setting the CANVOTION_CLI_TOKEN environment variable.
  • Run canvotion capabilities --schema before relying on specific command options or component contracts.

Core Workflow

  1. Bootstrap auth, project, and session:
    • canvotion auth status
    • canvotion projects list
    • canvotion projects create --title "Demo" --template blank --start-session
    • canvotion projects use --project-id <project_id>
    • canvotion session start --project-id <project_id>
    • canvotion session status
    • canvotion session end
  2. Prepare or inspect workspace:
    • canvotion workspace prepare --all
    • canvotion workspace list
  3. Read or update plan:
    • canvotion plan read
    • canvotion plan write --stdin-json-file plan.json
    • canvotion plan publish
  4. Upload local images before writing canvas code:
    • canvotion image upload --file ./cover.png --summary "cover image"
    • Use the returned delivery_url in canvas code: Image({ url: "<delivery_url>" }).
  5. Read, write, verify, and publish pages:
    • canvotion page read --filename page-001.json
    • canvotion page write --filename page-001.json --stdin-file page.js
    • canvotion page verify --filename page-001.json
    • canvotion page publish --filename page-001.json --mode replace_focus
    • canvotion page ship --filename page-001.json --mode replace_focus --stdin-file page.js
  6. Share the editor preview and wait for user approval:
    • After the final page publish or page ship, construct the editor URL as https://canvotion.com/editor.html?project_id=<project_id>&file=<target_filename>.
    • Get <project_id> from the active selected project or session context, such as projects create, projects use, projects current, or session status. Do not assume publish_result contains a project id.
    • Use the returned publish_result.target_filename as <target_filename>. If it is absent, fall back only to the explicit --filename used in the publish command; otherwise stop and ask for the target file instead of guessing.
    • Tell the user the editor URL and ask them to preview the addressed page before video export. For project-scope video, ask them to check project order and all pages in the editor.
    • Do not run canvotion render video until the user approves the preview, unless the user explicitly asked in the current request to export directly or skip preview.
  7. Export saved renders:
    • canvotion render image --filename page-001.json [--time-seconds <seconds>] --output page-001.png
    • canvotion render video --scope slide --filename page-001.json
    • canvotion render video --scope slide --filename page-001.json --wait --timeout-seconds 120 --output page-001.mp4
    • canvotion render video --scope slide --filename page-001.json --format mov-alpha --wait --timeout-seconds 120 --output page-001.mov
    • canvotion render video --scope project --wait --output project.mp4
    • canvotion render video --scope project --format mov-alpha --wait --output project.mov
    • canvotion render status --task-id <task_id>
    • canvotion render download --task-id <task_id> --output project.mp4 [--resume] [--retries <n>]
    • canvotion render image defaults to exporting the first frame; specify --time-seconds <seconds> to capture other timestamps.
    • canvotion render download keeps the .part file upon failure; use --resume to continue and --retries to specify retry attempts.
  8. Diagnose:
    • canvotion doctor
    • canvotion version

Canvas Contract

  • Return a Frame.
  • If you use frame.add(...) or return frame, declare it first with const frame = new Frame({ width: 1920, height: 1080 });. Do not rely on a global frame.
  • frame.add(...) and group.add(...) accept only a constructed Leafer node or Leafer JSON with tag. Do not pass a plain config object such as { id, text, voice }; for custom media like voiceovers, use constructors like new LeaferVoiceover({ ... }).
  • Use supported constructors only: Frame, Group, Box, Rect, Text, Line, Ellipse, Polygon, Image, Path, ManimAnimation, LeaferVideo, LeaferVoiceover, LeaferAudio, LeaferThree, LeaferProjection, LeaferProjectionFace.
  • Do not use eval, Function, require, dynamic import, process, fetch, or XMLHttpRequest.
  • To use images, upload the local file via the CLI, and use the returned delivery_url in the canvas code. Local file paths must not appear in the final canvas code.
  • Verify canvas content via the CLI verifier before publishing.

Authoring Rule Tree

  • Use [references/authoring/plan/10-outline.rule](./references/authoring/plan/10-outline.rule) for project outlines.
  • Use [references/authoring/visual/](./references/authoring/visual/) rules for visual planning and refinement.
  • Use [references/authoring/code/](./references/authoring/code/) rules for Frame/Leafer authoring, styles, animations, voiceovers, and asset references.
  • Use [references/authoring/threejs/](./references/authoring/threejs/) rules when the canvas requires 3D scene configuration.

Boundaries

  • Render commands only export saved canvas or project data. Do not attempt to stream unsaved file content to render commands.
  • Render dimensions must keep the canvas frame ratio (16:9). Pass --width and --height together.
  • render image returns an image URL; render video returns a task ID and status URL by default, and only blocks/waits when --wait is specified.
  • For transparent overlay video intended for Premiere Pro, Jianying, or After Effects, author subject-only alpha-safe scenes with no full-canvas background fills, opaque backdrops, or solid Frame fill, then request export with exactly --format mov-alpha.
  • Image uploading supports standard file paths via canvotion image upload --file.
  • For canvas publishing, only use continuation none.
  • Before video export, show the user the editor preview URL and wait for approval. The preview URL format is https://canvotion.com/editor.html?project_id=<project_id>&file=<target_filename>.
  • Do not attempt to use any private backend routes or internal system commands.
  • Prefer page ship for a single operation; use write -> verify -> publish when iterative correction is needed.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Canvotion làm được gì?

Generate editable video projects and render them using code via the Canvotion CLI.

Vì sao nên dùng Canvotion trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Canvotion là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Canvotion trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Cordy27/canvotion-skill/tree/master. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Canvotion?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Canvotion với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Canvotion với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Canvotion có miễn phí không?

Kỹ năng này được Cordy27 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇