Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Design & media
Pixmind Video to Prompt
Try itExtract a storyboard table with local video frames
What it does
Turn one video into a portable structured storyboard. The bundled script submits and polls Pixmind, parses the returned scene nodes, extracts reference frames locally, and emits a generic table presentation that compatible clients can render without Pixmind-specific code.
The skill document
Pixmind video to prompt
Turn one video into a portable structured storyboard. The bundled script submits and polls Pixmind, parses the returned scene nodes, extracts reference frames locally, and emits a generic table presentation that compatible clients can render without Pixmind-specific code.
Required confirmation
This API costs 100 credits per started minute, rounded up. It accepts one video per request and rejects videos longer than 10 minutes.
Before submitting:
- Identify the video URL or local file, output language, and requested scene limit.
- State the billing rule. If the duration is known, show the estimate:
ceil(seconds / 60) * 100credits. - Ask for explicit approval to start the paid analysis.
- Do not run a submission command until the user approves. Polling an already-created task does not require a second approval.
Submit and wait
Use one source only. Default to zh-cn and 100 scenes unless the user supplied other values.
Remote video:
node {baseDir}/scripts/video-to-prompt.js --url "https://example.com/video.mp4" --language zh-cn --max-scenes 100 --yes --poll
Local video:
node {baseDir}/scripts/video-to-prompt.js --file "/path/to/video.mp4" --language zh-cn --max-scenes 100 --yes --poll
Resume an existing task without resubmitting or charging again:
node {baseDir}/scripts/video-to-prompt.js --task-id 12345 --file "/path/to/original.mp4" --poll
Keep the original source when resuming if screenshots are required. Supplying --task-id never submits another paid task; --file or --url is used only for local frame extraction.
Local screenshots and FFmpeg
The script takes the midpoint of every returned splits[index], extracts a 9:16 centered JPEG, and pairs it with data[index].
- Prefer
--ffmpeg, thenPIXMIND_FFMPEG_PATH, then systemffmpeg. - On Windows x64, if FFmpeg is absent, download the preferred full build from the Pixmind R2 manifest. Validate size and SHA-256 before execution; fall back to the next manifest version if necessary.
- Never overwrite the source video.
- Save screenshots and
result.jsonunder~/Downloads/pixmind-video-to-prompt/{taskId}/unless--outputis supplied. - Screenshot extraction is local and free. It must not create or retry a Pixmind task.
Output handling
- Read the final JSON object from stdout. It contains
storyboard, localscreenshots,attachments, the originalrawresponse, and a genericpresentationobject. - Prefer
presentationwhen the host supports structured results. It contains the SaaS-equivalent sections and seven-column table without requiring client-specific Pixmind logic. - Otherwise attach every file in
attachmentsand render the scenes in a Markdown table with: scene number, reference image, duration, shot type, script, scene description, and video prompt. - Present the result in this order: video description, video summary, video prompt, full storyboard prompt, then the storyboard table.
- Report the task ID so an interrupted analysis can be resumed without creating a duplicate paid task.
- Report screenshot success and failure counts. Do not claim screenshots came from the Pixmind backend; the bundled script extracts them locally from the original video.
- Treat
ready,success, andcompletedas successful terminal states. - Treat
failed,error, andcancelledas unsuccessful terminal states and report the API message. - Do not invent missing storyboard fields or submit a replacement task after failure unless the user explicitly approves another paid request.
Errors and security
- HTTP 400: check that exactly one valid video was supplied and that it is no longer than 10 minutes.
- HTTP 401: configure
PIXMIND_API_KEY; never ask the user to paste the key into chat. - HTTP 402: report insufficient credits and stop.
- The API key is configured in the environment or the client's Pixmind provider settings.
Related skills
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
More from fuyunzhishang
Browse all skillsCompress JPG, PNG, WebP, HEIC images via cloud API into WebP or JPG without local dependencies.
Generate or edit AI images with Pixmind. Use for 文生图、图生图、图片编辑、产品图、海报、配图、封面、角色一致性, or whenever the user asks to create or modify an image through Pixmind.
Generate AI videos via Pixmind API (text-to-video and image-to-video)
Create formatted WeChat articles for rich-text copy