2025-03-12

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 CodeError Message
invalid_audio_pathThe 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_pathThe 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_pathThe 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.

2025-03-07

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.

2025-03-05

Faster Rendering for AI Headshot and Face Swap Photo

We optimized our AI Headshot Generator and Face Swap Photo tools, cutting rendering times drastically.

ToolPrevious TimeNew TimeImprovement
AI Headshot Generator~30 seconds~7 seconds4.3x faster
Face Swap Photo~16 seconds~6 seconds2.5x faster
2025-03-03

Improved face detection in Multi-Face Swap

We improved face detection accuracy in Multi-Face Swap for images with zoomed in faces.

2025-02-23

Multi Face Swap Just Got Better! 🚀

We’ve improved our Multi Face Swap mode — now with 2.5x faster processing and higher quality!

2025-02-19

Added .m4v File Support

All APIs and web UIs now allows files with .m4v extension. All SDKs are updated to reflect this change.

2025-02-17

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

2025-02-16

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.

res = client.v1.video_to_video.create(
    assets={
        "video_source": "file",
        "video_file_path": "https://cdn.yourwebsite.com/files/video.mp4"
    }
)
All of our APIs now supports file URLs!
2025-02-14

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

2025-02-12

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.

{
    "style": {
+        "high_quality": true
    }
}

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:

{
  "audio_file_path": "https://cdn.yourwebsite.com/files/audio.mp3",
  "image_file_path": "https://cdn.yourwebsite.com/files/image.png",
  "video_file_path": "https://cdn.yourwebsite.com/files/video.mp4"
}
2025-02-09

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.

2025-02-08

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:

2025-02-05

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 CodeError Message
invalid_audio_fileThe audio file contains invalid data. Please try a different file.
invalid_image_fileThe image file contains invalid data. Please try a different file.
invalid_video_fileThe video file contains invalid data. Please try a different file.
invalid_youtube_urlThe youtube video cannot be downloaded. The video may be private, age-restricted, or region-restricted. Please try a different url.
2025-02-02

Added AI Clothes Changer API

AI Clothes Changer is now available via API! Get started with this new API using:

2025-01-30

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.

☝️ The API page also includes a calculator to help estimate cost
2025-01-28

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!

2025-01-09

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!