Video Generation
Generations (results)
Video Generation
Generate videos from text or images using Kling, Luma, MiniMax, and MidJourney Video
POST
Video Generation
Video generation is always asynchronous. You’ll receive a generation ID immediately, then poll for the result. Processing typically takes 20–180 seconds depending on the model.
Request
Authorization: Bearer nb_YOUR_API_KEYVideo model slug. See Video Models.
Text description of the video to generate.
Starting image URL for image-to-video generation. When provided, the video animates from this image.
Video duration in seconds. Supported values:
5 or 10 (model-dependent).Output aspect ratio:
16:9, 9:16, 1:1Elements to avoid in the video.
Request Example
Initial Response (Pending)
Completed Response
Model Comparison
| Model | Tokens | Speed | Best For |
|---|---|---|---|
luma-flash2 | 15–93 | Fast (~20–30s) | Quick prototypes |
kling-v2.1 | 26–94 | Medium (~45–90s) | Versatile, high quality |
minimax-video | 88 | Medium (~60s) | Character consistency |
luma-ray2 | 42–180 | Medium (~60–120s) | Cinematic quality |
mj-video-480p / mj-video-720p | 50–320 | Slow (~90s) | Artistic style |

