OpenPixels

Ray 2 Performance

Author:Luma Labs
Type:Video
Providers:fal.ai ($0.50-4 based on resolution and duration), Luma Labs ($0.0064/million pixels)

Parameter Playground

This field is required

Please fill in all required fields marked with *

Generated image will appear here

Arguments

  • promptRequiredfal, luma
    Type:string
    Text prompt for video generation
  • durationOptionalfal, luma
    Type:number
  • widthOptionalfal, luma
    Type:number
  • heightOptionalfal, luma
    Type:number
  • aspect_ratioOptionalfal, luma
    Type:string
  • resolutionOptionalfal, luma
    Type:string
  • start_image_urlOptionalfal, luma
    Type:string
  • end_image_urlOptionalfal, luma
    Type:string
  • loopOptionalfal, luma
    Type:boolean
// npm install openpixels

import { OpenPixels } from "openpixels"

const client = new OpenPixels({
  apiKey: "sk-op-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
})

const result = await client.run({
  model: "ray-2"
})