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": 1344,
"height": 768,
"duration": 5,
"steps": 20,
"acceleration": "quality",
"sampler": "res_multistep",
"scheduler": "simple",
"reference_image_asset_ids": ["ast_character", "ast_location"],
"reference_video_asset_ids": ["ast_camera_motion"],
"reference_audio_asset_ids": ["ast_voice"],
"seed": -1
}'
cURL
curl https://video.warmpix.com/v1/images/generations \
-H "Authorization: Bearer $SUB2API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A warm cinematic keyframe...",
"size": "1536x1024",
"quality": "high",
"background": "opaque",
"output_format": "webp",
"output_compression": 92,
"n": 4
}'
Returns image data and stores each result in the signed-in user's project asset library.
cURL
curl https://video.warmpix.com/v1/music/generations \
-H "Authorization: Bearer $SUB2API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: score-001" \
-d '{
"model": "MiniMaxAI/MiniMax-Music3",
"prompt": "Intimate original film underscore, sparse felt piano, warm room tone, no vocals",
"instrumental": true,
"audio_duration": 30,
"bpm": 76,
"key_scale": "D minor",
"time_signature": "4",
"seed": -1,
"audio_format": "wav"
}'
Returns an asynchronous music job. Poll /v1/music/:id; completed audio is retained in the user's project library.
cURL
curl https://video.warmpix.com/v1/videos/vid_xxx \
-H "Authorization: Bearer $SUB2API_KEY"
Poll until completed. Generated video remains available in the signed-in user's project asset library.
| FIELD | ACCEPTED | DEFAULT |
| mode | auto, t2v, i2v, flf2v, r2v | auto |
| width / height | 320–2048, ×32 | 1344 × 768 |
| duration | 3–15 sec | 5 |
| frames | 17k+5, ≤362 | auto |
| steps | 4–80 | 20 |
| acceleration | fast, balanced, quality | quality |
| upscale_4k | boolean · SeedVR2-7B finishing to 3840×2160 (portrait: 2160×3840) | false |
| 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 | — |
| reference_image_asset_ids | owned image asset IDs, up to 9 | — |
| reference_video_asset_ids | owned video asset IDs, up to 3 | — |
| reference_audio_asset_ids | owned audio/music asset IDs, up to 3 | — |
| priority | -10–20 | 0 |
| wait / wait_timeout | bool / 1–900 sec | false / 300 |
| webhook_url / secret | public HTTPS endpoint | — |