Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Magic Hour

Latest version: v0.1.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
MCP server Transport: Streamable HTTP Publisher: magichourhq
10 Stars
7 Forks
3 Versions
Python Repo language

Scan summary

Magic Hour was last scanned on 28 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest was published on 28 Nov 2026.
  • Findings: No rules fired in version 0.1.2.
  • MCP server: Runs over Streamable HTTP; the probe connected over SSE. It does not require authentication. It uses MCP protocol version 2025-06-18. Exposes 58 tools.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.2 LATEST 28 Nov 2026 No rules fired
0.1.1 4 Nov 2026 No rules fired
0.1.0 31 Aug 2026 No rules fired

No rules fired in 0.1.2

Findings

Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Magic Hour MCP Server

OpenAPI-backed MCP server for Magic Hour image and video generation and editing, music generation, uploads, completion waiting and retrieval of existing audio projects.

At startup, this server builds MCP tools from the canonical docs/openapi.json with FastMCP.from_openapi(). Installed distributions bundle that snapshot inside the Python package, so startup does not require a repository checkout. The spec supplies endpoint coverage, while Magic Hour MCP policies add agent-facing guidance for async polling, uploads, and project downloads.

Connect an agent

Hosted creation endpoint: https://mcp.magichour.ai/

Follow the client setup guide for Claude, Claude Code, Codex CLI or ChatGPT. After connecting, call get_account_info to verify API access and inspect the account before generation; ping alone does not validate the API key.

Try: “Use my portrait to create a cinematic space-pilot still, then animate it with a slow camera push. Keep my face consistent, wait for the render and show the finished video. Check account eligibility and cost before spending credits.”

Use get_workflow_guide for the ordered tool steps and output review. After a tool-name update, refresh the client’s cached tool catalog or reconnect. Use the names returned by tools/list; dated example receipts keep their original IDs. For documentation search while coding, use the separate API Docs MCP.

Docs:

  • Magic Hour agent skills - media workflows, published examples, and recovery guidance
  • user.md - hosted endpoint user guide
  • integration-handoff.md - FastAPI mount checklist
  • docs/detailed-step-by-step-integration.md - full backend integration guide
  • docs/api-reference.md - generated API reference

Evaluate a paid workflow

Use the workload evaluation guide to compare a finished image or video job, including its inputs, model, settings, output and cost. Use the Markdown tables for model limits and credit costs and billing options. The Kling 3.0 annual example shows the upfront payment and effective cost when all credits are used. Audio, higher resolutions, and video-reference inputs change credit usage.

The account read verifies API authorization and returns account information; it is not a request-specific price or eligibility quote. The current MCP tool contract has no such quote operation. A workflow guide does not validate the requested model, source media or plan access. Resolve unclear costs or access before creating a paid project.

For inspectable video examples, the published image-to-video benchmark provides source images, requests, all attempts and downloadable results. It compares models through Magic Hour and does not establish a provider-quality winner or human acceptance of the clips.

Upload files from a local agent

If your agent can run Python where the file is stored, call client.v1.files.upload_file("path/to/file.png") from the Magic Hour Python SDK. Use a client authenticated for the same Magic Hour account as the MCP connection. Pass the returned file_path to the generation tool and save it for reuse. Hosted MCP clients can use native attachment tools where available, or request a presigned URL with get_upload_urls and upload the file bytes from the client.

Credits and data

MCP generations use Magic Hour account credits. You can buy a one-time credit pack without a subscription; unused credits never expire. Packs include applicable watermark-free exports and commercial use, subject to the Terms and rights in your source content. They do not unlock subscription-only model or resolution access.

Technical failures generally return credits after processing; completed but unsatisfactory results do not automatically return credits. A wait timeout is not proof of project failure—resume with the existing project ID. Payment refunds follow the separate refund policy.

Trust & Data Use explains Magic Hour's no-training policy for customer prompts, uploads and outputs, and feature-dependent retention.

Setup

pip install -e .

Run locally

python main.py

Local MCP endpoint:

http://127.0.0.1:8000/

This local dev server runs at /, not /mcp. The host app adds /mcp when it mounts the server.

By default, requests go to the production Magic Hour API:

https://api.magichour.ai

Tool discovery is public. Tool calls require authentication. Hosted Claude and ChatGPT OAuth connectors handle the token after you sign in and authorize access. For manual bearer clients, include your Magic Hour API key:

Authorization: Bearer <magic_hour_api_key>

Agents can discover the hosted server card at:

