Magic Hour

io.github.magichourhq/magic-hour · v0.1.2 · ai-and-media

Magic Hour is healthy: it completed an MCP handshake in 1577 ms and exposes 58 tools.

Create and edit images and video, generate music, and retrieve existing audio projects.

Endpoint: https://mcp.magichour.ai/ (streamable-http)

Repository · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count58
Latency1577 ms
Last checked (UTC)2026-12-01T05:10:19.998Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T05:10:19.998ZHealthy1577
2026-11-28T19:10:36.102ZHealthy3481
2026-11-26T11:00:34.367ZHealthy3865
2026-11-24T04:30:53.967ZHealthy2579
2026-11-21T23:50:31.863ZHealthy1088
2026-11-19T21:05:25.181ZHealthy2813
2026-11-17T19:10:37.682ZHealthy1752
2026-11-15T18:40:57.509ZHealthy2732
2026-11-13T19:41:08.049ZHealthy3200
2026-11-11T21:35:45.497ZHealthy3410
2026-11-10T00:40:46.657ZHealthy3026
2026-11-08T05:05:21.982ZHealthy1285
2026-11-06T10:35:47.301ZHealthy1223
2026-11-04T16:50:35.521ZHealthy3534
2026-11-03T00:05:26.834ZHealthy2285
2026-11-01T08:30:25.437ZHealthy799
2026-10-30T18:00:24.776ZHealthy1021
2026-10-30T18:00:24.721ZHealthy1084
2026-10-29T04:01:10.201ZHealthy1162
2026-10-27T14:30:18.121ZHealthy2908

Tools (58)

