



const main = async () => {
const response = await fetch('https://api.ai.cc/v2/generate/video/google/generation', {
method: 'POST',
headers: {
Authorization: 'Bearer ',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'veo2',
prompt: 'A DJ on the stand is playing, around a World War II battlefield, lots of explosions, thousands of dancing soldiers, between tanks shooting, barbed wire fences, lots of smoke and fire, black and white old video: hyper realistic, photorealistic, photography, super detailed, very sharp, on a very white background',
}),
}).then((res) => res.json());
console.log('Generation:', response);
};
main()
import requests
def main():
url = "https://api.ai.cc/v2/generate/video/google/generation"
payload = {
"model": "veo2",
"prompt": "A DJ on the stand is playing, around a World War II battlefield, lots of explosions, thousands of dancing soldiers, between tanks shooting, barbed wire fences, lots of smoke and fire, black and white old video: hyper realistic, photorealistic, photography, super detailed, very sharp, on a very white background",
}
headers = {"Authorization": "Bearer ", "Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print("Generation:", response.json())
if __name__ == "__main__":
main()
-
AI Playground

Test all API models in the sandbox environment before you integrate.
We provide more than 300 models to integrate into your app.


Product Detail
✨ Veo 2: Google's Advanced Text-to-Video AI Model
Veo 2 is Google’s cutting-edge AI model engineered to generate exceptionally realistic and cinematic video content. It transforms textual prompts, or a combination of text and images, into dynamic visuals. Leveraging sophisticated machine learning, Veo 2 excels in producing videos with natural motion, accurate physics, and professional-grade visual fidelity.
🚀 Key Features
- ➡️ Text-to-Video (T2V): Converts descriptive text into dynamic and engaging video content.
- ➡️ High Resolution Support: Generates videos up to 4K resolution, suitable for professional outputs.
- ➡️ Multimodal Input Encoding: Seamlessly integrates both text and image inputs for enhanced creative flexibility.
🎯 Intended Use Cases
- ✔️ Marketing Campaigns: Create visually engaging content to captivate audiences.
- ✔️ Filmmaking & Storyboarding: Generate dynamic visuals for pre-production and concept development.
- ✔️ Educational Videos: Develop interactive and engaging learning experiences.
- ✔️ Social Media Content: Quickly produce compelling videos for various platforms.
🗣️ Language Support
Veo 2 offers robust multilingual support, processing text prompts in English and other major languages, ensuring broad accessibility and utility.
⚙️ Technical Deep Dive
Architecture
Veo 2 employs a sophisticated hybrid architecture:
- • UL2 Encoder: Responsible for processing textual prompts and transforming them into latent embeddings, which are foundational for video generation.
- • Latent Diffusion Model: Efficiently converts these embedded representations into compressed video frames, ensuring high visual fidelity is maintained throughout the process.
Training Data
The model was trained on an extensive dataset, primarily sourced from YouTube’s vast video library and other proprietary sources. This diverse dataset ensures the model captures a wide array of motion patterns, visual styles, and real-world physics, enhancing the realism and versatility of generated content.
Diversity and Bias
Google has implemented rigorous safeguards to mitigate biases in the generated content by intentionally diversifying the training data across numerous cultures and contexts. However, due to the inherent complexities and limitations of any large dataset, some subtle biases may still persist.
📊 Performance Metrics
Visual examples demonstrating Veo 2's output quality:
🛠️ How to Use Veo 2
Code Samples & API Access
The Veo 2 Text-to-Video model is readily accessible on the AI/ML API platform.
// Example: Initialize and create text-to-video generation
google.create-text-to-video-generation(model='veo2', prompt='a futuristic city at sunset, flying cars, cyberpunk style')
Parameters for Generation
- • prompt [str]: The core text prompt defining the desired animation or video content.
- • aspect_ratio [9:16, 16:9]: Specifies the aspect ratio for the generated video (e.g., portrait for mobile, landscape for wider screens).
- • duration [5, 6, 7, 8]: Sets the length of the generated video in seconds.
Retrieving Generated Video
Once a video generation request is made, you can fetch the resulting video:
// Example: Fetching the generated video
google.fetch-generation(generation_id)
Comprehensive API Documentation
For in-depth details and advanced usage, refer to the API Documentation.
🛡️ Ethical Use & Licensing
Ethical Guidelines
Google has integrated robust safety filters into Veo 2 to proactively prevent the generation of harmful or inappropriate content. Developers are strongly encouraged to utilize the model responsibly, adhering strictly to ethical guidelines for AI-generated media to foster a safe and positive digital environment.
Licensing Information
Veo 2 is currently available via Google Labs’ VideoFX platform under a commercial license.
Ready to revolutionize your video creation? Get the Veo 2 Text-to-Video API here!
❓ Frequently Asked Questions (FAQ)
A: Veo 2 is Google's advanced AI model that generates realistic and cinematic video content from text prompts or a combination of text and images, offering high-resolution output up to 4K.
A: It's ideal for marketing campaigns, filmmaking (storyboarding), educational videos, and creating engaging content for social media platforms.
A: Yes, Veo 2 supports multilingual text prompts, including English and various other major languages.
A: Veo 2 is available via the Google Labs’ VideoFX platform under a commercial license. You can find access details and documentation on the AI/ML API platform.
A: Google has integrated safety filters to prevent harmful content generation. Users are urged to follow ethical guidelines for AI-generated media.
Learn how you can transformyour company with AICC APIs



Log in