---
title: "Generate video with Veo-3.1"
method: GET
path: "/ai-video/veo-3.1"
tags: ["AI Text2Video"]
---

# Generate video with Veo-3.1

`GET /ai-video/veo-3.1`

## Request

- Base URL: `https://api.paxsenix.org`
- URL: `https://api.paxsenix.org/ai-video/veo-3.1`
- Auth: none declared

Generate a video using Google's Veo-3.1 model. For basic usage, provide a text prompt along with a ratio and model. If using image-to-video mode, set `type` to `image-to-video`.

## Query parameters

- `prompt` string, required
- `ratio` '16:9' | '9:16', required
- `type` 'text-to-video' | 'image-to-video'
- `imageUrl` string
- `endImageUrl` string

## Response `200`

Success - Video generation is initiated or completed.

## Other responses

- `400`: Bad Request - Invalid parameters or dependencies.
- `500`: Server error

## Changes

- **2026-06-24** `53aa20d15d0e`: 2 warning, 2 info
  - deleted the `query` request parameter `imageUrls`
  - deleted the `query` request parameter `model`
  - added the new optional `query` request parameter `endImageUrl`
  - added the new optional `query` request parameter `imageUrl`
- **2025-12-17** `3ea53d4fe769`: 1 warning
  - deleted the `query` request parameter `negative_prompt`
- **2025-11-13** `b4db6f2e08d4`: 1 warning, 1 info
  - deleted the `query` request parameter `mode`
  - added the new optional `query` request parameter `negative_prompt`

[Operation history](https://skmtc.dev/paxsenix/apis/paxsenix-api/changes/ai-video/veo-3.1/get.md)

---

[API](https://skmtc.dev/paxsenix/apis/paxsenix-api.md) - [All operations](https://skmtc.dev/paxsenix/apis/paxsenix-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paxsenix/apis/paxsenix-api/revisions/f7e5b20bdbdf?raw)
