Lanne Video API · v1

Generate video from your code

One REST call turns a prompt or an image into an MP4. Send JSON with your key, get back a video URL. MiniMax H3, Seedance 2.5 and FLUX 3 sit behind the same endpoint.

Quickstart

  1. Get a key. On the API plan, open Dashboard → API and create a key. It starts with nb_ and is shown once.
  2. Keep it out of your code. Store it in an environment variable:
    Shell
    export NB_API_KEY="nb_your_key"
  3. Make your first video. The call returns when the clip is rendered, usually in 1 to 3 minutes.
curl https://lannevideo.com/api/v1/text-to-video \
  -X POST \
  --max-time 300 \
  -H "Authorization: Bearer $NB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "Barista pouring latte art, slow push-in, warm morning light",
  "video_model": "minimax-h3",
  "duration": 5,
  "aspect_ratio": "16:9"
}'

You get the video URL back:

200 OK
{
    "success": true,
    "video_id": 48213,
    "video_url": "https://…/48213.mp4",
    "thumbnail_url": "https://…/48213.jpg",
    "credits_used": 5,
    "rate_limit": {
        "count": 1,
        "limit": 15,
        "remaining": 14,
        "reset_in_seconds": 1800,
        "reset_at": "2026-10-21 16:30:00"
    }
}
Prefer clicking to typing? The API playground in your dashboard sends real requests with your key and writes this code for you.

How a request works

Endpoints

EndpointWhat it does
POST /text-to-videoPrompt in, MP4 out.
POST /image-to-videoAnimate a still from a public image URL.
GET /video-statusStatus and URL of a generation you own.

Models

Pick one with video_model. Without it you get minimax-h3.

Model idModelLengthResolutionBest for
minimax-h3MiniMax H3 Ultra Fast5–15 s480P, 768PDefault. Fast cinematic, commercial, photorealism
seedance-2.5Seedance 2.5 Fast4–15 s480p, 720pSocial, UGC, e-commerce
flux-3FLUX 3 Max5–20 s720p, 1080pHighest fidelity, longer shots up to 20 s, 1080p

Next steps