Product Updates
Latest feature enhancements in Magic Hour
Added Error Codes For Invalid File Path
We added 3 API error codes to identify invalid file path issues. You can get the error details using the GET /v1/image-projects/:id
and GET /v1/video-projects/:id
endpoints by accessing .error.code
and .error.message
fields.
Error Code | Error Message |
---|---|
invalid_audio_path | The audio_file_path value provided does not point to a valid audio file. This value should be a valid URL or file_path from the API https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls. |
invalid_image_path | The image_file_path value provided does not point to a valid image file. This` value should be a valid URL or file_path from the API https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls. |
invalid_video_path | The video_file_path value provided does not point to a valid video file. This value should be a valid URL or file_path from the API https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls. |
Improved Model / Garment Detection For Small Images
We make improvements to our model and garment detection to better find subjects in low resolution images.
Previously, you would get the error Please use an image with a detectable model
or Please use an image with a detectable outfit
.
AI Clothes Changer Quality Upgrade
We released an improved version of AI Clothes changer with higher quality to paid users only. This version has better masking, less errors, and preserves elements more of the original image, like hair.
Faster Rendering for AI Headshot and Face Swap Photo
We optimized our AI Headshot Generator and Face Swap Photo tools, cutting rendering times drastically.
Tool | Previous Time | New Time | Improvement |
---|---|---|---|
AI Headshot Generator | ~30 seconds | ~7 seconds | 4.3x faster |
Face Swap Photo | ~16 seconds | ~6 seconds | 2.5x faster |
Improved face detection in Multi-Face Swap
We improved face detection accuracy in Multi-Face Swap for images with zoomed in faces.
Multi Face Swap Just Got Better! 🚀
We’ve improved our Multi Face Swap mode — now with 2.5x faster processing and higher quality!
Added .m4v
File Support
All APIs and web UIs now allows files with .m4v
extension. All SDKs are updated to reflect this change.
Customizable Caption Templates! 🎉
We’ve added customization options to give you control over your subtitles appearance. You can now customize:
- Text color, text highlight color, and Text border color.
- Vertical and horizontal position.
Try it now: Auto Subtitle Generator
Animation and Video-to-Video APIs Now Allow File URLs.
To make it easier to use input files, we have now updated final two endpoints to support file urls for input files:
POST /v1/animation
POST /v1/video-to-video
Now, you won’t have to upload files to our storage first before calling these two APIs.
Generate Subtitle for 3+ Minutes Videos
We added the Auto Subtitle Generator
to our dashboard! The max duration of our current tool is 30 seconds. We have now expanded the max to 10,000 frames. This means you can generate videos of length:
- 6.9 minutes at 24fps
- 5.5 minutes at 30fps
Try it now: Auto Subtitle Generator
Added high_quality
Param to Image-to-Video API
We previously introduced a High Quality
checkbox to the web app. Now, our API supports high quality generation as well. As a quick recap, “High Quality” is better at detail preservation, ideal for humans and complex images.
To use high quality mode, simply add .style.high_quality
param when calling the API.
File URL Support for 5 different APIs.
To make it easier to work with input files, we added support for file urls for the following APIs:
- POST /v1/ai-headshot-generator
- POST /v1/ai-image-upscaler
- POST /v1/image-background-remover
- POST /v1/image-to-video
- POST /v1/lip-sync
Now you don’t have to upload the file to Magic Hour storage first before using the asset in the APIs. Simply use the url in the file_path
inputs:
Launching Usage-Based Pricing for API users
Benefits:
- ✅ Pay only for what you use
- ✅ Volume discounts—up to 50% off
- ✅ Never run out of frames
For example, 15,000 frames now costs just $18 on our Creator tier instead of $27 with a subscription.
If you’re interested in our new pricing, send us an email at support@magichour.ai.
Detailed Usage Cost Breakdown + Usage Analytics
For users who has an active usage-based pricing subscription, we added detailed breakdown of cost based on each usage tier in your Developer Hub
Plus, get detailed analytics on your usage:
Added More Error Codes For More Visibility
We added 4 more API error codes to help you identify why a particular render failed. You can get the error details using the GET /v1/image-projects/:id
and GET /v1/video-projects/:id
endpoints by accessing .error.code
and .error.message
fields.
Error Code | Error Message |
---|---|
invalid_audio_file | The audio file contains invalid data. Please try a different file. |
invalid_image_file | The image file contains invalid data. Please try a different file. |
invalid_video_file | The video file contains invalid data. Please try a different file. |
invalid_youtube_url | The youtube video cannot be downloaded. The video may be private, age-restricted, or region-restricted. Please try a different url. |
Added AI Clothes Changer API
AI Clothes Changer is now available via API! Get started with this new API using:
Officially Launching the Magic Hour API
Today we’re excited to announce the Magic Hour API!
Developers can now integrate our AI image & video generation tools directly into their apps and products.
Free to get started for all users, with usage-based pricing available by request.
Check it out at: https://magichour.ai/api.
Launching AI Clothes Changer!
Head over to AI Clothes Changer to create yours today!
We also launched a free tool to the AI Clothes Changer Product Page so you can try out the new product for free!
Launching Auto Subtitle Generator Free Tool
We launched a free tool to automate subtitle generation on your video. Head over to the Auto Subtitle Generator Product Page to try out the new product for free!
Each generation is limited to 30 seconds, and you can generate 3 videos free per day. That’s 1.5 minutes of free usage every day!
Was this page helpful?