Luma Ray flash 2 (720p)

Generate stunning 720p videos from text with the Luma ray-flash-2-720p model. Faster & cheaper than Ray 2, offering realistic motion & detail.


API

If you're looking for an API, you can choose from your desired programming language.

POST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 import requests api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/ray-flash-2-720p" # Prepare data and files data = {} files = {} data['loop'] = False data['prompt'] = "a young boy riding a red bicycle in grand canyon valleys" data['duration'] = "5" data['aspect_ratio'] = "16:9" data['start_image_url'] = None data['end_image_url'] = None headers = {'x-api-key': api_key} # If no files, send as JSON if files: response = requests.post(url, data=data, files=files, headers=headers) else: response = requests.post(url, json=data, headers=headers) print(response.content) # The response is the generated image
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


loopbool ( default: 1 )

Whether the video should loop, with the last frame matching the first frame for smooth, continuous playback.


promptstr *

Text prompt for video generation


durationenum:str ( default: 5 )

Duration of the output.

Allowed values:


aspect_ratioenum:str ( default: 16:9 )

Aspect ratio of the video.

Allowed values:


start_image_urlimage ( default: 1 )

URL of an image to use as the starting frame


end_image_urlimage ( default: 1 )

URL of an image to use as the ending frame

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Luma ray-Flash-2-720p

The Luma ray-Flash-2-720p model is a cutting-edge text-to-video generation system from Luma. Built upon a multi-modal architecture, it empowers content creators and marketers to quickly and affordably produce realistic 720p video content with coherent motion and detailed visuals based on simple text prompts, offering a faster and cheaper alternative to Ray 2.

Key Features of Luma ray-Flash-2-720p

  • Realistic Video Generation - Creates videos with coherent motion and detailed visuals based on text input, enabling high-quality outputs.

  • Natural Motion Synthesis - Generates videos with lifelike movement of objects and characters, enhancing realism.

  • Photorealistic Detail Rendering - Produces videos with a high level of visual fidelity, including realistic textures, lighting, and shadows.

  • Physics-based Simulations - Capable of generating videos that incorporate realistic physical interactions, such as liquids and explosions.

  • Cinematic Scene Composition - Facilitates the creation of visually appealing and well-structured video scene

Use Cases

  • Social Media Content Creation - Ideal for generating engaging short-form video content for platforms like TikTok and Instagram Reels due to its fixed duration options and aspect ratio flexibility.

  • Digital Advertising - Enables the rapid creation of compelling video ads with realistic visuals to capture audience attention.

  • Background Visuals - The looping option allows for the creation of seamless background videos for websites or displays.

  • Concept Visualization - Useful for artists and designers to quickly visualize and present abstract or surrealist concepts in video form

Technical Specifications

  • Output Resolution: 720p

  • Video Durations: Generates videos of 5 seconds or 9 seconds in length.

  • Input: Text prompts & Start and end frames (images)

The Luma ray-Flash-2-720p model offers a powerful yet cost-effective solution for generating high-quality 720p video content from text prompts. Its speed, realistic output capabilities, and fixed duration options make it a valuable tool for content creators, marketers, and digital artists seeking engaging visual assets for various applications.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.