



const main = async () => {
const response = await fetch('https://api.ai.cc/v2/video/generations', {
method: 'POST',
headers: {
Authorization: 'Bearer ',
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'luma/ray-1-6',
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/video/generations"
payload = {
"model": "luma/ray-1-6",
"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
Ray 1.6: Unleash Cinematic Video Generation
Ray 1.6 by Luma AI is a groundbreaking generative video model designed to transform your text prompts into ultra-realistic, cinematic video content. Experience smooth motion, detailed visuals, and logical event sequences, enabling fast, coherent motion generation for diverse applications from high-speed action to dynamic storytelling. Build production-ready video applications with intuitive natural language control.
✨ Technical Specifications
- Model Family: Ray v1.6 (part of the Ray family of generative AI models)
- Input Types: Text-to-Video, Image-to-Video, Video Extension, Loop Creation
- Capabilities: Camera movement generation (panoramas, close-ups, tracking), visual effects pre-visualization, consistent character animation, style blending
- Moderation: Multi-layered AI and human moderation filters for compliant, safe content creation
🚀 Performance Highlights
- Produces high fidelity cinematic visuals with precise motion consistency
- Generates natural dynamic camera movements controlled by textual instructions
- Enables seamless looped animations for UI and marketing use
- Supports consistent character identity preservation across frames and scenarios
- Facilitates quick iteration and story-building without complex video editing tools
🌟 Key Features of Ray 1.6
- Text-driven video generation: Create action-packed or narrative-rich clips directly from text prompts.
- Image-to-video extension: Animate static images with natural motion and storytelling elements.
- Loop creation: Generate smooth, seamless video loops for engaging digital content.
- Intuitive control interface: No advanced prompt engineering required; natural language commands suffice.
💰 Ray 1.6 API Pricing
Pricing is based on pixel usage: $0.00336 per 1 million pixels.
Examples of generation (16:9 aspect ratio, no audio):
- 720p · 5 seconds: $0.3675
- 1080p · 9 seconds: $1.617
🎯 Diverse Use Cases
- Marketing & Product Promotion: Create cinematic quality videos for campaigns.
- Social Media Content: Fast and cost-effective content creation.
- Storytelling & Pre-visualization: Empower filmmakers and creators.
- Animated UI Backgrounds: Seamless loops for applications.
- Virtual Production & Digital Agencies: Scalable video generation solutions.
- Educational & Cultural Content: Accessible tools for video creation.
💻 Code Sample Placeholder
An example code snippet for integrating Ray 1.6 API would typically be found here. Please refer to the official Luma AI Ray 1.6 API documentation for detailed code examples.
import luma_ray
from luma_ray import models
client = luma_ray.Client(api_key="YOUR_API_KEY")
response = client.video.text_to_video.create(
model=models.Ray1_6,
prompt="A futuristic city at sunset, flying cars, cinematic view, highly detailed.",
aspect_ratio="16:9",
duration=5 # seconds
)
print(response.video_url)
⚖️ Ray 1.6 vs. Other Generative Video Models
(Referenced from original article content)
(Referenced from original article content)
(Referenced from original article content)
❓ Frequently Asked Questions (FAQ)
A: Ray 1.6 is an advanced generative AI model designed to create ultra-realistic, cinematic video content from text or image prompts, featuring smooth motion, detailed visuals, and dynamic camera controls.
A: It supports Text-to-Video, Image-to-Video, Video Extension, and Loop Creation.
A: Ray 1.6 employs multi-layered AI and human moderation filters to ensure the creation of compliant and safe video content.
A: Ray 1.6 excels in coherent motion, cinematic output, superior video detail consistency, and dynamic storytelling capabilities, along with better camera movement control, distinguishing it from models primarily focused on image generation or basic video effects.
A: It's ideal for marketing videos, social media content, pre-visualization for filmmakers, animated UI backgrounds, virtual production, and educational content creation.
Learn how you can transformyour company with AICC APIs



Log in