Magic Hour AI MCP server
Endpoint: https://mcp.magichour.ai/ · Authentication: No auth
Exposes image, audio, and video generation and editing tools. Discovery works without credentials, and generation uses credits from a linked Magic Hour account.
How do I authenticate?
Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.
Authentication and connection guideConnection specification
- Remote endpoint
https://mcp.magichour.ai/- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- No authentication
- Detected authentication
- No authentication detected or retained from publisher evidence
- Alternative authentication
- OAuth 2.1
- Protocol lifecycle
- Stateful MCP · 2025-11-25
- Authorization server
https://magichour.ai- Category
- Design
Official listing documentation · ChatGPT app directory listing
More Design MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://mcp.magichour.ai/ · Streamable HTTP. No authentication is required by the catalog listing.
Agent prompt for Claude Code or Codex
Add the Magic Hour AI MCP server to my MCP client configuration and verify that it works. What it is: Exposes image, audio, and video generation and editing tools. Discovery works without credentials, and generation uses credits from a linked Magic Hour account. Server URL: https://mcp.magichour.ai/ Transport: Streamable HTTP (remote MCP server, no local install). Authentication: none. The server accepts connections without credentials. Tools (20, as last observed by mcptest): add_subtitles_to_video, ai_voice_cloner_create_audio, ai_voice_generator_create_audio, change_clothes_in_photo, colorize_photo, create_animation, create_gif_or_short_video, create_lip_sync_video, create_meme, create_qr_code, create_spoken_ad_video, create_talking_photo, create_video_from_audio, create_video_from_image, create_video_from_text, delete_audio_project, delete_image_project, delete_video_project, detect_faces, edit_face_in_photo. Reference: https://mcptest.io/servers/magic-hour-ai/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "magic-hour-ai" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'magic-hour-ai' 'https://mcp.magichour.ai/' Codex: codex mcp add 'magic-hour-ai' --url 'https://mcp.magichour.ai/' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'magic-hour-ai' 'https://mcp.magichour.ai/'Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'magic-hour-ai' --url 'https://mcp.magichour.ai/'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"magic-hour-ai": {
"url": "https://mcp.magichour.ai/"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"magic-hour-ai": {
"type": "http",
"url": "https://mcp.magichour.ai/"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- An optional oauth flow is cataloged, but its exact header is not documented; follow the publisher instructions instead of guessing.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Codex | Partial | Codex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Claude | Supported | Claude supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| ChatGPT | Partial | ChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability. Stateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state. |
| Windsurf | Partial | Windsurf's documentation does not state support for servers without authentication. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and servers without authentication or OAuth sign-in. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 23, 2026 at 7:18 PM
- Validation detail
- Negotiated stateful MCP 2025-11-25 at https://mcp.magichour.ai/; detected transport streamable-http; authentication none; WARNING: OAuth authorization servers advertised; an anonymous MCP handshake does not establish anonymous tool access
Tool inventory
What the catalog validator observed on at https://mcp.magichour.ai/ without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by Magic Hour AI 53
20 of 53 shown; 33 omitted to keep the page bounded.
add_subtitles_to_videooutputSchema declaredAdds 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable. Use the name
Input
assets?: object, end_seconds: number, name?: string, start_seconds: number, style: object, video?: objectassets?: objectoptionalProvide the assets for auto subtitle generator
end_seconds: numberrequiredEnd time of your clip (seconds). Must be greater than start_seconds.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
start_seconds: numberrequiredStart time of your clip (seconds). Must be ≥ 0.
style: objectrequiredStyle of the subtitle. At least one of `.style.template` or `.style.custom_config` must be provided. * If only `.style.template` is provided, default values for the template will be used. * If both are provided, the fields in `.style.custom_config` will be used to overwrite the fields in `.style.template`. * If only `.style.custom_config` is provided, then all fields in `.style.custom_config` will be used. To use custom config only, the following `custom_config` params are required: * `.style.custom_config.font` * `.style.custom_config.text_color` * `.style.custom_config.vertical_position` * `
video?: objectoptionalAttach the video from ChatGPT for this input.
ai_voice_cloner_create_audiooutputSchema declaredMCP 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 presigned URL. Direct public media URLs may work if stable and fetchable as raw bytes; hotlinked URLs c
Input
assets?: object, audio?: object, name?: string, style: objectassets?: objectoptionalProvide the assets for voice cloning.
audio?: objectoptionalAttach the audio from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
style: objectrequiredText to speak in the supplied voice, with language and speech-speed options.
ai_voice_generator_create_audiooutputSchema declaredMCP 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 settings, read get_account_info and the current parameter constraints. A listed model, resolution, du
Input
name?: string, style: objectname?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
style: objectrequiredThe content used to generate speech.
change_clothes_in_photooutputSchema declaredUse 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine blo
Input
assets?: object, garment_image?: object, name?: string, person_image?: objectassets?: objectoptionalProvide the assets for clothes changer
garment_image?: objectoptionalAttach the garment image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
person_image?: objectoptionalAttach the person image from ChatGPT for this input.
colorize_photooutputSchema declaredColorizes 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable. Use the named attachment fields first for ChatGPT files. Ask which file goes where if their roles are unclear
Input
assets?: object, image?: object, name?: stringassets?: objectoptionalProvide the assets for photo colorization
image?: objectoptionalAttach the image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
create_animationoutputSchema declaredCreates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prov
Input
assets: object, audio?: object, end_seconds: number, fps: number, height: integer, image?: object, name?: string, style: object, width: integerassets: objectrequiredProvide the assets for animation.
audio?: objectoptionalAttach the audio from ChatGPT for this input. Set assets.audio_source to file.
end_seconds: numberrequiredThis value determines the duration of the output video.
fps: numberrequiredThe desire output video frame rate
height: integerrequiredThe height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page]([REDACTED URI] for more details
image?: objectoptionalAttach the image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
style: objectrequiredDefines the style of the output video
width: integerrequiredThe width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page]([REDACTED URI] for more details
create_gif_or_short_videooutputSchema declaredGenerates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable.
Input
name?: string, output_format?: string, style: objectname?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
output_format?: stringoptionalThe output file format for the generated animation.
style: objectrequiredText instructions for the animation's subject, appearance and motion.
create_lip_sync_videooutputSchema declaredUse 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 parameter constraints. A listed model, resolution, duration or count is not necessarily available together
Input
assets: object, audio?: object, end_seconds: number, max_fps_limit?: number, name?: string, start_seconds: number, style?: object, video?: objectassets: objectrequiredProvide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used
audio?: objectoptionalAttach the audio from ChatGPT for this input.
end_seconds: numberrequiredEnd time of your clip (seconds). Must be greater than start_seconds.
max_fps_limit?: numberoptionalDefines the maximum FPS (frames per second) for the output video. If the input video's FPS is lower than this limit, the output video will retain the input FPS. This is useful for reducing unnecessary frame usage in scenarios where high FPS is not required.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
start_seconds: numberrequiredStart time of your clip (seconds). Must be ≥ 0.
style?: objectoptionalAttributes used to dictate the style of the output
video?: objectoptionalAttach the video from ChatGPT for this input. Set assets.video_source to file.
create_memeoutputSchema declaredCreates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable.
Input
name?: string, style: objectname?: stringoptionalThe name of the meme.
style: objectrequiredMeme topic, template and whether to search the web for content.
create_qr_codeoutputSchema declaredCreates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable.
Input
content: string, name?: string, style: objectcontent: stringrequiredThe content of the QR code.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
style: objectrequiredVisual art style for the QR code image.
create_spoken_ad_videooutputSchema declaredUse 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance
Input
assets?: object, end_seconds: number, image?: object, model?: string, resolution?: string, script: stringassets?: objectoptionalPrepared image to animate into the spoken ad. The script is supplied separately.
end_seconds: numberrequiredVideo duration in seconds. Supported values by model: * kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds. * ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds. * veo3.1: 4, 6, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141 seconds. Free plans are limited to 5 seconds unless a credit pack has been purchased.
image?: objectoptionalAttach the image from ChatGPT for this input.
model?: stringoptionalDefaults to kling-3.0 on paid plans and ltx-2.5 on free plans.
resolution?: stringoptionalDefaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected.
script: stringrequiredThe words the actor should speak. Character limits apply after trimming: * kling-3.0: 2304 characters. * ltx-2.5: 3804 characters. * veo3.1: 2500 characters. LTX and Kling dialogue wrappers count toward their model prompt limit.
create_talking_photooutputSchema declaredUse 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_video_project. Before choosing settings, read get_account_info and the current parameter constraints
Input
assets?: object, audio?: object, end_seconds: number, image?: object, name?: string, resolution?: string, start_seconds: number, style?: objectassets?: objectoptionalProvide the assets for creating a talking photo
audio?: objectoptionalAttach the audio from ChatGPT for this input.
end_seconds: numberrequiredThe end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 60s.
image?: objectoptionalAttach the image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
resolution?: stringoptionalOutput preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
start_seconds: numberrequiredThe start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 60s.
style?: objectoptionalAttributes used to dictate the style of the output
create_video_from_audiooutputSchema declaredGenerates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is affordable. Use the named a
Input
assets?: object, audio?: object, end_seconds: number, image?: object, name?: string, resolution?: string, start_seconds?: number, style?: objectassets?: objectoptionalProvide the audio file and an optional reference image.
audio?: objectoptionalAttach the audio from ChatGPT for this input.
end_seconds: numberrequiredEnd time of your clip (seconds). Must be greater than start_seconds. Free plans are currently limited to 15 seconds of output, enforced by the API and may change. When the user gave no duration, choose one within it. Keep an explicitly requested longer one, explain the Free limit and ask before changing it.
image?: objectoptionalAttach the image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
resolution?: stringoptionalOutput video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
start_seconds?: numberoptionalStart time of your clip (seconds). Must be ≥ 0.
style?: objectoptionalAttributes used to dictate the style of the output
create_video_from_imageoutputSchema declaredUse 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 background job that costs credits; returns a project id for wait_for_video_project. Before choosing settings
Input
assets?: object, audio?: boolean, end_seconds: number, image?: object, last_frame?: object, model?: string, name?: string, resolution?: string, style?: objectassets?: objectoptionalProvide the assets for image-to-video.
audio?: booleanoptionalWhether to include audio in the video. Defaults to `false` if not specified. Audio support varies by model: * **`gemini-omni-1.2`**: Toggle-able: no additional credits for audio * **`kling-2.6`**: Not supported * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled * **`kling-4.0`**: Toggle-able: no additional credits for audio * **`ltx-2.5`**: Toggle-able: no additional credits for audio * **`minimax-h3`**: Toggle-able: no additional credits for audio * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled * **`seedance-2.0`**: Toggle-able: no additional credit
end_seconds: numberrequiredThe total duration of the output video in seconds. Supported durations depend on the chosen model: * **`gemini-omni-1.2`**: any integer from 3 to 15 * **`kling-2.6`**: 5, 10 * **`kling-3.0`**: any integer from 3 to 15 * **`kling-4.0`**: any integer from 3 to 30 * **`ltx-2.5`**: any integer from 1 to 60 * **`minimax-h3`**: any integer from 1 to 30 * **`seedance-1.5`**: any integer from 4 to 12 * **`seedance-2.0`**: any integer from 4 to 15 * **`seedance-2.0-fast`**: any integer from 4 to 15 * **`seedance-2.0-mini`**: any integer from 4 to 15 * **`seedance-2.5`**: any integer from 4 to 30 * **`v
image?: objectoptionalThe ChatGPT photo to use as the video's first frame.
last_frame?: objectoptionalAttach the last frame from ChatGPT for this input.
model?: stringoptionalThe video generation model. With `default`, the API chooses a model using the account plan, resolution and duration. Use this option when no model was requested and it supports the intended inputs and settings. Omit an unrequested resolution so the API resolves it for the account. Preserve explicit settings and required input capabilities. Deprecated model values ending in `-audio` enable `audio`.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
resolution?: stringoptionalControls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers. * **`gemini-omni-1.2`**: Supports 360p, 720p, 1080p, 4k. * **`kling-2.6`**: Supports 720p, 1080p. * **`kling-3.0`**: Supports 720p, 1080p, 4k. * **`kling-4.0`**: Supports 720p, 1080p. * **`ltx-2.5`**: Supports 480p, 720p, 1080p. * **`minimax-h3`**: Supports 480p, 720p, 1080p. * **`seedance-1.5`**: Supports 480p, 720p, 1080p. * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k. * **`seedance-2.0-fast`**: Supports 480p, 720p. * **`seedance-2.0-mini`**: Supports 480p, 720p. * **`seedance-2.5`**: Supp
style?: objectoptionalAttributed used to dictate the style of the output
create_video_from_textoutputSchema declaredGenerates 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requir
Input
aspect_ratio?: string, audio?: boolean, end_seconds: number, model?: string, name?: string, reference_audio?: array, reference_images?: array, reference_videos?: array, references?: array, resolution?: string, style: objectaspect_ratio?: stringoptionalKeep an aspect ratio the user explicitly requests. Otherwise, choose by where the output will be used: 9:16 for TikTok, Reels, Shorts, Stories or a phone screen; 16:9 for YouTube, a website, slides or TV; 1:1 for an Instagram or Facebook feed post or a profile picture. If you can't tell where the video will be used, ask before generating. If omitted, the video is 16:9. Determines the aspect ratio of the output video. * **`gemini-omni-1.2`**: Supports 16:9, 9:16. * **`kling-2.6`**: Supports 9:16, 16:9, 1:1. * **`kling-3.0`**: Supports 9:16, 16:9, 1:1. * **`kling-4.0`**: Supports 9:16, 16:9, 1:1
audio?: booleanoptionalWhether to include audio in the video. Defaults to `false` if not specified. Audio support varies by model: * **`gemini-omni-1.2`**: Toggle-able: no additional credits for audio * **`kling-2.6`**: Not supported * **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled * **`kling-4.0`**: Toggle-able: no additional credits for audio * **`ltx-2.5`**: Toggle-able: no additional credits for audio * **`minimax-h3`**: Toggle-able: no additional credits for audio * **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled * **`seedance-2.0`**: Toggle-able: no additional credit
end_seconds: numberrequiredThe total duration of the output video in seconds. Supported durations depend on the chosen model: * **`gemini-omni-1.2`**: any integer from 3 to 15 * **`kling-2.6`**: 5, 10 * **`kling-3.0`**: any integer from 3 to 15 * **`kling-4.0`**: any integer from 3 to 30 * **`ltx-2.5`**: any integer from 1 to 60 * **`minimax-h3`**: any integer from 1 to 30 * **`seedance-1.5`**: any integer from 4 to 12 * **`seedance-2.0`**: any integer from 4 to 15 * **`seedance-2.0-fast`**: any integer from 4 to 15 * **`seedance-2.0-mini`**: any integer from 4 to 15 * **`seedance-2.5`**: any integer from 4 to 30 * **`v
model?: stringoptionalThe video generation model. With `default`, the API chooses a model using the account plan, resolution and duration. Use this option when no model was requested and it supports the intended inputs and settings. Omit an unrequested resolution so the API resolves it for the account. Preserve explicit settings and required input capabilities. Deprecated model values ending in `-audio` enable `audio`.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
reference_audio?: arrayoptionalAttached audio files. Set audio_index in each matching entry to its position in this list, starting at 1.
reference_images?: arrayoptionalAttached image files. Set image_index in each matching entry to its position in this list, starting at 1.
reference_videos?: arrayoptionalAttached video files. Set video_index in each matching entry to its position in this list, starting at 1.
references?: arrayoptionalName references without @ and refer to them as @name in style.prompt. Names must be unique, ignoring case. Maximum 50 references total. Omit for no references. Reference media for video generation. Supported models and reference media: * **`gemini-omni-1.2`**: Supports images, videos. Up to 10 references. * **`kling-3.0`**: Supports images, videos. Up to 10 references. * **`kling-4.0`**: Supports images, videos. Up to 10 references. * **`minimax-h3`**: Supports images, videos, audio. Up to 10 references. Video references must be 2–15 seconds each and 15 seconds combined, and are used in full.
resolution?: stringoptionalControls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers. * **`gemini-omni-1.2`**: Supports 360p, 720p, 1080p, 4k. * **`kling-2.6`**: Supports 720p, 1080p. * **`kling-3.0`**: Supports 720p, 1080p, 4k. * **`kling-4.0`**: Supports 720p, 1080p. * **`ltx-2.5`**: Supports 480p, 720p, 1080p. * **`minimax-h3`**: Supports 480p, 720p, 1080p. * **`seedance-1.5`**: Supports 480p, 720p, 1080p. * **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k. * **`seedance-2.0-fast`**: Supports 480p, 720p. * **`seedance-2.0-mini`**: Supports 480p, 720p. * **`seedance-2.5`**: Supp
style: objectrequiredInstructions describing the video to generate.
delete_audio_projectNo outputSchemaDeletes the audio project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
Input
id: stringid: stringrequiredUnique ID of the audio project. This value is returned by all of the POST APIs that create an audio.
delete_image_projectNo outputSchemaDeletes the image project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
Input
id: stringid: stringrequiredUnique ID of the image project. This value is returned by all of the POST APIs that create an image.
delete_video_projectNo outputSchemaDeletes the video project and attempts to delete its completed output. Cannot be undone; confirm with the user first.
Input
id: stringid: stringrequiredUnique ID of the video project. This value is returned by all of the POST APIs that create a video.
detect_facesoutputSchema declaredStarts 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.
Input
assets?: object, confidence_score?: number, image?: object, video?: objectassets?: objectoptionalProvide the assets for face detection
confidence_score?: numberoptionalConfidence threshold for filtering detected faces. * Higher values (e.g., 0.9) include only faces detected with high certainty, reducing false positives. * Lower values (e.g., 0.3) include more faces, but may increase the chance of incorrect detections.
image?: objectoptionalAttach the image from ChatGPT for this input.
video?: objectoptionalAttach the video from ChatGPT for this input.
edit_face_in_photooutputSchema declaredAdjusts 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. A listed model, resolution, duration or count is not necessarily available together or on this account. Preserve explicit requirements and all supplied inputs; explain a genuine block instead of submitting an incompatible request. Account balance alone does not prove a request is af
Input
assets?: object, image?: object, name?: string, style: objectassets?: objectoptionalProvide the assets for face editor
image?: objectoptionalAttach the image from ChatGPT for this input.
name?: stringoptionalOptional project name for identifying this output. Omit to use the API's default project name.
style: objectrequiredFace editing parameters
Resources 2
Some details were sanitized for public display.
Magic Hour project resultRender completed or terminal Magic Hour project results in MCP Apps hosts.
Magic Hour workflow indexapplication/jsonDiscover task-specific workflow guides and their resource URIs.
Resource templates 1
Magic Hour workflow guideapplication/jsonRead workflow inputs, tool steps, example requests, follow-up edits and review criteria.