Install
openclaw skills install @anyunzhong/infinimo-ai-design-video-createGenerate AI video via Infinimo AI Design—first/last frame, free-form assets, or prompt-only modes; dictionary, credit estimate, uploads, and result polling. Use for text-to-video, image-to-video, and frame-to-frame video.
openclaw skills install @anyunzhong/infinimo-ai-design-video-createInfinimo AI Design is an AI design platform for e-commerce visuals. This skill calls the general video generation API (same as /video-create in the design studio).
Web page: https://design.infinimo.ai/?source=q-i-d-clawhub
https://www.clawec.com/apiToken: <TOKEN>, Content-Type: application/jsonUse INFINIMO_TOKEN or INFINIMO_API_KEY. Common params: platform=1, terminal=4, language=en.
1. GET /aigc/ec_media/video/create/dic → models / ratios / sizes / lengths
2. POST /aigc/ec_media/video/point_calculate → credit estimate (optional)
3. POST /upload/image or /upload/file → upload assets
4. POST /aigc/ec_media/video/create → submit job
5. GET /aigc/ec_media/video/create/logs → poll results
WebSocket wss://www.clawec.com/api/aigc/socket may push video_result_refresh.
GET /aigc/ec_media/video/create/dic
| Field | Description |
|---|---|
| models | Video models |
| ratios | Aspect ratios |
| sizes | Resolutions |
| lengths | Durations in seconds (length submit value is numeric) |
bash scripts/dic.sh
POST /aigc/ec_media/video/point_calculate
| Parameter | Required | Description |
|---|---|---|
| create_mode | yes | 1 / 2 / 3 |
| model, ratio, size | yes | Dictionary ids |
| length | no | Duration (number) |
| prompt | no | Placeholder . is fine |
bash scripts/point_calculate.sh --mode 1 --model M_ID --ratio R_ID --size S_ID --length 5
| Mode | Endpoint | Notes |
|---|---|---|
| 1 — First/last frame | POST /upload/image | First frame required; last optional |
| 2 — Free assets | POST /upload/file | Image/video/audio, max 12 |
| 3 — Prompt only | — | No uploads |
bash scripts/upload_image.sh /path/to/frame.jpg
bash scripts/upload_file.sh /path/to/clip.mp4
POST /aigc/ec_media/video/create
| Parameter | Required | Description |
|---|---|---|
| prompt | yes | Prompt / script |
| create_mode | yes | 1 first-last / 2 assets / 3 prompt-only |
| model, ratio, size | yes | Dictionary ids |
| length | no | Duration (number) |
| attaches | conditional | Asset URL array (see mode rules) |
| Mode | attaches | Rule |
|---|---|---|
| 1 | [firstUrl, lastUrl?] | First frame required |
| 2 | Asset URLs | Max 12 |
| 3 | omit | Prompt only |
bash scripts/create.sh \
--mode 1 \
--prompt "Slow product rotation, studio lighting" \
--model M_ID --ratio R_ID --size S_ID --length 5 \
--attaches '["https://cdn.../first.jpg","https://cdn.../last.jpg"]'
GET /aigc/ec_media/video/create/logs?start=1&size=5
| items field | Description |
|---|---|
| url | Output video URL |
| param | Original submit params |
| time | Created at |
bash scripts/logs.sh 1 5
Delete: GET /aigc/ec_media/video/log/delete?id=<id>
See references/response-schema.md.