原始内容
name: pixmind-video description: Generate AI videos via Pixmind API (text-to-video and image-to-video) homepage: https://www.pixmind.io metadata: {"openclaw": {"requires": {"env": ["PIXMIND_API_KEY"]}, "primaryEnv": "PIXMIND_API_KEY"}}
Pixmind Video Generation Skill
Generate AI videos using Pixmind. Supports text-to-video and image-to-video generation.
Note: The API endpoint
aihub-admin.aimix.prois the official Pixmind API gateway. Result URLs onchatmix.topare Pixmind's CDN for generated content.
When to use
- User asks to generate or create a video
- User wants to animate an existing image into a video
- User requests video content from a text description
Prerequisites
- Register at pixmind.io — 注册即送 200 积分免费试用
- Create an API key at pixmind.io/api-keys
- Set env
PIXMIND_API_KEYwith your key
API Details
Endpoint: POST https://aihub-admin.aimix.pro/open-api/v1/video/generate
Auth: Header X-API-Key: {API_KEY} (from env PIXMIND_API_KEY)
Request Body (JSON)
| Parameter | Required | Type | Description |
|---|---|---|---|
prompt |
Yes | string | Video description / prompt |
model |
No | string | Model ID (default: seedance-2.0-pro) |
duration |
No | number | Video duration in seconds (allowed values vary by model) |
aspectRatio |
No | string | Aspect ratio (allowed values vary by model) |
resolution |
No | string | Resolution: 480p, 720p, 1080p (required for Seedance models) |
generateType |
No | string | text2video (default) or img2video |
imageUrl |
No | string | Reference image URL (required for img2video) |
Available Models
Model list verified against the live API (POST /open-api/v1/video/generate, 2026-07-15). Only models that pass Pixmind's validation layer are listed — sending an unsupported slug returns code: 400, 不支持的模型.
| Model ID | Text-to-Video | Image-to-Video | Aspect Ratios | Duration (s) | Resolution | Notes |
|---|---|---|---|---|---|---|
seedance-2.0-pro |
✓ | ✓ | (see Seedance) | 3–10 | 480p / 720p / 1080p | ByteDance flagship. Default model. Maps to doubao-seedance-2-0 upstream. |
seedance-2.0-fast |
✓ | ✓ | (see Seedance) | 3–10 | 480p / 720p / 1080p | Fast variant. Maps to doubao-seedance-2-0-fast. |
seedance-1.5-pro |
✓ | ✓ | (see Seedance) | 3–10 | 480p / 720p / 1080p | Previous flagship. Maps to doubao-seedance-1-5-pro. |
veo-3.1 |
✓ | ✓ | 16:9, 9:16 |
(see Veo) | — | Google Veo 3.1, latest. |
veo-3.1-eco |
✓ | ✓ | 16:9, 9:16 |
(see Veo) | — | Cheaper Veo 3.1 variant. |
veo-3.0 |
✓ | ✓ | 16:9, 9:16 |
(see Veo) | — | Google Veo 3.0. |
veo-3 |
✓ | ✓ | 16:9, 9:16 |
(see Veo) | — | Alias of veo-3.0. |
veo-3.0-fast |
✓ | ✓ | 16:9, 9:16 |
(see Veo) | — | Fast variant of Veo 3.0. |
sora-2 |
✓ | ✓ | (see Sora) | 4, 8, 12 only |
— | OpenAI Sora 2. Only accepts durations 4, 8, or 12. |
sora-2-eco |
✓ | ✓ | (see Sora) | 4, 8, 12 only |
— | Cheaper Sora 2. Provider availability varies. |
sora-2-pro |
✓ | ✓ | (see Sora) | 4, 8, 12 only |
— | Pro variant. Currently paused upstream — may error. |
wan2.6-t2v |
✓ | ✗ | 16:9, 9:16, 1:1, 4:3, 3:4 |
3–10 | — | Alibaba Wan 2.6 text-to-video. |
wan2.6-i2v |
✗ | ✓ | 16:9, 9:16, 1:1, 4:3, 3:4 |
3–10 | — | Alibaba Wan 2.6 image-to-video. |
wan2.6-i2v-flash |
✗ | ✓ | 16:9, 9:16, 1:1, 4:3, 3:4 |
3–10 | — | Faster Wan 2.6 image-to-video. |
Unsupported Models (removed or never published in API)
The following slugs are rejected by the API with 不支持的模型. Do not use:
- All
seedance-1.0*(1.0, 1.0-pro, 1.0-lite) — removed seedance-1.5,seedance-1.5-lite,seedance-1.5-turbo— onlyseedance-1.5-prosurvivesseedance-2.0,seedance-2.0-lite,seedance-2.0-mini,seedance-2.0-turbo,seedance-2.0-eco- All
kling-*(kling-v1.5, v1.6, std-1.6, v2, v2-master, v2-pro, v3, v3-motion-control, etc.) — Kling no longer exposed via this API - All
pixverse-*(1.0, 2.0, 3.0, 4.0, video, v5) — slugs partially recognized but route is broken (500 error:Cannot read properties of undefined (reading 'internalModel')) wan2.1-t2v,wan2.5-t2v,wan2.7-video,wan2.7-t2v,wan2.7-i2v- All
minimax-*,hailuo,hidream-* veo,veo-2,veo-3.2,veo-3.1-fast,veo-3.1-pro,veo-3.1-ultra,veo-3.0-pro,veo-3.0-ultrasora,sora-1,sora-3,sora-2.5,sora-2-fast,sora-2-mini,sora-2-ultra
Model Introductions
Seedance (ByteDance Doubao) — Flagship video generation series with smooth motion and realistic physics. Resolution parameter required.
seedance-2.0-pro— Latest flagship. Best for professional-grade video.seedance-2.0-fast— Faster, lower cost variant of 2.0.seedance-1.5-pro— Previous flagship, still high quality.
Google Veo — Cinematic video generation with native audio support. Only 16:9 and 9:16 aspect ratios.
veo-3.1/veo-3.1-eco— Latest Veo 3.1 generation.veo-3.0/veo-3/veo-3.0-fast— Veo 3.0 generation.
OpenAI Sora — Strong at complex scenes and physical accuracy. Only durations 4, 8, or 12 seconds accepted.
sora-2— Latest stable Sora.sora-2-eco— Cheaper variant (provider availability varies).sora-2-pro— Pro tier (currently paused upstream).
Wan 2.6 (Alibaba) — Alibaba's video diffusion model. Supports all common aspect ratios.
wan2.6-t2v— Text-to-video.wan2.6-i2v— Image-to-video.wan2.6-i2v-flash— Faster image-to-video variant.
Usage
Use curl or the included helper script:
# Text to video (via curl) — Seedance requires resolution
curl -X POST https://aihub-admin.aimix.pro/open-api/v1/video/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: $PIXMIND_API_KEY" \
-d '{"prompt": "ocean waves", "model": "seedance-2.0-pro", "duration": 5, "resolution": "1080p", "aspectRatio": "16:9"}'
# Sora 2 — duration MUST be 4, 8, or 12
curl -X POST https://aihub-admin.aimix.pro/open-api/v1/video/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: $PIXMIND_API_KEY" \
-d '{"prompt": "city night drive", "model": "sora-2", "duration": 8, "aspectRatio": "16:9"}'
# Veo 3.1 — only 16:9 or 9:16
curl -X POST https://aihub-admin.aimix.pro/open-api/v1/video/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: $PIXMIND_API_KEY" \
-d '{"prompt": "timelapse", "model": "veo-3.1", "duration": 8, "aspectRatio": "16:9"}'
# Or use the helper script
node {baseDir}/video-generate.js --prompt "描述文字" --model seedance-2.0-pro --duration 5 --resolution 1080p
Task Status Polling
After generation, poll for results:
# Via curl
curl https://aihub-admin.aimix.pro/open-api/v1/task/<TASK_ID> \
-H "X-API-Key: $PIXMIND_API_KEY"
# Or use the helper script
node {baseDir}/task-status.js --task-id <TASK_ID> --poll
Response Format
Generate response:
{"code": 1000, "data": {"taskId": 19401, "status": "processing"}}
Task status response:
{
"code": 1000,
"data": {
"taskId": 19401,
"status": "ready",
"progress": 100,
"videoUrl": "https://chatmix.top/...",
"coverUrl": "https://chatmix.top/..."
}
}
data.taskId— Use this to poll status- Status values:
processing→ready(success) - On success:
data.videoUrlcontains the video URL,data.coverUrlhas the cover image
Error Responses
code: 400with不支持的模型: <model>— Unsupported model slug.code: 500withthe parameter resolution specified in the request is not valid for model <X>— Seedance models require an explicitresolutionof480p,720p, or1080p.code: 500withInvalid aspect ratio: <X>— Aspect ratio not supported by this model. Veo only accepts16:9/9:16.code: 500withinvalid duration: <N>s (model sora-2-preview only supports duration=[4 8 12])— Sora only accepts durations of 4, 8, or 12 seconds.code: 1001with请输入提示词— Empty prompt.code: 1001with速率限制:每minute最多60次请求— Rate limited; back off.
Guidelines
- Always confirm the prompt, duration, and model with the user before generating
- Default to
seedance-2.0-prowithresolution: 1080pandaspectRatio: 16:9unless user specifies otherwise - Seedance models require
resolution(480p/720p/1080p) — requests without it fail - Veo models only accept
16:9or9:16aspect ratios - Sora 2 models only accept
durationof4,8, or12seconds — pick one of these explicitly - If user provides a reference image, automatically use
img2videomode and pick an image-to-video capable model (wan2.6-i2v,wan2.6-i2v-flash, or any Veo / Sora / Seedance model) - Video generation takes longer than images — use
--pollwith appropriate interval (recommend 5–10s) - After getting the task ID, poll until completion and return video URL
- For faster results on a budget, prefer
seedance-2.0-fast,wan2.6-i2v-flash, orveo-3.0-fast - Avoid probing the API by sending requests with arbitrary model names — many slugs that appear in the marketing site are not actually exposed by the API. Stick to the table above.