Package Exports
- @visionengine/img2video
- @visionengine/img2video/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@visionengine/img2video) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
VE Image To Video MCP
Async MCP server for image-to-video generation via ve-backend proxy.
Environment
API_URL: backend proxy url, defaulthttps://api.visionengine-tech.com/api/v1/img2videoAPI_KEY: user API key from VisionEngine backend (required for submit/query and remote upload)MODEL: platform model id, default@preset/vec-1-0-img2videoWORKDIR: local workspace rootDEFAULT_OUTPUT_DIR: default relative output directory, defaultpublic/videosFILE_MODE: local file handling mode,localorremote, defaultremoteREMOTION_WORK_DIR: shared mount root used inlocalmode, default/vecBASE_URL: backend public base url used for/saveand/sharedlinks, defaulthttps://api.visionengine-tech.comREMOTE_IMAGE_UPLOAD_PATH: remote upload path for local images inremotemode, defaultpublic/imagesREMOTE_AUDIO_UPLOAD_PATH: remote upload path for local audios inremotemode, defaultpublic/audios
Tools
submitquery
submit
Submit an async image-to-video task and receive a taskId for later polling.
imagePath supports:
- public image URL
- base64 image data URL
- local image file path
audioPath supports:
- public audio URL
- local audio file path
When local files are used:
FILE_MODE=local: convert local absolute path to backend shared download URL by removingREMOTION_WORK_DIRprefixFILE_MODE=remote(default): upload local file to backend/save, then convert returned file path to/shared/...?...download=true
Recommended upstream constraints:
- image formats: JPEG/JPG/PNG/BMP/WEBP
- image size: <= 10MB
- image edge length: 240~8000 px
- audio formats: mp3/wav preferred
- audio size: <= 15MB
- duration parameter: 2~15 seconds
query
Query a submitted task by taskId.
- If still running, the tool returns current
taskStatusand suggests querying again after about 15 seconds. - If succeeded, it returns
outputVideoUrland by default downloads the result locally. - Set
downloadResult=falseif you only want the current status or the remote result URL.
Note: upstream result URLs may expire within 24 hours, so prompt download is recommended.