Documentation
Smart Editor
Add word by word captions, texts, images, B-rolls, background music, sound effects and a voice-over to a video, then export it.
Smart Editor edits a video: the speech is transcribed word by word and shown as captions in the style you choose, with optional text overlays (Apple emojis included), images, B-rolls, background music, sound effects and a voice-over, then everything is exported as an MP4. In the API, a Smart Editor video is a project (/v1/captions, ids cap_…). The usual flow is to clean an ad with Smart Remover, then create a project from the cleaned video (job_id).
The exported video looks exactly like the preview of the editor: same fonts, sizes, line breaks, line spacing and boxes.
Price
0.5 credit per second of video (30 per minute), with a minimum of 5 credits. A 30 second video costs 15 credits.
- The credits are taken on the first export of a project (
402 insufficient_creditsif the balance is too low). - A failed export gives its credits back.
- Later exports of the same project (after edits) are free, up to 20 per project. One exception: a video made from a picture that gets longer (a longer text) pays the difference on its next export.
- Videos up to 15 minutes.
- Included from the Starter plan in the app, and through the API from the Growth plan (
403 captions_not_allowedwithout a plan).
Lifecycle
| Status | Meaning |
|---|---|
transcribing |
The speech is being transcribed |
ready |
The transcript is ready; the project is not exported yet, or an export failed (see error). If the speech could not be transcribed, words is empty and error.code is transcription_failed: overlays still work |
rendering |
The video is being exported |
done |
The captioned video is ready in result.url |
failed |
Older projects whose transcription failed |
Create a project
POST /v1/captions
| Field | Type | Description |
|---|---|---|
job_id |
string | A succeeded job: captions are added to the cleaned video |
upload_id |
string | An upload created with POST /v1/uploads: a video, or a JPEG, PNG or WebP picture as background (see Picture as background) |
video_url |
string | A direct file link, Google Drive, Dropbox, TikTok, Instagram or YouTube link |
name |
string | Optional display name |
text |
string | The whole text instead of the transcript (20,000 characters at most), timed at the style's scroll_speed (160 words per minute by default). Handy with the scroll style |
style |
string or object | A built-in style (classic, tv…), the id (cst_…) or name of one of your styles, or a style object, see below |
overlays |
object[] | Optional texts shown at a given time and place, see below |
images |
object[] | Optional images shown at given times, see below |
music |
object | Optional background music, see below |
sounds |
object[] | Optional sound effects at given times, see below |
brolls |
object[] | Optional B-roll videos shown full frame at given times, see below |
voiceover |
object | Optional voice-over (the captions are transcribed from it), see below |
original_voice |
boolean | false cuts the video's own voice |
voice_room |
object | The room the voice-over sounds in, see Room and ambience |
auto_export |
boolean | Export as soon as the transcript is ready (default true). Set false to review or edit first |
Give exactly one of job_id, upload_id or video_url. The response (202) is the project, in transcribing status. Follow it with GET /v1/captions/{id} or the caption.succeeded and caption.failed webhooks.
curl https://pixamake.ai/v1/captions \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 6f1d0c2a-3b7e-4f7a-9d52-0f3c9a1e8b44" \
-d '{
"job_id": "job_3kT9xQ2vLm8RfZp1Wq7a",
"style": {"base": "highlight", "highlight_color": "#FDE047", "words_per_line": 2},
"overlays": [{"text": "-30 % today 🔥", "start": 0, "end": 3, "y": 18, "style": "Brand yellow"}]
}'Styles
Built-in styles
| Id | Name | Look |
|---|---|---|
classic |
Classic | White text, discreet black outline, shadow |
clean |
Clean | Thin white text, no outline, small shadow, low in the frame |
soft |
Soft | White text with a very thin grey outline |
tv |
Banner | White text on a see-through black banner, like TV subtitles |
white |
White box | Black text on a white banner |
highlight |
Highlight | The spoken word turns yellow |
caps |
Capitals | Bebas Neue in capitals, 3 words per line |
cinema |
Cinema | Small whole sentences low in the frame, like at the cinema |
scroll |
Scrolling | The whole text as one block that rises gently from the middle of the frame, a new row for each sentence, with a dark veil behind it |
Built-in styles never change and cannot be edited: to change a setting, save your own style from one of them (base).
Your styles
Each workspace can save up to 50 named styles, in the editor or through the API, then use them wherever a style is expected, by id (cst_…) or by name.
| Method | Path | Purpose |
|---|---|---|
GET |
/v1/caption-styles |
Built-in styles, then saved styles |
POST |
/v1/caption-styles |
Save a style: { "name", "style" } |
GET |
/v1/caption-styles/{id} |
Read a style |
PATCH |
/v1/caption-styles/{id} |
Rename or change a style, immediately |
DELETE |
/v1/caption-styles/{id} |
Delete a style |
curl https://pixamake.ai/v1/caption-styles \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Brand yellow", "style": {"base": "highlight", "highlight_color": "#FFC300", "font": "poppins"}}'A project keeps a copy of the style it was given: changing a saved style does not change videos already set up. Send the style to the project again (PATCH /v1/captions/{id}) to use the new version. Names are unique in a workspace (409 name_taken otherwise).
Style object
Send a reference (built-in id, cst_… id or name), or an object with base (a reference, the project's current style by default) and only the fields to change. As soon as a field other than position differs, preset is custom.
The vertical position is a setting of each video: {"base": "tv", "position": 60} keeps the built-in tv style (and a saved style stays linked the same way), only placed higher.
| Field | Values |
|---|---|
base |
Style to start from: built-in id, cst_… id or name |
preset |
classic, clean, soft, tv, white, highlight, caps, cinema, scroll (in responses, custom for a changed style) |
font |
poppins, anton, bebas, archivo |
size |
32 to 200 (pixels for a 1920 pixel tall frame) |
case |
normal, upper, lower |
grouping |
words: words_per_line words at a time; sentence: one sentence at a time (a pause of more than 0.6 s also starts a new caption); scroll: the whole text scrolls up as one block, a new row for each sentence |
words_per_line |
1 to 8, with grouping: "words" (the editor offers 3 or 5) |
position |
5 to 95: vertical center, in % of the height |
color |
Text color, like #FFFFFF |
highlight |
How the spoken word stands out: color (the word changes colour) or none |
highlight_color |
Color of the spoken word |
outline, outline_color |
Outline width (0 to 14) and color around the text |
shadow |
Drop shadow (pop and highlight_text are accepted and ignored; highlight: "box" is treated as color) |
background, background_opacity |
Box behind each line of the caption, with lightly rounded corners (a color or null), and its opacity (0 to 100). The spoken word changes color inside it |
background_padding |
0 to 80: space above and below the text in its box (pixels for a 1920 pixel tall frame, default 16); the sides get 1.8 times more |
line_spacing |
0.8 to 2: distance between two lines of one caption, in multiples of the text size (default 1.1) |
scroll_speed |
With grouping: "scroll": reading speed in words per minute (80 to 260; 130 slow, 160 normal by default, 190 fast), or null to follow the voice. The text scrolls from the start of the video, then fades out at the end |
scrim |
With grouping: "scroll": dark veil behind the text, 0 to 80 % of black (35 with the scroll style) |
align |
left, center (default) or right: the rows lined up on the left or right margin, or centred |
margin |
With align left or right: the margin the rows start or end at, 2 to 45 % of the width (6 by default) |
scroll_in |
With grouping: "scroll": true makes the text rise from below the frame at one steady speed from the start, its first row crossing the middle at the first word and its last row at the last word (default false: it waits in the middle) |
sentence_gap |
With grouping: "scroll": false runs the sentences on without a blank row between them (true by default) |
Overlays
In every text sent through the API (overlays, text, words, comments), emojis can be written as they are or as shortcodes: :fire: becomes 🔥, :heart_eyes: 😍, :rocket: 🚀, :check: ✅ (an unknown shortcode stays as typed).
An overlay is a text shown at a given time and place (price, promo, hook). It takes the look of a style: font, colors, outline, banner and padding, shadow, case. Emojis are drawn as Apple emojis, in the app as in the exported video.
| Field | Description |
|---|---|
text |
Up to 200 characters, emojis included. A text too long for one line wraps by itself (between words, within 88 % of the width); \n forces a new line. The safe zone counts every line |
start, end |
Seconds |
y |
Vertical center of the text, in % of the height (default 20). Texts are centered across the frame |
size |
32 to 200 (default: the size of the style) |
style |
A style reference (built-in id, cst_… id or name) or a style object, like the project's style. Default: the project's caption style |
color |
This text's own colour, over its style's (the style is not changed and the text stays linked to it); null for the style's. Base colours: white #FFFFFF, black #000000, red #FF0000, yellow #FFFF00, blue #0066FF, green #00C000, orange #FF8000, purple #8000FF, or any other code |
box_color |
This text's own box colour, for a style with a box; null for the style's |
x |
Horizontal center, in % of the width (default 50: centered). The text wraps to stay inside the frame |
pinned |
true: the text stays exactly in place (y and x), never moved for the other texts or images; they move instead. Only when it would touch the spoken captions does it move to the nearest free height, together with the pinned elements touching it (default false) |
align |
left, center (default) or right: how the lines of a text on several lines line up inside its block |
accent |
{ "text": "a knot", "color": "#D00000" }: words of the text drawn in another colour, wherever they appear in it; null for none |
size, y, color and box_color only apply to this text: changing them never turns its style into a custom one.
In responses, each overlay has style_id (the style it comes from, or custom) and style (the settings it uses).
Images
An image (product photo, logo, sticker) shown at given times, wherever you want on both axes. Transparency is kept.
| Field | Description |
|---|---|
image_url |
Public link of the image (JPEG, PNG, WebP or GIF, 8 MB at most), copied when the project is saved. In responses, a link valid one hour |
upload_id |
Or an image sent with POST /v1/uploads (JPEG, PNG or WebP) |
comment |
Or a TikTok style reply comment, drawn as the image: username, text (emojis included), theme (light by default or dark), language of the "Reply to …'s comment" line (en, fr, es, de, it, pt), optional avatar_url (profile picture). Drawn like a real TikTok reply, in the TikTok Sans font: the bubble is as wide as its text, and size gives the width of the widest bubble, so the letters keep the same size whatever the text. It is placed and kept clear of the captions like any image |
icon |
Or an icon of the icon library, drawn sharp and transparent: id (for example red_cross, see GET /v1/icons), optional angle (arrows: 0 right, 90 down, 180 left, -90 up), optional flip (true: mirrored left to right), optional style (sticker: white border and soft shadow, default; comic: thick black outline and hard shadow; glossy: shine and shade like an emoji; flat: the shapes alone; neon: glowing outlines, for dark videos), optional animated (true: the icon comes in, drawn or with a bounce, stays, then goes away at the end of its time), optional intro_seconds and outro_seconds (how long it takes to come in and to go away, 0.5 and 0.3 s by default, 0.1 to 2 s; shortened together on a shorter icon). It stays for the time in between: a later end keeps it longer. An icon given without style, animated, intro_seconds or outro_seconds takes those of the project's first icon, so the icons of a video look alike |
id |
In PATCH: the id of an image already on the project, to keep its file without sending image_url again |
start, end |
Seconds |
y |
Vertical center, in % of the height (default 30) |
x |
Horizontal center, in % of the width (default 50: centered). The image always stays whole inside the frame |
size |
Width, in % of the frame width (5 to 100, default 40) |
pinned |
true: the image stays exactly in place, never moved for the other texts or images; they move instead. Only when it would touch the spoken captions does it move to the nearest free height, together with the pinned elements touching it (default false) |
Up to 40 images per project. In responses, each image also has ratio (its height divided by its width).
An image takes only one of these fields: image_url, upload_id, comment or icon. For example, a red cross, then an animated green arrow pointing down:
curl -X PATCH https://pixamake.ai/v1/captions/cap_… \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" -H "Content-Type: application/json" \
-d '{
"images": [
{ "icon": { "id": "red_cross" }, "start": 1, "end": 3, "y": 40, "size": 30 },
{ "icon": { "id": "green_arrow", "angle": 90, "animated": true, "intro_seconds": 0.6 }, "start": 3, "end": 5, "y": 55, "x": 70, "size": 20 }
]
}'Background music
A track from the Pixamake library plays under the sound of the video, looped if needed, and faded out over the last 1.5 seconds. Its level stays the same for the whole video: it is never lowered under the voice. By default it is set automatically: -22 dB when someone speaks (the video's voice or a voice-over), so the voice stays clear, and -14 dB when nobody speaks. Music is included in the price.
| Field | Description |
|---|---|
auto |
true: Pixamake picks the track that best fits what is said (theme, mood, energy). This is the default when no track_id is given. On PATCH, auto: true asks for a new pick |
track_id |
A track of the library (mus_…), picked by hand |
volume_db |
Level in dB, -40 to 0, the same for the whole video. null (default): automatic level |
"music": null removes the music. In responses, volume_db gives the level used and volume_auto is true while it is automatic. The older volume field (in %, 100 = 0 dB) is still accepted. With auto, the track is picked as soon as the transcript is ready; responses show it in music.track (title, artist, category, mood, tags and a preview link).
"music": { "auto": true, "volume_db": -18 }The library
GET /v1/music lists the tracks, the same for every workspace, newest first. Filters: category (hype, upbeat, chill, inspiring, emotional, dramatic, luxury, funny, corporate, lofi), q (text searched in the title, artist, genre, mood and tags) and limit (100 by default, 500 at most).
{
"object": "music_track",
"id": "mus_4fT8kQ2vLm9RzXp1Wq7a",
"title": "Golden Hour",
"artist": "Studio North",
"duration_seconds": 142.6,
"category": "upbeat",
"mood": "warm, confident",
"genre": "pop",
"energy": 4,
"bpm": 118,
"tags": ["upbeat", "pop", "claps", "instrumental", "beauty", "fashion"],
"description": "Bright pop groove with claps and a warm synth bass. Suits beauty and fashion launches.",
"preview_url": "https://...",
"is_new": true
}B-rolls
Videos shown over the video during a time range, above it and below the captions, texts and images (their own sound is cut, the soundtrack goes on). By default a B-roll fills the frame in its own format, centred, on black. Upload the video with POST /v1/uploads first. Up to 20 per project.
| Field | Description |
|---|---|
upload_id |
A video uploaded with POST /v1/uploads |
id |
In PATCH: the id of a B-roll already on the project, kept without uploading again |
start, end |
When it shows, in seconds (at most the length of the clip) |
trim |
Where the clip starts playing, in seconds into the clip (default 0) |
fit |
contain (default): the whole clip in its own format; cover: it fills the frame, its edges cut |
scale |
Size in % of the fitted size (10 to 400, default 100) |
x, y |
Centre of the clip, in % of the frame (default 50 and 50) |
background |
Black around the clip (default true); false shows the video around it |
chroma |
Video filmed on a green screen: the green is keyed out at the export, only the person shows over the video (false by default). The key follows the backdrop's real shade, even dull or uneven |
In responses, each B-roll has name, length and a preview_url valid one hour.
Voice-over
A voice-over replaces or completes the video's voice, for instance when the video has none. When there is one, the captions are transcribed from it (again, in the background: the project goes back to transcribing).
| Field | Description |
|---|---|
voiceover.audio_url |
Public link of the audio file (MP3, M4A, WAV, AAC or OGG, 200 MB and 15 minutes at most) |
voiceover.upload_id |
Or a sound sent with POST /v1/uploads (audio/mpeg, audio/mp4, audio/wav, audio/aac, audio/ogg) |
voiceover.start |
When it starts in the video, in seconds (default 0). Moving it moves its captions too |
voiceover.volume_db |
Level in dB, -20 to +6 (default 0: as recorded). The older voiceover.volume field (in %) is still accepted |
original_voice |
false cuts the video's own voice (default true) |
"voiceover": null removes the voice-over; the captions are transcribed again from the video.
"voiceover": { "audio_url": "https://cdn.example.com/voice-over.mp3", "start": 0.5 },
"original_voice": falseRoom and ambience
A voice-over said in a studio sounds pasted on someone filmed in a bathroom or an empty room. Two settings of the edit, applied at the export, put it in the video's room; the editor plays them in its preview too.
| Field | Description |
|---|---|
voice_room.preset |
auto: the room heard in the original video of a Translation Studio project (none heard: the voice stays dry); none: dry, for a voice-over off screen; or small_room, medium_room, large_room, bathroom, outdoor |
voice_room.amount |
Intensity, 0 to 100 (default 60: as heard in the original video) |
ambience.enabled |
A Translation Studio project, while the video's own voice is cut: the original video's sound without its voice (its room, its sound effects) under the voice-over, or the room's noise when that sound still holds the original voice |
ambience.volume_db |
Its level around the original's balance against the voice, -30 to +6 dB (default 0) |
In a Translation Studio project, the room also gives the voice-over the colour of the original voice (a phone held at arm's length, the room's walls), measured on the voice played at each export: a new voice gets its own. A project gives back voice_room (with heard: the room auto plays) and ambience (null when it has none; source: original or room_noise). Only a project made from a video by Translation Studio has an ambience: ambience on another project answers 422 no_ambience.
"voice_room": { "preset": "bathroom", "amount": 70 },
"ambience": { "enabled": true, "volume_db": -3 }Lip sync
When a voice-over replaces the voice of someone on screen, their lips can follow the new voice. The lips of the person speaking on screen are redone to follow the voice-over; the face is found on its own, and the video's sound and the voice-over stay as they were placed. It works best with one face clearly visible, facing the camera. A part where no face can be redone keeps its original picture.
In the app, select the voice-over in the editor: the Lip sync part starts the sync and shows how it goes.
POST /v1/captions/{id}/lipsync starts the lip sync (the project needs a voice-over). There is no person to choose: person (P1, P2…, or none) is still accepted but ignored, lipsync.persons comes back empty and lipsync.confidence is null.
POST /v1/captions/cap_8LmQ2vT9xK3rWp7aZn4c/lipsync
{}- Price: 8 credits per second of video where a face is redone (40 minimum). The launch holds the voice-over's length over the video, then gives back what was not used. No usable face: nothing is taken. A failure or a stop gives everything back.
- Progress:
lipsync.statusgoes throughqueued,processingandfinalizing, thensucceeded,failedorcanceled;lipsync.progressgoes from 0 to 1. - Export: once
succeeded,lipsync.appliedistrueand the next export uses the synced video. If the voice-over changes or moves afterwards,lipsync.outdatedistrueand the export goes back to the original video: run the lip sync again. DELETE /v1/captions/{id}/lipsyncstops a running lip sync (credits given back), or goes back to the original video.
Sound effects
Sound effects played once at a given time, over the soundtrack, chosen from the Pixamake library. Up to 50 per project, included in the price.
| Field | Description |
|---|---|
sound_effect_id |
A sound effect of the library (mus_…, see below) |
id |
In PATCH: the id of a sound already on the project, kept as it is |
start |
When it starts, in seconds |
duration |
How long it plays (default: the whole effect) |
volume |
0 to 100 (default 80) |
In responses, each sound has name, origin and a preview_url valid three hours. origin is library, imported (a file of yours, added in the editor) or original (a sound effect of the original ad, put back by Translation Studio). A sound given by its id in PATCH keeps its file.
GET /v1/sound-effects lists the library, the same for every workspace, with the same filters as /v1/music: category (whoosh, pop, click, impact, riser, notification, cash, applause, laugh, magic, transition, ambience), q and limit.
"sounds": [{ "sound_effect_id": "mus_9pQ2xT8kLm3RzWv1Yc6b", "start": 0.8 }, { "sound_effect_id": "mus_2hT7kQ9vLm4RzXp8Wc1a", "start": 8.5, "volume": 60 }]Mirror and light filter
Two options of the edit, applied to the video only: captions, texts, images and B-rolls are drawn on top and stay readable.
| Field | Effect |
|---|---|
mirror |
The video flipped left to right |
light_filter |
A very discreet yellow veil over the video (7 % opacity): barely visible, enough to set it apart from the original |
Both are false by default, cost nothing, and are applied at the export: set them to false again (PATCH /v1/captions/{id}) and export to get the video without them. In the editor, Settings (first item of the left menu) shows them at once on the preview, with the speed (the preview shows exactly the export's veil).
To make a cleaned video look like a new creative, create a project from the Smart Remover job (job_id) with mirror and/or light_filter: the cleaned file itself stays untouched. The light_filter and mirror of /v1/jobs are deprecated: they are baked into the cleaned file, which can then no longer be had without them.
Auto zoom
In Settings, Auto zoom adds a zoom in or out on the shots where it shows (about one in two, always the long shots, never the very short ones), in three strengths. Each shot is then set on its own: click it on the timeline to change its zoom (none, in, out, and its strength) or remove it. Cut the video into shots first (Shots button) so the motion varies from one shot to the next.
Transitions
A transition goes on a cut, between two shots of the video track, and lasts as long on both: half its duration on the end of the shot before, half on the start of the next one. The video keeps its length, and everything on it stays where it is: captions, texts, images, B-rolls, voice-over, music and sound effects. The video's own sound changes on the cut.
| Type | Default | Range | Effect |
|---|---|---|---|
crossfade |
0.4 s | 0.2 to 1 s | Both shots blend |
dip_black |
0.5 s | 0.2 to 1 s | Through a black screen, black on the cut |
dip_white |
0.4 s | 0.2 to 1 s | Through a white screen, white on the cut |
flash |
0.15 s | 0.1 to 0.3 s | A white flash of a few frames |
swipe |
0.3 s | 0.15 to 0.6 s | The new shot pushes the old one off the screen |
slide |
0.35 s | 0.15 to 0.7 s | The new shot slides over the old one |
wipe |
0.4 s | 0.2 to 1 s | A line sweeps the screen and reveals the next shot |
whip_pan |
0.25 s | 0.15 to 0.4 s | A very fast blurred pan |
zoom_in |
0.35 s | 0.2 to 0.7 s | Diving into the shot to reach the next one |
zoom_out |
0.35 s | 0.2 to 0.7 s | Pulling out of the shot to reach the next one |
spin |
0.4 s | 0.25 to 0.8 s | The picture spins into the next shot |
glitch |
0.25 s | 0.1 to 0.5 s | The picture jumps, its colours split |
blur |
0.4 s | 0.2 to 0.8 s | The picture blurs, then sharpens on the next shot |
swipe, slide, wipe and whip_pan take a direction: left (the new shot comes in from the right and moves left, the default), right, up or down.
Each segment carries the transition from the shot before it; the first one has none:
{ "segments": [
{ "start": 0, "end": 2.4 },
{ "start": 2.4, "end": 4.8, "transition": { "type": "swipe", "direction": "left", "duration": 0.3 } },
{ "start": 4.8, "end": 7.2, "transition": { "type": "crossfade" } },
{ "start": 7.2, "end": 9.6, "transition": null }
] }- A duration outside its type's range is brought into it (without one, the type's default). Around a short shot, both transitions are shortened together so that each shot still shows on its own: responses then add
effective_duration, the seconds really drawn. - Where the source shot goes on past the cut (a shot shortened, one take cut in two), the transition shows its real frames; otherwise the shot's first or last frame is held.
transitions_presetsets every cut at once, onPOST /v1/captionsandPATCH /v1/captions/{id}:none,some(about one cut in three, never two in a row, rather into a longer shot),swipe(every cut, intransitions_direction,leftby default),soft(a crossfade wherever both shots last 1.2 s or more),dynamic(whip pans in the first 3 seconds, swipes one way then the other on the changes of scene, a flash about every fourth cut, never twice the same in a row) ororiginal(the transitions of the ad an AI Video Studio video remakes; 422 when they are not known). A video still in one shot is first cut at its shot changes.- Footage that already carries its own transitions (a competitor's ad in Translation Studio) keeps them: presets add nothing on those cuts, and the editor marks them as original transitions.
- Projects whose transitions were set before 15 October 2026 (
zoom,fadeorflash) show them as their closest type (zoom_in0.35 s,dip_black0.36 s,flash0.2 s) and are exported as before until their transitions change.
In the editor, the Transitions row under the video shows a chip centred on each cut that has one, as wide as it lasts. Hover a cut and click + to add one; click a chip to change its type, direction and duration, apply it to every cut or remove it (the arrow keys go from cut to cut). Settings offers the presets. The preview plays the transitions, holding the first or last frame of a shot where the export may show its real frames.
Video track, shot by shot
The video itself is a track of shots, like clips in a video editor. segments lists ranges of the source video (seconds of the source), played one after the other in the order of the list:
{ "segments": [{ "start": 4.2, "end": 9.8 }, { "start": 0, "end": 4.2 }, { "start": 12, "end": 15.5 }] }- Cut a shot in two, remove one (the next ones move up), put them in another order, shorten or lengthen a shot within the source. A shot is 0.2 s at least.
cut_at_shots: truecuts the track at the source's shot changes (GET /v1/captions/{id}/shotslists them): one segment per shot, playing as before. A project made from a Smart Remover job uses the shots of the cleaned video.segments: nullputs the whole video back.- The video's own sound follows its shot, and so do the captions transcribed from it. Texts, images, B-rolls, music, sound effects and the voice-over stay at their time in the edit.
- Each segment can carry the
transitionfrom the shot before it (see Transitions above). edit_durationgives the length of the edit (the shots end to end). The price stays the one of the source video.
Change a shot with AI
In the editor, click a shot of the video track: its panel has a Change with AI part. Say what to change ("she wears a red top", "the camera stays still") or pick Make it again as it is, then the model (Kling 3.0 by default, Seedance 2.5, Veo 3.1 or MiniMax H3).
- The AI watches the shot's part of the video and writes a prompt that reproduces it, your request applied.
- Its first and last frames are retouched when the request shows on a picture (Nano Banana 2.1).
- The video model goes from one to the other. The clip is set to the shot's exact length.
- The result shows in the panel within a few minutes. Apply on the shot lays it over the shot, full frame, and the soundtrack stays. Back to the original shot takes it off. Every try stays in the shot's list.
A shot of 0.5 to 15 seconds can be made again. It is charged at the price of an AI Video Studio shot, per second, and the credits come back if the model fails. Export again to get the new version.
Speed
speed: 1.05 exports the whole video 5 % faster, sound included (up to 1.25). Times in the project stay those of the edit: the file lasts edit_duration / speed.
Cutting the sound
Music, sound effects and the voice-over can be cut and shortened, never made longer than their file:
| Element | Fields |
|---|---|
| Music | start and end: where it plays on the timeline (once, from trim seconds into the track, stopping at its end). Without them (null), it covers the whole video and loops |
| Sound effect | trim: its start cut; duration: seconds played, at most the rest of the effect |
| Voice-over | trim: its start cut; length: seconds played, at most the rest of the file. Its captions are those it says |
Safe zone
Texts and images never overlap each other or the spoken captions. Around each of them, a margin of 2 % of the frame height stays free while they are shown at the same time. When an element would touch another one, the export moves it to the nearest free height (pinned elements first, then texts in their order, then images); the editor shows the same result, and dragging an element stops at the edge of the others' margins. The y you send is kept as asked: only the export and the preview move the element.
Picture as background and scrolling text
A JPEG, PNG or WebP picture (15 MB at most, sent with POST /v1/uploads) can be the background: the exported video shows the picture with a slight slow zoom, and lasts as long as the text takes to read. A picture that is not 9:16 is shown whole over a blurred copy of itself.
- Send the text in
text: each sentence starts on a new row. - The project is ready right away (nothing to transcribe), with the
scrollstyle at 160 words per minute. - Length of the video: the reading time of the text at
scroll_speed(it scrolls from the first second), then 1.5 s to finish, 1 s of which is a fade out. With a longer voice-over, the video follows the voice-over. - On a video without a voice, send the text in
texttoo: it scrolls the same way. - Add
musicas for a video: it fades out at the end.
curl https://pixamake.ai/v1/captions \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"upload_id": "up_8nR2kWq5Lx0tZa3Vb7Ye",
"text": "If your knees hurt, listen. It is not your age. It is the way you walk down.",
"style": {"base": "scroll", "scroll_speed": 160},
"music": {"auto": true}
}'Edit and export again
PATCH /v1/captions/{id} changes name, text (the whole text, timed at the reading speed), shift_seconds (moves every caption earlier, negative, or later, 10 s at most, to fix the sync), words (each { "text", "start", "end" }, plus "line": "start" to start a caption at this word or "line": "join" to keep it in the caption before), style, overlays, images, sounds, brolls (each list replaces the current one), music, voiceover, original_voice, mirror, light_filter, voice_room or ambience. Then POST /v1/captions/{id}/export burns the changes into a new file. With auto_export: false, call the same export endpoint when you are ready.
GET /v1/captions/{id}/srt returns the captions as an SRT file.
POST /v1/captions/{id}/transcribe transcribes the voice again (the video's, or the voice-over's), for example after a failed transcription. The current words are replaced.
With music: {"auto": true}, a new track is picked, like "Recommend another" in the editor.
GET /v1/captions?status=done&sort=oldest lists the projects (sort: newest by default or oldest, pagination with starting_after).
Versions
Every export of a project is kept as a version: V1, V2, V3… Each version keeps its video and the state of the project when that export started (words, style, texts, images, B-rolls, music, sounds, voice-over, video track, speed, mirror and light filter). Editing while an export runs goes into the next version. So the first version, before any iteration, is always there, and you can start again from any version.
In the editor, the button next to Download shows the version you are working on (V3, or Modified since V2 once you changed something). It opens the list of versions with their date and length: play one, download it, Start again from this version (the project goes back to it; you confirm first and can undo it with Ctrl+Z), or New project from this version (a separate project with the same video and that version's edit, named "Name (V2)", not exported yet). The latest version is shown everywhere by default: library cards, Translation Studio, AI Video Studio, brands and products, Iteration Studio and the videos to publish in Creative Launch. Its file without captions is made again with it. The previous versions stay in this list.
Restoring is free. A new project from a version costs nothing until its first export, which is paid like any project's. Projects exported before versions existed list their last export as their version (backfilled: true).
GET /v1/captions/{id}/versions lists the versions, newest first:
{
"object": "list",
"data": [
{ "object": "caption_version", "number": 2, "label": "V2", "duration_seconds": 28.4, "credits": 0, "backfilled": false, "current": true, "result": { "url": "https://...", "expires_at": "2026-10-06T10:00:00.000Z" }, "created_at": "2026-10-06T09:20:41.000Z" },
{ "object": "caption_version", "number": 1, "label": "V1", "duration_seconds": 28.4, "credits": 15, "backfilled": false, "current": false, "result": { "url": "https://...", "expires_at": "2026-10-06T10:00:00.000Z" }, "created_at": "2026-10-06T09:00:41.000Z" }
]
}POST /v1/captions/{id}/versions/{number}/restore puts the version back into the project (the name stays) and returns the project; export again to make the next version. POST /v1/captions/{id}/versions/{number}/duplicate creates a new project from the version (optional body { "name": "..." }) and returns it. The project object gives version (the latest number, null before the first export) and versions_count.
With the MCP server, the tools are list_caption_versions, restore_caption_version and duplicate_caption_version.
The project object
{
"id": "cap_8LmQ2vT9xK3rWp7aZn4c",
"object": "caption_project",
"status": "done",
"name": "spring-ad.mp4",
"source_job_id": "job_3kT9xQ2vLm8RfZp1Wq7a",
"input": { "duration_seconds": 28.4, "width": 1080, "height": 1920 },
"language": "en",
"credits": 29,
"charged": true,
"exports": 1,
"version": 1,
"versions_count": 1,
"words": [{ "text": "This", "start": 0.12, "end": 0.31 }],
"style": { "preset": "custom", "font": "poppins", "words_per_line": 2, "highlight": "color", "highlight_color": "#FDE047", "background": null },
"overlays": [{ "id": "ov_x1", "text": "-30 % today 🔥", "start": 0, "end": 3, "y": 18, "size": 80, "style_id": "cst_8LmQ2vT9xK3rWp7aZn4c", "style": { "font": "poppins", "color": "#FFFFFF" } }],
"music": { "auto": true, "track_id": "mus_4fT8kQ2vLm9RzXp1Wq7a", "volume_db": -22, "volume_auto": true, "track": { "id": "mus_4fT8kQ2vLm9RzXp1Wq7a", "title": "Golden Hour", "artist": "Studio North", "duration_seconds": 142.6, "category": "upbeat", "mood": "warm, confident", "tags": ["upbeat", "pop"], "preview_url": "https://..." } },
"sounds": [{ "id": "snd_x1", "sound_effect_id": "mus_9pQ2xT8kLm3RzWv1Yc6b", "name": "Pop", "origin": "library", "start": 0.8, "duration": 0.4, "volume": 80, "preview_url": "https://..." }],
"brolls": [],
"voiceover": null,
"original_voice": true,
"mirror": false,
"light_filter": false,
"voice_room": { "preset": "none", "amount": 60, "heard": null },
"ambience": null,
"images": [{ "id": "img_x1", "image_url": "https://...", "start": 4, "end": 7, "y": 30, "size": 40, "ratio": 1 }],
"result": { "url": "https://...", "expires_at": "2026-10-06T10:00:00.000Z" },
"srt_url": "https://pixamake.ai/v1/captions/cap_8LmQ2vT9xK3rWp7aZn4c/srt",
"error": null,
"created_at": "2026-10-06T08:58:12.000Z",
"exported_at": "2026-10-06T09:00:41.000Z"
}result.url expires after one hour: download it, or fetch the project again for a fresh link. error.code is one of transcription_failed, insufficient_credits, no_speech or export_failed.