luma
/
ray-2-720p
Generate 5s and 9s 720p videos
- Public
- 10.1K runs
-
$0.18 per second of video
-
Commercial use
- License
Prediction
luma/ray-2-720pOfficial modelIDxdp12rh485rgc0cmmzxs8nqbzrStatusSucceededSourceWebTotal durationCreatedInput
- loop
- prompt
- A pirate ship in a raging sea
- duration
- 5
- aspect_ratio
- 16:9
{ "loop": false, "prompt": "A pirate ship in a raging sea", "duration": 5, "aspect_ratio": "16:9" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { loop: false, prompt: "A pirate ship in a raging sea", duration: 5, aspect_ratio: "16:9" }; const output = await replicate.run("luma/ray-2-720p", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luma/ray-2-720p", input={ "loop": False, "prompt": "A pirate ship in a raging sea", "duration": 5, "aspect_ratio": "16:9" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "loop": false, "prompt": "A pirate ship in a raging sea", "duration": 5, "aspect_ratio": "16:9" } }' \ https://api.replicate.com/v1/models/luma/ray-2-720p/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-27T13:39:07.785286Z", "created_at": "2025-01-27T13:37:21.473000Z", "data_removed": false, "error": null, "id": "xdp12rh485rgc0cmmzxs8nqbzr", "input": { "loop": false, "prompt": "A pirate ship in a raging sea", "duration": 5, "aspect_ratio": "16:9" }, "logs": "Moderating content...\nModeration complete in 0.25sec\nRunning prediction...\nGenerating video...\nDreaming...\nCompleted...\nGenerated video in 105.67sec\nVIDEO_GENERATION_ID: 9402d48d-a828-41b2-973f-2356d4d6a66c\nDownloading 3992634 bytes\nDownloaded 3.81MB in 0.31sec", "metrics": { "predict_time": 106.274505356, "total_time": 106.312286 }, "output": "https://replicate.delivery/czjl/QAYtRuTghFrPH1qgCx3C0a8WrQggBsGJ0yCCZLsSVuye8pEKA/tmpkq6t05vs.mp4", "started_at": "2025-01-27T13:37:21.510781Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-b235hwqeluk6pt63u7hx5fzcggnrjezvutbvipedyams2vfma6ma", "get": "https://api.replicate.com/v1/predictions/xdp12rh485rgc0cmmzxs8nqbzr", "cancel": "https://api.replicate.com/v1/predictions/xdp12rh485rgc0cmmzxs8nqbzr/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.25sec Running prediction... Generating video... Dreaming... Completed... Generated video in 105.67sec VIDEO_GENERATION_ID: 9402d48d-a828-41b2-973f-2356d4d6a66c Downloading 3992634 bytes Downloaded 3.81MB in 0.31sec
Prediction
luma/ray-2-720pInput
- loop
- prompt
- Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl
- duration
- 5
- aspect_ratio
- 16:9
{ "loop": false, "prompt": "Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl", "duration": 5, "aspect_ratio": "16:9" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { loop: false, prompt: "Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl", duration: 5, aspect_ratio: "16:9" }; const output = await replicate.run("luma/ray-2-720p", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luma/ray-2-720p", input={ "loop": False, "prompt": "Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl", "duration": 5, "aspect_ratio": "16:9" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "loop": false, "prompt": "Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl", "duration": 5, "aspect_ratio": "16:9" } }' \ https://api.replicate.com/v1/models/luma/ray-2-720p/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-27T13:52:26.674956Z", "created_at": "2025-01-27T13:51:16.144000Z", "data_removed": false, "error": null, "id": "4ggp7jq0p1rga0cmn03rr5s10w", "input": { "loop": false, "prompt": "Insane camera flythrough of female surfer rideing massive wave at sunset, golden light streaming through the curl", "duration": 5, "aspect_ratio": "16:9" }, "logs": "Moderating content...\nModeration complete in 0.22sec\nRunning prediction...\nGenerating video...\nDreaming...\nCompleted...\nGenerated video in 69.76sec\nVIDEO_GENERATION_ID: 06275ee5-d894-477d-a612-3d8ac269e7da\nDownloading 3760015 bytes\nDownloaded 3.59MB in 0.46sec", "metrics": { "predict_time": 70.517057235, "total_time": 70.530956 }, "output": "https://replicate.delivery/czjl/DPQLyUb0KH6eKafJafajZJMYUkdK5NFpLrzHNKqE1Jv1MoSoA/tmp501exz8a.mp4", "started_at": "2025-01-27T13:51:16.157899Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-yzr3cdv3yvswzwekyacbvaizaphnr7buxk3jhzpzaddwk6ie2rnq", "get": "https://api.replicate.com/v1/predictions/4ggp7jq0p1rga0cmn03rr5s10w", "cancel": "https://api.replicate.com/v1/predictions/4ggp7jq0p1rga0cmn03rr5s10w/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.22sec Running prediction... Generating video... Dreaming... Completed... Generated video in 69.76sec VIDEO_GENERATION_ID: 06275ee5-d894-477d-a612-3d8ac269e7da Downloading 3760015 bytes Downloaded 3.59MB in 0.46sec
Prediction
luma/ray-2-720pOfficial modelIDxb1r0ederxrge0cmn04874g3y4StatusSucceededSourceWebTotal durationCreatedInput
- loop
- prompt
- Mind-bending dolly zoom on motocross rider soaring through sunset
- duration
- 5
- aspect_ratio
- 16:9
{ "loop": false, "prompt": "Mind-bending dolly zoom on motocross rider soaring through sunset", "duration": 5, "aspect_ratio": "16:9" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { loop: false, prompt: "Mind-bending dolly zoom on motocross rider soaring through sunset", duration: 5, aspect_ratio: "16:9" }; const output = await replicate.run("luma/ray-2-720p", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luma/ray-2-720p", input={ "loop": False, "prompt": "Mind-bending dolly zoom on motocross rider soaring through sunset", "duration": 5, "aspect_ratio": "16:9" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "loop": false, "prompt": "Mind-bending dolly zoom on motocross rider soaring through sunset", "duration": 5, "aspect_ratio": "16:9" } }' \ https://api.replicate.com/v1/models/luma/ray-2-720p/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-27T13:53:20.004821Z", "created_at": "2025-01-27T13:52:08.903000Z", "data_removed": false, "error": null, "id": "xb1r0ederxrge0cmn04874g3y4", "input": { "loop": false, "prompt": "Mind-bending dolly zoom on motocross rider soaring through sunset", "duration": 5, "aspect_ratio": "16:9" }, "logs": "Moderating content...\nModeration complete in 0.32sec\nRunning prediction...\nGenerating video...\nDreaming...\nCompleted...\nGenerated video in 70.42sec\nVIDEO_GENERATION_ID: 700909eb-f106-4f7e-b8f7-bd3c927855f7\nDownloading 782876 bytes\nDownloaded 0.75MB in 0.32sec", "metrics": { "predict_time": 71.087562253, "total_time": 71.101821 }, "output": "https://replicate.delivery/czjl/qQJQ3L2pDgIaPBET4YjZergziQu776uXRJnllTJCOSynDqEKA/tmpmxs3uoat.mp4", "started_at": "2025-01-27T13:52:08.917258Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-g5hdtupq7xpohvcarahqle5nrsvtkyebt6kqb3fmoj24ph3cdrqq", "get": "https://api.replicate.com/v1/predictions/xb1r0ederxrge0cmn04874g3y4", "cancel": "https://api.replicate.com/v1/predictions/xb1r0ederxrge0cmn04874g3y4/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.32sec Running prediction... Generating video... Dreaming... Completed... Generated video in 70.42sec VIDEO_GENERATION_ID: 700909eb-f106-4f7e-b8f7-bd3c927855f7 Downloading 782876 bytes Downloaded 0.75MB in 0.32sec
Prediction
luma/ray-2-720pOfficial modelID1yzxc6j7tsrgc0cmn069y5k1tcStatusSucceededSourceWebTotal durationCreatedInput
- loop
- prompt
- Aggressive camera circles Russian ballet performance in grand setting
- duration
- 5
- aspect_ratio
- 16:9
{ "loop": false, "prompt": "Aggressive camera circles Russian ballet performance in grand setting", "duration": 5, "aspect_ratio": "16:9" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { loop: false, prompt: "Aggressive camera circles Russian ballet performance in grand setting", duration: 5, aspect_ratio: "16:9" }; const output = await replicate.run("luma/ray-2-720p", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luma/ray-2-720p", input={ "loop": False, "prompt": "Aggressive camera circles Russian ballet performance in grand setting", "duration": 5, "aspect_ratio": "16:9" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "loop": false, "prompt": "Aggressive camera circles Russian ballet performance in grand setting", "duration": 5, "aspect_ratio": "16:9" } }' \ https://api.replicate.com/v1/models/luma/ray-2-720p/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-27T13:57:24.886034Z", "created_at": "2025-01-27T13:56:04.694000Z", "data_removed": false, "error": null, "id": "1yzxc6j7tsrgc0cmn069y5k1tc", "input": { "loop": false, "prompt": "Aggressive camera circles Russian ballet performance in grand setting", "duration": 5, "aspect_ratio": "16:9" }, "logs": "Moderating content...\nModeration complete in 0.22sec\nRunning prediction...\nGenerating video...\nDreaming...\nCompleted...\nGenerated video in 79.53sec\nVIDEO_GENERATION_ID: 0c5c9b75-7527-4d79-9d39-5b65dcf5a042\nDownloading 3572018 bytes\nDownloaded 3.41MB in 0.38sec", "metrics": { "predict_time": 80.17826312, "total_time": 80.192034 }, "output": "https://replicate.delivery/czjl/DW5uByT9o5K3EpK4aryN5lT0Le8o9wMrDdElpxYtx3FiFqEKA/tmp850eff5d.mp4", "started_at": "2025-01-27T13:56:04.707771Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-qvcltehnv6fizbhm7mfgdqt2kxij42kcv3m2d3tcjvjkajkz4h2a", "get": "https://api.replicate.com/v1/predictions/1yzxc6j7tsrgc0cmn069y5k1tc", "cancel": "https://api.replicate.com/v1/predictions/1yzxc6j7tsrgc0cmn069y5k1tc/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.22sec Running prediction... Generating video... Dreaming... Completed... Generated video in 79.53sec VIDEO_GENERATION_ID: 0c5c9b75-7527-4d79-9d39-5b65dcf5a042 Downloading 3572018 bytes Downloaded 3.41MB in 0.38sec
Prediction
luma/ray-2-720pOfficial modelID5597yschg1rg80cmn05vtg6q0rStatusSucceededSourceWebTotal durationCreatedInput
- loop
- prompt
- Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead
- duration
- 5
- aspect_ratio
- 16:9
{ "loop": false, "prompt": "Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead", "duration": 5, "aspect_ratio": "16:9" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { loop: false, prompt: "Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead", duration: 5, aspect_ratio: "16:9" }; const output = await replicate.run("luma/ray-2-720p", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "luma/ray-2-720p", input={ "loop": False, "prompt": "Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead", "duration": 5, "aspect_ratio": "16:9" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run luma/ray-2-720p using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "loop": false, "prompt": "Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead", "duration": 5, "aspect_ratio": "16:9" } }' \ https://api.replicate.com/v1/models/luma/ray-2-720p/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-01-27T13:57:07.461302Z", "created_at": "2025-01-27T13:55:18.016000Z", "data_removed": false, "error": null, "id": "5597yschg1rg80cmn05vtg6q0r", "input": { "loop": false, "prompt": "Chaotic camera ducks between breakdancers battling, spotlights pulsing overhead", "duration": 5, "aspect_ratio": "16:9" }, "logs": "Moderating content...\nModeration complete in 0.28sec\nFlagged categories: violence\nRunning prediction...\nGenerating video...\nDreaming...\nCompleted...\nGenerated video in 108.54sec\nVIDEO_GENERATION_ID: 4d9cf63c-3f64-4b40-adc6-b69e0130611a\nDownloading 3719781 bytes\nDownloaded 3.55MB in 0.56sec", "metrics": { "predict_time": 109.430850284, "total_time": 109.445302 }, "output": "https://replicate.delivery/czjl/Q6jWYYtvlAauJlWqS5oYvzaWZrBERcXTXb9Evyp3yH1sCVCF/tmpn8nwwjak.mp4", "started_at": "2025-01-27T13:55:18.030451Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/fddq-nvyf4mtarxseucmgfczcuv5ls3ebqjye27yhyexjz6wxhi2p4ela", "get": "https://api.replicate.com/v1/predictions/5597yschg1rg80cmn05vtg6q0r", "cancel": "https://api.replicate.com/v1/predictions/5597yschg1rg80cmn05vtg6q0r/cancel" }, "version": "hidden" }
Generated inModerating content... Moderation complete in 0.28sec Flagged categories: violence Running prediction... Generating video... Dreaming... Completed... Generated video in 108.54sec VIDEO_GENERATION_ID: 4d9cf63c-3f64-4b40-adc6-b69e0130611a Downloading 3719781 bytes Downloaded 3.55MB in 0.56sec
Want to make some of these yourself?
Run this model