Hailuo I2V Live
hailuo-i2v-live
Hailuo I2V-01-Live is an AI video model that supports a wide range of artistic styles and is designed to revolutionize how 2D illustrations come to life.
Model Information
Input
Configure model parameters
Output
View generated results
Result
Preview, share or download your results with a single click.
Prerequisites
- Create an API Key from the Eachlabs Console
- Install the required dependencies for your chosen language (e.g., requests for Python)
API Integration Steps
1. Create a Prediction
Send a POST request to create a new prediction. This will return a prediction ID that you'll use to check the result. The request should include your model inputs and API key.
import requestsimport timeAPI_KEY = "YOUR_API_KEY" # Replace with your API keyHEADERS = {"X-API-Key": API_KEY,"Content-Type": "application/json"}def create_prediction():response = requests.post("https://api.eachlabs.ai/v1/prediction/",headers=HEADERS,json={"model": "hailuo-i2v-live","version": "0.0.1","input": {"first_frame_image": "your_file.png","prompt_optimizer": "true","prompt": "your prompt here"}})prediction = response.json()if prediction["status"] != "success":raise Exception(f"Prediction failed: {prediction}")return prediction["predictionID"]
2. Get Prediction Result
Poll the prediction endpoint with the prediction ID until the result is ready. The API uses long-polling, so you'll need to repeatedly check until you receive a success status.
def get_prediction(prediction_id):while True:result = requests.get(f"https://api.eachlabs.ai/v1/prediction/{prediction_id}",headers=HEADERS).json()if result["status"] == "success":return resultelif result["status"] == "error":raise Exception(f"Prediction failed: {result}")time.sleep(1) # Wait before polling again
3. Complete Example
Here's a complete example that puts it all together, including error handling and result processing. This shows how to create a prediction and wait for the result in a production environment.
try:# Create predictionprediction_id = create_prediction()print(f"Prediction created: {prediction_id}")# Get resultresult = get_prediction(prediction_id)print(f"Output URL: {result['output']}")print(f"Processing time: {result['metrics']['predict_time']}s")except Exception as e:print(f"Error: {e}")
Additional Information
- The API uses a two-step process: create prediction and poll for results
- Response time: ~424 seconds
- Rate limit: 60 requests/minute
- Concurrent requests: 10 maximum
- Use long-polling to check prediction status until completion
Overview
MiniMax Video-01 Live is a state-of-the-art video generation model capable of creating highly realistic and dynamic videos from text prompts, images inputs. Designed for flexibility and ease of use, it offers real-time processing and high-definition output, making it ideal for content creators, advertisers, and digital artists.
Technical Specifications
- 720p video resolution output
- 25fps frame rate
- High compression ratios
- High text prompt compliance
Key Considerations
Ensure the input files meet the specified format and size requirements.
Always provide a clear and detailed prompt to achieve better results.
Optimize the first frame image for clarity and color balance to set a consistent tone for the video. =The model accepts image files in JPG and PNG formats as input
Privacy Policy
When using this model, data is sent from Eachlabs to MiniMax. For more information:
Tips & Tricks
Enhance Text Prompts with Context:
Include environmental details, lighting conditions, and camera movements in your text prompts. Example: "A mountain trail during dawn, with a soft camera zoom following a hiker."
Combine Inputs:
Use a combination of text and image inputs for specific results. For example, provide an image of a product and add a text prompt like "360-degree rotation with soft lighting."
Experiment with Frame Rates:
For cinematic effects, use 24 fps. For smoother motion, opt for 60 fps.
Enable the Prompt Optimizer for improved visual alignment with your text input.
Test different prompts to experiment with creative styles and concepts.
Use high-quality first-frame images to maintain consistency throughout the video.
Adjust the settings based on the type of content (e.g., animations, transitions) for optimal results.
Capabilities
- Real-Time Video Generation: Creates dynamic, high-quality videos from diverse inputs.
- AI-Driven Editing: Modifies existing videos by adding or removing elements, adjusting colors, and more.
- High Customizability: Offers extensive options for resolution, frame rate, and effects.
- Content Versatility: Suitable for marketing, storytelling, animation, and artistic projects.
- Converts textual prompts into dynamic video outputs.
- Supports the inclusion of custom first-frame images for personalized results.
- Offers prompt optimization for better alignment with user descriptions.
- Delivers smooth transitions and high-resolution outputs.
What can I use for?
Marketing and Branding: Generate promotional content for products or services.
Video Prototyping: Quickly visualize concepts for ads, films, or animations.
Social Media Content: Create short, engaging clips for platforms like Instagram, TikTok, or YouTube.
Education and Training: Develop instructional or explainer videos.
Artistic Projects: Produce creative video art or animations with custom styles.
Things to be aware of
- Short Story Visualizations:
- Use a descriptive text prompt like "A magical forest with glowing trees and a fox walking slowly."
- Image-to-Video Transitions:
- Provide an image and a text prompt such as "Transform this into a time-lapse of a sunset."
- Style Exploration:
- Experiment with various styles, such as “cinematic,” “abstract,” or “vintage film look.”
- 360-Degree Product Demos:
- Input a product image with a prompt like "Create a 360-degree rotation with a white background."
- Multi-Scene Creations:
- Combine multiple prompts for multi-scene videos, e.g., "Scene 1: A city street at night. Scene 2: Sunrise over a beach."
- Dynamic Lighting Effects:
- Add lighting cues like "dramatic spotlight" or "sunbeams through trees" for unique aesthetics.
- Provide a historical artwork as the first-frame image and use a descriptive prompt to recreate it in a dynamic, animated style.
- Use a black-and-white first-frame image and add a colorful prompt to generate a vibrant, color-enhanced video.
- Upload a personal portrait and use a prompt like "Transform into a fantasy character in a magical forest."
- Pair a nature scene image with prompts describing seasonal changes, such as "Spring blossoms with vibrant flowers."
- Create a futuristic sci-fi scene using a city skyline photo and prompts like "Cyberpunk city with glowing neon signs."
- Experiment with abstract designs by uploading an artistic texture and using prompts like "Flowing colors with surreal patterns."
- Use the prompt optimizer to refine prompts for storytelling, such as "A hero's journey through a mystical realm."
- Generate educational videos by providing schematic diagrams as the first frame and prompts explaining scientific concepts.
- Combine text from a movie script and a key image from the scene to recreate cinematic moments.
- Create social media content using trendy prompts like "Minimalist aesthetic with pastel tones."
- Use architectural designs as the first-frame image and add prompts like "Modern skyscraper with glass reflections at sunset."
- Generate fantasy landscapes by uploading a mountain image and using a prompt like "Dragon flying over snowy peaks."
- Test storytelling by chaining prompts for a continuous visual narrative, such as "Morning to night transformation in a city."
- Design artistic ads by starting with product images and using prompts like "Luxury brand elegance in golden tones."
Limitations
Rendering Time:
- Longer videos or 4K outputs may require significant rendering time depending on hardware capabilities.
Input Complexity:
The model may not accurately interpret overly abstract prompts. Keep instructions clear and actionable.
Maximum supported input file size is 10 MB.
The output quality depends on the resolution and detail of the input image.
Output Format: MP4