VEO Studio by NCPVEO Studio by NCP
Developers

API documentation

Version 1 · https://api.veostudio.net/v1

The VEO Studio API makes the same videos and images as the Video Generation and Image Generation pages of this website, from your own code or from tools such as n8n and Make. You send a prompt (and images, if you want), you get an id back at once, and you ask for that id until the video or image is ready.

Quick start

  1. Log in and open API keys. Press Generate API key and copy the key. It is shown only once.
  2. Ask for a video:
Request
curl -X POST https://api.veostudio.net/v1/videos \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo-3.1-lite",
    "prompt": "A red fox runs through fresh snow at sunrise, slow motion, cinematic",
    "aspect_ratio": "16:9"
  }'
Reply (201)
{
  "success": true,
  "video": {
    "id": "3f6c1b1e-8a52-4d0f-9d3c-2b7f5c1a9e10",
    "object": "video",
    "model": "veo-3.1-lite",
    "mode": "text_to_video",
    "prompt": "A red fox runs through fresh snow at sunrise, slow motion, cinematic",
    "aspect_ratio": "16:9",
    "status": "queued",
    "done": false,
    "success": false,
    "progress": "Waiting",
    "error": null,
    "video_url": null,
    "download_url": null,
    "created_at": "2026-11-14T10:15:02.000Z"
  }
}
  1. Ask for the video by its id every few seconds until done is true:
Request
curl https://api.veostudio.net/v1/videos/VIDEO_ID \
  -H "Authorization: Bearer YOUR_API_KEY"
Reply when it is ready
{
  "success": true,
  "video": {
    "id": "3f6c1b1e-8a52-4d0f-9d3c-2b7f5c1a9e10",
    "status": "completed",
    "done": true,
    "success": true,
    "video_url": "https://…/video.mp4?…",
    "download_url": "https://…/video.mp4?…",
    "duration_seconds": 8,
    "width": 1280,
    "height": 720,
    "finished_at": "2026-11-14T10:16:21.000Z",
    "expires_at": "2026-11-14T16:16:21.000Z"
  }
}

download_url is a direct link to the MP4 file. Save the file on your side: the link and the file are kept for a limited time (see expires_at).

Your API key

Models and modes

Which models your account may use depends on your plan. GET /models gives the list for your key, with allowed true or false for each one, and the qualities you may ask for. Videos are 16:9 or 9:16, in 720p; veo-3.1-lite can also be asked for in 1080p.

You do not have to send mode: it follows from the image fields you send. If you do send it and it does not fit the images, the request is refused with BAD_MODE.

Make a video

POST/videosStarts one video and answers at once with its id.

Image to video
{
  "model": "veo-3.1-lite",
  "prompt": "The woman turns to the camera and smiles",
  "image": "IMAGE_ID"
}
First and last frame
{
  "model": "veo-3.1-lite",
  "prompt": "The camera flies from the beach up to the lighthouse",
  "first_frame": "FIRST_IMAGE_ID",
  "last_frame": "LAST_IMAGE_ID"
}
Ingredients
{
  "model": "veo-3.1-lite",
  "prompt": "Zara and her cat Momo walk through a night market",
  "images": ["IMAGE_ID_1", "IMAGE_ID_2"],
  "image_names": ["Zara", "Momo"],
  "aspect_ratio": "9:16"
}

One request makes one video. To make many, send many requests: your plan decides how many may be in progress at the same time (see Account and limits). When that number is reached the reply is 429 TOO_MANY_ACTIVE; wait for one to finish and send the next.

Images

POST/uploadsStores one image and gives back its id.

Request
curl -X POST https://api.veostudio.net/v1/uploads \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"image_base64\": \"$(base64 -w0 photo.jpg)\"}"
Reply (201)
{ "success": true, "id": "0b7e2c4a-5d1f-4e8a-9c3b-7a6d5e4f3c2b.jpg", "expires_in_hours": 24 }

Wait for the video

GET/videos/{id}The video as it is now.

Make an image

POST/imagesStarts one image and answers at once with its id. Text to image, or image to image when you send images.

Text to image
curl -X POST https://api.veostudio.net/v1/images \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nano-banana-2.1",
    "prompt": "A red fox asleep in fresh snow at sunrise, soft light, photo",
    "aspect_ratio": "1:1",
    "thinking": "low"
  }'
Image to image (the body)
{
  "model": "nano-banana-pro",
  "prompt": "The same woman, now in a rainy street at night, neon light",
  "images": ["IMAGE_ID"],
  "aspect_ratio": "9:16"
}

GET/images/{id}The image as it is now. The fields status, done, success, progress, error, error_code and retryable mean the same as for a video; an image usually takes 10 to 30 seconds, so ask every 2 or 3 seconds.

Reply when it is ready
{
  "success": true,
  "image": {
    "id": "8b1d2f0a-6c3e-4a57-9f10-5d2c7e9a1b34",
    "object": "image",
    "model": "nano-banana-2.1",
    "mode": "text_to_image",
    "aspect_ratio": "1:1",
    "thinking": "low",
    "status": "completed",
    "done": true,
    "success": true,
    "image_url": "https://…",
    "download_url": "https://…",
    "finished_at": "2026-11-15T10:16:21.000Z",
    "expires_at": "2026-11-15T16:16:21.000Z"
  }
}

GET/imagesThe images made with your keys, newest first (?limit=, ?before= as for videos).

POST/images/{id}/cancelStops an image that has not started yet.

DELETE/images/{id}Removes a finished, failed or canceled image for good.

List, cancel, delete

