Sume API output file formats: MP4, PNG, WebP, WAV, MP3

The file each Sume API endpoint returns: MP4 from Timeline and the editing tools, PNG, JPEG, or WebP images, WAV or MP3 audio, and JSON transcripts.

5 min readSume
All posts

Completed Sume jobs return their files as artifacts on media.sume.com. Timeline, compose, trim, filter, and avatar videos are MP4, and captioned videos are MP4 in current code; image endpoints return PNG, JPEG, or WebP (SVG where a model's catalog allows it); audio detach and Timeline audio return WAV or MP3; and speech-to-text returns JSON with word timings. Where the docs name no container, read the artifact's content_type.

Formats and defaults come from each tool's docs page and the OpenAPI reference, read on 2026-09-27. Encoder settings come from Sume's media compiler code and describe current behavior. The general artifact shape is covered in Video API media inputs and outputs.

What video format does each endpoint return?

In current code, Timeline, compose, and filter encode with libx264, an H.264 encoder, in yuv420p with AAC audio; the trim docs name the same encoder and pixel format for exact trims. For generated clips, lip sync, and upscales, the docs give resolution options but name no container.

From Timeline 1.0, Timeline compose, Video trim, Video filter, Generate avatar video, the OpenAPI reference, and the media compiler code, read 2026-09-27.
EndpointOutputSize, rate, and codec
Timeline renderMP41080×1920 by default; frame rate follows the sources unless you set output.fps. Current code: CRF 20, AAC at 192 kbps.
Timeline composeMP41080×1920 by default, at the video layer's frame rate. Audio passes through from the video.
Video trimMP4exact (default) re-encodes frame-accurately; kept audio becomes AAC. keyframe is a stream copy.
Video filterMP4Keeps the source's geometry, frame rate, and audio unless the program changes them. Current code: CRF 20, AAC at 192 kbps.
CaptionsMP4 (current code)The captioned video_url; the docs name no container.
Talking avatar videoMP4720p; aspect_ratio 9:16 by default, or 1:1, 3:4, 4:3, 16:9.
Lip syncVideoVEED Fabric 1.0: 480p or 720p (default 720p). MiniMax H3 Max Lip Sync: 480p, 768p, or 1080p (default 768p).
Video generation: POST /v1/videosVideoThe resolution and aspect_ratio you request from the model's lists; download from GET /v1/videos/{id}/content with your API key.
Video upscaleVideoThe input scaled by scale_ratio, 1.1–4, default 2.

Which image formats can I get?

POST /v1/images takes output_format, but a model only accepts the values its catalog entry lists, so check GET /v1/images/models first. Each result carries media_type, and its data[].url is Sume-hosted and signed.

From Image API, Video frames, Video inspect, and the OpenAPI reference, read 2026-09-27.
EndpointFormatsSize
Image APIpng, jpeg, webp, or svgSet by resolution and aspect_ratio
Image upscalepng (default), jpg, or webpThe input times upscale_factor, 1–4, default 2
Background removalPNG with alpha—
Video framesjpeg (default) or pngSource size, unless max_edge (16–2160) clamps the long edge
Video inspect stillsjpeg (default) or pngmax_edge 64–2160, default 768

Which audio formats do the audio endpoints return?

Keep WAV when a file will be joined again or will drive lip sync: Timeline audio's MP3 option re-adds priming padding at every edge.

From Audio detach, Timeline audio, Music Router, and the OpenAPI reference, read 2026-09-27.
EndpointFormatsOptions
Audio detachwav (default, pcm_s16le) or mp3 at 128 kbpssample_rate 16000, 44100, or 48000, or the source's; channels source or mono
Timeline audiowav (default, pcm_s16le) or mp3Produced audio up to 1800 seconds
Text to speechmp3 by default at 44,100 Hz and 128 kbps; wav or rawsample_rate 8000, 16000, 22050, 24000, 44100, or 48000; wav and raw take encoding pcm_f32le, pcm_s16le, pcm_mulaw, or pcm_alaw
Music RouterAn artifact with type audioThe docs don't name the container

What format are transcripts in?

JSON with word timings. Speech-to-text returns text and words[] as { word, start, end } in seconds from the audio start. A video inspect with transcribe: true adds a transcript with text, words[], optional sentence segments[], and an audio_url.

How do I check the format of a file I got back?

Read the metadata instead of guessing from the URL. Job artifacts carry content_type, such as image/png, next to their media.sume.com URL, and POST /v1/images results carry media_type. To conform a clip's size or frame rate on the way out, trim's output field and Timeline's output object do it, as changing frame rate or resolution shows.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume