Demand Gen video crop and trim tool vs an API crop and trim
Demand Gen's console tool crops to 16:9, 1:1 or 9:16 and trims 5 to 300 seconds. The same edit as two Sume calls: a video-filter crop, then video-trim.

Google's Demand Gen tool crops a video to horizontal (16:9), square (1:1) or vertical (9:16) by moving a crop area, and trims it to between 5 and 300 seconds with sliders, inside Google Ads. To do the same outside the console, Sume takes two calls: a crop op on video filter, then video trim.
Google facts are from its Help page; Sume facts from the two docs pages. Read 2026-09-30. Ad specs themselves are in Demand Gen video ad specs.
What does the console tool do?
You open the pencil icon on an uploaded video in the ad builder, pick an aspect ratio, move the crop area, drag the trim sliders, preview, and choose Save as new video. Uploaded videos must be at least 5 seconds long.
How does each step map to Sume?
| Console | Sume |
|---|---|
| Pick an aspect ratio, move the crop area | ops[] with op: "crop": x, y, width, height as fractions of the frame |
| Trim sliders | start plus one of end or duration on POST /v1/video-trim |
| Save as new video | A new artf_ MP4; the source is untouched |
| Length range 5 to 300 s | Crop source at most 300 s; trim duration 0.2 to 900 s |
How do I write the crop?
Crop bounds are fractions, not pixels. width and height run from 0.05 to 1, and x+width and y+height must not exceed 1. For a 16:9 source cropped to 9:16, take the full height and a width of 9/16 divided by 16/9, about 0.316, centered at x of 0.342. The compiler even-rounds the result for yuv420p, so the pixel size can differ by one from your arithmetic.
curl -X POST https://api.sume.com/v1/video-filter \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: demand-gen-crop-001" \
-d '{
"video_url": "https://media.sume.com/artifacts/artf_demo/talk.mp4",
"ops": [{ "op": "crop", "x": 0.342, "y": 0, "width": 0.316, "height": 1 }]
}'Which order should I run them in?
Trim first if the source is over 300 seconds, because the filter's source cap is 300 s while trim accepts sources up to 1800 s. Feed the new video_url from the first job's result into the second call, and poll GET /v1/jobs/:id/result for each. Neither call previews; check the output before uploading it to Google Ads.
Sources
Related posts
More in Use cases
- Descript captions: in/out animations vs Sume design overrides
Descript captions now have separate in and out motion. Sume's video-captions API exposes enter, exit and emphasis timing through a design object.
- eBay listing video length: 60 seconds, MP4 or MOV
eBay allows one video per listing, up to 60 seconds, in MP4 or MOV. Cut a longer clip down to 60 seconds with Sume Video trim, which returns an MP4.
- Edit a high-resolution photo with AI: edit first, then upscale
Sume image edits return at catalog tiers (512, 1K, 2K, 4K), not your photo's full megapixels. Edit with aspect_ratio auto, then enlarge with Image Upscale 1.0.
- How big should the EU AI icon be on a video? No number given
The EC only says clearly visible size and gives no pixels. With Sume Timeline compose, width_ratio sets the badge width as a share of frame width.
Written by Sume