get_workflow_guideReturns required inputs, ordered steps, example requests and review criteria for supported Magic Hour workflows. Use when planning a generation, not to run one. Requires authentication but does not check account eligibility or spend credits.
upload_chatgpt_imageUploads a PNG, JPEG or WebP image attached in ChatGPT to the connected Magic Hour account. Use this for native ChatGPT photo attachments instead of asking the chat's file runtime to PUT bytes to get_upload_urls. Pass the returned file_path to the existing image or video generation tool. Accepts one
upload_chatgpt_mediaUploads one native ChatGPT attachment to the connected Magic Hour account: PNG/JPEG/WebP images, MP4/MOV/WebM video, or MP3/WAV/M4A/FLAC/Ogg/WebM audio, up to 20 MiB. Set media_type to the attachment's actual kind, not the requested output: image, video or audio. For multiple references, call separa
pingChecks that the Magic Hour server is reachable. Use for connectivity troubleshooting; it does not validate API credentials or account access. Makes no media or project changes.
create_credit_checkoutReturns a checkout link for a one-time credit pack purchase on the connected Magic Hour account. Pass credit_shortfall from an insufficient_credits refusal to start with enough packs. Charges nothing; the user pays on the checkout page. Show checkout_url unchanged.
wait_for_video_projectPolls an existing video project until it completes, fails, is canceled, or times out. Read-only. After a timeout, use the same project ID to resume checking. Use signed download URLs unchanged. In ChatGPT, show Magic Hour's result card for playback and download when the video completes.
wait_for_image_projectPolls an image project until it completes, errors, is canceled or times out. Use with the id returned by an image create tool. Read-only; returns the project and download URLs, with optional inline image previews sharing an 8 MiB total limit. After a timeout, resume with the same id rather than crea
wait_for_audio_projectPolls an audio project until it completes, errors, is canceled or times out. Use with the id returned by an audio create tool. Read-only; returns the project and download URLs, with optional inline audio previews sharing an 8 MiB total limit. After a timeout, resume with the same id rather than crea
fetch_image_downloadFetch a completed project's image as inline MCP image content for compatible clients. Use the exact signed download URL, including query parameters. Requires HTTPS at the configured Magic Hour media host. Read-only; inline content is limited to 8 MiB, or a smaller requested max_bytes. Returns the or
fetch_audio_downloadFetch a completed project's audio as inline MCP audio content for compatible clients. Use the exact signed download URL, including query parameters. Requires HTTPS at the configured Magic Hour media host. Read-only; inline content is limited to 8 MiB, or a smaller requested max_bytes. Returns the or
fetch_video_downloadFetch a completed project's video as an embedded MCP binary resource for compatible clients. Use the exact signed download URL, including query parameters. Requires HTTPS at the configured Magic Hour media host. Read-only; inline content is limited to 8 MiB, or a smaller requested max_bytes. Returns
get_account_infoReturns credit balance and subscription details for the connected account. Use to inspect account information before choosing generation settings. Use tier, not the subscription name or credit balance, for plan access. Read-only; this is not a request-specific cost quote or model-eligibility check.
checkout_createCreate a Stripe Checkout link for the account that owns the API key. Nothing is charged until the checkout is completed in a browser.
estimate_imageGet the credits an image create request charges. Pass `tool`, then the fields below that the tool's create request uses, with the same values. Does not create a project or spend credits. It prices the fields passed here. It does not check your plan, your balance or the rest of the create request.
estimate_videoGet the credits a video create request charges when it is submitted. Pass `tool`, then the fields below that the tool's create request uses, with the same values. Tools billed per frame charge an estimate at submission, assuming 30 fps for an uploaded video, and settle to the frames that render. Doe
estimate_audioGet the credits an audio create request charges. Pass `tool`, then the field below that the tool's create request uses. Does not create a project or spend credits. It prices the fields passed here. It does not check your plan, your balance or the rest of the create request.
list_saved_itemsLists the account's active saved characters, references, voice recordings, moodboards and brand kits, newest first. Reusable paths are in each item's assets[].file_path; temporary signed URLs support preview/download. Read-only; pass next_cursor as cursor for the next page.
voices_listList the voices available for text-to-speech. Use a voice's `id` as `style.voice_name` in the AI Voice Generator API. To fetch the next page, pass the response's next_cursor as cursor.
get_upload_urlsCreates presigned upload URL and file-path pairs for local media. Use when your client can PUT the raw bytes to upload_url, then pass file_path to the create tool. For a ChatGPT attachment, use the creation tool's attachment field, upload_chatgpt_image, or upload_chatgpt_media. This tool only issues
get_face_detection_resultsReturns a face-detection job's status and detected faces. Use with the id from detect_faces to inspect progress and choose face mappings before a selected-face swap. Read-only; faces may populate while processing.
detect_facesStarts an asynchronous face-detection task for a supplied image or video and returns its id and charge information. Use before a selected-face swap, then retrieve its status and detected faces with get_face_detection_results. Current API documentation describes detection as free; pricing may change.
get_video_projectOpen a saved video in Magic Hour’s result card with Play and Download in ChatGPT. Use when someone asks to see, play, download or reopen an existing video. Pass the existing project ID. Read-only.
delete_video_projectDeletes the video project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
create_talking_photoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Use a still portrait and an existing speech recording to make the portrait speak. A written script needs audio first. For a prepared ad
create_spoken_ad_videoUse a prepared image and a written script to generate a spoken ad with synthesized dialogue. For a still portrait and an existing speech recording, use create_talking_photo. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings, read ge
edit_videoEdits the appearance or content of a supplied video segment using a text prompt. Use with a source video, the requested changes and the clip end time. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings, read get_account_info and the
translate_videoDub a supplied video segment into a supported target language while preserving the speaker's voice and synchronizing lip movements to the translated speech. Supply the source video, target_language and end_seconds; start_seconds selects the segment's start. Translation, voice preservation and lip sy
upscale_videoUpscales a supplied video segment to a selected output resolution while preserving its aspect ratio. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account,
create_animationCreates a stylized animated video with art and camera settings, using a custom prompt or an audio-derived prompt mode. Can use an initial image and audio. Credits depend on frame rate and duration; returns a project id for wait_for_video_project. Before choosing settings, read get_account_info and t
create_video_from_audioGenerates an audio-guided video from a supplied audio track, with an optional starting image and visual prompt. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Fr
add_subtitles_to_videoAdds automatically generated subtitles to a supplied video segment using a subtitle preset or custom text styling. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings, read get_account_info and the current parameter constraints. For a
replace_character_in_videoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Replaces a subject in a video with a character from a reference image, or transfers the video's motion onto that character. Starts a bac
swap_face_in_videoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Swaps faces in an existing video: all faces with a reference image, or selected faces using detect_faces results. Starts a background jo
create_video_from_imageUse a still image as the first frame and describe what should move. There is no aspect_ratio setting; the video's shape comes from the image. If the user wants a shape for where the video will be used (9:16 for TikTok, Reels, Shorts or Stories) and the image is a different shape, say so and offer to
create_lip_sync_videoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Use existing video and replacement audio to match the speaker's lip movements to the recording. For a still portrait and existing speech
create_video_from_textGenerates a video from a text prompt, with optional supported reference inputs and model settings. If the user has not specified an aspect ratio, choose it for where the video will be used, such as 9:16 for TikTok or Reels. To animate an existing starting image, use create_video_from_image. Starts a
restyle_videoRestyles an existing video clip with an art-style preset or a custom prompt. Supports v1/v2/v3 presets; v3 requires a supplied reference image and positive source-video width and height. Starts a background job that costs credits; returns a project id for wait_for_video_project. Before choosing sett
get_image_projectOpen a saved image in Magic Hour’s result card with the image and Download in ChatGPT. Use when someone asks to see, download or reopen an existing image. Pass the existing project ID. Read-only.
delete_image_projectDeletes the image project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
change_clothes_in_photoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Changes clothing in a person photo using a supplied garment reference image. Costs 25 credits. Starts a background job; returns a projec
edit_face_in_photoAdjusts facial expression, pose and gaze in a supplied photo using numeric controls. Costs 1 credit per edit; output size depends on the subscription tier. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parame
create_gif_or_short_videoGenerates a short animation from a text prompt, with GIF, MP4 or WebM output. Costs 50 credits. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and setti
edit_imageEdits one or more supplied images using a text prompt. For prompt-only creation use generate_image. Costs credits; returns a project id for wait_for_image_project. Model eligibility depends on the account plan. When the user has not chosen a model, resolution or count, omit them; the API picks eligi
generate_headshotCreates a headshot from a supplied photo containing one detectable face, with optional appearance instructions. Costs 50 credits. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Fre
generate_imageGenerates one or more images from a text prompt, with model, output size and image count options. Costs credits; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and settings avai
upscale_imageUpscales a supplied image 2x or 4x. Cost depends on scale and mode (25-200 credits); returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and settings available on Free. If the reques
create_memeCreates a meme from a topic and template selection. Costs 10 credits. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and settings available on Free. If
create_qr_codeCreates a stylized QR code from supplied text or a URL and an art-style description. Currently costs 0 credits. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose
place_person_in_sceneUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Places a person from one supplied photo into a supplied scene image. Cost depends on resolution (from 50 credits at 640px); returns a pr
swap_face_in_photoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Swaps faces in a supplied photo using a source face image or selected face mappings. Costs 10 credits; output size depends on subscripti
swap_head_in_photoUse only with the user's own likeness or content they are authorized to use. Do not use for impersonation, deception, sexual content, or content involving minors. Swaps a head from a supplied image onto a supplied body image. Costs 10 credits; returns a project id for wait_for_image_project. Before
remove_image_backgroundRemoves an image's background, optionally replacing it with another supplied image. Costs 5 credits. Starts a background job; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and
colorize_photoColorizes a black-and-white or faded photo. Costs 10 credits; returns a project id for wait_for_image_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models and settings available on Free. If the request needs a paid-only opt
get_audio_projectOpen a saved audio project in Magic Hour’s result card with playback and Download in ChatGPT. Use when someone asks to hear, download or reopen an existing audio project. Pass the existing project ID. Read-only.
delete_audio_projectDeletes the audio project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
generate_musicGenerates music from a description, with optional custom lyrics or instrumental-only output. Costs 1 credit per requested second; returns a project id for wait_for_audio_project. Before choosing settings, read get_account_info and the current parameter constraints. For a Free account, choose models
ai_voice_cloner_create_audioMCP guidance: - Starts an async audio job; returns `id` and `credits_charged`. For finished results, call `wait_for_audio_project` with that id or poll `GET /v1/audio-projects/{id}` until `complete`, `error`, or `canceled`. Results include `downloads`; wait helpers add `exact_download_urls`. Preserv
ai_voice_generator_create_audioMCP guidance: - Starts an async audio job; returns `id` and `credits_charged`. For finished results, call `wait_for_audio_project` with that id or poll `GET /v1/audio-projects/{id}` until `complete`, `error`, or `canceled`. Results include `downloads`; wait helpers add `exact_download_urls`. Preserv