How do you turn listing photos into a short video with the price on screen?
Use the Listing short template. Send the listing photos and two lines of text, the price and a call to action. Coco pans left across each photo for 2.5 seconds, so four photos make a 10 second vertical MP4.
Free plan, 10 render minutes, no card.
What does the sample video show?
Who is this template for?
Do you post a new listing most days and still cut each video by hand in a phone app? This template is for sellers and agents who need one short video per listing, from a resale item to a flat for rent. The price stays on screen from the first frame to the last. The photo count changes from listing to listing, and the template takes 1 to 20.
What does the template do?
What does a buyer see while scrolling past? The canvas is 1080 by 1920 at 30 frames a second. Each photo in photos fills the frame for 2.5 seconds and pans left. The price line sits at the top in 96 px text and fades in. The call to action sits at the bottom in 72 px text and slides up. Both lines stay on screen for the whole video. The optional logo sits at the bottom left. The optional music plays at gain 0.6 with a fade over the last second. The first frame is already a photo with the price on it. The video lasts 2.5 seconds times the number of photos.
Template JSON
The full template. Save it with the API, or paste it into the Coco editor.
{
"template": "tpl_galleryListing",
"name": "Listing short",
"version": 1,
"canvas": {"w": 1080, "h": 1920, "fps": 30, "duration": 2.5},
"variables": {
"price": {"type": "text", "max": 40},
"photos": {
"type": "list",
"min": 1,
"max": 20,
"section": {"start": 0, "dur": 2.5},
"fields": {
"photo": {"type": "image", "required": true}
}
},
"cta": {"type": "text", "max": 30},
"logo": {"type": "image", "required": false},
"music": {"type": "audio", "required": false}
},
"tracks": [
{"id": "V1", "kind": "video", "clips": [
{"id": "shot", "kind": "image", "src": "{{photos.photo}}", "start": 0, "dur": 2.5, "move": "pan_left"}
]},
{"id": "T1", "kind": "text", "clips": [
{"id": "price", "kind": "text", "src": "{{price}}", "start": 0, "dur": 2.5, "size": 96, "edge": "top", "anim": "fade_in"},
{"id": "cta", "kind": "text", "src": "{{cta}}", "start": 0, "dur": 2.5, "size": 72, "edge": "bottom", "anim": "slide_up"}
]},
{"id": "O1", "kind": "overlay", "clips": [
{"id": "logo", "kind": "overlay", "src": "{{logo}}", "start": 0, "dur": 2.5, "anim": "fade_in"}
]},
{"id": "A1", "kind": "audio", "clips": [
{"id": "music", "kind": "audio", "src": "{{music}}", "start": 0, "dur": 2.5, "gain": 0.6, "anim": "fade_out"}
]}
]
}
Variables
Each row is one value a render fills. A list field fills once per item.
| Name | Type | Required | Notes |
|---|---|---|---|
price | text | Yes | Up to 40 characters. |
photos | list | Yes | 1 to 20 items. Each item plays a 2.5 s section. |
photos[].photo | image | Yes | An image: a library asset or a URL value. |
cta | text | Yes | Up to 30 characters. |
logo | image | No | An image: a library asset or a URL value. Leave it out to skip it. |
music | audio | No | An audio file: a library asset or a URL value. Leave it out to skip it. |
How do you render it from n8n, Make, REST or MCP?
n8n
Do new listings land in n8n from a sheet or a listing feed? Add one HTTP Request node that posts to https://api.compositor.video/v1/renders with your Header Auth credential. If the listing row holds an array of photo links, map it to photos with .map() in the expression. Each link becomes one photo URL value. If each photo arrives as its own item, build the array from $input.all() and turn on Execute Once.
Make
Does your Make scenario split the listing photos into separate bundles? Collect them with an array aggregator whose target structure is one photo item with a url. Turn the array into text with a JSON Transform to JSON module. Post the render from one HTTP "Make a request" module. Map that text to vars.photos and the price line to vars.price.
REST API
Running listings out of your own database? Save the template once with POST /v1/templates and keep its id. For each listing, send POST /v1/renders with the photos array and the two text lines. Photo links start with https:// and are public. Coco fetches each one before the render, and a failed fetch names the field and the host.
MCP
Want an agent to write the price line from the listing text? Connect the agent to the Coco MCP server at https://api.compositor.video/mcp with a Google sign-in or your API key. It writes a price line of up to 40 characters and a call to action of up to 30. Then it calls render_template with the photo links and wait_for_render for the MP4.
Render it with curl
Two commands with your API key. The first saves the template, and the second renders it with the sample media.
TPL=$(curl -s https://compositor.video/templates/listing-short.json \
| curl -s -X POST https://api.compositor.video/v1/templates \
-H "Authorization: Bearer $COCO_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- \
| jq -r .template)
jq --arg tpl "$TPL" '.template = $tpl' <<'JSON' \
| curl -s -X POST https://api.compositor.video/v1/renders \
-H "Authorization: Bearer $COCO_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @-
{
"vars": {
"cta": "Message to buy",
"logo": {
"url": "https://compositor.video/templates/media/a_logo.png"
},
"music": {
"url": "https://compositor.video/templates/media/a_music.m4a"
},
"photos": [
{
"photo": {
"url": "https://compositor.video/templates/media/f01.jpg"
}
},
{
"photo": {
"url": "https://compositor.video/templates/media/f09.jpg"
}
},
{
"photo": {
"url": "https://compositor.video/templates/media/f04.jpg"
}
},
{
"photo": {
"url": "https://compositor.video/templates/media/f10.jpg"
}
}
],
"price": "Field jacket, £85"
}
}
JSON
Render it from n8n
Paste this HTTP Request node into n8n. Replace tpl_YOUR_TEMPLATE_ID with the id of your saved template.
{
"connections": {},
"nodes": [
{
"name": "Render Listing short",
"parameters": {
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"jsonBody": "{\n \"template\": \"tpl_YOUR_TEMPLATE_ID\",\n \"vars\": {\n \"cta\": \"Message to buy\",\n \"logo\": {\n \"url\": \"https://compositor.video/templates/media/a_logo.png\"\n },\n \"music\": {\n \"url\": \"https://compositor.video/templates/media/a_music.m4a\"\n },\n \"photos\": [\n {\n \"photo\": {\n \"url\": \"https://compositor.video/templates/media/f01.jpg\"\n }\n },\n {\n \"photo\": {\n \"url\": \"https://compositor.video/templates/media/f09.jpg\"\n }\n },\n {\n \"photo\": {\n \"url\": \"https://compositor.video/templates/media/f04.jpg\"\n }\n },\n {\n \"photo\": {\n \"url\": \"https://compositor.video/templates/media/f10.jpg\"\n }\n }\n ],\n \"price\": \"Field jacket, £85\"\n }\n}",
"method": "POST",
"options": {},
"sendBody": true,
"specifyBody": "json",
"url": "https://api.compositor.video/v1/renders"
},
"position": [
0,
0
],
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2
}
]
}
How do you make your first video?
- Press Use this template and sign in with Google to open Listing short.
- Put the listing photos in the photos list, with the best photo first.
- Type the price line and the call to action.
- Pick your logo, or leave it out for a video with no logo.
- Press Render and download the listing video within 7 days.
What are the limits?
- A listing video takes 1 to 20 photos at 2.5 seconds each. 20 photos make 50 seconds.
- The price line holds 40 characters and the call to action 30.
- Each photo fills the vertical frame with a cover crop. A wide photo loses its sides.
- Each photo link starts with
https://and is public. A file holds at most 2 GiB. - The MP4 download link ends after 7 days.
Questions about this template
Can the price change for each listing?
Yes. price is a text variable, so each render sends its own line of up to 40 characters. Write it the way you want it shown, for example Field jacket, £85.
Do the photos need to be vertical?
No. Coco fills the 1080 by 1920 frame with a cover crop and pans left across the photo. A wide photo loses its sides, so keep the subject near the centre.
Can I add music?
Yes. music is optional. If you send it, it plays under the whole video at gain 0.6 and fades out over the last second.
Want your next listing as a video?
Free plan, 10 render minutes, no card.

