Skip to main content
POST
Create video from text - Veo 3.1 Lite

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
prompt
string
required

Text prompt describing the video to generate

Maximum string length: 20000
Example:

"A serene mountain landscape at sunset with clouds moving slowly"

webhook_url
string<uri>

Webhook URL to notify when the task is completed

negative_prompt
string

Text describing what to avoid in the generated video

Maximum string length: 2000
Example:

"blurry, low quality, distorted"

duration
enum<integer>
default:8

Duration of the generated video in seconds (4, 6, or 8).

Available options:
4,
6,
8
resolution
enum<string>
default:720p

Resolution of the generated video. Veo 3.1 Lite supports 720p and 1080p.

Available options:
720p,
1080p
aspect_ratio
enum<string>
default:16:9

Aspect ratio of the generated video. 16:9 for landscape, 9:16 for portrait.

Available options:
16:9,
9:16
generate_audio
boolean
default:true

Whether to generate audio for the video

seed
integer

Random seed for reproducibility

Required range: 0 <= x <= 4294967295

Response

OK - The task exists and the status is returned

data
object
required
Example: