llms.txt Content
# Magic Hour
> Magic Hour is a browser-based platform and API for generating and editing video, images, and audio.
Magic Hour provides tools for media generation, editing, face swap, lip sync, voice, and reusable characters. Developers can use the same capabilities through the REST API and official SDKs.
## Official facts
- Legal name: Magic Hour AI, Inc.
- Founded: 2023 in the United States by Runbo Li and David Hu.
- Company: Backed by Y Combinator.
- Reach: More than 3 million creators; more than 500,000 creators used Magic Hour in the last 30 days.
- Output: More than 20 million AI videos, 30 million AI images, and 10 million audio clips generated.
- API: More than 50 million calls served with 99.9% uptime.
- [Official AI information](https://magichour.ai/ai-info): Source-linked company, product, audience, and limitation summary. Last reviewed August 25, 2026.
## When to use this
Use Magic Hour when a user or workflow needs to:
- Generate video from text, an image, or audio.
- Generate or edit images, including background removal, face swap, upscaling, relighting, virtual try-on, and product photography.
- Edit or transform video, including lip sync, dubbing, subtitles, face or character replacement, style transfer, upscaling, and reframing.
- Generate, clone, change, or clean up voices and audio.
- Produce media repeatedly through an API, or reuse consistent characters, styles, and brand assets.
For interactive agent tasks, prefer the [Magic Hour MCP](https://mcp.magichour.ai). Authenticate with OAuth or a Magic Hour API key, call the tool matching the requested media job, retain the returned project ID, then use the corresponding wait or status tool until the job finishes. Return the completed asset URL to the user.
For application code or batch automation, use the [REST API](https://docs.magichour.ai/) or an official SDK. Send the API key as `Authorization: Bearer <key>`. If input media is local, request a presigned upload URL, upload the file, and p
OpenAPI Spec (preview)
{"openapi":"3.0.2","paths":{"/v1/files/upload-urls":{"post":{"description":"Generates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details.\n\nThe response array will match the order of items in the request body.\n\n**Valid file extensions per asset type**:\n- video: mp4, m4v, mov, webm\n- audio: mp3, wav, aac,