curl --request POST \
--url https://clipcrea.com/api/generate/video \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"video": {
"format": "landscape",
"sequences": [
{
"order": 123,
"duration": 123,
"medias": [
{
"url": "<string>",
"start": 123,
"end": 123,
"order": 123,
"selected": true,
"data": {}
}
],
"type": "intro",
"animationType": "CAMERA_PUSH_IN",
"data": {}
}
],
"displayLogo": true,
"music": "<string>",
"font": "<string>",
"template": "SaleProperty",
"logoUrl": "<string>",
"colors": [
"<string>"
]
}
}
'{
"id": "<string>",
"generatedContent": [
{
"id": "<string>",
"url": "<string>",
"effect": "<string>",
"format": "<string>",
"status": "pending"
}
]
}Generate a new video
curl --request POST \
--url https://clipcrea.com/api/generate/video \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"video": {
"format": "landscape",
"sequences": [
{
"order": 123,
"duration": 123,
"medias": [
{
"url": "<string>",
"start": 123,
"end": 123,
"order": 123,
"selected": true,
"data": {}
}
],
"type": "intro",
"animationType": "CAMERA_PUSH_IN",
"data": {}
}
],
"displayLogo": true,
"music": "<string>",
"font": "<string>",
"template": "SaleProperty",
"logoUrl": "<string>",
"colors": [
"<string>"
]
}
}
'{
"id": "<string>",
"generatedContent": [
{
"id": "<string>",
"url": "<string>",
"effect": "<string>",
"format": "<string>",
"status": "pending"
}
]
}Show child attributes
landscape, portrait, square Show child attributes
The duration of the sequence
Show child attributes
intro, outro, video, image CAMERA_PUSH_IN, CAMERA_PUSH_OUT, CAMERA_MOVE_RIGHT, CAMERA_CRANE_UP, CAMERA_ORBIT_LEFT, REALTOR_SMILING The music can be an URL
Inter by default
The first color is for the background and the second the color of the text
Video generation started successfully