The interface is localized. Skill descriptions and documents are machine-translated by AI into your language; code, commands, paths and technical terms stay in the original, and the author's document governs.
Explore skills
Productivity · SKILL.md

ray

ray

Ray. Generate videos using Ray. Triggers: luma ray, video generation

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill documentation

GitHub

name: ray description: "Ray. Generate videos using Ray. Triggers: luma ray, video generation" allowed-tools: Bash(curl *), WebFetch

Ray

Generate videos using Ray. Supports multiple aspect ratios (1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9).

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ray",
    "version": "0.0.1",
    "input": {
      "prompt": "A cinematic establishing shot of a futuristic city",
      "start_image_url": "https://example.com/start-frame.jpg",
      "end_image_url": "https://example.com/end-frame.jpg"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring16:9An enumeration.. Options: 1:1, 3:4, 4:3, 9:16, 16:9, 9:21, 21:9
end_image_urlstringURL of an image to use as the ending frame
end_video_idstringPrepend a new video generation to the beginning of an existing one (Also called
loopbooleanWhether the video should loop
promptstringText prompt for video generation
start_image_urlstringURL of an image to use as the starting frame
start_video_idstringContinue or extend a video generation with a new generation. You can combine thi

Examples

Generate a cinematic video:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ray",
    "version": "0.0.1",
    "input": {
      "prompt": "A cinematic establishing shot of a futuristic city",
      "start_image_url": "https://example.com/start-frame.jpg",
      "end_image_url": "https://example.com/end-frame.jpg"
    }
  }'

Detailed scene video:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "ray",
    "version": "0.0.1",
    "input": {
      "prompt": "An intimate close-up of raindrops falling on a window",
      "start_image_url": "https://example.com/start-frame.jpg",
      "end_image_url": "https://example.com/end-frame.jpg",
      "aspect_ratio": "9:16"
    }
  }'

Related Models

Documentation

Saved skills