""" Veo 3.1 Cinematic Video Generation API Example via NexaAPI Get your free API key at: https://nexa-api.com Install: pip install nexaapi """ from nexaapi import NexaAPI # Initialize client - get your key at https://nexa-api.com client = NexaAPI(api_key='YOUR_API_KEY') # Generate a cinematic video video = client.videos.generate( model='veo-3.1', prompt='Aerial drone shot of a mountain range at golden hour, cinematic 4K quality', duration=8, resolution='1080p' ) print("Veo 3.1 - Generated Cinematic Video URL:") print(video.data[0].url) # Brand film brand_video = client.videos.generate( model='veo-3.1', prompt='Ocean waves crashing on a rocky coastline, cinematic slow motion, golden hour', duration=10, resolution='1080p' ) print("\nBrand Film URL:") print(brand_video.data[0].url)