Search the videos
Gallery videos matching every facet given. Several values in one facet are alternatives (`color=red,orange` is red or orange); different facets all apply. The answer says how each model and creator was read, and, when nothing matches several facets, how many videos each matches alone.
GEThttps://motionvideo.xyz/api/catalog/search
Paramètres
qstringqueryFacultatifKeywords; every word must appear in the title, the creator's handle, the prompt or the categories.
categorystring[]queryFacultatifGallery categories, any of them.
Valeurs:
product-uiphonechartsdiagramskinetic-typeshapesparticlescharactersphotosmusiccodemodelstring[]queryFacultatifModels, any of them: a name (
Opus 5.5), a full name (Claude Opus 5.5), a family (Gemini) or a bare version (5.5, every model with it).colorstring[]queryFacultatifNamed colours the video contains, matched like the
/color/{color}pages.Valeurs:
redorangeyellowgreentealbluepurplepinkbrownblackwhitegraycolorMatchstringqueryFacultatifWith several colours:
any(default) orallof them.Valeurs:
anyallcreatorstring[]queryFacultatifCreators, any of them: X handles (with or without
@) or display names, ignoring case.typestringqueryFacultatifOnly videos sharing a prompt, or a skill.
Valeurs:
promptskillsortstringqueryFacultatifBy post date. Defaults to
newest.Valeurs:
newestoldestlimitintegerqueryFacultatifResults per page, 1 to 50. Defaults to 12.
offsetintegerqueryFacultatifResults to skip, for the next page. Defaults to 0.
Exemple de requête
curl -X GET 'https://motionvideo.xyz/api/catalog/search'Réponses
200
The matching videos, without prompts.
En-têtes
Cache-ControlstringBrowsers reuse a response for 5 minutes and shared caches for an hour, then may serve it stale for up to a day while they revalidate.
Valeurs:
public, max-age=300, s-maxage=3600, stale-while-revalidate=86400
Corps de la réponseapplication/json
totalintegerObligatoireMatches before paging.
limitintegerObligatoireoffsetintegerObligatoirevideosVideoSummary[]ObligatoireAfficher les champs
slugstringObligatoiretitlestringObligatoiredatestringdateObligatoiretagsstring[]ObligatoireValeurs:
promptskillcontentTagsstring[]ObligatoireValeurs:
product-uiphonechartsdiagramskinetic-typeshapesparticlescharactersphotosmusiccodepromptSharedbooleanObligatoirehandlestringObligatoirecreatorNamestringavatarstringuriObligatoireposterstringuriObligatoirepreviewstringuriObligatoirevideostringuriObligatoirewidthintegerObligatoireheightintegerObligatoiredescriptionstringmodelstringValeurs:
Opus 5.5Fable 5Fable 5.1Fable 5.2Fable 5.5Mythos 5Mythos 5.2GPT-6 AstraGemini 4 ArgonGemini 4 CarbonGemini 4 NeonstackstringeffortstringValeurs:
mediumhighmaxiterationsstringValeurs:
one-shotfew-roundsmany-roundscolorNamesstring[]ObligatoireNamed colours the video contains.
Valeurs:
redorangeyellowgreentealbluepurplepinkbrownblackwhitegraypageUrlstringuriObligatoireThe video's page in English.
resolvedobjectObligatoireAfficher les champs
modelsobject[]ObligatoireHow each requested model was read, in request order.
Afficher les champs
requestedstringObligatoireAs sent.
matchedstring[]ObligatoireThe catalog models it matched; empty when none, which matches no videos.
creatorsobject[]ObligatoireHow each requested creator was read, in request order.
Afficher les champs
requestedstringObligatoireAs sent.
matchedstring[]ObligatoireThe catalog creators it matched; empty when none, which matches no videos.
similarstring[]ObligatoireWith no match: up to five handles containing what was sent.
perFacetobject[]Only with no match and several facets: how many videos each facet matches alone.
Afficher les champs
facetstringObligatoireValeurs:
qcategorymodelcolorcreatortypetotalintegerObligatoire
Exemple
{
"total": 0,
"limit": 0,
"offset": 0,
"videos": [
{
"slug": "string",
"title": "string",
"date": "2019-08-24",
"tags": [
"prompt"
],
"contentTags": [
"product-ui"
],
"promptShared": true,
"handle": "string",
"creatorName": "string",
"avatar": "http://example.com",
"poster": "http://example.com",
"preview": "http://example.com",
"video": "http://example.com",
"width": 0,
"height": 0,
"description": "string",
"model": "Opus 5.5",
"stack": "string",
"effort": "medium",
"iterations": "one-shot",
"colorNames": [
"red"
],
"pageUrl": "http://example.com"
}
],
"resolved": {
"models": [
{
"requested": "string",
"matched": [
"string"
]
}
],
"creators": [
{
"requested": "string",
"matched": [
"string"
],
"similar": [
"string"
]
}
]
},
"perFacet": [
{
"facet": "q",
"total": 0
}
]
}400
A parameter is unknown or has a value it can't take.
Corps de la réponseapplication/json
errorstringObligatoireValeurs:
invalid_parameterparameterstringObligatoiremessagestringObligatoireallowedstring[]The values the parameter can take, when it has a fixed set.
Exemple
{
"error": "invalid_parameter",
"parameter": "string",
"message": "string",
"allowed": [
"string"
]
}