OpenAI-style async generation. The same Sub2API bearer key works here and through subtoken.vip.
cURL
curl https://video.warmpix.com/v1/videos/generations \
-H "Authorization: Bearer $SUB2API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: shot-001" \
-d '{
"model": "minimax-h3-video",
"prompt": "A rain-soaked night market, slow dolly in...",
"width": 864,
"height": 480,
"duration": 5,
"steps": 20,
"sampler": "res_multistep",
"scheduler": "simple",
"seed": -1
}'
cURL
curl https://video.warmpix.com/v1/videos/vid_xxx \
-H "Authorization: Bearer $SUB2API_KEY"
Poll until status is completed, or consume the authenticated SSE stream at /api/events.
| FIELD | ACCEPTED | DEFAULT |
| mode | auto, t2v, i2v, flf2v, r2v | auto |
| width / height | 320–2048, ×32 | 864 × 480 |
| duration | 3–15 sec | 5 |
| frames | 17k+5, ≤362 | auto |
| steps | 4–80 | 20 |
| seed | -1 or uint63 | -1 |
| sampler / scheduler | 8 / 7 choices | res_multistep / simple |
| denoise / fps | 0–1 / 12–60 | 1 / 24 |
| image / first_frame | HTTPS URL or data URI | — |
| reference_images | array, up to 9 | — |
| reference_videos / audios | arrays, up to 3 each | — |
| priority | -10–20 | 0 |
| wait / wait_timeout | bool / 1–900 sec | false / 300 |
| webhook_url / secret | public HTTPS endpoint | — |