Create and edit images and video; retrieve existing audio projects. Audio generation is unavailable.
Tool calls require authentication.
When exposed, use a matching estimate with the exact create body; resolve blocked/unavailable. Without one, report the unavailable quote and obtain an explicit credit budget before generating. Estimates never authorize spending.
workflow_guide_retrieve gives static inputs/docs/review, not account eligibility.
After creation, use matching wait_for_*_project with the returned id.
Upload local bytes before using file_path; preserve exact signed download URLs.
Omit unrequested options only when defaults are eligible. Image Editor defaults to paid-tier nano-banana.
On Free, use Image Editor model=flux-2-klein, resolution=640px, image_count=1 only if suitable. Balance does not unlock restricted settings.
On tier restrictions, explain the block; never retry unchanged or blindly remove fields. Ask before changing explicit model/resolution requirements.
Choose video from inputs:
- Approved image -> image_to_video_create_video directly; edit only for a requested visual change or a source problem that prevents the shot.
- Still portrait + audio -> ai_talking_photo_create_talking_photo; text alone is not audio.
- Existing video + replacement audio -> lip_sync_create_video.
- Preserve an explicitly requested alternative provider.
- For image model recommendations, prefer nano-banana-2-lite only with verified account support; otherwise check eligibility.
- For Image-to-Video model recommendations, prefer ltx-2.5 when compatible with the task and account.
- Include complete spoken sentences.
- Use Text-to-Video when no supplied starting image is required.
- Reuse references; preserve identity, style, color, lighting and aspect ratio across scenes.
Discoverability
1/6 passed1 of 6 passed17/100
Client listings and public setup information.
MCP Server Card
An MCP Server Card found through ai-catalog.json or the endpoint's /server-card that declares this endpoint passes. Earlier paths and mcp.json earn half credit.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Read Magic Hour workflow guidance for face swap, image editing, image-to-video, video generation, lip sync, UGC ads, talking photos or API integration. Returns product and documentation URLs, exact tool names, ordered steps, example requests, follow-up edits and review criteria; does not generate media, spend credits or check account access.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 1 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
workflow
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Poll a video project until it completes, errors, is canceled, or times out. After a timeout, resume with the same id; do not create another generation. Returns sanitized download fields. Use `exact_download_urls[n]` or `downloads[n].url` exactly as returned; do not shorten it, remove query parameters, or append expiration metadata. Inline previews share an 8 MiB limit; all download URLs remain available.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 5 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
id
Not provided
Missing description. Explain what this value means and how to supply it.
poll_interval_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
timeout_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
include_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
max_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Wait for Video Project",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
Output schema0/100
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "wait_for_video_project",
"title": "Wait for Video Project",
"description": "Poll a video project until it completes, errors, is canceled, or times out. After a timeout, resume with the same id; do not create another generation. Returns sanitized download fields. Use `exact_download_urls[n]` or `downloads[n].url` exactly as returned; do not shorten it, remove query parameters, or append expiration metadata. Inline previews share an 8 MiB limit; all download URLs remain available.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"timeout_seconds": {
"type": "number",
"default": 300
},
"max_inline_downloads": {
"type": "integer",
"default": 0
},
"poll_interval_seconds": {
"type": "number",
"default": 2
},
"include_inline_downloads": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Wait for Video Project",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Poll an image project until it completes, errors, is canceled, or times out. After a timeout, resume with the same id; do not create another generation. Returns the final project JSON and, when complete, attempts to inline image downloads for Inspector or compatible clients. Returns sanitized download fields. Use `exact_download_urls[n]` or `downloads[n].url` exactly as returned; do not shorten it, remove query parameters, or append expiration metadata. Inline previews share an 8 MiB limit; all download URLs remain available.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 6 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
id
Not provided
Missing description. Explain what this value means and how to supply it.
poll_interval_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
timeout_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
include_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
max_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
max_bytes_per_download
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Poll an audio project until it completes, errors, is canceled, or times out. After a timeout, resume with the same id; do not create another generation. Returns the final project JSON and, when complete, attempts to inline audio downloads for Inspector or compatible clients. Returns sanitized download fields. Use `exact_download_urls[n]` or `downloads[n].url` exactly as returned; do not shorten it, remove query parameters, or append expiration metadata. Inline previews share an 8 MiB limit; all download URLs remain available.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 6 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
id
Not provided
Missing description. Explain what this value means and how to supply it.
poll_interval_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
timeout_seconds
Not provided
Missing description. Explain what this value means and how to supply it.
include_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
max_inline_downloads
Not provided
Missing description. Explain what this value means and how to supply it.
max_bytes_per_download
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Fetch a image `downloads[n].url` from a completed image project and return it as inline MCP image content for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 2 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
download_url
Not provided
Missing description. Explain what this value means and how to supply it.
max_bytes
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "fetch_image_download",
"title": "Fetch Image Download",
"description": "Fetch a image `downloads[n].url` from a completed image project and return it as inline MCP image content for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.",
"inputSchema": {
"type": "object",
"required": [
"download_url"
],
"properties": {
"max_bytes": {
"type": "integer",
"default": 8388608
},
"download_url": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fetch Image Download",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Fetch a audio `downloads[n].url` from a completed audio project and return it as inline MCP audio content for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 2 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
download_url
Not provided
Missing description. Explain what this value means and how to supply it.
max_bytes
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "fetch_audio_download",
"title": "Fetch Audio Download",
"description": "Fetch a audio `downloads[n].url` from a completed audio project and return it as inline MCP audio content for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.",
"inputSchema": {
"type": "object",
"required": [
"download_url"
],
"properties": {
"max_bytes": {
"type": "integer",
"default": 8388608
},
"download_url": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fetch Audio Download",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Fetch a video `downloads[n].url` from a completed video project and return it as an embedded MCP binary resource for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.
The description explains the capability, when to use it, and what to expect.
Inputs0/100
0 of 2 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
download_url
Not provided
Missing description. Explain what this value means and how to supply it.
max_bytes
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "fetch_video_download",
"title": "Fetch Video Download",
"description": "Fetch a video `downloads[n].url` from a completed video project and return it as an embedded MCP binary resource for compatible clients. Pass the exact full signed URL from `downloads[n].url` without trimming query parameters; `expires_at` is separate metadata, not part of the URL. Inline media is capped at 8 MiB; use the signed URL directly for larger downloads.",
"inputSchema": {
"type": "object",
"required": [
"download_url"
],
"properties": {
"max_bytes": {
"type": "integer",
"default": 8388608
},
"download_url": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fetch Video Download",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
{
"type": "object",
"required": [
"id",
"email",
"tier",
"credits",
"subscription"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the account that owns the API key."
},
"tier": {
"enum": [
"free",
"creator",
"pro",
"business"
],
"type": "string",
"example": "pro",
"description": "Subscription tier in effect for the account. `free` if there is no active subscription, including while a subscription is `past_due`."
},
"email": {
"type": [
"string",
"null"
],
"example": "[email protected]",
"description": "Email address of the account."
},
"credits": {
"type": "integer",
"example": 12500,
"minimum": 0,
"description": "Credits currently available to spend. Includes subscription credits and any purchased credit packs."
},
"subscription": {
"type": [
"object",
"null"
],
"required": [
"name",
"status",
"price",
"discount",
"billing_interval",
"current_period_end",
"cancel_at_period_end"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"example": "Pro",
"description": "Name of the current subscription plan, e.g. `Creator`, `Pro`, `Pro Plus`, `Business`. `null` if the plan cannot be determined. Use `tier` for a machine-readable value."
},
"price": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"example": 4900,
"minimum": 0,
"description": "Price charged per billing interval, in the smallest unit of the currency (e.g. 4900 is $49.00 for `usd`). Discounts are not applied."
},
"currency": {
"type": "string",
"example": "usd",
"description": "Three-letter ISO 4217 currency code, lowercase."
}
}
},
"status": {
"enum": [
"active",
"past_due"
],
"type": "string",
"example": "active",
"description": "Status of the subscription.\n- `active`: payments are up to date.\n- `past_due`: the latest payment failed. `tier` is `free` until payment succeeds. The subscription is canceled if payment keeps failing."
},
"discount": {
"type": [
"object",
"null"
],
"required": [
"percent_off",
"amount_off"
],
"properties": {
"amount_off": {
"type": [
"integer",
"null"
],
"description": "Fixed amount taken off `price.amount` each billing interval, in the smallest unit of the currency. `null` if the discount is a percentage."
},
"percent_off": {
"type": [
"number",
"null"
],
"example": 20,
"description": "Percentage taken off `price.amount` each billing interval. `null` if the discount is a fixed amount."
}
},
"description": "Discount applied to the subscription. `null` if no discount is applied."
},
"billing_interval": {
"enum": [
"month",
"year",
null
],
"type": [
"string",
"null"
],
"example": "month",
"description": "How often the subscription is billed. `null` if unknown."
},
"current_period_end": {
"type": [
"string",
"null"
],
"format": "date-time",
"example": "2026-10-01T00:00:00.000Z",
"description": "End of the current billing period, in ISO 8601 format. The subscription renews at this time, or ends if `cancel_at_period_end` is `true`."
},
"cancel_at_period_end": {
"type": "boolean",
"example": false,
"description": "Whether the subscription is scheduled to end at `current_period_end` instead of renewing. The subscription stays usable until then."
}
},
"description": "Details of the account's subscription plan. `null` if the account has no subscription, e.g. a free account, an account that only purchased credit packs, or an account on usage-based API pricing.\n\nReflects the plan currently configured on the subscription. If a plan change is scheduled, `tier` stays on the current plan until the next payment succeeds, so `tier` and `name` can briefly disagree."
}
}
}
Original tool metadata
{
"name": "account_retrieve",
"title": "Get account details",
"description": "Get the current credit balance and subscription details of the account that owns the API key.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"email",
"tier",
"credits",
"subscription"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the account that owns the API key."
},
"tier": {
"enum": [
"free",
"creator",
"pro",
"business"
],
"type": "string",
"example": "pro",
"description": "Subscription tier in effect for the account. `free` if there is no active subscription, including while a subscription is `past_due`."
},
"email": {
"type": [
"string",
"null"
],
"example": "[email protected]",
"description": "Email address of the account."
},
"credits": {
"type": "integer",
"example": 12500,
"minimum": 0,
"description": "Credits currently available to spend. Includes subscription credits and any purchased credit packs."
},
"subscription": {
"type": [
"object",
"null"
],
"required": [
"name",
"status",
"price",
"discount",
"billing_interval",
"current_period_end",
"cancel_at_period_end"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"example": "Pro",
"description": "Name of the current subscription plan, e.g. `Creator`, `Pro`, `Pro Plus`, `Business`. `null` if the plan cannot be determined. Use `tier` for a machine-readable value."
},
"price": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"example": 4900,
"minimum": 0,
"description": "Price charged per billing interval, in the smallest unit of the currency (e.g. 4900 is $49.00 for `usd`). Discounts are not applied."
},
"currency": {
"type": "string",
"example": "usd",
"description": "Three-letter ISO 4217 currency code, lowercase."
}
}
},
"status": {
"enum": [
"active",
"past_due"
],
"type": "string",
"example": "active",
"description": "Status of the subscription.\n- `active`: payments are up to date.\n- `past_due`: the latest payment failed. `tier` is `free` until payment succeeds. The subscription is canceled if payment keeps failing."
},
"discount": {
"type": [
"object",
"null"
],
"required": [
"percent_off",
"amount_off"
],
"properties": {
"amount_off": {
"type": [
"integer",
"null"
],
"description": "Fixed amount taken off `price.amount` each billing interval, in the smallest unit of the currency. `null` if the discount is a percentage."
},
"percent_off": {
"type": [
"number",
"null"
],
"example": 20,
"description": "Percentage taken off `price.amount` each billing interval. `null` if the discount is a fixed amount."
}
},
"description": "Discount applied to the subscription. `null` if no discount is applied."
},
"billing_interval": {
"enum": [
"month",
"year",
null
],
"type": [
"string",
"null"
],
"example": "month",
"description": "How often the subscription is billed. `null` if unknown."
},
"current_period_end": {
"type": [
"string",
"null"
],
"format": "date-time",
"example": "2026-10-01T00:00:00.000Z",
"description": "End of the current billing period, in ISO 8601 format. The subscription renews at this time, or ends if `cancel_at_period_end` is `true`."
},
"cancel_at_period_end": {
"type": "boolean",
"example": false,
"description": "Whether the subscription is scheduled to end at `current_period_end` instead of renewing. The subscription stays usable until then."
}
},
"description": "Details of the account's subscription plan. `null` if the account has no subscription, e.g. a free account, an account that only purchased credit packs, or an account on usage-based API pricing.\n\nReflects the plan currently configured on the subscription. If a plan change is scheduled, `tier` stays on the current plan until the next payment succeeds, so `tier` and `name` can briefly disagree."
}
}
},
"annotations": {
"title": "Get account details",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Returns active saved items owned by the authenticated account, newest first. Each item includes every saved asset with a durable file_path for reuse in compatible generation APIs and a temporary signed URL for previewing or downloading. Filter by type to find characters, references, voices, moodboards, or brand kits. To fetch the next page, pass the response's next_cursor as cursor.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
type
Only return saved items of this type.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Maximum number of saved items to return. Defaults to 20.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
cursor
Opaque pagination cursor from the previous response's next_cursor.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
MCP guidance:
- This only creates presigned upload URLs. For local files, upload the raw bytes to each returned `upload_url` outside the generation call, then pass the matching `file_path` into the create tool.
- 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 can fail. Prefer the upload-URL endpoint when unsure.
Generates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details.
The response array will match the order of items in the request body.
**Valid file extensions per asset type**:
- video: mp4, m4v, mov, webm
- audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr
- image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp
- gif: gif, webp, webm
> Note: `gif` is only supported for face swap API `video_file_path` field.
Once you receive an upload URL, send a `PUT` request to upload the file directly.
Example:
```
curl -X PUT --data '@/path/to/file/video.mp4' \
https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>
```
The description explains the capability, when to use it, and what to expect.
Inputs73/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
items › items › type
The type of asset to upload. Possible types are video, audio, image
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
items › items › extension
The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"upload_url",
"expires_at",
"file_path"
],
"properties": {
"file_path": {
"type": "string",
"example": "video/id/1234.mp4",
"description": "this value is used in APIs that needs assets, such as image_file_path, video_file_path, and audio_file_path"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-07-21T17:32:28Z",
"description": "when the upload url expires, and will need to request a new one."
},
"upload_url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/video.mp4?auth-value=1234567890",
"description": "Used to upload the file to storage, send a PUT request with the file as data to upload."
}
}
},
"example": [
{
"file_path": "api-assets/id/video.mp4",
"expires_at": "2024-07-25T16:56:21.932Z",
"upload_url": "https://videos.magichour.ai/api-assets/id/video.mp4?auth-value=1234567890"
},
{
"file_path": "api-assets/id/audio.mp3",
"expires_at": "2024-07-25T16:56:21.932Z",
"upload_url": "https://videos.magichour.ai/api-assets/id/audio.mp3?auth-value=1234567890"
}
],
"description": "The list of upload URLs and file paths for the assets. The response array will match the order of items in the request body. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "video_assets_generate_presigned_url",
"title": "Generate asset upload urls",
"description": "MCP guidance:\n- This only creates presigned upload URLs. For local files, upload the raw bytes to each returned `upload_url` outside the generation call, then pass the matching `file_path` into the create tool.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nGenerates a list of pre-signed upload URLs for the assets required. This API is only necessary if you want to upload to Magic Hour's storage. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details.\n\nThe response array will match the order of items in the request body.\n\n**Valid file extensions per asset type**:\n- video: mp4, m4v, mov, webm\n- audio: mp3, wav, aac, flac, webm, weba, m4a, opus, ogg, oga, aiff, amr\n- image: png, jpg, jpeg, jfif, heic, heif, webp, avif, jp2, tiff, tif, bmp\n- gif: gif, webp, webm\n\n> Note: `gif` is only supported for face swap API `video_file_path` field.\n\nOnce you receive an upload URL, send a `PUT` request to upload the file directly.\n\nExample:\n\n```\ncurl -X PUT --data '@/path/to/file/video.mp4' \\\n https://videos.magichour.ai/api-assets/id/video.mp4?<auth params from the API response>\n```",
"inputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"extension"
],
"properties": {
"type": {
"enum": [
"video",
"audio",
"image"
],
"type": "string",
"example": "video",
"description": "The type of asset to upload. Possible types are video, audio, image"
},
"extension": {
"type": "string",
"example": "mp4",
"pattern": "^[a-z0-9]+$",
"description": "The extension of the file to upload. Do not include the dot (.) before the extension. Possible extensions are mp4,m4v,mov,webm,mp3,wav,aac,flac,webm,weba,m4a,opus,ogg,oga,aiff,amr,png,jpg,jpeg,jfif,heic,heif,webp,avif,jp2,tiff,tif,bmp,gif,webp,webm"
}
}
},
"example": [
{
"type": "video",
"extension": "mp4"
},
{
"type": "audio",
"extension": "mp3"
}
],
"minItems": 1,
"description": "The list of assets to upload. The response array will match the order of items in the request body."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"upload_url",
"expires_at",
"file_path"
],
"properties": {
"file_path": {
"type": "string",
"example": "video/id/1234.mp4",
"description": "this value is used in APIs that needs assets, such as image_file_path, video_file_path, and audio_file_path"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-07-21T17:32:28Z",
"description": "when the upload url expires, and will need to request a new one."
},
"upload_url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/video.mp4?auth-value=1234567890",
"description": "Used to upload the file to storage, send a PUT request with the file as data to upload."
}
}
},
"example": [
{
"file_path": "api-assets/id/video.mp4",
"expires_at": "2024-07-25T16:56:21.932Z",
"upload_url": "https://videos.magichour.ai/api-assets/id/video.mp4?auth-value=1234567890"
},
{
"file_path": "api-assets/id/audio.mp3",
"expires_at": "2024-07-25T16:56:21.932Z",
"upload_url": "https://videos.magichour.ai/api-assets/id/audio.mp3?auth-value=1234567890"
}
],
"description": "The list of upload URLs and file paths for the assets. The response array will match the order of items in the request body. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details."
}
},
"description": "Success"
},
"annotations": {
"title": "Generate asset upload urls",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Get the details of a face detection task.
Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
id
The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id).
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged",
"status",
"faces"
],
"properties": {
"id": {
"type": "string",
"example": "uuid-example",
"description": "The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id)."
},
"faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"url"
],
"properties": {
"url": {
"type": "string",
"example": "https://videos.magichour.ai/api-assets/id/0-0.png",
"description": "The url to the face image. This is used to render the image in your applications."
},
"path": {
"type": "string",
"example": "api-assets/id/0-0.png",
"description": "The path to the face image. This should be used in face swap photo/video API calls as `.assets.face_mappings.original_face`"
}
}
},
"example": [
{
"url": "https://videos.magichour.ai/api-assets/id/0-0.png",
"path": "api-assets/id/0-0.png"
}
],
"description": "The faces detected in the image or video. The list is populated as faces are detected."
},
"status": {
"enum": [
"queued",
"rendering",
"complete",
"error"
],
"type": "string",
"example": "complete",
"description": "The status of the detection."
},
"credits_charged": {
"type": "integer",
"example": 0,
"description": "The credits charged for the task."
}
}
}
Original tool metadata
{
"name": "face_detection_retrieve_details",
"title": "Get face detection details",
"description": "Get the details of a face detection task. \n\nUse this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "uuid-example",
"description": "The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id)."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged",
"status",
"faces"
],
"properties": {
"id": {
"type": "string",
"example": "uuid-example",
"description": "The id of the task. This value is returned by the [face detection API](https://docs.magichour.ai/api-reference/files/face-detection#response-id)."
},
"faces": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"url"
],
"properties": {
"url": {
"type": "string",
"example": "https://videos.magichour.ai/api-assets/id/0-0.png",
"description": "The url to the face image. This is used to render the image in your applications."
},
"path": {
"type": "string",
"example": "api-assets/id/0-0.png",
"description": "The path to the face image. This should be used in face swap photo/video API calls as `.assets.face_mappings.original_face`"
}
}
},
"example": [
{
"url": "https://videos.magichour.ai/api-assets/id/0-0.png",
"path": "api-assets/id/0-0.png"
}
],
"description": "The faces detected in the image or video. The list is populated as faces are detected."
},
"status": {
"enum": [
"queued",
"rendering",
"complete",
"error"
],
"type": "string",
"example": "complete",
"description": "The status of the detection."
},
"credits_charged": {
"type": "integer",
"example": 0,
"description": "The credits charged for the task."
}
}
},
"annotations": {
"title": "Get face detection details",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
MCP guidance:
- This starts an async face-detection task and returns an `id`. Use the face-detection details endpoint with that id to retrieve detected faces before doing individual face swaps.
- 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 can fail. Prefer the upload-URL endpoint when unsure.
Detect faces in an image or video.
Use this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.
Note: Face detection is free to use for the near future. Pricing may change in the future.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
confidence_score
Confidence 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.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › target_file_path
This is the image or video where the face will be detected. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "uuid-example",
"description": "The id of the task. Use this value in the [get face detection details API](https://docs.magichour.ai/api-reference/files/get-face-detection-details) to get the details of the face detection task."
},
"credits_charged": {
"type": "integer",
"description": "The credits charged for the task."
}
}
}
Original tool metadata
{
"name": "face_detection_detect_faces",
"title": "Face Detection",
"description": "MCP guidance:\n- This starts an async face-detection task and returns an `id`. Use the face-detection details endpoint with that id to retrieve detected faces before doing individual face swaps.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nDetect faces in an image or video. \n \nUse this API to get the list of faces detected in the image or video to use in the [face swap photo](https://docs.magichour.ai/api-reference/image-projects/face-swap-photo) or [face swap video](https://docs.magichour.ai/api-reference/video-projects/face-swap-video) API calls for multi-face swaps.\n\nNote: Face detection is free to use for the near future. Pricing may change in the future.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"assets": {
"type": "object",
"required": [
"target_file_path"
],
"properties": {
"target_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "This is the image or video where the face will be detected. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for face detection"
},
"confidence_score": {
"type": "number",
"default": 0.5,
"example": 0.5,
"maximum": 1,
"minimum": 0,
"multipleOf": 0.05,
"description": "Confidence threshold for filtering detected faces. \n* Higher values (e.g., 0.9) include only faces detected with high certainty, reducing false positives. \n* Lower values (e.g., 0.3) include more faces, but may increase the chance of incorrect detections."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "uuid-example",
"description": "The id of the task. Use this value in the [get face detection details API](https://docs.magichour.ai/api-reference/files/get-face-detection-details) to get the details of the face detection task."
},
"credits_charged": {
"type": "integer",
"description": "The credits charged for the task."
}
}
},
"annotations": {
"title": "Face Detection",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description85/100
MCP guidance:
- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.
- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.
Check the progress of a video project. The `downloads` field is populated after a successful render.
**Statuses**
- `queued` — waiting to start
- `rendering` — in progress
- `complete` — ready; see `downloads`
- `error` — a failure occurred (see `error`)
- `canceled` — user canceled
- `draft` — not used
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
id
Unique ID of the video project. This value is returned by all of the POST APIs that create a video.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"name",
"status",
"type",
"created_at",
"width",
"height",
"enabled",
"start_seconds",
"end_seconds",
"credits_charged",
"fps",
"error",
"downloads"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"fps": {
"type": "number",
"example": 30,
"description": "Frame rate of the video. If the status is not 'complete', the frame rate is an estimate and will be adjusted when the video completes."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the video."
},
"type": {
"type": "string",
"example": "FACE_SWAP",
"description": "The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, AVATAR, VIDEO_UPSCALER, VIDEO_EDITOR, CHARACTER_REPLACE, VIDEO_COLORIZER, VIDEO_WATERMARK_REMOVER, VIDEO_COLOR_GRADER, VIDEO_TRANSLATOR, MUSIC_VIDEO, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"width": {
"type": "integer",
"example": 512,
"description": "The width of the final output video. A value of -1 indicates the width can be ignored."
},
"height": {
"type": "integer",
"example": 960,
"description": "The height of the final output video. A value of -1 indicates the height can be ignored."
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the video.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `video.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `video.completed`\n- `error` - the job failed during processing; fires `video.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.mp4"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the image project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "video_projects_retrieve_details",
"title": "Get video details",
"description": "MCP guidance:\n- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.\n- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.\n\nCheck the progress of a video project. The `downloads` field is populated after a successful render.\n \n**Statuses**\n- `queued` — waiting to start\n- `rendering` — in progress\n- `complete` — ready; see `downloads`\n- `error` — a failure occurred (see `error`)\n- `canceled` — user canceled\n- `draft` — not used",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video project. This value is returned by all of the POST APIs that create a video."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"name",
"status",
"type",
"created_at",
"width",
"height",
"enabled",
"start_seconds",
"end_seconds",
"credits_charged",
"fps",
"error",
"downloads"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"fps": {
"type": "number",
"example": 30,
"description": "Frame rate of the video. If the status is not 'complete', the frame rate is an estimate and will be adjusted when the video completes."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the video."
},
"type": {
"type": "string",
"example": "FACE_SWAP",
"description": "The type of the video project. Possible values are ANIMATION, AUTO_SUBTITLE, VIDEO_TO_VIDEO, FACE_SWAP, TEXT_TO_VIDEO, IMAGE_TO_VIDEO, LIP_SYNC, TALKING_PHOTO, AVATAR, VIDEO_UPSCALER, VIDEO_EDITOR, CHARACTER_REPLACE, VIDEO_COLORIZER, VIDEO_WATERMARK_REMOVER, VIDEO_COLOR_GRADER, VIDEO_TRANSLATOR, MUSIC_VIDEO, EXTEND, AUDIO_TO_VIDEO, VIDEO_EXPANDER, UGC_AD"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"width": {
"type": "integer",
"example": 512,
"description": "The width of the final output video. A value of -1 indicates the width can be ignored."
},
"height": {
"type": "integer",
"example": 960,
"description": "The height of the final output video. A value of -1 indicates the height can be ignored."
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the video.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `video.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `video.completed`\n- `error` - the job failed during processing; fires `video.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.mp4"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the image project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Get video details",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "video_projects_delete",
"title": "Delete video",
"description": "Permanently delete the rendered video. This action is not reversible, please be sure before deleting.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video project. This value is returned by all of the POST APIs that create a video."
}
}
},
"annotations": {
"title": "Delete video",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
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.
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Requires a still portrait in `assets.image_file_path` and an existing recording in `assets.audio_file_path`, plus `start_seconds` and `end_seconds`. Text alone is not accepted; this tool does not synthesize speech. For existing video plus replacement audio, use `lip_sync_create_video` instead.
The description explains the capability, when to use it, and what to expect.
Inputs66/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_path
The source image to animate. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › audio_file_path
The audio file to sync with the image. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
style › generation_mode
Controls overall motion style.
* `realistic` - Maintains likeness well, high quality, and reliable.
* `prompted` - Slightly lower likeness; allows option to prompt scene.
**Deprecated values (maintained for backward compatibility):**
* `pro` - Deprecated: use `realistic`
* `standard` - Deprecated: use `prompted`
* `stable` - Deprecated: use `realistic`
* `expressive` - Deprecated: use `prompted`
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
A text prompt to guide the generation. Only applicable when generation_mode is `prompted`.
This field is ignored for other modes.
Clear enough to supply this argument.
resolution
Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Make a still portrait speak from audio",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema78/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_talking_photo_create_talking_photo",
"title": "Make a still portrait speak from audio",
"description": "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.\n\nMCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nRequires a still portrait in `assets.image_file_path` and an existing recording in `assets.audio_file_path`, plus `start_seconds` and `end_seconds`. Text alone is not accepted; this tool does not synthesize speech. For existing video plus replacement audio, use `lip_sync_create_video` instead.",
"inputSchema": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Talking Photo - dateTime",
"example": "My Talking Photo video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"example": "A person smiling and speaking naturally to the camera",
"description": "A text prompt to guide the generation. Only applicable when generation_mode is `prompted`.\nThis field is ignored for other modes."
},
"generation_mode": {
"enum": [
"realistic",
"prompted",
"pro",
"standard",
"stable",
"expressive"
],
"type": "string",
"default": "realistic",
"example": "realistic",
"description": "Controls overall motion style.\n* `realistic` - Maintains likeness well, high quality, and reliable.\n* `prompted` - Slightly lower likeness; allows option to prompt scene.\n\n**Deprecated values (maintained for backward compatibility):**\n* `pro` - Deprecated: use `realistic`\n* `standard` - Deprecated: use `prompted`\n* `stable` - Deprecated: use `realistic`\n* `expressive` - Deprecated: use `prompted`"
}
},
"description": "Attributes used to dictate the style of the output"
},
"assets": {
"type": "object",
"required": [
"image_file_path",
"audio_file_path"
],
"properties": {
"audio_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp3",
"minLength": 1,
"description": "The audio file to sync with the image. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The source image to animate. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for creating a talking photo"
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"example": "480p",
"description": "Output preset. Overrides `max_resolution`. Defaults to 480p in prompted mode; realistic mode uses the mapped plan maximum."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "The end time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "The start time of the input audio in seconds. Maximum clip length depends on style.generation_mode: realistic 300s, prompted 45s."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Make a still portrait speak from audio",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Expand internal abbreviations and remove technical prefixes from the display title.
Description91/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Create a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL.
The description explains the capability, when to use it, and what to expect.
Inputs60/100
Resolve the mismatch between this description and its schema constraints.
assets › image_file_path
Prepared image to animate. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
script
The words the actor should speak. Character limits apply after trimming:
* kling-3.0: 2500 characters.
* ltx-2.5: 1804 characters.
* veo3.1: 2500 characters.
LTX's dialogue wrapper counts toward its model prompt limit.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "AI UGC Ad Generator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema75/100
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_ugc_ad_create_video",
"title": "AI UGC Ad Generator",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nCreate a spoken UGC video from a prepared image and script. Returns a project ID; poll GET /v1/video-projects/{id} for status and downloads. To compose an image, generate the image separately with the Image Editor API and supply its download URL.",
"inputSchema": {
"type": "object",
"required": [
"assets",
"script",
"end_seconds"
],
"properties": {
"model": {
"enum": [
"kling-3.0",
"ltx-2.5",
"veo3.1"
],
"type": "string",
"description": "Defaults to kling-3.0 on paid plans and ltx-2.5 on free plans."
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/image.jpg",
"minLength": 1,
"description": "Prepared image to animate. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"additionalProperties": false
},
"script": {
"type": "string",
"example": "Meet your new everyday essential.",
"minLength": 1,
"description": "The words the actor should speak. Character limits apply after trimming:\n* kling-3.0: 2500 characters.\n* ltx-2.5: 1804 characters.\n* veo3.1: 2500 characters.\nLTX's dialogue wrapper counts toward its model prompt limit."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"description": "Defaults to 720p on paid plans and 480p on free plans. Unsupported model/resolution combinations and resolutions unavailable for your plan are rejected."
},
"end_seconds": {
"type": "number",
"example": 4,
"minimum": 1,
"description": "Video duration in seconds. Supported values by model:\n* kling-3.0: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds.\n* ltx-2.5: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 seconds.\n* 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.\nFree plans are limited to 5 seconds unless a credit pack has been purchased."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI UGC Ad Generator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Shorten the title to an action and subject; move usage details into the description.
Description97/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
**What this API does**
Create the same Video Editor you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.
**Good for**
- Automation and batch processing
- Adding video editor into apps, pipelines, or tools
**How it works (3 steps)**
1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`.
2) Send a request to create a video editor job with the basic fields.
3) Check the job status until it's `complete`, then download the result from `downloads`.
**Key options**
- Inputs: usually a file, sometimes a YouTube link, depending on project type
- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.
- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt
**Cost**
Credits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.
For detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni-1.1`: 3s, LTX 2.5: 0.5s. Maximum duration depends on model: `gemini-omni-1.1`: 10s, LTX 2.5: 20s.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
Editing model. Defaults to LTX 2.5 for free tier and `gemini-omni-1.1` for paid. `gemini-omni` is deprecated; use `gemini-omni-1.1` instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Output resolution. Defaults to `480p` for free tier and `720p` for paid. `gemini-omni-1.1` and deprecated `gemini-omni` support 720p and 1080p; LTX 2.5 supports 480p, 720p, and 1080p.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
The prompt used to edit the video.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_file_path
The video to edit. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_video_editor_create_video",
"title": "AI Video Editor",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\n**What this API does**\n\nCreate the same Video Editor you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding video editor into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a video editor job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.\n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/ai-video-editor).",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"style",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Video Editor - dateTime",
"example": "My Video Editor video",
"description": "Give your video a custom name for easy identification."
},
"model": {
"enum": [
"gemini-omni-1.1",
"gemini-omni",
"ltx-2.5",
"ltx-2.3"
],
"type": "string",
"example": "ltx-2.5",
"description": "Editing model. Defaults to LTX 2.5 for free tier and `gemini-omni-1.1` for paid. `gemini-omni` is deprecated; use `gemini-omni-1.1` instead."
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"example": "Change the car color to blue",
"minLength": 1,
"description": "The prompt used to edit the video."
}
}
},
"assets": {
"type": "object",
"required": [
"video_file_path"
],
"properties": {
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"minLength": 1,
"description": "The video to edit. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for video editing."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"example": "480p",
"description": "Output resolution. Defaults to `480p` for free tier and `720p` for paid. `gemini-omni-1.1` and deprecated `gemini-omni` support 720p and 1080p; LTX 2.5 supports 480p, 720p, and 1080p."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip in seconds. Must be greater than `start_seconds`. Minimum duration depends on model: `gemini-omni-1.1`: 3s, LTX 2.5: 0.5s. Maximum duration depends on model: `gemini-omni-1.1`: 10s, LTX 2.5: 20s."
},
"start_seconds": {
"type": "number",
"format": "float",
"default": 0,
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Video Editor",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Name the specific action and subject instead of using a generic label such as ‘manage’ or ‘tool’.
Description95/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
**What this API does**
Create the same Video Translator you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.
**Good for**
- Automation and batch processing
- Adding video translator into apps, pipelines, or tools
**How it works (3 steps)**
1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`.
2) Send a request to create a video translator job with the basic fields.
3) Check the job status until it's `complete`, then download the result from `downloads`.
**Key options**
- Inputs: usually a file, sometimes a YouTube link, depending on project type
- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.
- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt
**Cost**
Credits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.
For detailed examples, see the [product page](https://magichour.ai/products/ai-video-translator).
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds. The clip must be 1-30 seconds long.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
target_language
Language to translate the video's speech into.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Output video resolution. Defaults to 480p. 720p and 1080p require a paid plan.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_file_path
Source video containing the speech to translate. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_video_translator_create_video",
"title": "AI Video Translator",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\n**What this API does**\n\nCreate the same Video Translator you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding video translator into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a video translator job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.\n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/ai-video-translator).",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"target_language",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Video Translator - dateTime",
"example": "My Video Translator video",
"description": "Give your video a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"video_file_path"
],
"properties": {
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"minLength": 1,
"description": "Source video containing the speech to translate. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Source video for the translation job."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"example": "480p",
"description": "Output video resolution. Defaults to 480p. 720p and 1080p require a paid plan."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds. The clip must be 1-30 seconds long."
},
"start_seconds": {
"type": "number",
"format": "float",
"default": 0,
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
},
"target_language": {
"enum": [
"English",
"Chinese (Simplified)",
"Hindi",
"Spanish",
"Arabic",
"French",
"Afrikaans",
"Bengali",
"Bulgarian",
"Catalan",
"Croatian",
"Czech",
"Danish",
"Dutch",
"Estonian",
"Finnish",
"German",
"Greek",
"Gujarati",
"Hebrew",
"Hungarian",
"Indonesian",
"Italian",
"Japanese",
"Kannada",
"Kazakh",
"Korean",
"Latvian",
"Lithuanian",
"Malay",
"Malayalam",
"Marathi",
"Norwegian",
"Persian",
"Polish",
"Portuguese",
"Punjabi",
"Romanian",
"Russian",
"Serbian",
"Slovak",
"Slovenian",
"Swahili",
"Swedish",
"Tamil",
"Telugu",
"Thai",
"Chinese (Traditional)",
"Turkish",
"Ukrainian",
"Urdu",
"Vietnamese",
"Welsh"
],
"type": "string",
"example": "Spanish",
"description": "Language to translate the video's speech into."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Video Translator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Shorten the title to an action and subject; move usage details into the description.
Description96/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
**What this API does**
Create the same Video Upscaler you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.
**Good for**
- Automation and batch processing
- Adding video upscaler into apps, pipelines, or tools
**How it works (3 steps)**
1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`.
2) Send a request to create a video upscaler job with the basic fields.
3) Check the job status until it's `complete`, then download the result from `downloads`.
**Key options**
- Inputs: usually a file, sometimes a YouTube link, depending on project type
- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.
- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt
**Cost**
Credits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.
For detailed examples, see the [product page](https://magichour.ai/products/video-upscaler).
The description explains the capability, when to use it, and what to expect.
Inputs83/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Output resolution. `720p` and `1080p` set the output's short side, `2k` and `4k` its long side; the aspect ratio is kept. Requires a paid plan.
Clear enough to supply this argument.
assets › video_file_path
Video to upscale. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_video_upscaler_create_video",
"title": "AI Video Upscaler",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\n**What this API does**\n\nCreate the same Video Upscaler you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding video upscaler into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a video upscaler job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.\n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/video-upscaler).",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"resolution",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Video Upscaler - dateTime",
"example": "My Video Upscaler video",
"description": "Give your video a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"video_file_path"
],
"properties": {
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"minLength": 1,
"description": "Video to upscale. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Source video for the upscale job."
},
"resolution": {
"enum": [
"720p",
"1080p",
"2k",
"4k"
],
"type": "string",
"example": "1080p",
"description": "Output resolution. `720p` and `1080p` set the output's short side, `2k` and `4k` its long side; the aspect ratio is kept. Requires a paid plan."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"default": 0,
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Video Upscaler",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Name the specific action and subject instead of using a generic label such as ‘manage’ or ‘tool’.
Description89/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Create a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.
The description explains the capability, when to use it, and what to expect.
Inputs81/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
fps
The desire output video frame rate
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
This value determines the duration of the output video.
Clear enough to supply this argument.
height
The height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
width
The width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › art_style
The art style used to create the output video
Clear enough to supply this argument.
style › art_style_custom
Describe custom art style. This field is required if `art_style` is `Custom`
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › camera_effect
The camera effect used to create the output video
Clear enough to supply this argument.
style › prompt_type
* `custom` - Use your own prompt for the video.
* `use_lyrics` - Use the lyrics of the audio to create the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
* `ai_choose` - Let AI write the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.
Clear enough to supply this argument.
style › prompt
The prompt used for the video. Prompt is required if `prompt_type` is `custom`. Otherwise this value is ignored
Clear enough to supply this argument.
style › transition_speed
Change determines how quickly the video's content changes across frames.
* Higher = more rapid transitions.
* Lower = more stable visual experience.
Clear enough to supply this argument.
assets › audio_source
Optionally add an audio source if you'd like to incorporate audio into your video
Clear enough to supply this argument.
assets › audio_file_path
The path of the input audio. This field is required if `audio_source` is `file`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › youtube_url
Using a youtube video as the input source. This field is required if `audio_source` is `youtube`
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_path
An initial image to use a the first frame of the video. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "animation_create_video",
"title": "Animation",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nCreate a Animation video. The estimated frame cost is calculated based on the `fps` and `end_seconds` input.",
"inputSchema": {
"type": "object",
"required": [
"fps",
"end_seconds",
"height",
"width",
"style",
"assets"
],
"properties": {
"fps": {
"type": "number",
"example": 12,
"minimum": 1,
"description": "The desire output video frame rate"
},
"name": {
"type": "string",
"default": "Animation - dateTime",
"example": "My Animation video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"required": [
"art_style",
"camera_effect",
"prompt_type",
"transition_speed"
],
"properties": {
"prompt": {
"type": "string",
"example": "Cyberpunk city",
"description": "The prompt used for the video. Prompt is required if `prompt_type` is `custom`. Otherwise this value is ignored"
},
"art_style": {
"enum": [
"Custom",
"Painterly Illustration",
"Vibrant Matte Illustration",
"Traditional Watercolor",
"Cyberpunk",
"Ink and Watercolor Portrait",
"Intricate Abstract Lines Portrait",
"3D Render",
"Old School Comic",
"Bold Colored Illustration",
"Synthwave",
"Minimal Cold Futurism",
"Futuristic Anime",
"Cinematic Miyazaki",
"Studio Ghibli Film Still",
"Soft Delicate Matte Portrait",
"Cinematic Landscape",
"Landscape Painting",
"Photograph",
"Jackson Pollock",
"Cubist",
"Abstract Minimalist",
"Impressionism",
"Van Gogh",
"Woodcut",
"Oil Painting",
"Vintage Japanese Anime",
"Pixar",
"Cosmic",
"Pixel Art",
"Fantasy",
"Arcane",
"Sin City",
"Double Exposure",
"Painted Cityscape",
"90s Streets",
"Overgrown",
"Postapocalyptic",
"Spooky",
"Miniatures",
"Low Poly",
"Art Deco",
"Inkpunk",
"Dark Graphic Illustration",
"Dark Watercolor",
"Faded Illustration",
"Directed by AI"
],
"type": "string",
"example": "Painterly Illustration",
"description": "The art style used to create the output video"
},
"prompt_type": {
"enum": [
"custom",
"use_lyrics",
"ai_choose"
],
"type": "string",
"example": "custom",
"description": "\n* `custom` - Use your own prompt for the video.\n* `use_lyrics` - Use the lyrics of the audio to create the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`.\n* `ai_choose` - Let AI write the prompt. If this option is selected, then `assets.audio_source` must be `file` or `youtube`."
},
"camera_effect": {
"enum": [
"Simple Zoom Out",
"Simple Zoom In",
"Bounce Out",
"Spin Bounce",
"Rolling Bounces",
"Rise and Climb",
"Dramatic Zoom In",
"Dramatic Zoom Out",
"Sway Out",
"Boost Zoom In",
"Boost Zoom Out",
"Heartbeat",
"Bounce in Place",
"Earthquake Bounce",
"Slice Bounce",
"Bounce In And Out",
"Jump",
"Road Trip",
"Traverse",
"Rubber Band",
"Rodeo",
"Accelerate",
"Speed of Light",
"Drift Spin",
"Vertigo",
"Cog in the Machine",
"Quadrant",
"Tron",
"Pusher",
"Roll In",
"Hesitate In",
"Zoom In - Audio Sync",
"Pulse - Audio Sync",
"Aggressive Zoom In - Audio Sync",
"Roll In - Audio Sync",
"Zoom Out - Audio Sync",
"Aggressive Zoom Out - Audio Sync",
"Sway Out - Audio Sync",
"Bounce and Spin - Audio Sync",
"Zoom In and Spin - Audio Sync",
"Vertigo - Audio Sync",
"Bounce Out - Audio Sync",
"Earthquake Bounce - Audio Sync",
"Pusher - Audio Sync",
"Evolve - Audio Sync",
"Devolve - Audio Sync",
"Slideshow",
"Pan Left",
"Pan Right",
"Tilt Up",
"Tilt Down",
"Directed by AI"
],
"type": "string",
"example": "Simple Zoom In",
"description": "The camera effect used to create the output video"
},
"art_style_custom": {
"type": "string",
"example": "Watercolor painting with soft pastel colors",
"description": "Describe custom art style. This field is required if `art_style` is `Custom`"
},
"transition_speed": {
"type": "integer",
"example": 5,
"maximum": 10,
"minimum": 1,
"description": "Change determines how quickly the video's content changes across frames. \n* Higher = more rapid transitions.\n* Lower = more stable visual experience."
}
},
"description": "Defines the style of the output video"
},
"width": {
"type": "integer",
"example": 512,
"minimum": 64,
"description": "The width of the final output video. The maximum width depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details"
},
"assets": {
"type": "object",
"example": {
"audio_source": "file",
"audio_file_path": "api-assets/id/1234.mp3",
"image_file_path": "api-assets/id/1234.png"
},
"required": [
"audio_source"
],
"properties": {
"youtube_url": {
"type": "string",
"format": "uri",
"minLength": 1,
"description": "Using a youtube video as the input source. This field is required if `audio_source` is `youtube`"
},
"audio_source": {
"enum": [
"none",
"file",
"youtube"
],
"type": "string",
"example": "file",
"description": "Optionally add an audio source if you'd like to incorporate audio into your video"
},
"audio_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp3",
"minLength": 1,
"description": "The path of the input audio. This field is required if `audio_source` is `file`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "An initial image to use a the first frame of the video. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for animation."
},
"height": {
"type": "integer",
"example": 512,
"minimum": 64,
"description": "The height of the final output video. The maximum height depends on your subscription. Please refer to our [pricing page](https://magichour.ai/pricing) for more details"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "This value determines the duration of the output video."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Animation",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
**What this API does**
Create the same Audio To Video you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.
**Good for**
- Automation and batch processing
- Adding audio to video into apps, pipelines, or tools
**How it works (3 steps)**
1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`.
2) Send a request to create a audio to video job with the basic fields.
3) Check the job status until it's `complete`, then download the result from `downloads`.
**Key options**
- Inputs: usually a file, sometimes a YouTube link, depending on project type
- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.
- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt
**Cost**
Credits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.
For detailed examples, see the [product page](https://magichour.ai/products/audio-to-video).
The description explains the capability, when to use it, and what to expect.
Inputs72/100
Explain what happens when this optional value is omitted.
name
Give your video a custom name for easy identification.
Explain what happens when this optional value is omitted.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.
Clear enough to supply this argument.
assets › audio_file_path
The path of the audio file. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_path
Reference image for the initial frame of the video. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
Prompt to guide the visual style of the video.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "audio_to_video_create_video",
"title": "Audio-to-Video",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\n**What this API does**\n\nCreate the same Audio To Video you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding audio to video into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a audio to video job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.\n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/audio-to-video).",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Audio To Video - dateTime",
"example": "My Audio To Video video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"example": "Car driving through a city",
"description": "Prompt to guide the visual style of the video."
}
},
"description": "Attributes used to dictate the style of the output"
},
"assets": {
"type": "object",
"required": [
"audio_file_path"
],
"properties": {
"audio_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp3",
"minLength": 1,
"description": "The path of the audio file. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "Reference image for the initial frame of the video. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the audio file and an optional reference image."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"example": "480p",
"description": "Output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"default": 0,
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Audio-to-Video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description80/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Automatically generate subtitles for your video in multiple languages.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_file_path
This is the video used to add subtitles. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › template
Preset subtitle templates. Please visit https://magichour.ai/create/auto-subtitle-generator to see the style of the existing templates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › custom_config › font
Font name from Google Fonts. Not all fonts support all languages or character sets.
We recommend verifying language support and appearance directly on https://fonts.google.com before use.
Clear enough to supply this argument.
style › custom_config › font_size
Font size in pixels. If not provided, the font size is automatically calculated based on the video resolution.
Clear enough to supply this argument.
style › custom_config › font_style
Font style (e.g., normal, italic, bold)
Clear enough to supply this argument.
style › custom_config › text_color
Primary text color in hex format
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
style › custom_config › highlighted_text_color
Color used to highlight the current spoken text
Clear enough to supply this argument.
style › custom_config › stroke_color
Stroke (outline) color of the text
Clear enough to supply this argument.
style › custom_config › stroke_width
Width of the text stroke in pixels. If `stroke_color` is provided, but `stroke_width` is not, the `stroke_width` will be calculated automatically based on the font size.
Clear enough to supply this argument.
style › custom_config › vertical_position
Vertical alignment of the text (e.g., top, center, bottom)
Clear enough to supply this argument.
style › custom_config › horizontal_position
Horizontal alignment of the text (e.g., left, center, right)
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "auto_subtitle_generator_create_video",
"title": "Auto Subtitle Generator",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nAutomatically generate subtitles for your video in multiple languages.",
"inputSchema": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"assets",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Auto Subtitle - dateTime",
"example": "My Auto Subtitle video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"template": {
"enum": [
"karaoke",
"cinematic",
"minimalist",
"highlight"
],
"type": "string",
"example": "karaoke",
"description": "Preset subtitle templates. Please visit https://magichour.ai/create/auto-subtitle-generator to see the style of the existing templates."
},
"custom_config": {
"type": "object",
"properties": {
"font": {
"type": "string",
"example": "Noto Sans",
"description": "Font name from Google Fonts. Not all fonts support all languages or character sets. \nWe recommend verifying language support and appearance directly on https://fonts.google.com before use."
},
"font_size": {
"type": "number",
"example": 24,
"description": "Font size in pixels. If not provided, the font size is automatically calculated based on the video resolution."
},
"font_style": {
"type": "string",
"example": "normal",
"description": "Font style (e.g., normal, italic, bold)"
},
"text_color": {
"type": "string",
"example": "#FFFFFF",
"description": "Primary text color in hex format"
},
"stroke_color": {
"type": "string",
"example": "#000000",
"description": "Stroke (outline) color of the text"
},
"stroke_width": {
"type": "number",
"example": 1,
"description": "Width of the text stroke in pixels. If `stroke_color` is provided, but `stroke_width` is not, the `stroke_width` will be calculated automatically based on the font size."
},
"vertical_position": {
"type": "string",
"example": "bottom",
"description": "Vertical alignment of the text (e.g., top, center, bottom)"
},
"horizontal_position": {
"type": "string",
"example": "center",
"description": "Horizontal alignment of the text (e.g., left, center, right)"
},
"highlighted_text_color": {
"type": "string",
"example": "#FFD700",
"description": "Color used to highlight the current spoken text"
}
},
"description": "Custom subtitle configuration."
}
},
"description": "Style of the subtitle. At least one of `.style.template` or `.style.custom_config` must be provided. \n* If only `.style.template` is provided, default values for the template will be used.\n* If both are provided, the fields in `.style.custom_config` will be used to overwrite the fields in `.style.template`.\n* If only `.style.custom_config` is provided, then all fields in `.style.custom_config` will be used.\n\nTo use custom config only, the following `custom_config` params are required:\n* `.style.custom_config.font`\n* `.style.custom_config.text_color`\n* `.style.custom_config.vertical_position`\n* `.style.custom_config.horizontal_position`\n"
},
"assets": {
"type": "object",
"required": [
"video_file_path"
],
"properties": {
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"minLength": 1,
"description": "This is the video used to add subtitles. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for auto subtitle generator"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Auto Subtitle Generator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
Replace or animate a character using video and a reference image
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
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.
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Replace a video subject or transfer video motion onto a reference character image. Requires `assets.video_file_path`, `assets.image_file_path` and `end_seconds`. Model support controls duration, resolution and subject selection; see parameter schemas. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.
The description explains the capability, when to use it, and what to expect.
Inputs77/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
Model to use. Defaults to `wan-animate`.
* **`wan-animate`**: 480p, 720p. Supports `points` subject selection.
* **`kling-3.0`**: 720p, 1080p. Clips of 3–10 seconds in `replace` mode or 3–30 seconds in `animate` mode. Picks the main person automatically, so `points` are rejected.
Clear enough to supply this argument.
resolution
Output video resolution. Must be supported by `model`. Defaults to the lowest resolution available on your plan for that model.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_file_path
Source video containing the subject to replace or animate. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_path
Reference character image used as the replacement or animation target. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
style › mode
Processing mode. `replace` swaps the detected subject with your reference character. `animate` transfers motion from the video onto your character image.
Clear enough to supply this argument.
style › selection_mode
How to locate the subject in the source video. `auto` detects a person automatically. `point` uses your `points` to mark the subject and is supported by `wan-animate`. Defaults to `auto`.
Clear enough to supply this argument.
style › points › items › position_x
Horizontal pixel coordinate in the source video frame at `time_seconds`, measured from the left edge.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › points › items › position_y
Vertical pixel coordinate in the source video frame at `time_seconds`, measured from the top edge.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › points › items › time_seconds
Timestamp on the source video timeline in seconds. Uses the same clock as `start_seconds` and `end_seconds`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Replace or animate a character using video and a reference image",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema67/100
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "character_replace_create_video",
"title": "Replace or animate a character using video and a reference image",
"description": "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.\n\nMCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nReplace a video subject or transfer video motion onto a reference character image. Requires `assets.video_file_path`, `assets.image_file_path` and `end_seconds`. Model support controls duration, resolution and subject selection; see parameter schemas. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Character Replace - dateTime",
"example": "My Character Replace video",
"description": "Give your video a custom name for easy identification."
},
"model": {
"enum": [
"wan-animate",
"kling-3.0"
],
"type": "string",
"default": "wan-animate",
"example": "wan-animate",
"description": "Model to use. Defaults to `wan-animate`.\n\n* **`wan-animate`**: 480p, 720p. Supports `points` subject selection.\n* **`kling-3.0`**: 720p, 1080p. Clips of 3–10 seconds in `replace` mode or 3–30 seconds in `animate` mode. Picks the main person automatically, so `points` are rejected."
},
"style": {
"type": "object",
"example": {
"mode": "replace",
"selection_mode": "auto"
},
"properties": {
"mode": {
"enum": [
"replace",
"animate"
],
"type": "string",
"example": "replace",
"description": "Processing mode. `replace` swaps the detected subject with your reference character. `animate` transfers motion from the video onto your character image."
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"position_x",
"position_y",
"time_seconds"
],
"properties": {
"position_x": {
"type": "integer",
"example": 320,
"minimum": 0,
"description": "Horizontal pixel coordinate in the source video frame at `time_seconds`, measured from the left edge."
},
"position_y": {
"type": "integer",
"example": 180,
"minimum": 0,
"description": "Vertical pixel coordinate in the source video frame at `time_seconds`, measured from the top edge."
},
"time_seconds": {
"type": "number",
"format": "float",
"example": 2.5,
"minimum": 0,
"description": "Timestamp on the source video timeline in seconds. Uses the same clock as `start_seconds` and `end_seconds`."
}
}
},
"description": "On-frame markers for manual subject selection. Required when `selection_mode` is `point`. Ignored when `selection_mode` is `auto` or omitted. Rejected for models without subject selection (supported by `wan-animate`)."
},
"selection_mode": {
"enum": [
"auto",
"point"
],
"type": "string",
"example": "auto",
"description": "How to locate the subject in the source video. `auto` detects a person automatically. `point` uses your `points` to mark the subject and is supported by `wan-animate`. Defaults to `auto`."
}
},
"description": "Optional style controls for replace vs animate mode and subject selection."
},
"assets": {
"type": "object",
"required": [
"video_file_path",
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/5678.png",
"minLength": 1,
"description": "Reference character image used as the replacement or animation target. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"minLength": 1,
"description": "Source video containing the subject to replace or animate. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Source video and reference character image for the job."
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"example": "480p",
"description": "Output video resolution. Must be supported by `model`. Defaults to the lowest resolution available on your plan for that model."
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"default": 0,
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Replace or animate a character using video and a reference image",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
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.
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Requires `start_seconds`, `end_seconds` and `assets.video_source` with its matching `assets.video_file_path` or `assets.youtube_url`. Use `assets.image_file_path` for all-faces mode, or `assets.face_mappings` for individual-faces mode after face detection. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.
The description explains the capability, when to use it, and what to expect.
Inputs66/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › version
* `v1` - May preserve skin detail and texture better, but weaker identity preservation.
* `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.
* `default` - Use the version we recommend, which will change over time. This is recommended unless you need a specific earlier version. This is the default behavior.
Clear enough to supply this argument.
assets › face_swap_mode
Choose how to swap faces:
- **all-faces** (recommended) — swap all detected faces using one source image (`source_file_path` required)
- **individual-faces** — specify exact mappings using `face_mappings`
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_path
The path of the input image with the face to be swapped. The value is required if `face_swap_mode` is `all-faces`.
This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › face_mappings › items › original_face
The face detected from the image in `target_file_path`. The file name is in the format of `<face_frame>-<face_index>.png`. This value is corresponds to the response in the [face detection API](https://docs.magichour.ai/api-reference/files/get-face-detection-details).
* The face_frame is the frame number of the face in the target image. For images, the frame number is always 0.
* The face_index is the index of the face in the target image, starting from 0 going left to right.
Resolve the mismatch between this description and its schema constraints.
assets › face_mappings › items › new_face
The face image that will be used to replace the face in the `original_face`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Clear enough to supply this argument.
assets › video_source
Choose your video source.
Explain the meaning of this value, not just its name.
assets › video_file_path
Your video file. Required if `video_source` is `file`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › youtube_url
YouTube URL (required if `video_source` is `youtube`).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Swap faces in an existing video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema75/100
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "face_swap_create_video",
"title": "Swap faces in an existing video",
"description": "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.\n\nMCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nRequires `start_seconds`, `end_seconds` and `assets.video_source` with its matching `assets.video_file_path` or `assets.youtube_url`. Use `assets.image_file_path` for all-faces mode, or `assets.face_mappings` for individual-faces mode after face detection. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.",
"inputSchema": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Face Swap - dateTime",
"example": "My Face Swap video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"example": {
"version": "default"
},
"properties": {
"version": {
"enum": [
"v1",
"v2",
"default"
],
"type": "string",
"example": "default",
"description": "* `v1` - May preserve skin detail and texture better, but weaker identity preservation.\n* `v2` - Faster, sharper, better handling of hair and glasses. stronger identity preservation.\n* `default` - Use the version we recommend, which will change over time. This is recommended unless you need a specific earlier version. This is the default behavior."
}
},
"description": "Style of the face swap video."
},
"assets": {
"type": "object",
"example": {
"video_source": "file",
"face_swap_mode": "all-faces",
"image_file_path": "api-assets/id/1234.png",
"video_file_path": "api-assets/id/1234.mp4"
},
"required": [
"video_source"
],
"properties": {
"youtube_url": {
"type": "string",
"format": "uri",
"description": "YouTube URL (required if `video_source` is `youtube`)."
},
"video_source": {
"enum": [
"file",
"youtube"
],
"type": "string",
"example": "file",
"description": "Choose your video source."
},
"face_mappings": {
"type": "array",
"items": {
"type": "object",
"required": [
"original_face",
"new_face"
],
"properties": {
"new_face": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "The face image that will be used to replace the face in the `original_face`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"original_face": {
"type": "string",
"example": "api-assets/id/0-0.png",
"description": "The face detected from the image in `target_file_path`. The file name is in the format of `<face_frame>-<face_index>.png`. This value is corresponds to the response in the [face detection API](https://docs.magichour.ai/api-reference/files/get-face-detection-details).\n\n* The face_frame is the frame number of the face in the target image. For images, the frame number is always 0.\n* The face_index is the index of the face in the target image, starting from 0 going left to right."
}
}
},
"example": [
{
"new_face": "api-assets/id/1234.png",
"original_face": "api-assets/id/0-0.png"
}
],
"maxItems": 5,
"description": "This is the array of face mappings used for multiple face swap. The value is required if `face_swap_mode` is `individual-faces`."
},
"face_swap_mode": {
"enum": [
"all-faces",
"individual-faces"
],
"type": "string",
"default": "all-faces",
"example": "all-faces",
"description": "Choose how to swap faces:\n- **all-faces** (recommended) — swap all detected faces using one source image (`source_file_path` required)\n- **individual-faces** — specify exact mappings using `face_mappings`"
},
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "The path of the input image with the face to be swapped. The value is required if `face_swap_mode` is `all-faces`.\n\nThis value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"description": "Your video file. Required if `video_source` is `file`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for face swap. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Swap faces in an existing video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Animate a supplied product photo, portrait or scene. Requires `assets.image_file_path` and `end_seconds`. Use the approved image directly; edit only for a requested visual change or a source problem that prevents the shot. Prompt for motion while preserving the supplied appearance. Model, duration, resolution and audio support vary. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.
The description explains the capability, when to use it, and what to expect.
Inputs81/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
end_seconds
The total duration of the output video in seconds. Supported durations depend on the chosen model:
* **`gemini-omni-1.1`**: any integer from 3 to 10
* **`kling-2.6`**: 5, 10
* **`kling-3.0`**: any integer from 3 to 15
* **`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
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
The AI model to use for video generation.
* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.
* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
* `kling-2.6`: Best for action, motion blur, and controlled camera moves.
* `kling-3.0`: Best for cinematic stories, references, and optional audio.
* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
* `seedance-1.5`: Best for smooth, consistent motion with an end frame.
* `seedance-2.0`: Best for reference-led clips with precise subject control.
* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
* `seedance-2.5`: Best for premium realism, detail, and natural motion.
* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
* `wan-2.2`: Best for physical motion, action, and camera movement.
* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.
If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
audio
Whether to include audio in the video. Defaults to `false` if not specified.
Audio support varies by model:
* **`gemini-omni-1.1`**: Not supported
* **`kling-2.6`**: Not supported
* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
* **`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 credits for audio
* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* **`seedance-2.5`**: Toggle-able: no additional credits for audio
* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
* **`wan-2.2`**: Not supported
* **`wan-3.0`**: Toggle-able: no additional credits for audio
Clear enough to supply this argument.
style › prompt
The prompt used for the video.
Explain the meaning of this value, not just its name.
assets › image_file_path
The path of the image file. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › end_image_file_path
The image to use as the last frame of the video.
* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.
* **`kling-2.6`**: Supports 1080p.
* **`kling-3.0`**: Supports 720p, 1080p, 4k.
* **`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`**: Supports 480p, 720p, 1080p.
* **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.
* **`veo3.1-lite`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.
* **`wan-2.2`**: Not supported
* **`wan-3.0`**: Supports 480p, 720p, 1080p.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Animate a supplied image into video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema79/100
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "image_to_video_create_video",
"title": "Animate a supplied image into video",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nAnimate a supplied product photo, portrait or scene. Requires `assets.image_file_path` and `end_seconds`. Use the approved image directly; edit only for a requested visual change or a source problem that prevents the shot. Prompt for motion while preserving the supplied appearance. Model, duration, resolution and audio support vary. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Image To Video - dateTime",
"example": "My Image To Video video",
"description": "Give your video a custom name for easy identification."
},
"audio": {
"type": "boolean",
"example": true,
"description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n"
},
"model": {
"enum": [
"default",
"minimax-h3",
"kling-3.0",
"ltx-2.5",
"wan-2.2",
"seedance-2.5",
"wan-3.0",
"seedance-2.0-mini",
"veo3.1",
"veo3.1-lite",
"seedance-2.0",
"kling-2.6",
"gemini-omni-1.1",
"seedance-2.0-fast",
"seedance-1.5",
"sora-2",
"ltx-2.3",
"ltx-2",
"kling-2.5",
"kling-1.6",
"seedance",
"kling-2.5-audio",
"veo3.1-audio"
],
"type": "string",
"default": "default",
"example": "ltx-2.5",
"description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`."
},
"style": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"example": "a dog running",
"description": "The prompt used for the video."
}
},
"description": "Attributed used to dictate the style of the output"
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The path of the image file. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"end_image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The image to use as the last frame of the video.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`veo3.1-lite`**: Supports 720p, 1080p. Requires a duration of 8 seconds or less.\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n"
}
},
"description": "Provide the assets for image-to-video."
},
"resolution": {
"enum": [
"360p",
"480p",
"720p",
"1080p",
"4k"
],
"type": "string",
"example": "480p",
"description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"maximum": 60,
"minimum": 1,
"description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-fast`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Animate a supplied image into video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
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.
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
Match existing video to replacement audio. Requires `assets.audio_file_path`, `assets.video_source` and its matching `assets.video_file_path` or `assets.youtube_url`, plus `start_seconds` and `end_seconds`. For a still portrait plus audio, use `ai_talking_photo_create_talking_photo`. Text alone is not an audio input. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.
The description explains the capability, when to use it, and what to expect.
Inputs72/100
Explain what happens when this optional value is omitted.
name
Give your video a custom name for easy identification.
Explain what happens when this optional value is omitted.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
max_fps_limit
Defines 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.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › audio_file_path
The path of the audio file. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_source
Choose your video source.
Explain the meaning of this value, not just its name.
assets › video_file_path
Your video file. Required if `video_source` is `file`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › youtube_url
YouTube URL (required if `video_source` is `youtube`).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › generation_mode
A specific version of our lip sync system, optimized for different needs.
* `lite` - Fast lip sync - best for simple videos. Costs 1 credit per frame of video.
* `standard` - Natural, accurate lip sync - best for most creators. Requires visible mouth movement in the opening seconds of the input video. Costs 1 credit per frame of video.
* `pro` - Premium fidelity with enhanced detail - best for professionals. Requires visible mouth movement in the opening seconds of the input video. Costs 2 credits per frame of video.
If your source is a still image, including a still image saved as a static video, use [AI Talking Photo](https://docs.magichour.ai/api-reference/video-projects/ai-talking-photo) with the original image and your audio instead.
Note: `pro` is only available for users on Creator, Pro, and Business tiers.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Lip-sync existing video to replacement audio",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
Output schema75/100
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "lip_sync_create_video",
"title": "Lip-sync existing video to replacement audio",
"description": "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.\n\nMCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nMatch existing video to replacement audio. Requires `assets.audio_file_path`, `assets.video_source` and its matching `assets.video_file_path` or `assets.youtube_url`, plus `start_seconds` and `end_seconds`. For a still portrait plus audio, use `ai_talking_photo_create_talking_photo`. Text alone is not an audio input. Generation consumes credits; the queued video charge is an estimate, with the final charge available on the completed project.",
"inputSchema": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Lip Sync - dateTime",
"example": "My Lip Sync video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"generation_mode": {
"enum": [
"lite",
"standard",
"pro"
],
"type": "string",
"default": "lite",
"example": "lite",
"description": "A specific version of our lip sync system, optimized for different needs.\n* `lite` - Fast lip sync - best for simple videos. Costs 1 credit per frame of video.\n* `standard` - Natural, accurate lip sync - best for most creators. Requires visible mouth movement in the opening seconds of the input video. Costs 1 credit per frame of video.\n* `pro` - Premium fidelity with enhanced detail - best for professionals. Requires visible mouth movement in the opening seconds of the input video. Costs 2 credits per frame of video.\n\nIf your source is a still image, including a still image saved as a static video, use [AI Talking Photo](https://docs.magichour.ai/api-reference/video-projects/ai-talking-photo) with the original image and your audio instead.\n\nNote: `pro` is only available for users on Creator, Pro, and Business tiers.\n "
}
},
"description": "Attributes used to dictate the style of the output"
},
"assets": {
"type": "object",
"example": {
"video_source": "file",
"audio_file_path": "api-assets/id/1234.mp3",
"video_file_path": "api-assets/id/1234.mp4"
},
"required": [
"audio_file_path",
"video_source"
],
"properties": {
"youtube_url": {
"type": "string",
"format": "uri",
"description": "YouTube URL (required if `video_source` is `youtube`)."
},
"video_source": {
"enum": [
"file",
"youtube"
],
"type": "string",
"example": "file",
"description": "Choose your video source."
},
"audio_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp3",
"minLength": 1,
"description": "The path of the audio file. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"description": "Your video file. Required if `video_source` is `file`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for lip-sync. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"max_fps_limit": {
"type": "number",
"example": 12,
"minimum": 1,
"description": "Defines 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."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Lip-sync existing video to replacement audio",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 a new scene from `style.prompt` and `end_seconds` when no supplied starting image is required. To animate an approved product photo or portrait, use `image_to_video_create_video` instead.
The description explains the capability, when to use it, and what to expect.
Inputs64/100
7 of 9 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
end_seconds
The total duration of the output video in seconds. Supported durations depend on the chosen model:
* **`gemini-omni-1.1`**: any integer from 3 to 10
* **`kling-2.6`**: 5, 10
* **`kling-3.0`**: any integer from 3 to 15
* **`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
* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56
* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15
* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
The AI model to use for video generation.
* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.
* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.
* `kling-2.6`: Best for action, motion blur, and controlled camera moves.
* `kling-3.0`: Best for cinematic stories, references, and optional audio.
* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.
* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.
* `seedance-1.5`: Best for smooth, consistent motion with an end frame.
* `seedance-2.0`: Best for reference-led clips with precise subject control.
* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.
* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.
* `seedance-2.5`: Best for premium realism, detail, and natural motion.
* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.
* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.
* `wan-2.2`: Best for physical motion, action, and camera movement.
* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.
If you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
audio
Whether to include audio in the video. Defaults to `false` if not specified.
Audio support varies by model:
* **`gemini-omni-1.1`**: Not supported
* **`kling-2.6`**: Not supported
* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled
* **`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 credits for audio
* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio
* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio
* **`seedance-2.5`**: Toggle-able: no additional credits for audio
* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled
* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled
* **`wan-2.2`**: Not supported
* **`wan-3.0`**: Toggle-able: no additional credits for audio
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
The prompt used for the video.
Clear enough to supply this argument.
references › items › name
Not provided
Missing description. Explain what this value means and how to supply it.
references › items › file_path
Not provided
Missing description. Explain what this value means and how to supply it.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"title": "Generate video from text",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
Output schema75/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "text_to_video_create_video",
"title": "Generate video from text",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n\nGenerate a new scene from `style.prompt` and `end_seconds` when no supplied starting image is required. To animate an approved product photo or portrait, use `image_to_video_create_video` instead.",
"inputSchema": {
"type": "object",
"required": [
"end_seconds",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Text To Video - dateTime",
"example": "My Text To Video video",
"description": "Give your video a custom name for easy identification."
},
"audio": {
"type": "boolean",
"example": true,
"description": "Whether to include audio in the video. Defaults to `false` if not specified.\n\nAudio support varies by model:\n* **`gemini-omni-1.1`**: Not supported\n* **`kling-2.6`**: Not supported\n* **`kling-3.0`**: Toggle-able: audio adds extra credits when enabled\n* **`ltx-2.5`**: Toggle-able: no additional credits for audio\n* **`minimax-h3`**: Toggle-able: no additional credits for audio\n* **`seedance-1.5`**: Toggle-able: audio adds extra credits when enabled\n* **`seedance-2.0`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-fast`**: Toggle-able: no additional credits for audio\n* **`seedance-2.0-mini`**: Toggle-able: no additional credits for audio\n* **`seedance-2.5`**: Toggle-able: no additional credits for audio\n* **`veo3.1`**: Toggle-able: audio adds extra credits when enabled\n* **`veo3.1-lite`**: Toggle-able: audio adds extra credits when enabled\n* **`wan-2.2`**: Not supported\n* **`wan-3.0`**: Toggle-able: no additional credits for audio\n"
},
"model": {
"enum": [
"default",
"minimax-h3",
"kling-3.0",
"ltx-2.5",
"wan-2.2",
"seedance-2.5",
"wan-3.0",
"seedance-2.0-mini",
"veo3.1",
"veo3.1-lite",
"seedance-2.0",
"kling-2.6",
"gemini-omni-1.1",
"seedance-2.0-fast",
"seedance-1.5",
"sora-2",
"ltx-2.3",
"ltx-2",
"kling-2.5",
"kling-1.6",
"seedance",
"kling-2.5-audio",
"veo3.1-audio"
],
"type": "string",
"default": "default",
"example": "ltx-2.5",
"description": "The AI model to use for video generation.\n\n* `default`: uses our currently recommended model for general use. For paid tiers, defaults to `kling-3.0`. For free tiers, it defaults to `ltx-2.5`.\n* `gemini-omni-1.1`: Best for precise short clips, first/last frames, and high-resolution output.\n* `kling-2.6`: Best for action, motion blur, and controlled camera moves.\n* `kling-3.0`: Best for cinematic stories, references, and optional audio.\n* `ltx-2.5`: Fastest for general scenes, long clips, audio, and rapid iteration.\n* `minimax-h3`: Great for reference-driven clips with native audio and longer durations.\n* `seedance-1.5`: Best for smooth, consistent motion with an end frame.\n* `seedance-2.0`: Best for reference-led clips with precise subject control.\n* `seedance-2.0-fast`: Fast reference-led clips with consistent motion and audio.\n* `seedance-2.0-mini`: Faster reference-led clips with consistent motion and audio.\n* `seedance-2.5`: Best for premium realism, detail, and natural motion.\n* `veo3.1`: Best for romantic interactions and expressive action, with realistic detail.\n* `veo3.1-lite`: Balanced realism and audio at a lower cost than Veo 3.1.\n* `wan-2.2`: Best for physical motion, action, and camera movement.\n* `wan-3.0`: High-quality video with native audio, long clips, and end-frame control.\n\nIf you specify the deprecated model value that includes the `-audio` suffix, this will be the same as included `audio` as `true`."
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"example": "a dog running",
"maxLength": 20000,
"minLength": 1,
"description": "The prompt used for the video."
}
}
},
"references": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"file_path"
],
"properties": {
"name": {
"type": "string",
"example": "hero",
"pattern": "^[A-Za-z][\\w-]*$"
},
"file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1
}
}
},
"maxItems": 10,
"minItems": 1,
"description": "Reference media for video generation. Name references without @ and refer to them as @name in style.prompt. Maximum 10 references total.\n\nSupported models and reference media:\n* **`gemini-omni-1.1`**: Supports images, videos. Up to 10 references.\n* **`kling-3.0`**: Supports images, videos.\n* **`minimax-h3`**: Supports images, videos, audio.\n* **`seedance-2.0`**: Supports images, videos, audio.\n* **`seedance-2.0-fast`**: Supports images, videos, audio.\n* **`seedance-2.0-mini`**: Supports images, videos, audio.\n* **`seedance-2.5`**: Supports images, videos, audio.\n* **`veo3.1`**: Supports images. Up to 3 references. Requires `end_seconds` of 8.\n* **`wan-3.0`**: Supports images, videos, audio."
},
"resolution": {
"enum": [
"360p",
"480p",
"720p",
"1080p",
"4k"
],
"type": "string",
"example": "480p",
"description": "Controls the output video resolution. Defaults to `720p` on paid tiers and `480p` on free tiers.\n\n* **`gemini-omni-1.1`**: Supports 360p, 720p, 1080p, 4k.\n* **`kling-2.6`**: Supports 720p, 1080p.\n* **`kling-3.0`**: Supports 720p, 1080p, 4k.\n* **`ltx-2.5`**: Supports 480p, 720p, 1080p.\n* **`minimax-h3`**: Supports 480p, 720p, 1080p.\n* **`seedance-1.5`**: Supports 480p, 720p, 1080p.\n* **`seedance-2.0`**: Supports 480p, 720p, 1080p, 4k.\n* **`seedance-2.0-fast`**: Supports 480p, 720p.\n* **`seedance-2.0-mini`**: Supports 480p, 720p.\n* **`seedance-2.5`**: Supports 480p, 720p, 1080p.\n* **`veo3.1`**: Supports 720p, 1080p.\n* **`veo3.1-lite`**: Supports 720p, 1080p.\n* **`wan-2.2`**: Supports 480p, 720p, 1080p.\n* **`wan-3.0`**: Supports 480p, 720p, 1080p.\n"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"maximum": 60,
"minimum": 1,
"description": "The total duration of the output video in seconds. Supported durations depend on the chosen model:\n\n* **`gemini-omni-1.1`**: any integer from 3 to 10\n* **`kling-2.6`**: 5, 10\n* **`kling-3.0`**: any integer from 3 to 15\n* **`ltx-2.5`**: any integer from 1 to 60\n* **`minimax-h3`**: any integer from 1 to 30\n* **`seedance-1.5`**: any integer from 4 to 12\n* **`seedance-2.0`**: any integer from 4 to 15\n* **`seedance-2.0-fast`**: any integer from 4 to 15\n* **`seedance-2.0-mini`**: any integer from 4 to 15\n* **`seedance-2.5`**: any integer from 4 to 30\n* **`veo3.1`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`veo3.1-lite`**: 4, 6, 8, 16, 24, 32, 40, 48, 56\n* **`wan-2.2`**: 3, 4, 5, 6, 7, 8, 9, 10, 15\n* **`wan-3.0`**: 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30\n"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1"
],
"type": "string",
"example": "16:9",
"description": "Provide `aspect_ratio` to set the video’s aspect ratio. Determines the aspect ratio of the output video.\n\n* **`gemini-omni-1.1`**: Supports 16:9, 9:16.\n* **`kling-2.6`**: Supports 9:16, 16:9, 1:1.\n* **`kling-3.0`**: Supports 9:16, 16:9, 1:1.\n* **`ltx-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`minimax-h3`**: Supports 16:9, 9:16, 1:1.\n* **`seedance-1.5`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0-fast`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.0-mini`**: Supports 9:16, 16:9, 1:1.\n* **`seedance-2.5`**: Supports 9:16, 16:9, 1:1.\n* **`veo3.1`**: Supports 9:16, 16:9.\n* **`veo3.1-lite`**: Supports 9:16, 16:9.\n* **`wan-2.2`**: Supports 9:16, 16:9, 1:1.\n* **`wan-3.0`**: Supports 16:9, 9:16, 1:1.\n"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Generate video from text",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
MCP guidance:
- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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 can fail. Prefer the upload-URL endpoint when unsure.
**What this API does**
Create the same Video To Video you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.
**Good for**
- Automation and batch processing
- Adding video to video into apps, pipelines, or tools
**How it works (3 steps)**
1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`.
2) Send a request to create a video to video job with the basic fields.
3) Check the job status until it's `complete`, then download the result from `downloads`.
**Key options**
- Inputs: usually a file, sometimes a YouTube link, depending on project type
- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.
- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt
**Cost**
Credits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.
For detailed examples, see the [product page](https://magichour.ai/products/video-to-video).
The description explains the capability, when to use it, and what to expect.
Inputs73/100
11 of 12 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
name
Give your video a custom name for easy identification.
Clear enough to supply this argument.
start_seconds
Start time of your clip (seconds). Must be ≥ 0.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_seconds
End time of your clip (seconds). Must be greater than start_seconds.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
fps_resolution
Determines whether the resulting video will have the same frame per second as the original video, or half.
* `FULL` - the result video will have the same FPS as the input video
* `HALF` - the result video will have half the FPS as the input video
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › art_style
Not provided
Missing description. Explain what this value means and how to supply it.
style › version
* `v1` - more detail, closer prompt adherence, and frame-by-frame previews.
* `v2` - faster, more consistent, and less noisy.
* `default` - use the selected art style's default version. Some art styles default to v3, which is unavailable through this API. For `Studio Ghibli`, explicitly set `version` to `v2` to use its supported preset.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt_type
* `default` - Use the default recommended prompt for the art style.
* `custom` - Only use the prompt passed in the API. Note: for v1, lora prompt will still be auto added to apply the art style properly.
* `append_default` - Add the default recommended prompt to the end of the prompt passed in the API.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
The prompt used for the video. Prompt is required if `prompt_type` is `custom` or `append_default`. If `prompt_type` is `default`, then the `prompt` value passed will be ignored.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › model
* `Dreamshaper` - a good all-around model that works for both animations as well as realism.
* `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.
* `Flat 2D Anime` - best for a flat illustration style that's common in most anime.
* `default` - use the default recommended model for the selected art style.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_source
Choose your video source.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › video_file_path
Your video file. Required if `video_source` is `file`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Clear enough to supply this argument.
assets › youtube_url
YouTube URL (required if `video_source` is `youtube`).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "video_to_video_create_video",
"title": "Video-to-Video",
"description": "MCP guidance:\n- Starts an async video job; returns `id` and `credits_charged`. For finished results, call `wait_for_video_project` with that id or poll `GET /v1/video-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\n**What this API does**\n\nCreate the same Video To Video you can make in the browser, but programmatically, so you can automate it, run it at scale, or connect it to your own app or workflow.\n \n**Good for**\n- Automation and batch processing \n- Adding video to video into apps, pipelines, or tools \n\n**How it works (3 steps)**\n1) Upload your inputs (video, image, or audio) with [Generate Upload URLs](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls) and copy the `file_path`. \n2) Send a request to create a video to video job with the basic fields. \n3) Check the job status until it's `complete`, then download the result from `downloads`.\n\n**Key options**\n- Inputs: usually a file, sometimes a YouTube link, depending on project type \n- Resolution: output size and plan requirements vary by workflow and model. Some workflows derive output size from the input video.\n- Extra fields: e.g. `face_swap_mode`, `start_seconds`/`end_seconds`, or a text prompt \n\n**Cost** \nCredits are charged when the job is queued (`credits_charged` in the response). Tools billed per frame charge an estimate and settle to the frames that actually render once the job finishes; tools billed per second charge the final amount upfront. Failed jobs are refunded.\n\nFor detailed examples, see the [product page](https://magichour.ai/products/video-to-video).",
"inputSchema": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"style",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Video To Video - dateTime",
"example": "My Video To Video video",
"description": "Give your video a custom name for easy identification."
},
"style": {
"type": "object",
"required": [
"art_style"
],
"properties": {
"model": {
"enum": [
"Dreamshaper",
"Absolute Reality",
"Flat 2D Anime",
"Soft Anime",
"Kaywaii",
"Western Anime",
"3D Anime",
"default"
],
"type": "string",
"default": "default",
"example": "default",
"description": "* `Dreamshaper` - a good all-around model that works for both animations as well as realism.\n* `Absolute Reality` - better at realism, but you'll often get similar results with Dreamshaper as well.\n* `Flat 2D Anime` - best for a flat illustration style that's common in most anime.\n* `default` - use the default recommended model for the selected art style."
},
"prompt": {
"type": [
"string",
"null"
],
"example": "A cinematic scene with warm lighting",
"description": "The prompt used for the video. Prompt is required if `prompt_type` is `custom` or `append_default`. If `prompt_type` is `default`, then the `prompt` value passed will be ignored."
},
"version": {
"enum": [
"v1",
"v2",
"default"
],
"type": "string",
"default": "default",
"example": "default",
"description": "* `v1` - more detail, closer prompt adherence, and frame-by-frame previews.\n* `v2` - faster, more consistent, and less noisy.\n* `default` - use the selected art style's default version. Some art styles default to v3, which is unavailable through this API. For `Studio Ghibli`, explicitly set `version` to `v2` to use its supported preset."
},
"art_style": {
"enum": [
"Minecraft",
"Watercolor",
"Pixel",
"Retro Sci-Fi",
"Lego",
"Origami",
"Ghost",
"Sub-Zero",
"Studio Ghibli",
"Comic",
"Impressionism",
"Master Chief",
"Solid Snake",
"Street Fighter",
"Hologram",
"GTA",
"Clay",
"Mystique",
"Dragonball Z",
"Mario",
"Samurai",
"Spartan",
"Boba Fett",
"3D Render",
"Airbender",
"Android",
"Anime Warrior",
"Armored Knight",
"Assassin's Creed",
"Avatar",
"Black Spiderman",
"Bold Anime",
"Celestial Skin",
"Chinese Swordsmen",
"Cyberpunk",
"Cypher",
"Dark Fantasy",
"Future Bot",
"Futuristic Fantasy",
"Ghibli Anime",
"Gundam",
"Illustration",
"Ink",
"Ink Poster",
"Jinx",
"Knight",
"Link",
"Marble",
"Mech",
"Naruto",
"Neon Dream",
"No Art Style",
"Oil Painting",
"On Fire",
"Painterly Anime",
"Pixar",
"Power Armor",
"Power Ranger",
"Radiant Anime",
"Realistic Anime",
"Realistic Pixar",
"Retro Anime",
"Samurai Bot",
"Sharp Anime",
"Soft Anime",
"Starfield",
"The Void",
"Tomb Raider",
"Underwater",
"Van Gogh",
"Viking",
"Western Anime",
"Wu Kong",
"Wuxia Anime",
"Zelda"
],
"type": "string",
"example": "Minecraft"
},
"prompt_type": {
"enum": [
"default",
"custom",
"append_default"
],
"type": "string",
"default": "default",
"example": "default",
"description": "* `default` - Use the default recommended prompt for the art style.\n* `custom` - Only use the prompt passed in the API. Note: for v1, lora prompt will still be auto added to apply the art style properly.\n* `append_default` - Add the default recommended prompt to the end of the prompt passed in the API."
}
}
},
"assets": {
"type": "object",
"example": {
"video_source": "file",
"video_file_path": "api-assets/id/1234.mp4"
},
"required": [
"video_source"
],
"properties": {
"youtube_url": {
"type": "string",
"format": "uri",
"description": "YouTube URL (required if `video_source` is `youtube`)."
},
"video_source": {
"enum": [
"file",
"youtube"
],
"type": "string",
"example": "file",
"description": "Choose your video source."
},
"video_file_path": {
"type": "string",
"example": "api-assets/id/1234.mp4",
"description": "Your video file. Required if `video_source` is `file`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for video-to-video. For video, The `video_source` field determines whether `video_file_path` or `youtube_url` field is used"
},
"end_seconds": {
"type": "number",
"format": "float",
"example": 5,
"minimum": 0.1,
"description": "End time of your clip (seconds). Must be greater than start_seconds."
},
"start_seconds": {
"type": "number",
"format": "float",
"example": 0,
"minimum": 0,
"description": "Start time of your clip (seconds). Must be ≥ 0."
},
"fps_resolution": {
"enum": [
"FULL",
"HALF"
],
"type": "string",
"default": "HALF",
"example": "HALF",
"description": "Determines whether the resulting video will have the same frame per second as the original video, or half.\n* `FULL` - the result video will have the same FPS as the input video\n* `HALF` - the result video will have half the FPS as the input video"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the video. Use it with the [Get video Project API](https://docs.magichour.ai/api-reference/video-projects/get-video-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 450,
"description": "The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video. \n\nIf video generation fails, credits will be refunded, and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Video-to-Video",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description84/100
MCP guidance:
- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.
- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.
Check the progress of a image project. The `downloads` field is populated after a successful render.
**Statuses**
- `queued` — waiting to start
- `rendering` — in progress
- `complete` — ready; see `downloads`
- `error` — a failure occurred (see `error`)
- `canceled` — user canceled
- `draft` — not used
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
id
Unique ID of the image project. This value is returned by all of the POST APIs that create an image.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"name",
"status",
"image_count",
"type",
"created_at",
"enabled",
"credits_charged",
"downloads",
"error"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the image."
},
"type": {
"type": "string",
"example": "AI_IMAGE",
"description": "The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, GENERATIVE_FILL, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, IMAGE_ENHANCER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, IMAGE_COLOR_GRADER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the image.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `image.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `image.completed`\n- `error` - the job failed during processing; fires `image.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.png"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the image project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"image_count": {
"type": "integer",
"example": 1,
"description": "Number of images generated"
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "image_projects_retrieve_details",
"title": "Get image details",
"description": "MCP guidance:\n- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.\n- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.\n\nCheck the progress of a image project. The `downloads` field is populated after a successful render.\n \n**Statuses**\n- `queued` — waiting to start\n- `rendering` — in progress\n- `complete` — ready; see `downloads`\n- `error` — a failure occurred (see `error`)\n- `canceled` — user canceled\n- `draft` — not used",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image project. This value is returned by all of the POST APIs that create an image."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"name",
"status",
"image_count",
"type",
"created_at",
"enabled",
"credits_charged",
"downloads",
"error"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the image."
},
"type": {
"type": "string",
"example": "AI_IMAGE",
"description": "The type of the image project. Possible values are FACE_EDITOR, AI_IMAGE_EDITOR, GENERATIVE_FILL, AI_SELFIE, AI_HEADSHOT, AI_INFLUENCER, AI_IMAGE, AI_MEME, CLOTHES_CHANGER, BACKGROUND_REMOVER, FACE_SWAP, IMAGE_UPSCALER, IMAGE_ENHANCER, AI_GIF, QR_CODE, PHOTO_EDITOR, PHOTO_COLORIZER, IMAGE_COLOR_GRADER, HEAD_SWAP, BODY_SWAP, STORYBOARD, IMAGE_EXPANDER"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the image.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `image.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `image.completed`\n- `error` - the job failed during processing; fires `image.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.png"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the image project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"image_count": {
"type": "integer",
"example": 1,
"description": "Number of images generated"
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Get image details",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "image_projects_delete",
"title": "Delete image",
"description": "Permanently delete the rendered image(s). This action is not reversible, please be sure before deleting.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image project. This value is returned by all of the POST APIs that create an image."
}
}
},
"annotations": {
"title": "Delete image",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description93/100
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.
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Change outfits in photos in seconds with just a photo reference. Each photo costs 25 credits.
The description explains the capability, when to use it, and what to expect.
Inputs56/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
assets › person_file_path
The image with the person. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › garment_file_path
The image of the outfit. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › garment_type
Type of clothing item to swap. If not provided, swaps the entire outfit.
* `upper_body` - for shirts/jackets
* `lower_body` - for pants/skirts
* `dresses` - for entire outfit (deprecated, use `entire_outfit` instead)
* `entire_outfit` - for entire outfit
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 25,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_clothes_changer_create_image",
"title": "AI Clothes Changer",
"description": "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.\n\nMCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nChange outfits in photos in seconds with just a photo reference. Each photo costs 25 credits.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Clothes Changer - dateTime",
"example": "My Clothes Changer image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"person_file_path",
"garment_file_path"
],
"properties": {
"garment_type": {
"enum": [
"entire_outfit",
"upper_body",
"lower_body",
"dresses"
],
"type": "string",
"example": "entire_outfit",
"description": "Type of clothing item to swap. If not provided, swaps the entire outfit. \n* `upper_body` - for shirts/jackets \n* `lower_body` - for pants/skirts \n* `dresses` - for entire outfit (deprecated, use `entire_outfit` instead) \n* `entire_outfit` - for entire outfit"
},
"person_file_path": {
"type": "string",
"example": "api-assets/id/model.png",
"minLength": 1,
"description": "The image with the person. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"garment_file_path": {
"type": "string",
"example": "api-assets/id/outfit.png",
"minLength": 1,
"description": "The image of the outfit. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for clothes changer"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 25,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Clothes Changer",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Edit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details
The description explains the capability, when to use it, and what to expect.
Inputs74/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
assets › image_file_path
This is the image whose face will be edited. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › enhance_face
Enhance face features
Explain the meaning of this value, not just its name.
style › eyebrow_direction
Eyebrow direction (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › eye_gaze_horizontal
Horizontal eye gaze (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › eye_gaze_vertical
Vertical eye gaze (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › eye_open_ratio
Eye open ratio (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › lip_open_ratio
Lip open ratio (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › head_roll
Head roll (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_grim
Mouth grim (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_pout
Mouth pout (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_purse
Mouth purse (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_smile
Mouth smile (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_position_horizontal
Horizontal mouth position (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mouth_position_vertical
Vertical mouth position (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › head_pitch
Head pitch (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › head_yaw
Head yaw (-100 to 100), in increments of 5
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 1,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_face_editor_edit_image",
"title": "AI Face Editor",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nEdit facial features of an image using AI. Each edit costs 1 frame. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details",
"inputSchema": {
"type": "object",
"required": [
"assets",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Face Editor - dateTime",
"example": "My Face Editor image",
"description": "Give your image a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"head_yaw": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Head yaw (-100 to 100), in increments of 5"
},
"head_roll": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Head roll (-100 to 100), in increments of 5"
},
"head_pitch": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Head pitch (-100 to 100), in increments of 5"
},
"mouth_grim": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Mouth grim (-100 to 100), in increments of 5"
},
"mouth_pout": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Mouth pout (-100 to 100), in increments of 5"
},
"mouth_purse": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Mouth purse (-100 to 100), in increments of 5"
},
"mouth_smile": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Mouth smile (-100 to 100), in increments of 5"
},
"enhance_face": {
"type": "boolean",
"default": false,
"example": false,
"description": "Enhance face features"
},
"eye_open_ratio": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Eye open ratio (-100 to 100), in increments of 5"
},
"lip_open_ratio": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Lip open ratio (-100 to 100), in increments of 5"
},
"eye_gaze_vertical": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Vertical eye gaze (-100 to 100), in increments of 5"
},
"eyebrow_direction": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Eyebrow direction (-100 to 100), in increments of 5"
},
"eye_gaze_horizontal": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Horizontal eye gaze (-100 to 100), in increments of 5"
},
"mouth_position_vertical": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Vertical mouth position (-100 to 100), in increments of 5"
},
"mouth_position_horizontal": {
"type": "number",
"default": 0,
"example": 0,
"maximum": 100,
"minimum": -100,
"multipleOf": 5,
"description": "Horizontal mouth position (-100 to 100), in increments of 5"
}
},
"description": "Face editing parameters"
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "This is the image whose face will be edited. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for face editor"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 1,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Face Editor",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.
Create an AI GIF. Each GIF costs 50 credits.
The description explains the capability, when to use it, and what to expect.
Inputs69/100
Explain what happens when this optional value is omitted.
name
Give your gif a custom name for easy identification.
Explain what happens when this optional value is omitted.
style › prompt
The prompt used for the GIF.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
output_format
The output file format for the generated animation.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_gif_generator_create_image",
"title": "AI GIF Generator",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n\nCreate an AI GIF. Each GIF costs 50 credits.",
"inputSchema": {
"type": "object",
"required": [
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Ai Gif - dateTime",
"example": "My Ai Gif gif",
"description": "Give your gif a custom name for easy identification."
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"example": "Cute dancing cat, pixel art",
"maxLength": 500,
"minLength": 1,
"description": "The prompt used for the GIF."
}
}
},
"output_format": {
"enum": [
"gif",
"mp4",
"webm"
],
"type": "string",
"default": "gif",
"example": "gif",
"description": "The output file format for the generated animation."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI GIF Generator",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description93/100
MCP guidance:
- Requires one or more source images in `assets.image_file_paths`. For prompt-only creation, use `ai_image_generator_create_image` instead.
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Edit supplied images using `assets.image_file_paths` and `style.prompt`. For prompt-only creation use `ai_image_generator_create_image`. Editing is not a required preparation step before image-to-video when the approved source already meets the brief. Check model eligibility: the omitted/default model is not universally available on Free.
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your image a custom name for easy identification.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
image_count
Number of images to generate. Maximum varies by model. Defaults to 1 if not specified.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
The AI model to use for image editing. Each model has different capabilities and costs.
**Models:**
- `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
- `flux-2-klein` - from 5 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Max additional input images: 5
- `gpt-image-2` - from 50 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `gpt-image-2.5-flare` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `krea-2` - from 10 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Max additional input images: 1
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-2-lite` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-2.1` - from 50 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `qwen-edit` - from 10 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Max additional input images: 2
- `qwen-image-2.1` - from 10 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Max additional input images: 2
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `seedream-v4.5` - from 50 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Max additional input images: 9
- `seedream-v5-pro` - from 75 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: creator, pro, business
- Max additional input images: 9
Clear enough to supply this argument.
aspect_ratio
The aspect ratio of the output image(s). If not specified, defaults to `auto`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Maximum resolution (longest edge) for the output image.
**Options:**
- `640px` — up to 640px
- `1k` — up to 1024px
- `2k` — up to 2048px
- `4k` — up to 4096px
- `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
**Per-model support:**
- `flux-2-klein` - 640px, 1k, 2k
- `gpt-image-2` - 640px, 1k, 2k, 4k
- `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
- `krea-2` - 640px, 1k
- `nano-banana` - 640px, 1k
- `nano-banana-2` - 640px, 1k, 2k, 4k
- `nano-banana-2-lite` - 640px, 1k
- `nano-banana-2.1` - 640px, 1k, 2k, 4k
- `nano-banana-pro` - 1k, 2k, 4k
- `qwen-edit` - 640px, 1k, 2k
- `qwen-image-2.1` - 640px, 1k, 2k
- `seedream-v4` - 640px, 1k, 2k, 4k
- `seedream-v4.5` - 640px, 1k, 2k, 4k
- `seedream-v5-pro` - 640px, 1k, 2k
Note: Resolution availability depends on the model and your subscription tier.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
The prompt used to edit the image.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › image_file_paths
The image(s) used in the edit, maximum of 10 images. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_image_editor_create_image",
"title": "Edit supplied images",
"description": "MCP guidance:\n- Requires one or more source images in `assets.image_file_paths`. For prompt-only creation, use `ai_image_generator_create_image` instead.\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nEdit supplied images using `assets.image_file_paths` and `style.prompt`. For prompt-only creation use `ai_image_generator_create_image`. Editing is not a required preparation step before image-to-video when the approved source already meets the brief. Check model eligibility: the omitted/default model is not universally available on Free.",
"inputSchema": {
"type": "object",
"required": [
"style",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Ai Image Editor - dateTime",
"example": "My Ai Image Editor image",
"description": "Give your image a custom name for easy identification."
},
"model": {
"enum": [
"default",
"qwen-image-2.1",
"gpt-image-2",
"nano-banana-2",
"flux-2-klein",
"nano-banana-pro",
"seedream-v5-pro",
"seedream-v4.5",
"nano-banana-2.1",
"qwen-edit",
"nano-banana-2-lite",
"krea-2",
"gpt-image-2.5-flare",
"seedream-v4",
"nano-banana"
],
"type": "string",
"example": "flux-2-klein",
"description": "The AI model to use for image editing. Each model has different capabilities and costs.\n\n**Models:**\n- `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.\n- `flux-2-klein` - from 5 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Max additional input images: 5\n- `gpt-image-2` - from 50 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `gpt-image-2.5-flare` - from 100 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `krea-2` - from 10 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: free, creator, pro, business\n - Max additional input images: 1\n- `nano-banana` - from 50 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `nano-banana-2` - from 100 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `nano-banana-2-lite` - from 50 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `nano-banana-2.1` - from 50 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `nano-banana-pro` - from 150 credits/image\n - Supported resolutions: 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `qwen-edit` - from 10 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Max additional input images: 2\n- `qwen-image-2.1` - from 10 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Max additional input images: 2\n- `seedream-v4` - from 40 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `seedream-v4.5` - from 50 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n- `seedream-v5-pro` - from 75 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: creator, pro, business\n - Max additional input images: 9\n"
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"example": "Give me sunglasses",
"maxLength": 15000,
"minLength": 1,
"description": "The prompt used to edit the image."
}
}
},
"assets": {
"type": "object",
"properties": {
"image_file_paths": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"example": [
"api-assets/id/1234.png",
"api-assets/id/1235.png"
],
"maxItems": 10,
"description": "The image(s) used in the edit, maximum of 10 images. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for image edit"
},
"resolution": {
"enum": [
"auto",
"640px",
"1k",
"2k",
"4k"
],
"type": "string",
"example": "640px",
"description": "Maximum resolution (longest edge) for the output image.\n\n**Options:**\n- `640px` — up to 640px\n- `1k` — up to 1024px\n- `2k` — up to 2048px\n- `4k` — up to 4096px\n- `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports\n\n**Per-model support:**\n- `flux-2-klein` - 640px, 1k, 2k\n- `gpt-image-2` - 640px, 1k, 2k, 4k\n- `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k\n- `krea-2` - 640px, 1k\n- `nano-banana` - 640px, 1k\n- `nano-banana-2` - 640px, 1k, 2k, 4k\n- `nano-banana-2-lite` - 640px, 1k\n- `nano-banana-2.1` - 640px, 1k, 2k, 4k\n- `nano-banana-pro` - 1k, 2k, 4k\n- `qwen-edit` - 640px, 1k, 2k\n- `qwen-image-2.1` - 640px, 1k, 2k\n- `seedream-v4` - 640px, 1k, 2k, 4k\n- `seedream-v4.5` - 640px, 1k, 2k, 4k\n- `seedream-v5-pro` - 640px, 1k, 2k\n\nNote: Resolution availability depends on the model and your subscription tier."
},
"image_count": {
"enum": [
1,
4,
9,
16
],
"type": "number",
"default": 1,
"example": 1,
"description": "Number of images to generate. Maximum varies by model. Defaults to 1 if not specified."
},
"aspect_ratio": {
"enum": [
"auto",
"16:9",
"9:16",
"4:3",
"3:2",
"1:1",
"4:5",
"2:3"
],
"type": "string",
"example": "1:1",
"description": "The aspect ratio of the output image(s). If not specified, defaults to `auto`."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Edit supplied images",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Create an AI headshot. Each headshot costs 50 credits.
The description explains the capability, when to use it, and what to expect.
Inputs58/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
style › prompt
Prompt used to guide the style of your headshot. We recommend omitting the prompt unless you want to customize your headshot. You can visit [AI headshot generator](https://magichour.ai/create/ai-headshot-generator) to view an example of a good prompt used for our 'Professional' style.
Clear enough to supply this argument.
assets › image_file_path
The image used to generate the headshot. This image must contain one detectable face. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_headshot_generator_create_image",
"title": "AI Headshot Generator",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nCreate an AI headshot. Each headshot costs 50 credits.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Ai Headshot - dateTime",
"example": "My Ai Headshot image",
"description": "Give your image a custom name for easy identification."
},
"style": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"example": "Professional studio headshot with soft lighting and a neutral background",
"description": "Prompt used to guide the style of your headshot. We recommend omitting the prompt unless you want to customize your headshot. You can visit [AI headshot generator](https://magichour.ai/create/ai-headshot-generator) to view an example of a good prompt used for our 'Professional' style."
}
}
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The image used to generate the headshot. This image must contain one detectable face. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for headshot photo"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Headshot Generator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description79/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.
Create an AI image with advanced model selection and quality controls.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your image a custom name for easy identification.
Clear enough to supply this argument.
image_count
Number of images to generate. Maximum varies by model.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
model
The AI model to use for image generation. Each model has different capabilities and costs.
**Models:**
- `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.
- `flux-2-klein` - from 5 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Image count allowed: 1
- `flux-schnell` - from 5 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `gpt-image-2` - from 50 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `gpt-image-2.5-flare` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `krea-2` - from 10 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: free, creator, pro, business
- Image count allowed: 1
- `nano-banana` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana-2` - from 100 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 4, 9, 16
- `nano-banana-2-lite` - from 50 credits/image
- Supported resolutions: 640px, 1k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `nano-banana-2.1` - from 50 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 4, 9, 16
- `nano-banana-pro` - from 150 credits/image
- Supported resolutions: 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 4, 9, 16
- `qwen-image-2.1` - from 10 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `seedream-v4` - from 40 credits/image
- Supported resolutions: 640px, 1k, 2k, 4k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `seedream-v5-pro` - from 75 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: creator, pro, business
- Image count allowed: 1, 2, 3, 4
- `z-image-turbo` - from 5 credits/image
- Supported resolutions: 640px, 1k, 2k
- Available for tiers: free, creator, pro, business
- Image count allowed: 1, 2, 3, 4
**Deprecated Enum Values:**
- `seedream` - Use `seedream-v4` instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
aspect_ratio
The aspect ratio of the output image(s). If not specified, defaults to `1:1` (square).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
resolution
Maximum resolution (longest edge) for the output image.
**Options:**
- `640px` — up to 640px
- `1k` — up to 1024px
- `2k` — up to 2048px
- `4k` — up to 4096px
- `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports
**Per-model support:**
- `flux-2-klein` - 640px, 1k, 2k
- `flux-schnell` - 640px, 1k, 2k
- `gpt-image-2` - 640px, 1k, 2k, 4k
- `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k
- `krea-2` - 640px, 1k
- `nano-banana` - 640px, 1k
- `nano-banana-2` - 640px, 1k, 2k, 4k
- `nano-banana-2-lite` - 640px, 1k
- `nano-banana-2.1` - 640px, 1k, 2k, 4k
- `nano-banana-pro` - 1k, 2k, 4k
- `qwen-image-2.1` - 640px, 1k, 2k
- `seedream-v4` - 640px, 1k, 2k, 4k
- `seedream-v5-pro` - 640px, 1k, 2k
- `z-image-turbo` - 640px, 1k, 2k
Note: Resolution availability depends on the model and your subscription tier.
Clear enough to supply this argument.
style › prompt
The prompt used for the image(s).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › tool
The art style to use for image generation. Defaults to 'general' if not provided.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_image_generator_create_image",
"title": "AI Image Generator",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n\nCreate an AI image with advanced model selection and quality controls.",
"inputSchema": {
"type": "object",
"required": [
"image_count",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Ai Image - dateTime",
"example": "My Ai Image image",
"description": "Give your image a custom name for easy identification."
},
"model": {
"enum": [
"default",
"z-image-turbo",
"gpt-image-2",
"qwen-image-2.1",
"flux-2-klein",
"nano-banana-2",
"nano-banana-2.1",
"nano-banana-pro",
"krea-2",
"seedream-v5-pro",
"nano-banana-2-lite",
"gpt-image-2.5-flare",
"seedream-v4",
"nano-banana",
"flux-schnell",
"seedream"
],
"type": "string",
"example": "z-image-turbo",
"description": "The AI model to use for image generation. Each model has different capabilities and costs.\n\n**Models:**\n- `default` - Use the model we recommend, which will change over time. This is recommended unless you need a specific model. This is the default behavior.\n- `flux-2-klein` - from 5 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Image count allowed: 1\n- `flux-schnell` - from 5 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `gpt-image-2` - from 50 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `gpt-image-2.5-flare` - from 100 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `krea-2` - from 10 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: free, creator, pro, business\n - Image count allowed: 1\n- `nano-banana` - from 50 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `nano-banana-2` - from 100 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 4, 9, 16\n- `nano-banana-2-lite` - from 50 credits/image\n - Supported resolutions: 640px, 1k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `nano-banana-2.1` - from 50 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 4, 9, 16\n- `nano-banana-pro` - from 150 credits/image\n - Supported resolutions: 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 4, 9, 16\n- `qwen-image-2.1` - from 10 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `seedream-v4` - from 40 credits/image\n - Supported resolutions: 640px, 1k, 2k, 4k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `seedream-v5-pro` - from 75 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n- `z-image-turbo` - from 5 credits/image\n - Supported resolutions: 640px, 1k, 2k\n - Available for tiers: free, creator, pro, business\n - Image count allowed: 1, 2, 3, 4\n\n**Deprecated Enum Values:**\n- `seedream` - Use `seedream-v4` instead.\n"
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"tool": {
"enum": [
"ai-anime-generator",
"ai-art-generator",
"ai-background-generator",
"ai-character-generator",
"ai-face-generator",
"ai-fashion-generator",
"ai-icon-generator",
"ai-illustration-generator",
"ai-interior-design-generator",
"ai-landscape-generator",
"ai-logo-generator",
"ai-manga-generator",
"ai-outfit-generator",
"ai-pattern-generator",
"ai-photo-generator",
"ai-sketch-generator",
"ai-tattoo-generator",
"album-cover-generator",
"animated-characters-generator",
"architecture-generator",
"book-cover-generator",
"comic-book-generator",
"dark-fantasy-ai",
"disney-ai-generator",
"dnd-ai-art-generator",
"emoji-generator",
"fantasy-map-generator",
"graffiti-generator",
"movie-poster-generator",
"optical-illusion-generator",
"pokemon-generator",
"south-park-character-generator",
"superhero-generator",
"thumbnail-maker",
"general"
],
"type": "string",
"default": "general",
"example": "ai-anime-generator",
"description": "The art style to use for image generation. Defaults to 'general' if not provided."
},
"prompt": {
"type": "string",
"example": "Cool image",
"minLength": 1,
"description": "The prompt used for the image(s)."
}
},
"description": "The art style to use for image generation."
},
"resolution": {
"enum": [
"auto",
"640px",
"1k",
"2k",
"4k"
],
"type": "string",
"default": "auto",
"example": "640px",
"description": "Maximum resolution (longest edge) for the output image.\n\n**Options:**\n- `640px` — up to 640px\n- `1k` — up to 1024px\n- `2k` — up to 2048px\n- `4k` — up to 4096px\n- `auto` — **Deprecated.** Mapped server-side from your subscription tier to the best matching resolution the model supports\n\n**Per-model support:**\n- `flux-2-klein` - 640px, 1k, 2k\n- `flux-schnell` - 640px, 1k, 2k\n- `gpt-image-2` - 640px, 1k, 2k, 4k\n- `gpt-image-2.5-flare` - 640px, 1k, 2k, 4k\n- `krea-2` - 640px, 1k\n- `nano-banana` - 640px, 1k\n- `nano-banana-2` - 640px, 1k, 2k, 4k\n- `nano-banana-2-lite` - 640px, 1k\n- `nano-banana-2.1` - 640px, 1k, 2k, 4k\n- `nano-banana-pro` - 1k, 2k, 4k\n- `qwen-image-2.1` - 640px, 1k, 2k\n- `seedream-v4` - 640px, 1k, 2k, 4k\n- `seedream-v5-pro` - 640px, 1k, 2k\n- `z-image-turbo` - 640px, 1k, 2k\n\nNote: Resolution availability depends on the model and your subscription tier."
},
"image_count": {
"type": "integer",
"example": 1,
"maximum": 16,
"minimum": 1,
"description": "Number of images to generate. Maximum varies by model."
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"9:16"
],
"type": "string",
"example": "1:1",
"description": "The aspect ratio of the output image(s). If not specified, defaults to `1:1` (square)."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Image Generator",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description84/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Upscale your image using AI. Each 2x upscale costs 50 credits for balanced/creative modes, and 25 credits for preserve. 4x upscale costs 200 and 100 credits respectively.
The description explains the capability, when to use it, and what to expect.
Inputs70/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your image a custom name for easy identification.
Clear enough to supply this argument.
scale_factor
How much to scale the image. Must be either 2 or 4.
Note: 4x upscale is only available on Creator, Pro, or Business tier.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › mode
The upscaling mode. `"preserve"` uses the fast pro pipeline (1× credit multiplier). `"balanced"` and `"creative"` use the creative pipeline (2× credit multiplier). `"pro"` is deprecated and maps to `"preserve"`. Defaults to `"balanced"`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
A prompt to guide the final image. Only used when mode is `creative`.
Clear enough to supply this argument.
assets › image_file_path
The image to upscale. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
. The maximum input image size is 4096x4096px.
Resolve the mismatch between this description and its schema constraints.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 25,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_image_upscaler_create_image",
"title": "AI Image Upscaler",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nUpscale your image using AI. Each 2x upscale costs 50 credits for balanced/creative modes, and 25 credits for preserve. 4x upscale costs 200 and 100 credits respectively.",
"inputSchema": {
"type": "object",
"required": [
"scale_factor",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Image Upscaler - dateTime",
"example": "My Image Upscaler image",
"description": "Give your image a custom name for easy identification."
},
"style": {
"type": "object",
"default": {},
"example": {
"mode": "preserve"
},
"properties": {
"mode": {
"enum": [
"pro",
"preserve",
"balanced",
"creative"
],
"type": "string",
"example": "preserve",
"description": "The upscaling mode. `\"preserve\"` uses the fast pro pipeline (1× credit multiplier). `\"balanced\"` and `\"creative\"` use the creative pipeline (2× credit multiplier). `\"pro\"` is deprecated and maps to `\"preserve\"`. Defaults to `\"balanced\"`."
},
"prompt": {
"type": "string",
"example": "Enhance fine details and keep the image natural",
"description": "A prompt to guide the final image. Only used when mode is `creative`."
}
},
"description": "Style settings for the upscale. Use `mode` (`\"preserve\"`, `\"balanced\"`, or `\"creative\"`). Defaults to `\"balanced\"`."
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The image to upscale. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n. The maximum input image size is 4096x4096px."
}
},
"description": "Provide the assets for upscaling"
},
"scale_factor": {
"type": "number",
"example": 2,
"description": "How much to scale the image. Must be either 2 or 4.\n \nNote: 4x upscale is only available on Creator, Pro, or Business tier."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 25,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Image Upscaler",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.
Create an AI generated meme. Each meme costs 10 credits.
The description explains the capability, when to use it, and what to expect.
Inputs66/100
Explain the meaning of this value, not just its name.
name
The name of the meme.
Explain the meaning of this value, not just its name.
style › topic
The topic of the meme.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › template
Select a random meme template.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › searchWeb
Whether to search the web for meme content.
Explain what happens when this optional value is omitted.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_meme_generator_create_image",
"title": "AI Meme Generator",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n\nCreate an AI generated meme. Each meme costs 10 credits.",
"inputSchema": {
"type": "object",
"required": [
"style"
],
"properties": {
"name": {
"type": "string",
"example": "My Funny Meme",
"description": "The name of the meme."
},
"style": {
"type": "object",
"required": [
"topic",
"template"
],
"properties": {
"topic": {
"type": "string",
"example": "When the code finally works",
"maxLength": 200,
"minLength": 1,
"description": "The topic of the meme."
},
"template": {
"enum": [
"Random"
],
"type": "string",
"description": "Select a random meme template."
},
"searchWeb": {
"type": "boolean",
"default": false,
"example": false,
"description": "Whether to search the web for meme content."
}
}
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Meme Generator",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description83/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.
Create an AI QR code. Each QR code costs 0 credits.
The description explains the capability, when to use it, and what to expect.
Inputs76/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
content
The content of the QR code.
Clear enough to supply this argument.
style › art_style
To use our templates, pass in one of Watercolor, Cyberpunk City, Ink Landscape, Interior Painting, Japanese Street, Mech, Minecraft, Picasso Painting, Game Map, Spaceship, Chinese Painting, Winter Village, or pass any custom art style.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 0,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_qr_code_generator_create_image",
"title": "AI QR Code Generator",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n\nCreate an AI QR code. Each QR code costs 0 credits.",
"inputSchema": {
"type": "object",
"required": [
"content",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "Qr Code - dateTime",
"example": "My Qr Code image",
"description": "Give your image a custom name for easy identification."
},
"style": {
"type": "object",
"required": [
"art_style"
],
"properties": {
"art_style": {
"type": "string",
"example": "Watercolor",
"description": "To use our templates, pass in one of Watercolor, Cyberpunk City, Ink Landscape, Interior Painting, Japanese Street, Mech, Minecraft, Picasso Painting, Game Map, Spaceship, Chinese Painting, Winter Village, or pass any custom art style."
}
}
},
"content": {
"type": "string",
"example": "https://magichour.ai",
"description": "The content of the QR code."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 0,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI QR Code Generator",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
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.
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Swap a person into a scene image using Nano Banana 2 Lite (640px/1k) or Nano Banana 2 (2k/4k). Credits depend on `resolution` (from 50 credits at 640px upward).
The description explains the capability, when to use it, and what to expect.
Inputs44/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
resolution
Output resolution. Determines credits charged for the run.
Clear enough to supply this argument.
assets › person_file_path
Image of the person to place into the scene. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › scene_file_path
Original scene image (background). This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "body_swap_create_image",
"title": "Body Swap",
"description": "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.\n\nMCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nSwap a person into a scene image using Nano Banana 2 Lite (640px/1k) or Nano Banana 2 (2k/4k). Credits depend on `resolution` (from 50 credits at 640px upward).",
"inputSchema": {
"type": "object",
"required": [
"resolution",
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Body Swap - dateTime",
"example": "My Body Swap image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"person_file_path",
"scene_file_path"
],
"properties": {
"scene_file_path": {
"type": "string",
"example": "api-assets/id/5678.png",
"minLength": 1,
"description": "Original scene image (background). This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"person_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "Image of the person to place into the scene. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Person image and scene image for body swap"
},
"resolution": {
"enum": [
"640px",
"1k",
"2k",
"4k"
],
"type": "string",
"example": "640px",
"description": "Output resolution. Determines credits charged for the run."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 50,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Body Swap",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
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.
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Create a face swap photo. Each photo costs 10 credits. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details
Describe the returned information so the agent knows whether it will answer the request.
Inputs89/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Give your image a custom name for easy identification.
Clear enough to supply this argument.
assets › face_swap_mode
Choose how to swap faces:
- **all-faces** (recommended) — swap all detected faces using one source image (`source_file_path` required)
- **individual-faces** — specify exact mappings using `face_mappings`
Clear enough to supply this argument.
assets › source_file_path
This is the image from which the face is extracted. The value is required if `face_swap_mode` is `all-faces`.
This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
assets › face_mappings › items › original_face
The face detected from the image in `target_file_path`. The file name is in the format of `<face_frame>-<face_index>.png`. This value is corresponds to the response in the [face detection API](https://docs.magichour.ai/api-reference/files/get-face-detection-details).
* The face_frame is the frame number of the face in the target image. For images, the frame number is always 0.
* The face_index is the index of the face in the target image, starting from 0 going left to right.
Clear enough to supply this argument.
assets › face_mappings › items › new_face
The face image that will be used to replace the face in the `original_face`. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Clear enough to supply this argument.
assets › target_file_path
This is the image where the face from the source image will be placed. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "face_swap_photo_create_image",
"title": "Face Swap Photo",
"description": "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.\n\nMCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nCreate a face swap photo. Each photo costs 10 credits. The height/width of the output image depends on your subscription. Please refer to our [pricing](https://magichour.ai/pricing) page for more details",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Face Swap - dateTime",
"example": "My Face Swap image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"example": {
"face_swap_mode": "all-faces",
"source_file_path": "api-assets/id/1234.png",
"target_file_path": "api-assets/id/1234.png"
},
"required": [
"target_file_path"
],
"properties": {
"face_mappings": {
"type": "array",
"items": {
"type": "object",
"required": [
"original_face",
"new_face"
],
"properties": {
"new_face": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "The face image that will be used to replace the face in the `original_face`. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"original_face": {
"type": "string",
"example": "api-assets/id/0-0.png",
"description": "The face detected from the image in `target_file_path`. The file name is in the format of `<face_frame>-<face_index>.png`. This value is corresponds to the response in the [face detection API](https://docs.magichour.ai/api-reference/files/get-face-detection-details).\n\n* The face_frame is the frame number of the face in the target image. For images, the frame number is always 0.\n* The face_index is the index of the face in the target image, starting from 0 going left to right."
}
}
},
"example": [
{
"new_face": "api-assets/id/1234.png",
"original_face": "api-assets/id/0-0.png"
}
],
"maxItems": 5,
"description": "This is the array of face mappings used for multiple face swap. The value is required if `face_swap_mode` is `individual-faces`."
},
"face_swap_mode": {
"enum": [
"all-faces",
"individual-faces"
],
"type": "string",
"default": "all-faces",
"example": "all-faces",
"description": "Choose how to swap faces:\n- **all-faces** (recommended) — swap all detected faces using one source image (`source_file_path` required)\n- **individual-faces** — specify exact mappings using `face_mappings`"
},
"source_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "This is the image from which the face is extracted. The value is required if `face_swap_mode` is `all-faces`.\n\nThis value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"target_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "This is the image where the face from the source image will be placed. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for face swap photo"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Face Swap Photo",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
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.
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Swap a head onto a body image. Each image costs 10 credits. Output resolution depends on your subscription; you may set `max_resolution` lower than your plan maximum if desired.
The description explains the capability, when to use it, and what to expect.
Inputs63/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
max_resolution
Constrains the larger dimension (height or width) of the output. Omit to use the maximum allowed for your plan (capped at 2048px). Values above your plan maximum are clamped down to your plan's maximum.
Clear enough to supply this argument.
assets › body_file_path
Image that receives the swapped head. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › head_file_path
Image of the head to place on the body. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "head_swap_create_image",
"title": "Head Swap",
"description": "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.\n\nMCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nSwap a head onto a body image. Each image costs 10 credits. Output resolution depends on your subscription; you may set `max_resolution` lower than your plan maximum if desired.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Head Swap - dateTime",
"example": "My Head Swap image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"body_file_path",
"head_file_path"
],
"properties": {
"body_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "Image that receives the swapped head. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"head_file_path": {
"type": "string",
"example": "api-assets/id/5678.png",
"minLength": 1,
"description": "Image of the head to place on the body. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the body and head images for head swap"
},
"max_resolution": {
"type": "integer",
"example": 1024,
"description": "Constrains the larger dimension (height or width) of the output. Omit to use the maximum allowed for your plan (capped at 2048px). Values above your plan maximum are clamped down to your plan's maximum."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Head Swap",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Remove background from image. Each image costs 5 credits.
The description explains the capability, when to use it, and what to expect.
Inputs50/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
assets › image_file_path
The image to remove the background. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
assets › background_image_file_path
The image used as the new background for the image_file_path. This image will be resized to match the image in image_file_path. Please make sure the resolution between the images are similar.
This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Explain what happens when this optional value is omitted.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "image_background_remover_create_image",
"title": "Image Background Remover",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nRemove background from image. Each image costs 5 credits.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Background Remover - dateTime",
"example": "My Background Remover image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "The image to remove the background. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
},
"background_image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"description": "The image used as the new background for the image_file_path. This image will be resized to match the image in image_file_path. Please make sure the resolution between the images are similar.\n\nThis value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for background removal"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 5,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Image Background Remover",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
MCP guidance:
- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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 can fail. Prefer the upload-URL endpoint when unsure.
Colorize image. Each image costs 10 credits.
The description explains the capability, when to use it, and what to expect.
Inputs38/100
Explain what happens when this optional value is omitted.
name
Give your image a custom name for easy identification.
Explain what happens when this optional value is omitted.
assets › image_file_path
The image used to generate the colorized image. This value is either
- a direct URL to the video file
- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).
See the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.
Resolve the mismatch between this description and its schema constraints.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "photo_colorizer_create_image",
"title": "Photo Colorizer",
"description": "MCP guidance:\n- Starts an async image job; returns `id` and `credits_charged`. For finished results, call `wait_for_image_project` with that id or poll `GET /v1/image-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.\n- 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 can fail. Prefer the upload-URL endpoint when unsure.\n\nColorize image. Each image costs 10 credits.",
"inputSchema": {
"type": "object",
"required": [
"assets"
],
"properties": {
"name": {
"type": "string",
"default": "Photo Colorizer - dateTime",
"example": "My Photo Colorizer image",
"description": "Give your image a custom name for easy identification."
},
"assets": {
"type": "object",
"required": [
"image_file_path"
],
"properties": {
"image_file_path": {
"type": "string",
"example": "api-assets/id/1234.png",
"minLength": 1,
"description": "The image used to generate the colorized image. This value is either\n- a direct URL to the video file\n- `file_path` field from the response of the [upload urls API](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls).\n\nSee the [file upload guide](https://docs.magichour.ai/api-reference/files/generate-asset-upload-urls#input-file) for details.\n"
}
},
"description": "Provide the assets for photo colorization"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the image. Use it with the [Get image Project API](https://docs.magichour.ai/api-reference/image-projects/get-image-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 10,
"description": "The amount of credits deducted from your account to generate the image. We charge credits right when the request is made. \n\nIf an error occurred while generating the image(s), credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Photo Colorizer",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
MCP guidance:
- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.
- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.
Check the progress of a audio project. The `downloads` field is populated after a successful render.
**Statuses**
- `queued` — waiting to start
- `rendering` — in progress
- `complete` — ready; see `downloads`
- `error` — a failure occurred (see `error`)
- `canceled` — user canceled
- `draft` — not used
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
id
Unique ID of the audio project. This value is returned by all of the POST APIs that create an audio.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"name",
"status",
"type",
"created_at",
"enabled",
"credits_charged",
"downloads",
"error"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio. Use it with the [Get audio Project API](https://docs.magichour.ai/api-reference/audio-projects/get-audio-details) to fetch status and downloads."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the audio."
},
"type": {
"type": "string",
"example": "VOICE_GENERATOR",
"description": "The type of the audio project. Possible values are AUDIO_TRANSLATOR, VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER, VIDEO_TO_AUDIO, MUSIC_GENERATOR, SOUND_EFFECT_GENERATOR"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the audio.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `audio.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `audio.completed`\n- `error` - the job failed during processing; fires `audio.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.wav"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the audio project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"credits_charged": {
"type": "integer",
"example": 2,
"description": "The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made. \n\nIf an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "audio_projects_retrieve_details",
"title": "Get audio details",
"description": "MCP guidance:\n- Use this after a create tool to poll job status. When status is `complete`, surface the `downloads` URLs to the user; if status is `error`, surface the error message.\n- Each `downloads[n].url` is already the full signed download URL. Use it exactly as returned. Do not shorten it, strip query parameters, or append `expires_at` onto the URL string.\n\nCheck the progress of a audio project. The `downloads` field is populated after a successful render.\n \n**Statuses**\n- `queued` — waiting to start\n- `rendering` — in progress\n- `complete` — ready; see `downloads`\n- `error` — a failure occurred (see `error`)\n- `canceled` — user canceled\n- `draft` — not used",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio project. This value is returned by all of the POST APIs that create an audio."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"name",
"status",
"type",
"created_at",
"enabled",
"credits_charged",
"downloads",
"error"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio. Use it with the [Get audio Project API](https://docs.magichour.ai/api-reference/audio-projects/get-audio-details) to fetch status and downloads."
},
"name": {
"type": [
"string",
"null"
],
"example": "Example Name",
"description": "The name of the audio."
},
"type": {
"type": "string",
"example": "VOICE_GENERATOR",
"description": "The type of the audio project. Possible values are AUDIO_TRANSLATOR, VOICE_GENERATOR, VOICE_CHANGER, VOICE_CLONER, VIDEO_TO_AUDIO, MUSIC_GENERATOR, SOUND_EFFECT_GENERATOR"
},
"error": {
"type": [
"object",
"null"
],
"required": [
"message",
"code"
],
"properties": {
"code": {
"type": "string",
"example": "no_source_face",
"description": "An error code to indicate why a failure happened."
},
"message": {
"type": "string",
"example": "Please use an image with a detectable face",
"description": "Details on the reason why a failure happened."
}
},
"description": "In the case of an error, this object will contain the error encountered during video render"
},
"status": {
"enum": [
"draft",
"queued",
"rendering",
"complete",
"error",
"canceled"
],
"type": "string",
"example": "complete",
"description": "The status of the audio.\n\n- `draft` - the project was created but has not been submitted for rendering\n- `queued` - the job is waiting for an available server\n- `rendering` - the job is being processed; the `audio.started` webhook event fires when rendering begins\n- `complete` - the job finished successfully; fires `audio.completed`\n- `error` - the job failed during processing; fires `audio.errored`\n- `canceled` - the job was manually canceled (for example from the Magic Hour web app)\n\n**Note:** `rendering`, `complete`, and `error` have matching webhook events; `canceled` does not - a canceled job emits no webhook event, so poll this endpoint to detect cancellation."
},
"enabled": {
"type": "boolean",
"description": "Whether this resource is active. If false, it is deleted."
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"expires_at"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://videos.magichour.ai/id/output.wav"
},
"expires_at": {
"type": "string",
"format": "date-time",
"example": "2024-10-19T05:16:19.027Z"
}
},
"description": "The download url and expiration date of the audio project"
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"credits_charged": {
"type": "integer",
"example": 2,
"description": "The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made. \n\nIf an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "Get audio details",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "audio_projects_delete",
"title": "Delete audio",
"description": "Permanently delete the rendered audio file(s). This action is not reversible, please be sure before deleting.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio project. This value is returned by all of the POST APIs that create an audio."
}
}
},
"annotations": {
"title": "Delete audio",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": true
}
}
Name the specific action and subject instead of using a generic label such as ‘manage’ or ‘tool’.
Description92/100
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 music from a description, with optional custom lyrics or instrumental-only output. Costs 1 credits per requested second. Returns a project ID; poll GET /v1/audio-projects/{id} for status and downloads.
The description explains the capability, when to use it, and what to expect.
Inputs85/100
Explain what happens when this optional value is omitted.
name
Give your audio a custom name for easy identification.
Explain what happens when this optional value is omitted.
duration
Requested track duration in seconds, from 15 to 300. Determines credits charged.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › prompt
Describe the song, including genre, mood, and instruments.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
style › instrumental
Generate music without vocals. When true, lyrics is ignored.
Clear enough to supply this argument.
style › lyrics
Custom lyrics. Omit or leave blank for AI-generated lyrics when instrumental is false.
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
Align the output schema with the tool’s documented result.
View output schema
{
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio. Use it with the [Get audio Project API](https://docs.magichour.ai/api-reference/audio-projects/get-audio-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 120,
"description": "The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made. \n\nIf an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
}
Original tool metadata
{
"name": "ai_music_generator_create_audio",
"title": "AI Music Generator",
"description": "MCP guidance:\n- 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.\n\nGenerate music from a description, with optional custom lyrics or instrumental-only output. Costs 1 credits per requested second. Returns a project ID; poll GET /v1/audio-projects/{id} for status and downloads.",
"inputSchema": {
"type": "object",
"required": [
"duration",
"style"
],
"properties": {
"name": {
"type": "string",
"default": "AI Music Generator",
"example": "My Music Generator audio",
"description": "Give your audio a custom name for easy identification."
},
"style": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"lyrics": {
"type": "string",
"example": "City lights are fading...",
"description": "Custom lyrics. Omit or leave blank for AI-generated lyrics when instrumental is false."
},
"prompt": {
"type": "string",
"example": "Dreamy synthwave with warm bass and soft vocals",
"minLength": 1,
"description": "Describe the song, including genre, mood, and instruments."
},
"instrumental": {
"type": "boolean",
"default": false,
"example": false,
"description": "Generate music without vocals. When true, lyrics is ignored."
}
},
"additionalProperties": false
},
"duration": {
"type": "integer",
"example": 120,
"maximum": 300,
"minimum": 15,
"description": "Requested track duration in seconds, from 15 to 300. Determines credits charged."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"id",
"credits_charged"
],
"properties": {
"id": {
"type": "string",
"example": "cuid-example",
"description": "Unique ID of the audio. Use it with the [Get audio Project API](https://docs.magichour.ai/api-reference/audio-projects/get-audio-details) to fetch status and downloads."
},
"credits_charged": {
"type": "integer",
"example": 120,
"description": "The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made. \n\nIf an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund."
}
},
"description": "Success"
},
"annotations": {
"title": "AI Music Generator",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}
Loading score analytics…
Put your MCP to the test
A few tasks worth trying with this server, chosen from its reviewed tools. These have not been run.
01Choose a media workflowRead Magic Hour workflow guidance for face swap, image editing, image-to-video, video generation, lip sync, UGC ads, talking photos or API integration.
02Get account detailsGet the current credit balance and subscription details of the account that owns the API key.
03List saved itemsReturns active saved items owned by the authenticated account, newest first.
04Get audio detailsMCP guidance:
05Get video detailsMCP guidance:
Want to run these tasks against your MCP server with us?
magic-hour setup, tools, quality score, publishing readiness, and alternatives.
How do I add magic-hour to Claude, ChatGPT, or Cursor?
Add magic-hour to Claude, ChatGPT, or Cursor by connecting its remote MCP URL in each client's MCP settings. In Claude, add a custom connector. In ChatGPT, add an MCP app. In Cursor, add an MCP server under Settings. The MCP URL is https://mcp.magichour.ai/.
Is magic-hour MCP ready for ChatGPT and Claude?
As of October 24, 2026, magic-hour scores 100/100 on Manufact's MCP publishing checklist. The scan meets ChatGPT publishing checks and meets Claude publishing checks. Passing these checks does not guarantee marketplace approval.
How clear is magic-hour's MCP tool documentation?
As of October 24, 2026, magic-hour scores 80/100 in Manufact's review of tool titles, descriptions, input and output schemas, and behavior annotations. The review covers 48 of 48 discovered tools. The quality score measures documentation clarity; runtime behavior and marketplace readiness require separate checks.
What are the best alternatives to magic-hour?
As of December 4, 2026, alternatives to magic-hour in design-creative on the Manufact MCP leaderboard include Rainbrand, Dayfaro, Vectorize: logo to SVG, Dayfaro, and MotionVid.
How can magic-hour improve its MCP documentation?
wait_for_video_project is the lowest-scoring reviewed tool at 59/100. 0 of 5 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values. Open its review for feedback and a copyable fix prompt, then rerun the documentation review after updating your tool metadata.
Not your MCP?
Review any public or OAuth MCP server for protocol compatibility, tool documentation, and ChatGPT and Claude publishing readiness. No account required.