---
title: "Create video from text - Veo 3.1 Lite"
method: POST
path: "/v1/ai/text-to-video/veo-3-1-lite"
tags: ["text-to-video"]
---

# Create video from text - Veo 3.1 Lite

`POST /v1/ai/text-to-video/veo-3-1-lite`

## Request

- Base URL: `https://api.magnific.com`
- URL: `https://api.magnific.com/v1/ai/text-to-video/veo-3-1-lite`
- Auth: API key in header `x-magnific-api-key`

Generate a video from a text prompt using Google Veo 3.1 Lite. A cost-efficient variant of Veo 3.1 supporting 720p and 1080p resolutions with optional native audio generation.

## Request body

- T2vRequest5
  - `webhook_url` string, uri: Webhook URL to notify when the task is completed
  - `prompt` string, required: Text prompt describing the video to generate
  - `negative_prompt` string: Text describing what to avoid in the generated video
  - `duration` 4 | 6 | 8: Duration of the generated video in seconds (4, 6, or 8).
  - `resolution` '720p' | '1080p': Resolution of the generated video. Veo 3.1 Lite supports 720p and 1080p.
  - `aspect_ratio` '16:9' | '9:16': Aspect ratio of the generated video. 16:9 for landscape, 9:16 for portrait.
  - `generate_audio` boolean: Whether to generate audio for the video
  - `seed` integer: Random seed for reproducibility

## Response `200`

OK - The task exists and the status is returned

- InlineObject4
  - `data` TaskDetail1, required
    - `task_id` string, uuid, required: Task identifier
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Task status
    - `generated` string[], required

## Other responses

- `400`: Bad Request - The server could not understand the request due to invalid syntax.
- `401`: Unauthorized - The client must authenticate itself to get the requested response.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
- `503`: Service Unavailable

---

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