Magic Hour Search API
Templates matching a free-text query, from magichour.ai's own template search (its top 20 hits, in its relevance order unless sorted). Template fields as in /templates.
https://api.maviapi.com/v1/sites/magichour/search5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
qstring in query | Optional | dance | search text, e.g. 'dance' |
project_typestring in query | Optional | None | only templates of this generation type (applied in the site's search), e.g. FACE_SWAP |
tagstring in query | Optional | None | keep only templates carrying this tag (case-insensitive), e.g. KPOP, MEMES, POPULAR, TIKTOK |
sortstring in query | Optional | default | 'default' = the site's order, 'most_used' = most used first, 'newest' = newest firstOne of default, most_used, newest |
Response fields
querye.g."dance"counte.g.20templates
ide.g."cmufqys3p001rhk011xhgmasj"namee.g."Ballroom Dance"descriptione.g.""urle.g."https://magichour.ai/templates/details/cmufqys3p001rhk011xhgmasj-ballroom-dance"project_typee.g."TEXT_TO_VIDEO"source_typee.g."VIDEO"tagsused_counte.g.6widthe.g.496heighte.g.864created_ate.g."2026-09-27T15:40:24.115Z"authorpreview_urle.g."https://videos.magichour.ai/templates/cmufqys3p001rhk011xhgmasj/preview.jpg"output_urlssettings
fpse.g.24modele.g."seedance-2.0-mini"prompte.g."A cinematic ballroom dance scene inside an elegant grand hall with polished marble floors, warm golden chandeliers, luxurious decorations, and a romantic formal atmosphere.@panda wears a sophisticated black tuxedo with a crisp white shirt, black bow tie, polished dress shoes, and fitted formal gloves. @whitebird wears an elegant flowing red ballroom gown with layered fabric, subtle sparkling details, and graceful feather-like accents, perfectly suited for a formal dance performance.@panda and @whitebird dance together in a graceful romantic ballroom routine, performing synchronized turns, elegant spins, smooth footwork, and coordinated partner movements. Their movements are natural, fluid, and expressive, with the red dress flowing dramatically during each spin.The camera smoothly circles around the dancers, alternating between wide shots and elegant close-ups while capturing their synchronized movements and reflections on the polished floor. Warm chandelier light creates soft highlights and cinematic shadows."versione.g."v3"endSecondse.g.5resolutione.g."480p"aspectRatioe.g."9:16"startSecondse.g.0pagination
counte.g.20has_moree.g.falsenext_cursorfetched_ate.g."2026-11-27T17:43:59.246Z"agee.g.0Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/magichour/search' \
-H "Authorization: Bearer $MAVI_KEY"Magic Hour Search API questions
What you get, what it costs and how to call it.
What does the Magic Hour Search API return?
Templates matching a free-text query, from magichour.ai's own template search (its top 20 hits, in its relevance order unless sorted). Template fields as in /templates. The response has query, count, templates, pagination, fetched_at and age.
Which parameters does the Magic Hour Search API take?
Every parameter of GET /search is optional. You can pass q, project_type, tag and sort.
How much does one Magic Hour Search 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 Search API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/magichour/search 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 Search 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.