Ray2 Flash Modify is a video generative model capable of restyling or retexturing the entire shot, from turning live-action into CG or stylized animation, to changing wardrobe, props, or the overall aesthetic and swap environments or time periods, giving you control over background, location, or even weather.
Luma Ray 2 Flash Modify (luma-labs/luma-dream-machine-ray-2-flash-modify) is a video model from Luma Labs. Pricing via AIgateway: $0.120 per second. Call it via https://api.aigateway.sh/v1/videos/generations — set model="luma-labs/luma-dream-machine-ray-2-flash-modify".
curl https://api.aigateway.sh/v1/videos/generations \
-H "Authorization: Bearer $AIGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"luma-labs/luma-dream-machine-ray-2-flash-modify","prompt":"a slow drone shot over a mountain lake","duration":5}'{
"model": "luma-labs/luma-dream-machine-ray-2-flash-modify",
"prompt": "A drone shot of a mountain lake at golden hour",
"duration": 5, // seconds
"aspect_ratio": "16:9"
}
// optional "image_url" to animate a seed image
// Response is an async job — poll /v1/jobs/<id> until status === "completed".{
"id": "job_abc123",
"status": "queued", // queued | processing | completed | failed
"model": "luma-labs/luma-dream-machine-ray-2-flash-modify",
"created": 1776947082
}
// After completion:
{
"id": "job_abc123",
"status": "completed",
"result": {
"url": "https://media.aigateway.sh/video/abc123.mp4",
"duration": 5,
"resolution": "1920x1080"
}
}# See docs at https://aigateway.sh/docs