Skip to content

Magic Hour Explore API

One-call discovery: the templates of a search (when q is given) or of a category, the first `details` of them enriched with `details` = {content: guide content as in /templates/{id}, related_templates: [...]}; the rest carry details = null.

GEThttps://api.maviapi.com/v1/sites/magichour/explore5 credits per call

Parameters

NameRequiredExampleDescription
qstring in queryOptionalNonefree-text search; when set the search is used and category is ignored
categorystring in queryOptionalallcategory slug to browse when q is empty (see /categories); 'all' = the templates hubOne of all, popular, new, animation, video-to-video, image-to-video, text-to-video, face-swap, character-replace, lip-sync, talking-photo, music-video, memes, movies, sports, tiktok, bollywood, transition, kpop, ai-image-editor, clothes-changer, ai-video-effects, ai-dance-video, camera-motion, ai-transformation-video, anime-video, video-game, ai-video-styles
detailsinteger in queryOptional3how many of the top results (0-5) to enrich with full detail
project_typestring in queryOptionalNoneonly templates of this generation type, e.g. FACE_SWAP
tagstring in queryOptionalNoneonly templates carrying this tag (case-insensitive), e.g. KPOP, MEMES, POPULAR, TIKTOK
sortstring in queryOptionaldefault'default' = the site's order, 'most_used' = most used first, 'newest' = newest firstOne of default, most_used, newest

Response fields

flowstringe.g."category"
querynull
categorystringe.g."all"
details_requestedintegere.g.3
countintegere.g.60
templatesobject[]16 fields
idstringe.g."cluqv73mm03t7ny6fp1oalqns"
namestringe.g."Psy Gentleman Dance"
descriptionstringe.g."Dance like Psy in the viral hit 'Gentleman' with our exclusive video template. This face swap feature lets you bring the energy and fun of the famous dance to your social media feeds."
urlstringe.g."https://magichour.ai/templates/details/cluqv73mm03t7ny6fp1oalqns-psy-gentleman-dance"
project_typestringe.g."FACE_SWAP"
source_typestringe.g."VIDEO"
tagsstring[]
used_countintegere.g.47322
widthintegere.g.290
heightintegere.g.512
created_atstringe.g."2024-04-08T11:23:56.045Z"
authornull
preview_urlstringe.g."https://videos.magichour.ai/templates/cluqv73mm03t7ny6fp1oalqns/preview.webp"
output_urlsstring[]
settingsobject5 fields
fpsintegere.g.30
endSecondsintegere.g.15
startSecondsintegere.g.0
videoFile_urlstringe.g."https://videos.magichour.ai/templates/cluqv73mm03t7ny6fp1oalqns/original-video.mp4"
initialImage_urlstringe.g."https://videos.magichour.ai/templates/cluqv73mm03t7ny6fp1oalqns/original-image.png"
detailsobject2 fields
contentobject9 fields
overviewstringe.g."Transform into a KPOP sensation with the Psy Gentleman Dance video face swap template. Experience the thrill of starring in the iconic 'Gentleman' music video, bringing your unique flair to the internationally acclaimed dance routine."
what_it_doesstringe.g."This template utilizes advanced Video Face Swap technology to superimpose your face onto Psy's body in the 'Gentleman' music video. No need to be a dancing expert; simply swap faces and let the software handle the rest. Enjoy high-quality output, perfect for sharing on platforms like TikTok or Instagram.\n\nFor those interested in more customizable video outputs, you can explore our Text to Video tool for creating dynamic content with text prompts."
who_its_forstringe.g."This template is designed for content creators, social media enthusiasts, and anyone wanting to join the KPOP craze. It's also ideal for digital marketers looking to tap into the power of viral video content. If you're into meme creation, our AI Meme Generator is another great tool to spark laughter and engagement."
summarystringe.g."With the Psy Gentleman Dance template, you're just a few clicks away from joining the ranks of KPOP icons. Perfect for enhancing your personal brand or just having fun with friends, this tool makes it easy to engage audiences with creative and lively video content.\n\nExplore our AI Video Generator for more complex video creation projects that include effects and animations."
how_toobject[]2 fields
titlestringe.g."Choose the Template"
descriptionstringe.g."Go to the templates section and select the 'Psy Gentleman Dance' template under Video Face Swaps to get started."
use_casesobject[]3 fields
titlestringe.g."Social Media Engagement"
descriptionstringe.g."Boost your social media presence by sharing KPOP dance challenges."
bulletsstring[]
best_practicesobject[]2 fields
titlestringe.g."Choose High-Quality Images"
descriptionstringe.g."Use a high-resolution image of your face to ensure the face swap is seamless and clear."
faqsobject[]2 fields
questionstringe.g."What image format should I upload for the face swap?"
answerstringe.g."It is best to upload high-resolution images in JPEG or PNG format."
related_toolsobject[]3 fields
namestringe.g."Video Face Swap"
urlstringe.g."https://magichour.ai/products/face-swap/video"
descriptionstringe.g."Experiment with various video face swaps to create diverse content."
relatedobject[]3 fields
idstringe.g."cltw0ngyz001hrck4fx7l2c85"
namestringe.g."Gangnam Style"
urlstringe.g."https://magichour.ai/templates/details/cltw0ngyz001hrck4fx7l2c85-gangnam-style"
paginationobject3 fields
countintegere.g.60
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T17:44:11.442Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/magichour/explore' \
  -H "Authorization: Bearer $MAVI_KEY"

Magic Hour Explore API questions

What you get, what it costs and how to call it.

What does the Magic Hour Explore API return?

One-call discovery: the templates of a search (when q is given) or of a category, the first `details` of them enriched with `details` = {content: guide content as in /templates/{id}, related_templates: [...]}; the rest carry details = null. The response has flow, query, category, details_requested, count, templates, pagination, fetched_at and 1 more.

Which parameters does the Magic Hour Explore API take?

Every parameter of GET /explore is optional. You can pass q, category, details, project_type, tag and sort.

How much does one Magic Hour Explore API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the Magic Hour Explore API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/magichour/explore with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the Magic Hour Explore API official?

No. It is an independent, hosted API from maviapi for the public data on magichour.ai, and it is not made, endorsed or supported by Magic Hour. Its parameters and response fields are documented on this page.