Render a composition
Renders one HTML document you wrote (a Hyperframes composition) and
spends credits equal to its data-duration. Mosio checks it first:
only local assets, a sized root element with a duration, and no
Hyperframes lint errors. Google Fonts links and GSAP from a CDN are
allowed; Mosio stores local copies. Registry components can be loaded
with data-composition-src="compositions/components/<name>.html".
See the composition guide for the rules. Needs the videos:create
permission.
POST
https://app.mosio.me/v1/compositionsAuthorization
Request bodyJSONrequired
Returns
200
A video with this idempotency_key and the same body already exists; it is returned unchanged.
JSON
201
The video was created and queued.
JSON