GET/videosThe videos made with your keys, newest first. ?limit= 1 to 100 (20 when left out); ?before= a created_at value, for the next page.

POST/videos/{id}/cancelStops a video that has not started yet. One that is already being made cannot be stopped (409 CANNOT_CANCEL).

DELETE/videos/{id}Removes a finished, failed or canceled video and its file for good.

Account and limits

GET/accountYour plan, how many videos may be in progress at once, today's and this month's counts, and the models you may use.

GET/modelsThe models, their modes, and whether your account may use each one.

Errors

A refused request has success: false, a sentence in error that you can show to a person, and a fixed word in errorCode that your code can test.

Example (429)
{
  "success": false,
  "error": "You have reached today's limit of 50 videos.",
  "errorCode": "DAILY_LIMIT_REACHED",
  "daily_limit": 50,
  "resets_at": "2026-11-14T19:00:00.000Z"
}

When a video or image fails

A video or image that was accepted and then could not be made is not an HTTP error. The reply to GET /videos/{id} (or /images/{id}) is a normal 200 with status failed and three fields that say why:

A refused video
{
  "success": true,
  "video": {
    "id": "3f6c1b1e-8a52-4d0f-9d3c-2b7f5c1a9e10",
    "status": "failed",
    "done": true,
    "success": false,
    "error": "The prompt was flagged as dangerous content. (PUBLIC_ERROR_DANGER_FILTER)",
    "error_code": "PUBLIC_ERROR_DANGER_FILTER",
    "retryable": false,
    "video_url": null,
    "download_url": null
  }
}

Test retryable first and treat an error_code you do not know like FAILED: new reasons may be added.

Let us reword a refused prompt

Send auto_rewrite: true with POST /videos and a prompt whose wording the safety filter refuses is reworded and tried again by us, up to 3 times, before the video is reported as failed. It is off unless you ask for it, and it is for videos only.

Request body
{
  "model": "veo-3.1-lite",
  "prompt": "A soldier fires a rifle across a burning street",
  "auto_rewrite": true
}
Reply when the reworded prompt was accepted
{
  "success": true,
  "video": {
    "status": "completed",
    "done": true,
    "success": true,
    "auto_rewrite": true,
    "prompt": "A soldier fires a rifle across a burning street",
    "revised_prompt": "A soldier in uniform moves through a smoky street at dusk, tense atmosphere, cinematic",
    "download_url": "https://…/video.mp4?…"
  }
}

Code examples

JavaScript (Node 18+): text to video
const BASE = "https://api.veostudio.net/v1";
const KEY = process.env.VEO_STUDIO_API_KEY;
const headers = { Authorization: `Bearer ${KEY}`, "Content-Type": "application/json" };

async function makeVideo(prompt) {
  const made = await fetch(`${BASE}/videos`, {
    method: "POST",
    headers,
    body: JSON.stringify({ model: "veo-3.1-lite", prompt, aspect_ratio: "16:9" }),
  }).then((r) => r.json());
  if (!made.success) throw new Error(`${made.errorCode}: ${made.error}`);

  // Ask every 5 seconds until the video is done.
  for (;;) {
    await new Promise((r) => setTimeout(r, 5000));
    const { video } = await fetch(`${BASE}/videos/${made.video.id}`, { headers }).then((r) => r.json());
    if (!video.done) continue;
    // error_code names the reason; retryable says whether sending the same request again can help.
    if (!video.success) throw Object.assign(new Error(video.error), { code: video.error_code, retryable: video.retryable });
    return video.download_url;
  }
}

makeVideo("A paper boat sails down a rainy street, macro shot").then(console.log);
Python: image to video
import base64, os, time, requests

BASE = "https://api.veostudio.net/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['VEO_STUDIO_API_KEY']}"}

def upload(path):
    with open(path, "rb") as f:
        data = base64.b64encode(f.read()).decode()
    r = requests.post(f"{BASE}/uploads", headers=HEADERS, json={"image_base64": data}).json()
    if not r["success"]:
        raise RuntimeError(r["error"])
    return r["id"]

def make_video(body):
    r = requests.post(f"{BASE}/videos", headers=HEADERS, json=body).json()
    if not r["success"]:
        raise RuntimeError(f"{r.get('errorCode')}: {r['error']}")
    video_id = r["video"]["id"]
    while True:
        time.sleep(5)
        video = requests.get(f"{BASE}/videos/{video_id}", headers=HEADERS).json()["video"]
        if video["done"]:
            if not video["success"]:
                # error_code names the reason; retryable says whether the same request may work if sent again
                raise RuntimeError(f"{video['error_code']}: {video['error']} (retryable: {video['retryable']})")
            return video["download_url"]

# image to video
print(make_video({
    "model": "veo-3.1-lite",
    "prompt": "The woman turns to the camera and smiles",
    "image": upload("photo.jpg"),
}))

n8n and Make

  1. HTTP Request node, method POST, URL https://api.veostudio.net/v1/videos, header Authorization = Bearer YOUR_API_KEY, body JSON with prompt (and the other fields you need).
  2. Wait node: 5 seconds.
  3. HTTP Request node, method GET, URL https://api.veostudio.net/v1/videos/{{ $json.video.id }}, same header.
  4. IF node on {{ $json.video.done }}: false goes back to the Wait node; true goes on.
  5. A second IF on {{ $json.video.success }}: true uses {{ $json.video.download_url }}; false reads {{ $json.video.error }}.

If two branches feed the same “make a video” node, it runs once per incoming item and makes two videos. Chain the steps one after another, or join the branches with a Merge node first.