Sora
OpenAI video generation model. Create realistic and imaginative videos from text prompts up to 20 seconds.
About this model
Image References
Examples
See what Sora can generate
Sample video output
0:08Cinematic Scene
A cinematic aerial shot of a lighthouse on a rocky coast at sunset, golden light reflecting on crashing waves
Sample video output
0:04Nature Close-up
Close-up of rain drops falling on a green leaf in slow motion, crystal clear water beads
Pricing
API Integration
Use our OpenAI-compatible API to integrate Sora into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
// Simple â just pass a string
const reply = await rw.run("sora", "Hello! What can you do?");
console.log(reply);
// With message history
const reply2 = await rw.run("sora", [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);
// Full response with usage info
const res = await rw.chat("sora", [
{ role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);Related Models
View all Video GenerationGoogle Veo 2
Google's state-of-the-art video generation model. Simulates real-world physics with various visual styles.
Google Veo 3
Google flagship video model with native audio
Google Veo 3.1
Latest Veo with image-to-video and context-aware audio
Kling v3
Cinematic video up to 15s with multi-shot and native audio
Start using Sora today
Get started with free credits. No credit card required. Access Sora and 100+ other models through a single API.