magichour.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Account
get
account.get
Get the account’s credit balance and subscription details
Risk: read
subscription full type
subscription full type
Audio
voiceCloner
audio.voiceCloner
Clone a voice from an audio sample and generate speech
Risk: write
assets full type
assets full type
style full type
style full type
voiceGenerator
audio.voiceGenerator
Generate speech audio from text using a preset voice
Risk: write
style full type
style full type
Audio Projects
delete
audioProjects.delete
Permanently delete rendered audio file(s) [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
void
getDetails
audioProjects.getDetails
Check the progress, status, and downloads of an audio project
Risk: read
downloads full type
downloads full type
error full type
error full type
Face Detection
detect
faceDetection.detect
Detect faces in an image or video
Risk: write
assets full type
assets full type
getDetails
faceDetection.getDetails
Get the details and detected faces of a face detection task
Risk: read
faces full type
faces full type
Files
generateUploadUrls
files.generateUploadUrls
Generate pre-signed URLs for uploading video, audio, or image assets
Risk: write
items full type
items full type
items full type
items full type
savedItemsList
files.savedItemsList
List saved items (characters, references, voices, moodboards, brand kits)
Risk: read
items full type
items full type
Image Projects
delete
imageProjects.delete
Permanently delete rendered image(s) [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
void
getDetails
imageProjects.getDetails
Check the progress, status, and downloads of an image project
Risk: read
downloads full type
downloads full type
error full type
error full type
Images
backgroundRemover
images.backgroundRemover
Remove or replace an image background
Risk: write
assets full type
assets full type
bodySwap
images.bodySwap
Place a person into a scene image
Risk: write
assets full type
assets full type
clothesChanger
images.clothesChanger
Change outfits in a photo using a garment reference
Risk: write
assets full type
assets full type
faceEditor
images.faceEditor
Edit facial features of an image
Risk: write
assets full type
assets full type
style full type
style full type
faceSwapPhoto
images.faceSwapPhoto
Swap faces in a photo
Risk: write
assets full type
assets full type
gifGenerator
images.gifGenerator
Generate an animated GIF from a prompt
Risk: write
style full type
style full type
headshotGenerator
images.headshotGenerator
Generate a professional headshot from a photo
Risk: write
style full type
style full type
assets full type
assets full type
headSwap
images.headSwap
Swap a head onto a body image
Risk: write
assets full type
assets full type
imageEditor
images.imageEditor
Edit an image with a prompt-driven AI model
Risk: write
style full type
style full type
assets full type
assets full type
imageGenerator
images.imageGenerator
Generate images from a text prompt
Risk: write
style full type
style full type
imageUpscaler
images.imageUpscaler
Upscale an image 2x or 4x with AI
Risk: write
style full type
style full type
assets full type
assets full type
memeGenerator
images.memeGenerator
Generate a meme from a topic and template
Risk: write
style full type
style full type
photoColorizer
images.photoColorizer
Colorize a black-and-white photo
Risk: write
assets full type
assets full type
qrCodeGenerator
images.qrCodeGenerator
Generate an artistic QR code
Risk: write
style full type
style full type
Video Projects
delete
videoProjects.delete
Permanently delete a rendered video [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
void
getDetails
videoProjects.getDetails
Check the progress, status, and downloads of a video project
Risk: read
error full type
error full type
downloads full type
downloads full type
Videos
animation
videos.animation
Create a stylized animation video from an image and audio
Risk: write
style full type
style full type
assets full type
assets full type
audioToVideo
videos.audioToVideo
Create a video from an audio track
Risk: write
assets full type
assets full type
style full type
style full type
autoSubtitleGenerator
videos.autoSubtitleGenerator
Generate styled subtitles for a video
Risk: write
assets full type
assets full type
style full type
style full type
characterReplace
videos.characterReplace
Replace or animate a character in a video
Risk: write
assets full type
assets full type
style full type
style full type
faceSwap
videos.faceSwap
Swap faces in a video using a reference face image
Risk: write
style full type
style full type
assets full type
assets full type
imageToVideo
videos.imageToVideo
Animate a still image into a video
Risk: write
style full type
style full type
assets full type
assets full type
lipSync
videos.lipSync
Sync a video’s lip movement to an audio track
Risk: write
assets full type
assets full type
style full type
style full type
talkingPhoto
videos.talkingPhoto
Create a talking photo video from an image and an audio file
Risk: write
assets full type
assets full type
style full type
style full type
textToVideo
videos.textToVideo
Generate a video from a text prompt
Risk: write
style full type
style full type
references full type
references full type
ugcAd
videos.ugcAd
Create a spoken UGC ad video from an image and a script
Risk: write
assets full type
assets full type
videoEditor
videos.videoEditor
Edit a video with a prompt-driven AI model
Risk: write
style full type
style full type
assets full type
assets full type
videoToVideo
videos.videoToVideo
Restyle an existing video with a new art style
Risk: write
style full type
style full type
assets full type
assets full type
videoTranslator
videos.videoTranslator
Translate the speech in a video into another language
Risk: write
assets full type
assets full type