SandBase is live — $1 in free credits on signupStart free ›
Use in agentLuma models

Luma modelsvideo generation api

luma/ray-flash-2/reframe

Ray Flash 2 Reframe is Luma's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.

Input
Optional prompt for reframing

PNG, JPEG, WebP, or GIF · 20 MiB maximum

Optional URL of the first frame image for reframing
URL of the input video to reframe
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Idle

Example output — click Run to generate your own

API README

Luma Ray Flash 2 Reframe

Luma Ray Flash 2 Reframe is a Luma route built for visual reframing. It turns an existing visual asset and target canvas into a recomposed result for a different aspect ratio, giving creators a focused endpoint instead of forcing one generic workflow across materially different production tasks. The route belongs to a family known for natural motion, strong prompt interpretation, and cinematic camera behavior, so it is best evaluated as a creative system for intentional shots and assets rather than as a one-click novelty generator.

Use this endpoint when the input contract and deliverable match that job exactly. Its documented controls include aspect_ratio choices (21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16). Together, these controls help teams plan predictable iterations, compare outputs under stable settings, and connect generation to concept films, campaign visuals, and rapid shot exploration without hiding the operational choices that shape the result.

Highlights

  • Luma Ray Flash 2 Reframe: dedicated canvas reframing. This exact route centers on canvas reframing; it uses prompt, image to separate its job from neighboring endpoints in the same family.
  • image control. Optional URL of the first frame image for reframing; this setting provides a concrete lever for route-specific output planning.
  • video control. URL of the input video to reframe; use it to build controlled comparisons without changing the rest of the request.
  • aspect_ratio control. options 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16; together with the other documented fields, it supports repeatable review of this model path.

Pricing

ConfigurationPrice
Billing ruleparams.duration * 0.06
Formula-priced requestStarts from $0.300000; final charge follows the billing rule above

When to Use

ScenarioWhy this model fits
Create the exact route outputChoose it when you need visual reframing and already have an existing visual asset and target canvas.
Develop controlled variationsKeep the main brief fixed while changing one documented setting at a time to compare motion, framing, quality, or asset behavior.
Build repeatable batchesUse a consistent request shape for catalog, campaign, storyboard, game-asset, or social-content production.
Preserve source intentPrefer this route when the supplied reference material must remain the foundation of a recomposed result for a different aspect ratio.
Connect a media pipelineUse asynchronous results in an automated review, approval, post-production, or asset-management workflow.

Prompt Guide

Start with the desired result, then describe the source relationship, subject action, composition or camera behavior, lighting, style, and timing. For visual reframing, state what must remain stable as clearly as what should change. Use only fields exposed by the schema; the example below is structurally valid for this route.

{
  "prompt": "A cinematic product shot with deliberate camera movement, natural light, and clearly described timing.",
  "image": "https://example.com/reference.jpg",
  "video": "https://static.sandbase.ai/examples/luma/ray-flash-2/reframe/output_url_0.mp4",
  "aspect_ratio": "21:9"
}

Technical Specs

SpecificationValue
Model IDluma/ray-flash-2/reframe
WorkflowVisual reframing
Required inputsprompt, image
imagestring
videostring
promptstring
aspect_ratiostring; options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Related Models

Related Models

luma/ray-flash-2/image-to-videoRay Flash 2 by Luma - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.luma/ray-flash-2/modifyRay Flash 2 Modify by Luma - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.luma/ray-flash-2/text-to-videoRay Flash 2 is Luma's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.luma/agent/ray/3.2/video-to-videoAgent Ray 3.2 by Luma - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.luma/ray-2/image-to-videoRay 2 by Luma - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.luma/ray-2/modifyRay 2 Modify by Luma - AI-powered video editing and transformation. Apply style transfer, motion control, lip-sync, and visual effects to existing videos with natural language instructions.luma/ray-2/reframeRay 2 Reframe is Luma's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.luma/ray-2/text-to-videoRay 2 is Luma's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.