Home / Features / CLI & plugins

In your Codex、Claude Code、DeepSeek Harness、OpenClaw、Hermes、WorkBuddy、豆包 make dramas and videos with Xiaoyingma

Use an Agent to manage scripts, nodes, assets, and generation across pipelines, infinite canvases, and interactive stories.

How do you want to use Xiaoyingma?

1

It downloads the Agent CLI package, completes local setup and the environment check, then signs you in with web authorization.

Please install the Xiaoyingma Agent CLI: https://yingma.tv/downloads/yingma-cli-skill-0.5.6.zip. After installation, run yingma doctor, then run yingma auth login --web: it opens the Xiaoyingma authorization page in my browser, where I sign in and click Authorize. Once sign-in succeeds, explain the available Agent pipeline, infinite canvas, and interactive-story commands. Do not create projects, change content, or start credit-consuming generation unless I ask.

Use in sessions that can download files and install local Skills.

2

Sign in and start creating

Sign in to Xiaoyingma

This command opens the Xiaoyingma authorization page in your browser. Sign in as usual, check the confirmation code, then click Authorize. The token stays only in your local configuration.

yingma auth login --web

Put your Agent to work

The Skill has the Agent inspect first, then provide the smallest plan and a preview; it stops for your approval before writes, generation, or refinements.

Use $yingma-cli: inspect the current project and canvas first, then give me the smallest change plan and a --dry-run. Do not modify, submit a model task, or render until I confirm.
Upload the Agent CLI package in My skills

Agent CLI v0.5.6 · Restart your AI Agent after installation and CLI sign-in, then you are ready to begin.

Use it like this

After installation, choose sign-in yourself. Once signed in, send a task below to your Agent. It will report a plan and preview before waiting for execution approval.

Product commercial plan

I will provide a reference commercial and a product image.

Use $yingma-cli to create a product-commercial project for a 30-second vertical video.

Requirements:
1. Analyze the reference pacing, shot structure, transitions, product timing, and emotional curve;
2. Replace the product with my supplied image and do not reuse branded source elements;
3. Build canvas nodes for the ad script, shot breakdown, product visual references, keyframes, and video generation;
4. State each video node’s reference usage, duration, camera movement, and product exposure;
5. Create only the project and complete canvas first. Return the project ID, canvas ID, node summary, and a generation preview. Do not start image or video generation, or rendering, until I confirm.

Creating a project or canvas writes to your account. Each example tells the Agent to wait before generation, rendering, or an actual edit. Replace the theme, assets, and duration as needed.

What your Agent can do once installed

State the creative goal, assets, and approval points clearly; the Agent organizes the work into inspectable projects and canvases.

  • Start from one idea

    Create a project, organize a script draft and shot structure, then build an inspectable canvas plan.

  • Recreate a video style

    Upload your reference video or images and create reference and generation nodes without reusing branded source elements.

  • Make a short drama or animation

    Use the Agent pipeline for full-episode production, or an interactive-story graph for branches, choices, variables, node shots, and playable exports.

  • Make a product commercial

    Upload product images and reference voices, then plan the script, subjects, visual references, shots, voiceovers, and video generation nodes.

  • Track production

    Read project, canvas node, asset, and episode lists, identify follow-up work, and securely download generated audio, images, or video.

  • Continue an existing project

    Read pipeline, canvas, or interactive-story state, then extend it precisely through script patches, node duplication, snippets, and asset libraries, with a preview first.

  • Refine an existing video

    Inspect the target node, then preview video-frame extraction, director screenshots, image erase, reshoots, trims, frame-rate conversion, HD, A/V split, or depth work.

  • Prepare delivery

    Review assets and episode lists, then export canvas state for backup, comparison, or handoff.

CLI or plugin?

Both use the same commands and Skill, and both work in DeepSeek Harness. The difference is whether you want the canvas in the sidebar.

From a chat: Agent CLI

Any agent that can run commands: DeepSeek Harness, Codex, Claude Code, WorkBuddy and more

Let your Agent operate Xiaoyingma with commands. Works with DeepSeek Harness, Codex, Claude Code, and more.

With a canvas in the sidebar: DeepSeek Harness plugin

When you want the canvas right in the DeepSeek Harness sidebar

Adds a sidebar canvas in DeepSeek Harness: your Agent keeps the same access, and you can open the canvas to view and edit. The Agent CLI is included.

Operate projects safely

Read first. Changes to projects or credit-consuming actions require clearer confirmation.

Check the environment first

yingma doctor

Check only the local CLI, sign-in state, and directory binding. It does not read browser credentials or request project data.

Validate the canvas first

yingma canvas validate

Find duplicate IDs, dangling links, and invalid nodes before import.

Preview writes first

--dry-run

Preview the request target and parameters, then create, generate, or render only after confirmation.