Create an asset
Use this endpoint to upload images and videos. These may then be later referred to when creating videos.
post/assets
Request
- Base URLhttps://api.synthesia.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring
The media type of the file being uploaded. Accepted values are image/jpeg, image/png, image/svg+xml, video/mp4 and video/webm.
Request body
Response
200
Example response
{
"id": "user.5dac3bd5-cdb2-4a02-b917-XXXXXX",
"title": "blue.svg"
}Changes
No recorded changes to this operation across all 1 revision of this API.