Scan your whole stack
From OX Research Newsroom
Are you using @amaster.ai/pi-video-gen?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.44
@amaster.ai/pi-video-gen was last scanned on 29 Nov 2026 at version 0.1.44. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.44 LATEST | 29 Nov 2026 | No rules fired |
| 0.1.43 | 29 Nov 2026 | No rules fired |
| 0.1.2-beta.100 | 28 Nov 2026 | No rules fired |
| 0.1.42 | 27 Nov 2026 | Not shown |
| 0.1.2-beta.99 | 26 Nov 2026 | Not shown |
Findings for v0.1.44. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.44; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Pi extension for video creation. video_generate calls a video model directly for one clip; video_compose assembles existing media by lossless concat, FFmpeg timeline or a trusted HyperFrames/Remotion project; video_render executes a prepared batch script with generated and existing shots, persistent remote-task recovery and optional assembly. The video-gen skill explains how to choose per shot. video_capabilities and /video-gen provide model information and direct commands.
| Wire format | Models | Status |
|---|---|---|
ark (Volcengine Ark) |
Seedance 2.5 / 2.5 Flash / 2.0 standard / fast / mini | ✅ built-in |
sand (Sand AI) |
MAGI-2 (Ark-compatible API) | ✅ built-in |
dashscope (Alibaba) |
HappyHorse 1.1 / 1.0 (t2v/i2v/r2v auto-routed); Wan 3.0 / Prime | ✅ built-in |
kling (Kuaishou) |
Kling 4.0 / 4.0 Flash / 3.0 Turbo / 3.0 Omni | ✅ built-in |
minimax |
MiniMax H3 / Highspeed / Lite / Max / Max Turbo / MG / NC (v2 API) | ✅ built-in |
openrouter |
google/veo-3.1 / fast / lite; google/gemini-omni-1.1-flash / 1.2-flash (+ custom models) | ✅ built-in |
newapi |
self-hosted NewAPI relay (Kling / Jimeng / Vidu / Gemini channels) | ✅ via customProviders — baseUrl required |
| custom | your own endpoints | ✅ via customProviders |
Registry entries are written against provider documentation (each adapter's header notes the source) and are pending live smoke tests against real accounts — verify with /video-gen doctor + one small paid clip before heavy use.
New model selection: Set defaultModel to a versioned alias below in settings. Existing defaults and aliases retain their previous targets.
| Alias | Remote model ID | Output supported by this extension |
|---|---|---|
seedance-2.5 |
doubao-seedance-2-5-260628 |
4–30s; 480p/720p/1080p/4k; image/video/audio trusted assets, up to 30/10/10 respectively |
seedance-2.5-flash |
doubao-seedance-2-5-flash-261115 |
4–30s; 480p/720p; up to 10/5/5 image/video/audio references |
magi-2 |
magi-2 |
4–30s; 1080p; audio; first/last frames or up to 10/5/5 image/video/audio references |
kling-4.0, kling-4.0-flash |
kling-4.0, kling-4.0-flash |
Standard: 3–30s, 720p/1080p/4k, first/last frames. Flash: 3–20s, 720p, first frame |
minimax-h3-highspeed, minimax-h3-lite |
MiniMax-H3-Highspeed, MiniMax-H3-Lite |
4–15s; 480P/768P |
minimax-h3-max, minimax-h3-max-turbo |
MiniMax-H3-Max, MiniMax-H3-Max-Turbo |
5–15s; 480P/768P |
minimax-h3-mg, minimax-h3-nc |
MiniMax-H3-MG, MiniMax-H3-NC |
4–15s; MG: 768P/2K, NC: 480P/768P |
veo-3.1, veo-3.1-fast |
google/veo-3.1, google/veo-3.1-fast |
Exactly 4/6/8s; 720p/1080p/4K; 16:9 or 9:16 |
veo-3.1-lite |
google/veo-3.1-lite |
Exactly 4/6/8s; 720p/1080p; 16:9 or 9:16 |
gemini-omni-1.1-flash, gemini-omni-1.2-flash |
google/gemini-omni-1.1-flash, google/gemini-omni-1.2-flash |
3–10s / 3–15s; 360p/720p/1080p/4K; 16:9 or 9:16 |
wan-3.0, wan-3.0-prime |
wan3.0-video, wan3.0-video-prime |
2–30s; 480P/720P/1080P; native audio; first/last frames or up to 10 reference images |
Seedance 2.0 standard additionally exposes 4k, and HappyHorse 1.1 exposes 480P. OpenRouter reference-image inputs retain the extension's conservative two-image limit; provider-specific combinations of duration, resolution, audio and reference mode may impose further constraints.
Seedance 2.5 (official guide): first/last-frame generation automatically sends ratio=adaptive to preserve the input frame shape. The existing tool supports explicit clip durations and reference generation; video editing/extension requiring duration=-1 is not exposed. 1080p output uses 10-bit H.265/HEVC; check player and assembly compatibility.
MAGI-2 (Sand AI Ark API): set pi-video-gen.defaultModel to magi-2 and pi-video-gen.providers.sand.apiKey to "${SAND_API_KEY}" in global or agent-dir settings. Sand must enable the model for your organization. A custom Sand endpoint must use HTTPS. Sand job requests reject redirects. For provider-managed references, pass the numeric IDs from the same Sand organization. Frame interpolation and general references use separate requests.
Wan 3.0 (official API): configure providers.dashscope.baseUrl with the workspace endpoint documented for your account/region, such as https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com. Frames and reference images cannot be mixed; a last frame requires a first frame. The adapter keeps the model ID unchanged and maps the native-audio decision to parameters.audio. Video/audio/file/link reference inputs and smart duration are not exposed by the existing tool.
Seedance trusted portrait assets: Seedance may reject ordinary image/video references containing recognizable real people. For those shots, select a preset avatar or an Active authorized-person asset in the same Volcengine Ark account/project used for generation, then pass its asset-... ID (or asset://asset-... URI) through referenceAssets. The extension supports trusted image, video, and audio assets for the built-in Seedance 2.0 and 2.5 models and maps them to Ark's asset:// request format. Prompt text refers to their order as Image 1, Video 1, and Audio 1 — never by Asset ID.
This package ships dated snapshots of the public material cards and preset persona library under skills/video-gen/references/, including the Asset IDs needed by referenceAssets. Volcengine does not document those IDs as permanent or cross-account, so retry with an ID copied from the active account's library if a snapshot ID is rejected. Private or authorized-person assets always require the user to provide the current account/project's actual ID. Identity verification, authorization H5 flows, activation, uploading, and asset-library management remain outside this package. See Volcengine's preset-avatar guide, authorized-person asset guide, and Seedance request format.
Global settings (~/.pi/agent/settings.json):
{
"pi-video-gen": {
"defaultModel": "seedance-2.0", // alias of doubao-seedance-2-0-260128
"providers": {
"ark": { "apiKey": "${ARK_API_KEY}" } // Volcengine Ark key
},
"rateLimit": { "maxRequestsPerMinute": 2, "maxRequestsPerDay": 20 },
"concurrency": { "clips": 2 }
}
}
Custom providers (same idea as pi-image-gen's — point any Ark-compatible endpoint at your own models; string models get conservative capabilities, object models declare them). When a custom model's id names a built-in model (e.g. "MiniMax-H3" behind your relay), the built-in capability table and defaults are inherited automatically — undeclared capabilities, defaultResolution/defaultAspectRatio/defaultDurationSec fall back to the registry values instead of the conservative 720p/16:9 profile, and any field you do declare overrides the inherited one:
{
"pi-video-gen": {
"defaultModel": "fast9",
"customProviders": {
"myproxy": {
"api": "ark",
"baseUrl": "https://proxy.example/api/v3",
"apiKey": "${MY_PROXY_KEY}",
"models": [
"seedance-lite-x",
{ "id": "remote-model-9", "alias": "fast9",
"capabilities": { "maxReferenceImages": 9,
"maxReferenceVideos": 3, "maxReferenceAudios": 3, "durations": [2, 30],
"resolutions": ["480p", "720p", "1080p"], "aspectRatios": ["16:9", "9:16"],
"nativeAudio": true, "supportsFirstLastFrame": true,
"referenceAssetModalities": ["image", "video", "audio"] } }
]
}
}
}
}
Models with discrete clip durations expose capabilities.durationValues alongside the inclusive durations range. Veo 3.1 models use [4, 6, 8]; tool parameters, single-clip validation and batch preflight all enforce those choices before paid submissions. Custom models inherit this field by ID unless existing settings explicitly override the duration range or choose a default outside those discrete values. They may also override it with a nonempty array of positive integers within their duration range; an explicit defaultDurationSec must belong to that array.
NewAPI notes (video format docs): NewAPI is a self-hosted relay, so the newapi wire format has NO default endpoint — baseUrl is mandatory and resolution fails with the exact settings path to fix when it is absent. Both the server root ("https://newapi.example.com") and the OpenAI-style "…/v1" form are accepted. Channel-specific parameters ride in metadata following the upstream doc examples: aspect_ratio + resolution (Jimeng/Vidu style), image_tail for the last frame (Kling style) and image_urls for extra reference images (Jimeng style); the first frame goes in the top-level image field. There is no documented audio toggle or idempotency key, so ambiguous submits are parked for manual resolution rather than auto-retried:
{
"pi-video-gen": {
"defaultModel": "kling-v1",
"customProviders": {
"newapi": {
"api": "newapi",
"baseUrl": "https://newapi.example.com", // REQUIRED
"apiKey": "${NEWAPI_API_KEY}",
"models": ["kling-v1", "jimeng_vgfm_t2v_l20", "viduq1"]
}
}
}
}
MiniMax notes (v2 API, create / query): MiniMax-H3 speaks a multimodal task API — prompt + frames ride in one content array with first_frame / last_frame / reference_image roles (first/last frames and reference images are mutually exclusive; a last frame requires a first frame). H3 resolution is 480P, 768P or 2K, duration 4–15s. See the model table for variant-specific limits. All use ratio 16:9|4:3|1:1|3:4|9:16|21:9 — required and non-adaptive for text-to-video, ignored (forced adaptive) once a first frame is present. The extension sends generate_audio for native audio. The API has no documented idempotency key or cancel endpoint, so ambiguous submits are parked for manual resolution rather than auto-retried. Auth is a plain Bearer key (providers.minimax.apiKey, env MINIMAX_API_KEY), and keys are region-locked: the default endpoint is international api.minimax.io — mainland-China keys need providers.minimax.baseUrl set to https://api.minimaxi.com (and vice versa a 401 means wrong region). Result URLs are time-limited; clips are downloaded immediately, and tasks stay queryable for 7 days.
Kling notes (verified against kling.ai/document-api via browser, 2026-07): current Kling API 2.0 uses a plain API key (providers.kling.apiKey, env KLING_API_KEY) — the JWT ak/sk scheme is legacy. The model lives in the URL path (kling-3.0-turbo / kling-3.0); default base is api-singapore.klingai.com (regional endpoints via baseUrl). Kling 3.0 Omni supports last-frame, native audio and 4k; Turbo is first-frame-only and silent. Kling 4.0 and Flash use the documented text and frame routes. The separate Kling Omni reference and HDR options are outside the current tool contract. Submits carry external_task_id (our request fingerprint), so ambiguous failures are looked up first; an inconclusive lookup is parked for manual resolution rather than blindly resubmitted.
HappyHorse notes: output can contain sound. Pi exposes no audio toggle or last-frame interpolation for these models. One call takes either a first frame (i2v) OR reference images (r2v, prompt them as [Image 1], [Image 2], …), not both. The default endpoint is the classic dashscope.aliyuncs.com (no workspace id needed); if you use a new Bailian workspace, set providers.dashscope.baseUrl to https://{workspaceId}.cn-beijing.maas.aliyuncs.com. Video/task URLs expire after 24h — clips are downloaded immediately.
Trust boundary: providers.*, customProviders.* and ffmpegPath are honored ONLY from global / agent-dir settings — project-level .pi/settings.json can set outputDir, defaultModel, rateLimit, concurrency only (and only when the project is trusted). A malicious repo cannot redirect your API key or swap binaries.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.