https://mcp.magichour.ai/.well-known/mcp/server-card.json

Credential-free client connection configs are also public at /mcp.json and /.well-known/mcp.json. These contain only the hosted endpoint, never an API key. Tool calls still require OAuth or a bearer API key. The handshake advertises the setup documentation and a packaged 256px icon; the server card also supplies its human-readable title and description.

Environment variables:

MAGIC_HOUR_API_BASE_URL=https://api.magichour.ai
MAGIC_HOUR_OPENAPI_PATH=docs/openapi.json
MCP_OAUTH_ISSUER_URL=https://mcp.magichour.ai
MCP_OAUTH_RESOURCE_URL=https://mcp.magichour.ai

Override MAGIC_HOUR_API_BASE_URL to use a mock or another API base:

MAGIC_HOUR_API_BASE_URL=https://api.sideko.dev/v1/mock/magichour/magic-hour/latest python main.py

Read-only workflow guidance

get_workflow_guide accepts video-face-swap, image-editor, image-to-video, video-generator, lip-sync, ugc-ads, talking-photo or media-apis. It returns inputs, product and API documentation URLs, exact creation-tool names, ordered steps, example requests, follow-up edits and review criteria. It makes no API request, spends no credits and does not verify account access. Like other tools, it requires the existing authentication flow.

Clients can also discover the public magic-hour://workflows/index resource and read magic-hour://workflows/{workflow}. UGC uses create_spoken_ad_video with a prepared image, script and supported duration; image composition is a separate Image Editor call. Keep the returned project ID and use wait_for_video_project to retrieve the finished file.

For example, ask for image-to-video to animate an approved product photo directly, review the finished clip and reuse it for a later edit. Edit the still only when the requested appearance must change or a source problem prevents the shot. The talking-photo guide requires a portrait and an existing audio file; text alone cannot start that tool. Guides describe workflows, not prevalidated generated outputs or account eligibility.

This helps assistants that connect to this server select workflows; it does not establish a recommendation or ranking benefit in unconnected consumer assistants.

OAuth

