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.

Use this template

Free plan, 10 render minutes, no card.

What does the sample video show?

Media in the sample Photos: four of Coco's starter photos, made for Coco with fal (Coco-owned). Logo: AMBER & OAK, a made-up brand's wordmark drawn for Coco (Coco-owned). Music: the starter music bed, made with ElevenLabs (Coco-owned).

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.

listing-short.json Download the JSON
{
  "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.

NameTypeRequiredNotes
pricetextYesUp to 40 characters.
photoslistYes1 to 20 items. Each item plays a 2.5 s section.
photos[].photoimageYesAn image: a library asset or a URL value.
ctatextYesUp to 30 characters.
logoimageNoAn image: a library asset or a URL value. Leave it out to skip it.
musicaudioNoAn 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.

Connect the MCP server

Render it with curl

Two commands with your API key. The first saves the template, and the second renders it with the sample media.

curl
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.

n8n
{
  "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?

  1. Press Use this template and sign in with Google to open Listing short.
  2. Put the listing photos in the photos list, with the best photo first.
  3. Type the price line and the call to action.
  4. Pick your logo, or leave it out for a video with no logo.
  5. Press Render and download the listing video within 7 days.

What are the limits?

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.