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
参数
qstringquery可选Keywords; every word must appear in the title, the creator's handle, the prompt or the categories.
categorystring[]query可选Gallery categories, any of them.
可选值:
product-uiphonechartsdiagramskinetic-typeshapesparticlescharactersphotosmusiccodemodelstring[]query可选Models, 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[]query可选Named colours the video contains, matched like the
/color/{color}pages.可选值:
redorangeyellowgreentealbluepurplepinkbrownblackwhitegraycolorMatchstringquery可选With several colours:
any(default) orallof them.可选值:
anyallcreatorstring[]query可选Creators, any of them: X handles (with or without
@) or display names, ignoring case.typestringquery可选Only videos sharing a prompt, or a skill.
可选值:
promptskillsortstringquery可选By post date. Defaults to
newest.可选值:
newestoldestlimitintegerquery可选Results per page, 1 to 50. Defaults to 12.
offsetintegerquery可选Results to skip, for the next page. Defaults to 0.
请求示例
curl -X GET 'https://motionvideo.xyz/api/catalog/search'响应
200
The matching videos, without prompts.
响应头
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.
可选值:
public, max-age=300, s-maxage=3600, stale-while-revalidate=86400
响应正文application/json
totalinteger必填Matches before paging.
limitinteger必填offsetinteger必填videosVideoSummary[]必填显示字段
slugstring必填titlestring必填datestringdate必填tagsstring[]必填可选值:
promptskillcontentTagsstring[]必填可选值:
product-uiphonechartsdiagramskinetic-typeshapesparticlescharactersphotosmusiccodepromptSharedboolean必填handlestring必填creatorNamestringavatarstringuri必填posterstringuri必填previewstringuri必填videostringuri必填widthinteger必填heightinteger必填descriptionstringmodelstring可选值:
Opus 5.5Fable 5Fable 5.1Fable 5.2Fable 5.5Mythos 5Mythos 5.2GPT-6 AstraGemini 4 ArgonGemini 4 CarbonGemini 4 Neonstackstringeffortstring可选值:
mediumhighmaxiterationsstring可选值:
one-shotfew-roundsmany-roundscolorNamesstring[]必填Named colours the video contains.
可选值:
redorangeyellowgreentealbluepurplepinkbrownblackwhitegraypageUrlstringuri必填The video's page in English.
resolvedobject必填显示字段
modelsobject[]必填How each requested model was read, in request order.
显示字段
requestedstring必填As sent.
matchedstring[]必填The catalog models it matched; empty when none, which matches no videos.
creatorsobject[]必填How each requested creator was read, in request order.
显示字段
requestedstring必填As sent.
matchedstring[]必填The catalog creators it matched; empty when none, which matches no videos.
similarstring[]必填With 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.
显示字段
facetstring必填可选值:
qcategorymodelcolorcreatortypetotalinteger必填
示例
{
"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.
响应正文application/json
errorstring必填可选值:
invalid_parameterparameterstring必填messagestring必填allowedstring[]The values the parameter can take, when it has a fixed set.
示例
{
"error": "invalid_parameter",
"parameter": "string",
"message": "string",
"allowed": [
"string"
]
}