Get the moves
The public part of every move: name, family, summary, explanation, good-for tags, gallery examples and related moves. Prompts are part of Pro and not included.
GEThttps://motionvideo.xyz/api/moves
参数
If-None-Matchstringheader可选The
ETagof an earlier response. If it is still current, the response is a304with no body. Send the value exactly as received (one quoted value): lists, weakW/validators and*always get a full response.
请求示例
curl -X GET 'https://motionvideo.xyz/api/moves'响应
200
Every move, without its prompt.
响应头
ETagstringQuoted SHA-256 hex digest of the response body. Changes whenever the data does.
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
movesMove[]必填显示字段
slugstring必填Stable ID. The move's page is
/moves/{family}/{slug}under a locale.namestring必填familystring必填可选值:
timingtypetransitionsuivectorgenerativecameratexturedatasoundakastring[]必填Other names people search for.
summarystring必填One sentence: what it looks like.
bodystring必填Markdown: how it reads, when it works, common mistakes.
goodForstring[]必填Short tags, e.g.
logo stings.examplesstring[]必填Slugs of catalog videos that show the move.
relatedstring[]必填Slugs of related moves.
示例
{
"moves": [
{
"slug": "squash-and-stretch",
"name": "Squash and stretch",
"family": "timing",
"aka": [
"squash & stretch",
"squash and stretch animation",
"bouncing ball animation",
"elastic deformation"
],
"summary": "An object flattens on impact and lengthens in fast travel while keeping its volume, so it reads as soft, alive and pulled by gravity.",
"body": "Squash and stretch is the oldest trick for making a shape feel like it has mass. A ball lengthens along its direction of travel when it moves fast, flattens against the floor on contact, then springs back to round. The eye reads the deformation as weight and softness long before it reads the geometry.\n\nThe rule that makes it work is **volume preservation**: if the shape grows 30 percent on one axis, it shrinks on the other so the area stays about the same. `scaleX = 1 / scaleY` is a good starting point.\n\nIt works best on:\n\n- mascots, dots, balls and blobs\n- buttons and chips that get pressed or land\n- playful brands where a little rubber is welcome\n\nCommon mistakes:\n\n- scaling from the center instead of the contact point, so the ball floats above the floor while it squashes\n- stretching on the screen axis instead of along the velocity\n- deforming text, logos or product UI that must stay legible\n- holding the squash too long; two to four frames on contact is plenty",
"goodFor": [
"characters",
"mascots",
"playful brands",
"bouncing objects"
],
"examples": [
"fanxing321-a52ec8",
"notdwd-2c76f5"
],
"related": [
"anticipation",
"arc-motion",
"follow-through"
]
}
]
}304
Not modified: If-None-Match matched the current ETag. No body; reuse the copy you have.
响应头
ETagstringQuoted SHA-256 hex digest of the response body. Changes whenever the data does.