This server is an OAuth protected resource only. The authorization server is the Magic Hour web app (https://magichour.ai): users sign in and consent there, and it returns a Magic Hour API key as the access token, which this server passes through to the API. Production requires MCP_OAUTH_ISSUER_URL and MCP_OAUTH_RESOURCE_URL. See docs/future-oauth-support.md.

Test with MCP Inspector

  1. Start the server.
  2. Run:
    npx @modelcontextprotocol/inspector
  3. In Inspector:
    • Transport: Streamable HTTP
    • URL: http://127.0.0.1:8000/
    • Header: Authorization: Bearer <magic_hour_api_key>
  4. Call ping.
  5. Call get_upload_urls or another generated tool.

Notes:

  • FastMCP generates endpoint tools from OpenAPI at startup.
  • Creation tools return id and the initial credits_charged. Record them together, then reconcile that entry with credits_charged from the terminal project response when available.
  • OpenAPI operationId values are normalized to descriptive snake_case tool names.
  • The shared /v1/files/upload-urls endpoint is named get_upload_urls. It accepts video, audio, and image items.
  • Use wait_for_*_project to poll jobs. Use exact_download_urls exactly as returned; never append expiration metadata.
  • Image and audio wait tools also return inline media when supported.

Rebuild and type-check the MCP App UI with cd web && npm ci && npm run build.

Result delivery metrics

media_project_resolved includes project_id, project_type, status and download_count. Count distinct projects with status complete and at least one download to measure completed-project retrievals. Repeated reads remain raw events; older events without a project ID cannot be deduplicated or backfilled.

The result card reports mcp_app_result events: preview_loaded when the main media loads, playback_started when playback actually starts, and download_requested when Download is clicked. Properties contain only the project ID, media type and SHA-256 output-path hash. No prompts, filenames, raw paths, signed URLs or credentials are sent. The widget suppresses repeat events within its lifetime; reports must also deduplicate by (event, project_id, project_type, output_id) across reloads and cards.

UI reports are anonymous and can be spoofed. Reconcile project IDs against authenticated completion events and report unmatched coverage separately. Loading does not prove visibility or quality; a download request does not prove host acceptance or a completed download. These events do not establish unique customers, public-plugin installs or paid activation.

File uploads

Magic Hour does not accept raw file bytes inside tool arguments. The flow is:

  1. Call the generated shared upload-URL tool, get_upload_urls
  2. Upload the file bytes to the returned upload_url
  3. Pass the returned file_path into the generated creation tool

Direct public media URLs may work, but uploaded file_path values are more reliable. Upload bytes from the caller or a dedicated upload bridge; the hosted MCP server never reads caller-supplied local filesystem paths. Browser chat needs a separate upload UI or bridge; see docs/future-chat-ui-handoff.md.

MCP voice and meme tools

Voice Generator uses the voice presets in the Magic Hour API schema. Voice Cloner takes an audio sample and text. Use your own voice or a voice you have permission to clone. Meme Generator accepts the templates listed in its tool schema.

Live check

What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.

Reachable
YES
Transport
SSE
Authentication
NONE — OPEN
MCP protocol
2025-06-18
Server
magic-hour 0.1.0
Tools advertised
58

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Capabilities

58 tools advertised

This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.

get_workflow_guide

Returns required inputs, ordered steps, example requests and review criteria for eight supported Magic Hour workflows. Use when planning a generation, not to run one. Requires authentication but does not check account eligibility or spend credits.

Params workflow

upload_chatgpt_image

Uploads 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 image up to 20 MiB. Does not generate media or spend generation credits.

Params image

upload_chatgpt_media

Uploads 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 separately and keep each returned file_path paired with the intended input. Pass the real attachment through the file parameter; a bare file ID, filename or chat-local path is not the raw MCP file object. D

Params file media_type

ping

Checks 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_checkout

Returns 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.

Params credit_shortfall pack_count

wait_for_video_project

Polls 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.

Params id poll_interval_seconds timeout_seconds include_inline_downloads max_inline_downloads

wait_for_image_project

Polls 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 creating another generation. Use signed download URLs exactly as returned.

Params id poll_interval_seconds timeout_seconds include_inline_downloads max_inline_downloads max_bytes_per_download

wait_for_audio_project

Polls 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 creating another generation. Use signed download URLs exactly as returned.

Params id poll_interval_seconds timeout_seconds include_inline_downloads max_inline_downloads max_bytes_per_download

fetch_image_download

Fetch 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 original-file download link when the media exceeds this limit. For playback or downloads in ChatGPT, open Magic Hour’s result card with get_image_project or wait_for_image_project using the existing pro

Params download_url max_bytes

fetch_audio_download

Fetch 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 original-file download link when the media exceeds this limit. For playback or downloads in ChatGPT, open Magic Hour’s result card with get_audio_project or wait_for_audio_project using the existing pro

Params download_url max_bytes

fetch_video_download

Fetch 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 the original-file download link when the media exceeds this limit. For playback or downloads in ChatGPT, open Magic Hour’s result card with get_video_project or wait_for_video_project using the exist

Params download_url max_bytes

get_account_info

Returns 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_create

Create a Stripe Checkout link for the account that owns the API key. Nothing is charged until the checkout is completed in a browser.

Params type pack_count credit_shortfall

estimate_image

Get 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.

Params tool model resolution image_count scale_factor mode

estimate_video

Get 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. 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.

Params tool end_seconds start_seconds model resolution audio has_video_reference

estimate_audio

Get 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.

Params tool character_count duration

list_saved_items

Lists 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.

Params type limit cursor

voices_list

List 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.

Params limit cursor

get_upload_urls

Creates 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 upload URLs.

Params items

get_face_detection_results

Returns 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.

Params id

detect_faces

Starts 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. Use the named attachment fields first for ChatGPT files. Ask which file goes where if their roles are unclear. If a file fails, ask the user to attach it again and keep the requested settings.

Params confidence_score assets image video

get_video_project

Open 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.

Params id

delete_video_project

Deletes the video project and attempts to delete its completed output. Cannot be undone; confirm with the user first.

Params id

create_talking_photo

Use 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 image and written script, use create_spoken_ad_video. For existing video and replacement audio, use create_lip_sync_video. Starts a background job that costs credits; returns a project id for wait_for

Params Idempotency-Key name start_seconds end_seconds assets style resolution image audio

create_spoken_ad_video

Use 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 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 option, explain the requirement and any verifie

Params Idempotency-Key assets script end_seconds model resolution image

edit_video

Edits 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 current parameter constraints. For a Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explici

Params Idempotency-Key name start_seconds end_seconds model resolution style references assets video reference_images

translate_video

Translates speech in a supplied video segment into a supported target language. 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, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and

Params Idempotency-Key name start_seconds end_seconds target_language resolution assets video

upscale_video

Upscales 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, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve expli

Params Idempotency-Key name start_seconds end_seconds resolution assets video

create_animation

Creates 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 the current parameter constraints. For a Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get expl

Params Idempotency-Key name fps end_seconds height width style assets image audio

create_video_from_audio

Generates 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 Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Pre

Params Idempotency-Key name start_seconds end_seconds resolution assets style image audio

add_subtitles_to_video

Adds 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 Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it.

Params Idempotency-Key name start_seconds end_seconds assets style video

replace_character_in_video

Use 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 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, choose model

Params Idempotency-Key name start_seconds end_seconds model resolution assets style character_image video

swap_face_in_video

Use 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 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, choose models and sett

Params Idempotency-Key name start_seconds end_seconds style assets source_face video replacement_faces

create_video_from_image

Use 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 reframe it first with edit_image. For a portrait speaking to an existing recording, use create_talking_photo. For a prepared ad image and written script, use create_spoken_ad_video. Starts a backgrou

Params Idempotency-Key name end_seconds model resolution audio style assets image last_frame

create_lip_sync_video

Use 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 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 get_account_info and the current param

Params Idempotency-Key name start_seconds end_seconds max_fps_limit assets style video audio

create_video_from_text

Generates 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 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, choose m

Params Idempotency-Key name end_seconds aspect_ratio resolution model audio style references reference_images reference_videos reference_audio

restyle_video

Restyles 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 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 option, explain the requirement an

Params Idempotency-Key name start_seconds end_seconds height fps width fps_resolution style assets first_frame video

get_image_project

Open 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.

Params id

delete_image_project

Deletes the image project and attempts to delete its completed output. Cannot be undone; confirm with the user first.

Params id

change_clothes_in_photo

Use 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 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

Params Idempotency-Key name assets person_image garment_image

edit_face_in_photo

Adjusts 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 parameter constraints. For a Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in

Params Idempotency-Key name assets style image

create_gif_or_short_video

Generates 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 settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and sup

Params Idempotency-Key name style output_format

edit_image

Edits 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 eligible defaults for the plan. Preserve an explicit model, resolution or count; if the plan can't use it, explain the limit and offer a supported option before changing it. Check the chosen model's input

Params Idempotency-Key name image_count model aspect_ratio resolution style assets images

generate_headshot

Creates 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 Free account, choose models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Pres

Params Idempotency-Key name style assets image

generate_image

Generates 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 available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and supplied in

Params Idempotency-Key name image_count model aspect_ratio resolution style

upscale_image

Upscales 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 request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and supplied inputs. Explain incompatible c

Params Idempotency-Key name scale_factor style assets image

create_meme

Creates 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 the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and supplied inputs. Explain inco

Params Idempotency-Key name style

create_qr_code

Creates 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 models and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requ

Params Idempotency-Key name content style

place_person_in_scene

Use 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 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 req

Params Idempotency-Key name resolution assets person_image scene_image

swap_face_in_photo

Use 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 subscription. 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

Params Idempotency-Key name assets source_face target_image replacement_faces

swap_head_in_photo

Use 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 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 option, explain the

Params Idempotency-Key name max_resolution assets head_image body_image

remove_image_background

Removes 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 settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements an

Params Idempotency-Key name assets image background_image

colorize_photo

Colorizes 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 option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirements and supplied inputs. Explain incompatible combinations instead of

Params Idempotency-Key name assets image

get_audio_project

Open 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.

Params id

delete_audio_project

Deletes the audio project and attempts to delete its completed output. Cannot be undone; confirm with the user first.

Params id

generate_music

Generates 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 and settings available on Free. If the request needs a paid-only option, explain the requirement and any verified cost, and get explicit user opt-in before submitting it. Preserve explicit requirement

Params Idempotency-Key name duration style

ai_voice_cloner_create_audio

MCP 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`. Preserve signed URLs and query parameters; never append expiration metadata. - For `*_file_path`, use an existing Magic Hour path or the upload-URL endpoint's `file_path` after uploading raw bytes to its pre

Params Idempotency-Key name assets style audio

ai_voice_generator_create_audio

MCP 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`. Preserve signed URLs and query parameters; never append expiration metadata. Generate speech from text. Each character costs 0.1 credits. The cost is rounded up to the nearest whole number. Before choosing

Params Idempotency-Key name style

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.RhythmP28/magic-hour
  • MCP Registry io.github.magichourhq/magic-hour
  • GitHub io.github.magichourhq/magic-hour

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229