Magic Hour
magic_hourMagic Hour is an AI media creation platform for generating and editing images, videos, and audio through a unified API.
Acciones disponibles (38)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create AI Clothes ChangeMAGIC_HOUR_CREATE_AI_CLOTHES_CHANGEAcciónStart a credit-consuming asynchronous clothes-change image job from person and garment images. Each image costs 25 credits. The operation is documented for Free accounts but requires sufficient credits. It returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_AI_CLOTHES_CHANGEAcciónStart a credit-consuming asynchronous clothes-change image job from person and garment images. Each image costs 25 credits. The operation is documented for Free accounts but requires sufficient credits. It returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the clothes-change image project.
assetsobjectObligatorioPerson and garment images, plus the optional clothing region to replace.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI Face EditMAGIC_HOUR_CREATE_AI_FACE_EDITAcciónStart a credit-consuming asynchronous edit of facial features in an image. This Free-tier operation returns an image project ID and credit charge immediately, not a completed image. Pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_FACE_EDITAcciónStart a credit-consuming asynchronous edit of facial features in an image. This Free-tier operation returns an image project ID and credit charge immediately, not a completed image. Pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the face-edit image project.
styleobjectObligatorioFace enhancement, gaze, expression, mouth-position, and pose controls.
assetsobjectObligatorioSource image containing the face to edit.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI GIFMAGIC_HOUR_CREATE_AI_GIFAcciónStart a credit-consuming asynchronous prompt-based animation in GIF, MP4, or WebM format. This operation costs 50 credits and returns an image project ID immediately, not completed media. Pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_AI_GIFAcciónStart a credit-consuming asynchronous prompt-based animation in GIF, MP4, or WebM format. This operation costs 50 credits and returns an image project ID immediately, not completed media. Pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom name used to identify the AI GIF project.
styleobjectObligatorioPrompt controls for the generated animation.
output_formatstringenumOutput file format for the generated animation.
gifmp4webm
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI HeadshotMAGIC_HOUR_CREATE_AI_HEADSHOTAcciónStart a credit-consuming asynchronous headshot generation from an image containing one detectable face. Each headshot costs 50 credits. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_AI_HEADSHOTAcciónStart a credit-consuming asynchronous headshot generation from an image containing one detectable face. Each headshot costs 50 credits. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom name used to identify the AI headshot image project.
styleobjectOptional prompt controls for the generated headshot style.
assetsobjectObligatorioSource image asset used to generate the headshot.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI ImageMAGIC_HOUR_CREATE_AI_IMAGEAcciónStart a credit-consuming asynchronous text-to-image job. The request returns a project ID and immediate credit charge, not completed images. Model, image-count, resolution, cost, and tier availability vary by option; only flux-2-klein, flux-schnell, and z-image-turbo are documented for Free. Pass the returned ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_IMAGEAcciónStart a credit-consuming asynchronous text-to-image job. The request returns a project ID and immediate credit charge, not completed images. Model, image-count, resolution, cost, and tier availability vary by option; only flux-2-klein, flux-schnell, and z-image-turbo are documented for Free. Pass the returned ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the image generation project.
modelstringenumGeneration model. Omit or use default for Magic Hour's current recommendation. Free-tier models are flux-2-klein, flux-schnell, and z-image-turbo, starting at 5 credits per image. gpt-image-2, nano-banana, nano-banana-2, nano-banana-2-lite, nano-banana-pro, seedream-v4, and seedream-v5-pro require Creator or higher and start at 40-150 credits per image. seedream is deprecated; use seedream-v4.
defaultnano-banana-2gpt-image-2z-image-turboflux-2-kleinnano-banana-2-liteseedream-v4seedream-v5-pronano-banananano-banana-proflux-schnellseedreamstyleobjectObligatorioPrompt and art-style controls for image generation.
resolutionstringenumMaximum output resolution on the longest edge. auto is deprecated and maps to a tier-dependent supported resolution. flux-2-klein, flux-schnell, and z-image-turbo support 640px, 1k, and 2k; gpt-image-2, nano-banana-2, and seedream-v4 also support 4k; nano-banana and nano-banana-2-lite support 640px and 1k; nano-banana-pro supports 1k, 2k, and 4k; seedream-v5-pro supports 640px, 1k, and 2k. Availability also depends on account tier.
auto640px1k2k4kimage_countintegerObligatorioNumber of images to generate, from 1 to 16. flux-2-klein supports only 1; flux-schnell, gpt-image-2, nano-banana, nano-banana-2-lite, seedream-v4, seedream-v5-pro, and z-image-turbo support 1-4; nano-banana-2 and nano-banana-pro support 1, 4, 9, or 16.
aspect_ratiostringenumOutput aspect ratio. When omitted, Magic Hour defaults to 1:1.
1:116:99:16
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI Image EditMAGIC_HOUR_CREATE_AI_IMAGE_EDITAcciónStart a credit-consuming asynchronous prompt-based edit of one or more images. Model, resolution, input-image limits, cost, and tier availability vary by option. Credits are charged when the request is made. Pass the returned project ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_IMAGE_EDITAcciónStart a credit-consuming asynchronous prompt-based edit of one or more images. Model, resolution, input-image limits, cost, and tier availability vary by option. Credits are charged when the request is made. Pass the returned project ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringCustom name for identifying the image edit project.
modelstringenumImage-editing model. default uses Magic Hour's current recommendation. Free-tier models are flux-2-klein and qwen-edit; other listed models require a paid tier. Costs range from 5 credits per image for flux-2-klein to 150 credits per image for nano-banana-pro, and each model has its own resolution and input-image limits.
defaultnano-banana-2gpt-image-2flux-2-kleinnano-banana-2-liteqwen-editseedream-v4seedream-v4.5seedream-v5-pronano-banananano-banana-prostyleobjectObligatorioPrompt controls for the image edit.
assetsobjectObligatorioInput images for the edit.
resolutionstringenumMaximum output resolution. flux-2-klein, qwen-edit, and seedream-v5-pro support 640px/1k/2k; nano-banana and nano-banana-2-lite support 640px/1k; nano-banana-pro supports 1k/2k/4k; gpt-image-2, nano-banana-2, seedream-v4, and seedream-v4.5 support 640px/1k/2k/4k. auto is deprecated but retained for a tier-dependent provider default.
auto640px1k2k4kimage_countintegerenumNumber of edited images to generate. Allowed values are 1, 4, 9, and 16; the maximum supported value and credit cost depend on the model.
14916aspect_ratiostringenumOutput image aspect ratio. Magic Hour defaults to auto when omitted; supported values are auto, 16:9, 9:16, 4:3, 3:2, 1:1, 4:5, and 2:3.
auto16:99:164:33:21:14:52:3
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI MemeMAGIC_HOUR_CREATE_AI_MEMEAcciónStart a credit-consuming asynchronous meme generation from a topic and a documented Magic Hour template. Each meme costs 10 credits. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_MEMEAcciónStart a credit-consuming asynchronous meme generation from a topic and a documented Magic Hour template. Each meme costs 10 credits. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringOptional name used to identify the meme image project.
styleobjectObligatorioMeme topic, documented template, and optional web-search setting.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI QR CodeMAGIC_HOUR_CREATE_AI_QR_CODEAcciónStart an asynchronous artistic QR-code generation for supplied content. Magic Hour documents each AI QR code as costing 0 credits. The operation returns an image project ID and credits charged immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_AI_QR_CODEAcciónStart an asynchronous artistic QR-code generation for supplied content. Magic Hour documents each AI QR code as costing 0 credits. The operation returns an image project ID and credits charged immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the AI QR-code image project.
styleobjectObligatorioTemplate or custom art style applied to the QR code.
contentstringObligatorioContent encoded by the QR code.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI Video EditMAGIC_HOUR_CREATE_AI_VIDEO_EDITAcciónStart a credit-consuming asynchronous prompt-based edit of an input video. Free accounts default to the ltx-2.3 model and 480p; other model and resolution options depend on the connected account's plan. The returned credit charge is initially an estimate. Pass the returned project ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_AI_VIDEO_EDITAcciónStart a credit-consuming asynchronous prompt-based edit of an input video. Free accounts default to the ltx-2.3 model and 480p; other model and resolution options depend on the connected account's plan. The returned credit charge is initially an estimate. Pass the returned project ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom name for identifying the video edit project.
modelstringenumEditing model. Magic Hour documents ltx-2.3 as the Free-tier default and gemini-omni-1.1 as the paid-tier default. gemini-omni is deprecated; use gemini-omni-1.1 instead. Model availability depends on the connected account's plan.
gemini-omni-1.1gemini-omniltx-2.3styleobjectObligatorioPrompt controls for the video edit.
assetsobjectObligatorioInput video asset for the edit.
resolutionstringenumOutput resolution. Magic Hour documents 480p as the Free-tier default and 720p as the paid-tier default. Gemini Omni 1.1 and deprecated Gemini Omni support 720p and 1080p; LTX-2.3 supports 480p, 720p, and 1080p. Availability depends on the connected account's plan.
480p720p1080pend_secondsnumberObligatorioEnd time of the input clip in seconds; must be greater than start_seconds. Gemini Omni 1.1 supports 3-10 seconds, while LTX-2.3 supports 0.5-45 seconds.
start_secondsnumberStart time of the input clip in seconds; must be at least 0.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI VoiceMAGIC_HOUR_CREATE_AI_VOICEAcciónStart credit-consuming asynchronous speech generation from text using a documented preset voice. Each character costs 0.1 credits, rounded up to a whole credit. This returns an audio project ID and immediate credit charge, not completed audio; pass the ID to MAGIC_HOUR_GET_AUDIO_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_VOICEAcciónStart credit-consuming asynchronous speech generation from text using a documented preset voice. Each character costs 0.1 credits, rounded up to a whole credit. This returns an audio project ID and immediate credit charge, not completed audio; pass the ID to MAGIC_HOUR_GET_AUDIO_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the generated audio project.
styleobjectObligatorioText content and documented preset voice used to generate speech.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create AI Voice CloneMAGIC_HOUR_CREATE_AI_VOICE_CLONEAcciónStart credit-consuming asynchronous speech generation by cloning an input voice recording. Each prompt character costs 0.1 credits, rounded up to a whole credit, and sufficient credits are required. This returns an audio project ID and immediate credit charge, not completed audio; pass the ID to MAGIC_HOUR_GET_AUDIO_PROJECT and poll until status is complete or error.
MAGIC_HOUR_CREATE_AI_VOICE_CLONEAcciónStart credit-consuming asynchronous speech generation by cloning an input voice recording. Each prompt character costs 0.1 credits, rounded up to a whole credit, and sufficient credits are required. This returns an audio project ID and immediate credit charge, not completed audio; pass the ID to MAGIC_HOUR_GET_AUDIO_PROJECT and poll until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the generated audio project.
styleobjectObligatorioText content to generate using the cloned voice.
assetsobjectObligatorioAudio recording used as the source voice for cloning.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Animation VideoMAGIC_HOUR_CREATE_ANIMATION_VIDEOAcciónStart one credit-consuming asynchronous animation render with explicit dimensions, frame rate, duration, style, and assets. The request returns immediately with a video project ID and estimated credits charged; pass the ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until complete, error, or canceled.
MAGIC_HOUR_CREATE_ANIMATION_VIDEOAcciónStart one credit-consuming asynchronous animation render with explicit dimensions, frame rate, duration, style, and assets. The request returns immediately with a video project ID and estimated credits charged; pass the ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until complete, error, or canceled.
Parámetros de entrada
fpsnumberObligatorioDesired output frame rate. Together with end_seconds, this determines the estimated frame-based credit cost.
namestringOptional custom video name for identification. Magic Hour generates an Animation timestamp name when omitted.
styleobjectObligatorioStyle and motion controls for the animation.
widthintegerObligatorioOutput width in pixels, at least 64. The maximum depends on the connected account's subscription.
assetsobjectObligatorioAudio and optional first-frame assets.
heightintegerObligatorioOutput height in pixels, at least 64. The maximum depends on the connected account's subscription.
end_secondsnumberObligatorioOutput video duration in seconds. Together with fps, this determines the estimated frame-based credit cost.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Audio-to-VideoMAGIC_HOUR_CREATE_AUDIO_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from audio and optional visual style controls. Free accounts can use the documented 480p default; higher resolutions depend on the connected account's plan. Returns a video project ID immediately; poll MAGIC_HOUR_GET_VIDEO_PROJECT until the project is complete, error, or canceled. Requires sufficient credits, and the initial credits_charged value is an estimate until rendering finishes.
MAGIC_HOUR_CREATE_AUDIO_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from audio and optional visual style controls. Free accounts can use the documented 480p default; higher resolutions depend on the connected account's plan. Returns a video project ID immediately; poll MAGIC_HOUR_GET_VIDEO_PROJECT until the project is complete, error, or canceled. Requires sufficient credits, and the initial credits_charged value is an estimate until rendering finishes.
Parámetros de entrada
namestringCustom name used to identify the video project.
styleobjectOptional controls for the visual style of the output video.
assetsobjectObligatorioAudio input and optional initial-frame reference image.
resolutionstringenumOutput video resolution. The provider defaults to 720p on paid tiers and 480p on free tiers.
480p720p1080pend_secondsnumberObligatorioEnd time of the audio clip in seconds. Must be greater than start_seconds.
start_secondsnumberStart time of the audio clip in seconds. Must be at least 0.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Background RemovalMAGIC_HOUR_CREATE_BACKGROUND_REMOVALAcciónStart a credit-consuming asynchronous image job that removes a background or replaces it with an optional supplied image. Each image costs 5 credits. The operation is documented for Free accounts but requires sufficient credits. It returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_BACKGROUND_REMOVALAcciónStart a credit-consuming asynchronous image job that removes a background or replaces it with an optional supplied image. Each image costs 5 credits. The operation is documented for Free accounts but requires sufficient credits. It returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the background-removal image project.
assetsobjectObligatorioSource image and optional replacement background image.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Body SwapMAGIC_HOUR_CREATE_BODY_SWAPAcciónStart a credit-consuming asynchronous body-swap image job that places a person into a scene at the selected resolution. Resolution determines the model and credit cost. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error. Credits are charged when this request is made and refunded if generation fails.
MAGIC_HOUR_CREATE_BODY_SWAPAcciónStart a credit-consuming asynchronous body-swap image job that places a person into a scene at the selected resolution. Resolution determines the model and credit cost. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error. Credits are charged when this request is made and refunded if generation fails.
Parámetros de entrada
namestringCustom name used to identify the body-swap image project.
assetsobjectObligatorioPerson image and scene image used for the body swap.
resolutionstringObligatorioenumOutput resolution. The selected resolution determines the model and credits charged; 640px starts at 50 credits.
640px1k2k4k
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Character Animation VideoMAGIC_HOUR_CREATE_CHARACTER_ANIMATION_VIDEOAcciónAnimate a reference character with motion transferred from a source video in a credit-consuming asynchronous job. The documented 480p default is available on Free; 720p depends on the connected account's plan. This returns a project ID and estimated credit charge, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_CHARACTER_ANIMATION_VIDEOAcciónAnimate a reference character with motion transferred from a source video in a credit-consuming asynchronous job. The documented 480p default is available on Free; 720p depends on the connected account's plan. This returns a project ID and estimated credit charge, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom video name for easy identification.
styleobjectOptional controls for selecting the source-video subject.
assetsobjectObligatorioSource video and reference character image for the generation job.
resolutionstringenumOutput video resolution. The provider defaults to 480p, the lowest resolution available on the connected account's plan; 720p may require a higher plan.
480p720pend_secondsnumberObligatorioEnd time of the source clip in seconds. It must be greater than start_seconds.
start_secondsnumberStart time of the source clip in seconds; it must be at least 0.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Character Replacement VideoMAGIC_HOUR_CREATE_CHARACTER_REPLACEMENT_VIDEOAcciónReplace a source-video subject with a reference character in a credit-consuming asynchronous video job. The documented 480p default is available on Free; 720p depends on the connected account's plan. This returns a project ID and estimated credit charge, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_CHARACTER_REPLACEMENT_VIDEOAcciónReplace a source-video subject with a reference character in a credit-consuming asynchronous video job. The documented 480p default is available on Free; 720p depends on the connected account's plan. This returns a project ID and estimated credit charge, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom video name for easy identification.
styleobjectOptional controls for selecting the source-video subject.
assetsobjectObligatorioSource video and reference character image for the generation job.
resolutionstringenumOutput video resolution. The provider defaults to 480p, the lowest resolution available on the connected account's plan; 720p may require a higher plan.
480p720pend_secondsnumberObligatorioEnd time of the source clip in seconds. It must be greater than start_seconds.
start_secondsnumberStart time of the source clip in seconds; it must be at least 0.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Face Swap PhotoMAGIC_HOUR_CREATE_FACE_SWAP_PHOTOAcciónStart a credit-consuming asynchronous photo face swap using one source face for all detected faces or up to five individual face mappings. Each photo costs 10 credits. The operation returns an image project ID and credit charge immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_FACE_SWAP_PHOTOAcciónStart a credit-consuming asynchronous photo face swap using one source face for all detected faces or up to five individual face mappings. Each photo costs 10 credits. The operation returns an image project ID and credit charge immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the face-swap image project.
assetsobjectObligatorioSource face or mappings and the target image for the photo face swap.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Face Swap VideoMAGIC_HOUR_CREATE_FACE_SWAP_VIDEOAcciónStart a credit-consuming asynchronous video face-swap job using one image for all detected faces or up to five individual face mappings. The operation is documented for Free accounts but requires sufficient credits. It returns a project ID and estimated charge immediately, not a completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_FACE_SWAP_VIDEOAcciónStart a credit-consuming asynchronous video face-swap job using one image for all detected faces or up to five individual face mappings. The operation is documented for Free accounts but requires sufficient credits. It returns a project ID and estimated charge immediately, not a completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom video project name for identification.
styleobjectOptional face-swap model version settings.
assetsobjectObligatorioNested source video and replacement face configuration. Select both a video source and an all-face or individual-face mapping mode.
end_secondsnumberObligatorioEnd time of the source video clip in seconds; must exceed start_seconds.
start_secondsnumberObligatorioStart time of the source video clip in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Head SwapMAGIC_HOUR_CREATE_HEAD_SWAPAcciónStart a credit-consuming asynchronous head-swap image job from body and head images. Each image costs 10 credits. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error. Credits are charged when this request is made and refunded if generation fails.
MAGIC_HOUR_CREATE_HEAD_SWAPAcciónStart a credit-consuming asynchronous head-swap image job from body and head images. Each image costs 10 credits. This returns an image project ID immediately, not a completed image; pass the ID to MAGIC_HOUR_GET_IMAGE_PROJECT and poll until status is complete or error. Credits are charged when this request is made and refunded if generation fails.
Parámetros de entrada
namestringCustom name used to identify the head-swap image project.
assetsobjectObligatorioBody and head images used for the head swap.
max_resolutionintegerMaximum larger output dimension in pixels. Omit to use the plan maximum, capped at 2048 pixels; higher values are clamped to the connected account's plan maximum.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Image-to-VideoMAGIC_HOUR_CREATE_IMAGE_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from a still image and optional final frame, prompt, audio, model, and resolution controls. Free accounts default to ltx-2.5 at 480p; other model and resolution options depend on the connected account's plan. Returns a project ID and estimated credit charge immediately; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_IMAGE_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from a still image and optional final frame, prompt, audio, model, and resolution controls. Free accounts default to ltx-2.5 at 480p; other model and resolution options depend on the connected account's plan. Returns a project ID and estimated credit charge immediately; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom video name for easy identification.
audiobooleanWhether to include generated audio. Magic Hour defaults to false when omitted. Model support and additional credit cost vary; gemini-omni-1.1, kling-2.6, and wan-2.2 do not support audio.
modelstringenumAI generation model. default selects Magic Hour's recommended model for the account tier (ltx-2.5 on Free and kling-3.0 on paid tiers). Values ltx-2, kling-2.5, kling-1.6, seedance, kling-2.5-audio, and veo3.1-audio are retained documented values; audio-suffixed models behave like enabling audio.
defaultltx-2ltx-2.3ltx-2.5minimax-h3wan-2.2seedance-1.5seedance-2.0seedance-2.0-miniseedance-2.5kling-2.5kling-2.6+9styleobjectOptional prompt controls for the generated video.
assetsobjectObligatorioStarting image and optional final-frame image for image-to-video generation.
resolutionstringenumOutput resolution. Magic Hour defaults to 720p on paid tiers and 480p on Free. gemini-omni-1.1 supports 360p/720p/1080p/4k; kling-2.6 supports 720p/1080p; kling-3.0 supports 720p/1080p/4k; ltx-2.3, ltx-2.5, minimax-h3, seedance-1.5, and wan-2.2 support 480p/720p/1080p; seedance-2.0 variants and seedance-2.5 support 480p/720p; sora-2 supports 720p; veo3.1 variants support 720p/1080p.
360p480p720p1080p4kend_secondsnumberObligatorioOutput duration in seconds. gemini-omni-1.1: integers 3-10; kling-2.6: 5 or 10; kling-3.0: integers 3-15; ltx-2.3 and minimax-h3: integers 1-10 plus 15, 20, 25, or 30; ltx-2.5: integers 1-10 then multiples of 5 through 60; seedance-1.5: integers 4-12; seedance-2.0 and seedance-2.0-mini: integers 4-15; seedance-2.5: integers 4-30; sora-2: 4, 8, 12, 24, 36, 48, or 60; veo3.1 variants: 4, 6, 8, 16, 24, 32, 40, 48, or 56; wan-2.2: integers 3-10 or 15.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Image UpscaleMAGIC_HOUR_CREATE_IMAGE_UPSCALEAcciónStart a credit-consuming asynchronous 2x or 4x image upscale. A 4x upscale requires a Creator, Pro, or Business tier, while mode affects the credit charge. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_IMAGE_UPSCALEAcciónStart a credit-consuming asynchronous 2x or 4x image upscale. A 4x upscale requires a Creator, Pro, or Business tier, while mode affects the credit charge. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name for identifying the image upscale project.
styleobjectOptional mode and prompt settings controlling the upscale.
assetsobjectObligatorioSource image asset to upscale.
scale_factorintegerObligatorioenumImage scale multiplier: 2 or 4. A 4x upscale requires a Creator, Pro, or Business tier.
24
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Lip Sync VideoMAGIC_HOUR_CREATE_LIP_SYNC_VIDEOAcciónStart a credit-consuming asynchronous lip-sync video job from audio and a file or YouTube video. This returns a project ID immediately, not the completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until complete, error, or canceled. The returned credit charge is an estimate, may be adjusted after rendering based on actual output FPS, and is refunded if generation fails.
MAGIC_HOUR_CREATE_LIP_SYNC_VIDEOAcciónStart a credit-consuming asynchronous lip-sync video job from audio and a file or YouTube video. This returns a project ID immediately, not the completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until complete, error, or canceled. The returned credit charge is an estimate, may be adjusted after rendering based on actual output FPS, and is refunded if generation fails.
Parámetros de entrada
namestringCustom name used to identify the lip-sync video project.
styleobjectOptional generation mode controlling quality, tier availability, and cost.
assetsobjectObligatorioAudio input and file or YouTube video input for lip synchronization.
end_secondsnumberObligatorioEnd time of the input video clip in seconds; must exceed start_seconds.
max_fps_limitnumberMaximum output frames per second. If the input FPS is lower, Magic Hour retains it; reducing this limit can avoid unnecessary frame usage.
start_secondsnumberObligatorioStart time of the input video clip in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Photo ColorizationMAGIC_HOUR_CREATE_PHOTO_COLORIZATIONAcciónStart a credit-consuming asynchronous colorization of a photo. Each image costs 10 credits. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
MAGIC_HOUR_CREATE_PHOTO_COLORIZATIONAcciónStart a credit-consuming asynchronous colorization of a photo. Each image costs 10 credits. This returns an image project ID immediately, not a completed image; poll MAGIC_HOUR_GET_IMAGE_PROJECT until status is complete or error.
Parámetros de entrada
namestringCustom name used to identify the photo colorization image project.
assetsobjectObligatorioSource image asset to colorize.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Subtitled VideoMAGIC_HOUR_CREATE_SUBTITLED_VIDEOAcciónStart a credit-consuming asynchronous job that transcribes speech and burns styled subtitles into an MP4 video. This returns a project ID immediately, not the completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until complete, error, or canceled. The initial credit charge is an estimate, can be adjusted after rendering, and is refunded if generation fails.
MAGIC_HOUR_CREATE_SUBTITLED_VIDEOAcciónStart a credit-consuming asynchronous job that transcribes speech and burns styled subtitles into an MP4 video. This returns a project ID immediately, not the completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until complete, error, or canceled. The initial credit charge is an estimate, can be adjusted after rendering, and is refunded if generation fails.
Parámetros de entrada
namestringOptional project name for identification. When omitted, Magic Hour generates an Auto Subtitle name with the creation date and time.
styleobjectObligatorioSubtitle styling. Provide a preset template, custom_config, or both; custom fields override the selected template.
assetsobjectObligatorioSource video asset whose speech will be transcribed into subtitles.
end_secondsnumberObligatorioEnd time of the source video clip in seconds; must exceed start_seconds.
start_secondsnumberObligatorioInclusive start time of the source video clip in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Talking PhotoMAGIC_HOUR_CREATE_TALKING_PHOTOAcciónStart a credit-consuming asynchronous talking-photo video from an image and audio. This operation is documented for Free accounts, but requires enough credits and available models and resolutions depend on the connected account's tier. It returns immediately with a video project ID; pass that ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until complete, error, or canceled.
MAGIC_HOUR_CREATE_TALKING_PHOTOAcciónStart a credit-consuming asynchronous talking-photo video from an image and audio. This operation is documented for Free accounts, but requires enough credits and available models and resolutions depend on the connected account's tier. It returns immediately with a video project ID; pass that ID to MAGIC_HOUR_GET_VIDEO_PROJECT and poll until complete, error, or canceled.
Parámetros de entrada
namestringCustom name used to identify the talking-photo project.
styleobjectOptional attributes controlling the motion style of the output video.
assetsobjectObligatorioImage and audio assets used to create the talking photo.
end_secondsnumberObligatorioEnd time of the input audio in seconds. Maximum clip length is 300 seconds for realistic mode and 45 seconds for prompted mode.
start_secondsnumberObligatorioStart time of the input audio in seconds. Maximum clip length is 300 seconds for realistic mode and 45 seconds for prompted mode.
max_resolutionintegerMaximum larger dimension, in pixels, for the output video. Magic Hour caps this value at the connected account plan's maximum resolution.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Text-to-VideoMAGIC_HOUR_CREATE_TEXT_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from a text prompt and model/output options. Free accounts default to ltx-2.5 at 480p; model, duration, aspect ratio, resolution, and audio availability vary by plan. This returns a project ID and estimated credit charge, not a completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_TEXT_TO_VIDEOAcciónStart a credit-consuming asynchronous video generation job from a text prompt and model/output options. Free accounts default to ltx-2.5 at 480p; model, duration, aspect ratio, resolution, and audio availability vary by plan. This returns a project ID and estimated credit charge, not a completed video; poll MAGIC_HOUR_GET_VIDEO_PROJECT until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom name used to identify the text-to-video project.
audiobooleanWhether to generate audio; omitted means false. gemini-omni-1.1, kling-2.6, and wan-2.2 do not support audio. Audio-suffixed legacy models imply true; support and additional cost vary for other models.
modelstringenumGeneration model. default selects Magic Hour's recommended model for the account tier (ltx-2.5 on Free and kling-3.0 on paid tiers). Values ltx-2, kling-2.5, kling-1.6, seedance, kling-2.5-audio, and veo3.1-audio remain accepted for compatibility; audio-suffixed models imply audio=true.
defaultltx-2ltx-2.3ltx-2.5minimax-h3wan-2.2seedance-1.5seedance-2.0seedance-2.0-miniseedance-2.5kling-2.5kling-2.6+9styleobjectObligatorioPrompt controls for the generated video.
resolutionstringenumOutput resolution. gemini-omni-1.1 supports 360p/720p/1080p/4k; kling-2.6 supports 720p/1080p; kling-3.0 supports 720p/1080p/4k; ltx-2.3, ltx-2.5, minimax-h3, seedance-1.5, and wan-2.2 support 480p/720p/1080p; seedance-2.0 variants and seedance-2.5 support 480p/720p; sora-2 supports 720p; veo3.1 variants support 720p/1080p.
360p480p720p1080p4kend_secondsnumberObligatorioOutput duration in seconds. gemini-omni-1.1: integers 3-10; kling-2.6: 5 or 10; kling-3.0: integers 3-15; ltx-2.3 and minimax-h3: integers 1-10 plus 15, 20, 25, or 30; ltx-2.5: integers 1-10 then multiples of 5 through 60; seedance-1.5: integers 4-12; seedance-2.0 variants: integers 4-15; seedance-2.5: integers 4-30; sora-2: 4, 8, 12, 24, 36, 48, or 60; veo3.1 variants: 4, 6, 8, 16, 24, 32, 40, 48, or 56; wan-2.2: integers 3-10 or 15.
aspect_ratiostringenumOutput aspect ratio. gemini-omni-1.1, sora-2, veo3.1, and veo3.1-lite support 16:9 or 9:16; other current models also support 1:1.
16:99:161:1
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Video-to-VideoMAGIC_HOUR_CREATE_VIDEO_TO_VIDEOAcciónStart a credit-consuming asynchronous stylized transformation of an input video. Free accounts can use the documented lower-resolution configuration; higher output quality depends on the connected account's plan. Returns a project ID and estimated credit charge immediately, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
MAGIC_HOUR_CREATE_VIDEO_TO_VIDEOAcciónStart a credit-consuming asynchronous stylized transformation of an input video. Free accounts can use the documented lower-resolution configuration; higher output quality depends on the connected account's plan. Returns a project ID and estimated credit charge immediately, not a completed video. Poll MAGIC_HOUR_GET_VIDEO_PROJECT with the returned ID until status is complete, error, or canceled.
Parámetros de entrada
namestringCustom name used to identify the video-to-video project.
styleobjectObligatorioArt style, style-engine version, prompt behavior, and model controls.
assetsobjectObligatorioInput video source and location.
end_secondsnumberObligatorioEnd time of the input clip in seconds; must exceed start_seconds.
start_secondsnumberObligatorioStart time of the input clip in seconds; must be at least 0.
fps_resolutionstringenumOutput frame-rate mode. FULL preserves the input FPS; HALF generates at half the input FPS and generally consumes fewer credits.
FULLHALF
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Audio ProjectMAGIC_HOUR_DELETE_AUDIO_PROJECTAcciónPermanently delete one rendered Magic Hour audio project by ID. This destructive operation is irreversible and is not a way to cancel a queued or rendering audio project. Success requires exactly HTTP 204 with an empty body.
MAGIC_HOUR_DELETE_AUDIO_PROJECTAcciónPermanently delete one rendered Magic Hour audio project by ID. This destructive operation is irreversible and is not a way to cancel a queued or rendering audio project. Success requires exactly HTTP 204 with an empty body.
Parámetros de entrada
idstringObligatorioAudio project ID to permanently delete. This irreversible operation does not cancel a queued or rendering audio project.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Image ProjectMAGIC_HOUR_DELETE_IMAGE_PROJECTAcciónPermanently delete one Magic Hour image project and its rendered images by ID. This destructive operation is irreversible and is not a way to cancel a render. Success requires exactly HTTP 204 with an empty body.
MAGIC_HOUR_DELETE_IMAGE_PROJECTAcciónPermanently delete one Magic Hour image project and its rendered images by ID. This destructive operation is irreversible and is not a way to cancel a render. Success requires exactly HTTP 204 with an empty body.
Parámetros de entrada
idstringObligatorioImage project ID to permanently delete. This operation irreversibly deletes the rendered images and cannot be used to cancel a render.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Video ProjectMAGIC_HOUR_DELETE_VIDEO_PROJECTAcciónPermanently delete one rendered Magic Hour video project by ID. This destructive operation is irreversible and is not a way to cancel a queued or rendering video. Success requires exactly HTTP 204 with an empty body.
MAGIC_HOUR_DELETE_VIDEO_PROJECTAcciónPermanently delete one rendered Magic Hour video project by ID. This destructive operation is irreversible and is not a way to cancel a queued or rendering video. Success requires exactly HTTP 204 with an empty body.
Parámetros de entrada
idstringObligatorioVideo project ID to permanently delete. This irreversible operation does not cancel a queued or rendering video.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Detect FacesMAGIC_HOUR_DETECT_FACESAcciónStart asynchronous face detection for an image or video and return a task ID. Pass the returned ID to MAGIC_HOUR_GET_FACE_DETECTION and poll until status is complete or error. Face detection is currently documented as free, though pricing may change.
MAGIC_HOUR_DETECT_FACESAcciónStart asynchronous face detection for an image or video and return a task ID. Pass the returned ID to MAGIC_HOUR_GET_FACE_DETECTION and poll until status is complete or error. Face detection is currently documented as free, though pricing may change.
Parámetros de entrada
assetsobjectObligatorioTarget image or video asset to inspect for faces.
confidence_scorenumberConfidence threshold for filtering detected faces, from 0 to 1 in increments of 0.05. Higher values reduce false positives; lower values include more possible faces.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Asset Upload URLsMAGIC_HOUR_GENERATE_ASSET_UPLOAD_URLSAcciónGenerate ordered, expiring signed upload URLs and Magic Hour file paths for image, video, or audio assets. This allocates upload URLs but does not upload file bytes. Treat each signed URL query string as sensitive: do not log or persist it.
MAGIC_HOUR_GENERATE_ASSET_UPLOAD_URLSAcciónGenerate ordered, expiring signed upload URLs and Magic Hour file paths for image, video, or audio assets. This allocates upload URLs but does not upload file bytes. Treat each signed URL query string as sensitive: do not log or persist it.
Parámetros de entrada
itemsobject[]ObligatorioAssets to prepare in request order. Each item requires a documented asset type and compatible extension; response items use the same order.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountMAGIC_HOUR_GET_ACCOUNTAcciónReturn the connected Magic Hour account's tier, available credits, identity, and subscription details; use this before generation to check entitlement and balance.
MAGIC_HOUR_GET_ACCOUNTAcciónReturn the connected Magic Hour account's tier, available credits, identity, and subscription details; use this before generation to check entitlement and balance.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Audio ProjectMAGIC_HOUR_GET_AUDIO_PROJECTAcciónGet an audio project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire at their expires_at timestamps; call this tool again afterward to obtain refreshed URLs.
MAGIC_HOUR_GET_AUDIO_PROJECTAcciónGet an audio project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire at their expires_at timestamps; call this tool again afterward to obtain refreshed URLs.
Parámetros de entrada
idstringObligatorioAudio project ID returned by a Magic Hour audio creation tool.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Face DetectionMAGIC_HOUR_GET_FACE_DETECTIONAcciónGet face-detection status and detected face paths by task ID. Poll only IDs returned by MAGIC_HOUR_DETECT_FACES and stop on complete or error: live probing showed that arbitrary and malformed IDs can return 200 queued indefinitely, so a successful response does not prove the task exists.
MAGIC_HOUR_GET_FACE_DETECTIONAcciónGet face-detection status and detected face paths by task ID. Poll only IDs returned by MAGIC_HOUR_DETECT_FACES and stop on complete or error: live probing showed that arbitrary and malformed IDs can return 200 queued indefinitely, so a successful response does not prove the task exists.
Parámetros de entrada
idstringObligatorioFace-detection task ID returned by MAGIC_HOUR_DETECT_FACES. Do not use an arbitrary ID: unknown and malformed IDs can return 200 queued indefinitely.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Image ProjectMAGIC_HOUR_GET_IMAGE_PROJECTAcciónGet an image project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire at their expires_at timestamps; call this tool again afterward to obtain refreshed URLs.
MAGIC_HOUR_GET_IMAGE_PROJECTAcciónGet an image project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire at their expires_at timestamps; call this tool again afterward to obtain refreshed URLs.
Parámetros de entrada
idstringObligatorioImage project ID returned by a Magic Hour image creation tool.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Video ProjectMAGIC_HOUR_GET_VIDEO_PROJECTAcciónGet a video project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire after 24 hours; call this tool again to refresh expired URLs.
MAGIC_HOUR_GET_VIDEO_PROJECTAcciónGet a video project's asynchronous status, error, credit charge, and temporary downloads. Poll until complete, error, or canceled. Download URLs expire after 24 hours; call this tool again to refresh expired URLs.
Parámetros de entrada
idstringObligatorioVideo project ID returned by a Magic Hour video creation tool.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not