Video model API

Ray 2 720p API

Ray 2 is a large-scale video generative model built on Luma’s multi-modal architecture. The model demonstrates capabilities in generating realistic videos with coherent motion and detailed visuals based on text prompts.

Model id
ray-2-720p
Takes
Text (required)
Makes
Video
Endpoint
POST /api/v1/run
Made by
Luma AI
Mode
Async (job polling)

Call Ray 2 720p

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model ray-2-720p

POST /api/v1/runasync · poll /v1/jobs/:id

curl https://payload.rentprompts.com/api/v1/run \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "ray-2-720p",
  "prompt": "A slow drone shot over a misty pine forest"
}'

# Async models answer HTTP 202 with a job. Poll it until status is
# "succeeded" (output.url / output.urls) or "failed" (error):
curl https://payload.rentprompts.com/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer rp_live_YOUR_KEY"

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Ray 2 720p's published price (18 J / second). You pay only for successful results, from your Joule balance.
  • 5 seconds of output90 Joules
  • 10 seconds of output180 Joules

Send requests to POST /api/v1/run. Ray 2 720p runs asynchronously: the request answers HTTP 202 with a job, and you poll GET /api/v1/jobs/{id} until the result is ready.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).

This model has no extra settings. Send the standard fields shown in the example.

Ray 2 720p API — Pricing & Code Examples | RentPrompts