Documentation
Smart Remover jobs
Create, follow, list and cancel Smart Remover jobs.
A job is one video being cleaned by Smart Remover: everything added in editing is removed (captions, hooks, text overlays, comments, emojis, icons, stickers), and so is the ad's brand wherever it shows (logo on screen, name printed on the product). Text that is part of the filmed scene (signs, screens, packaging of other brands) stays. Credits (120 per minute, per started second, 20 minimum) are reserved when the job is created and returned if it fails or is canceled. To add new captions afterwards, create a Smart Editor project with the job's job_id.
Lifecycle
| Status | Meaning |
|---|---|
queued |
Credits reserved, waiting for a processing slot |
analyzing |
Reading the captions and the speech of the video |
processing |
Frames are being rebuilt and checked |
succeeded |
The clean video is ready in result.url, and its mirrored version in result.mirror_url |
failed |
Processing did not complete; see error (credits returned) |
canceled |
Stopped by you (credits returned) |
While a job runs, stage tells what happens and progress goes from 0 to 1. Stages: queued, preparing, reading_text, downloading, masking, cleaning, verifying, assembling, finalizing, retrying.
No plan limits how many jobs run in parallel. Each workspace has its own queue (its oldest jobs first) and, when the platform is busy, the places are shared fairly between workspaces, Scale getting twice as many and Growth one and a half times as many. Jobs made by Translation Studio go through the same queue.
Create a job
POST /v1/jobs
| Field | Type | Description |
|---|---|---|
upload_id |
string | An upload created with POST /v1/uploads |
video_url |
string | Link of the video (instead of upload_id): a direct file link, or a Google Drive, Dropbox, TikTok, Instagram or YouTube link (imported first, as in the app) |
filename |
string | Optional display name |
texts |
string[] | Optional: the exact texts shown on screen to erase (the captions). Every other text, emoji, icon, comment, logo and the brand on the product is found automatically and erased too |
metadata |
object | Optional: up to 20 string keys and values, returned with the job and in webhooks |
trim_to_credits |
boolean | Optional: if the balance is too low for the whole video, process (and charge) only the start it covers. Without it, the request fails with 402 insufficient_credits and affordable_seconds |
light_filter |
boolean | Deprecated. A light yellow veil baked into the delivered file: the video can then no longer be had without it. Use light_filter on a Smart Editor project instead (POST /v1/captions with the job_id): applied at the export, removed at any time |
mirror |
boolean | Deprecated. The video flipped left to right, baked into the delivered file. Use mirror on a Smart Editor project instead |
Send an Idempotency-Key header to retry safely: the same key returns the same job instead of creating a second one.
curl https://pixamake.ai/v1/jobs \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 0d6c1c5e-62f4-4f57-9c1c-4e6a7c1a2f10" \
-d '{"upload_id": "up_7Qm2rT9vXk3LpZ8aWn4c", "metadata": {"campaign": "spring-sale"}}'The job object
{
"id": "job_3kT9xQ2vLm8RfZp1Wq7a",
"object": "job",
"status": "succeeded",
"stage": null,
"progress": 1,
"source": "api",
"title": "Heart necklace · Mother's Day",
"batch_id": null,
"input": { "filename": "ad.mp4", "duration_seconds": 30, "width": 1080, "height": 1920, "size_bytes": 4821331 },
"processed_seconds": null,
"options": { "light_filter": false, "mirror": false },
"credits": 75,
"credits_refunded": false,
"result": { "url": "https://...", "mirror_url": "https://...", "expires_at": "2026-10-04T14:12:00.000Z", "size_bytes": 5310877 },
"original_url": "https://...",
"original_download_url": "https://...",
"variants": [],
"texts": ["Free shipping", "50% off today"],
"error": null,
"metadata": { "campaign": "spring-sale" },
"created_at": "2026-10-04T13:05:41.120Z",
"started_at": "2026-10-04T13:05:42.008Z",
"finished_at": "2026-10-04T13:09:57.774Z"
}title is the readable name given from the ad (product and angle), null until then. texts lists the texts found on screen and erased. elements lists everything the engine found on screen, with its id, its type (see Detection), its words (or the brand for a logo), when it shows (start and end in seconds) and erased (erased or kept). brand is the ad's brand as written in the video. original_url is the original video (to compare before and after), a link valid one hour. original_download_url is the file you sent, in full quality, to download (link valid one hour). variants lists the versions asked for (see Versions below). batch_id is the job's batch, or null.
options shows the options chosen at launch (light_filter, mirror, deprecated). They are applied once the video is cleaned, at no extra credit. The app no longer offers them: the mirror and the light filter are options of the edit.
processed_seconds is set when only the start of the video was processed (trim_to_credits). result.url (the cleaned video) and result.mirror_url (the mirrored version: flipped, light filter, sped up ×1.05) are download links valid for one hour: both versions are made when the cleaning ends, so you can pick the one to keep. original_download_url is still the file you sent, in full quality. Each GET /v1/jobs/{id} returns a fresh one. Files are kept with no time limit, on every plan.
Retrieve a job
GET /v1/jobs/{id}. Poll every 5 to 10 seconds, or use webhooks.
Detection
While cleaning, the engine finds everything shown on screen, on the GPU: it reads the text of every frame, and a vision model looks at two frames per second to see what a text reader cannot (emojis, icons, stickers, comment bubbles, logos, the brand printed on the product, inserted images, end card) and to find the ad's brand. The result is kept with the job: GET /v1/jobs/{id}/detections returns it as soon as the detection is done (before the cleaning with review), then for good. The same video is never analysed twice. Without texts, a video already read elsewhere (by Translation Studio or Ad Decoder, in any workspace) gives its captions and texts at once, without reading the video again.
{
"object": "detections",
"job_id": "job_3kT9xQ2vLm8RfZp1Wq7a",
"fps": 30, "width": 1080, "height": 1920, "duration": 10,
"shots": [{ "start": 0, "end": 4.2 }, { "start": 4.2, "end": 10 }],
"caption_bands": [{ "y0": 72, "y1": 80 }],
"elements": [
{ "id": "el_001", "kind": "caption", "text": "This changed everything", "start": 0.4, "end": 2.6,
"box": [22, 73, 78, 77], "keyframes": [[0.4, 22, 73, 78, 77]], "line_height": 3.1, "lines": 1,
"erase": true, "script": true, "score": 0.97, "source": "ocr" },
{ "id": "el_002", "kind": "emoji", "text": "", "start": 0.4, "end": 2.6,
"box": [79, 73, 84, 77], "keyframes": [[0.4, 79, 73, 84, 77]], "line_height": null, "lines": 0,
"erase": true, "script": null, "score": null, "source": "vision" }
],
"brand": ["Glow"]
}| Element field | Description |
|---|---|
kind |
Read frame by frame: caption, text (text added in editing: title, hook, price), scene_text (text of the scene or the product, kept), watermark, banner (plain bar: text erased, bar kept). Seen by the vision model: comment (the whole comment bubble), emoji, icon, sticker, logo (the brand's logo added in editing), erased; image (inserted photo or screenshot), product_brand (the brand printed on the product or its packaging) and end_card, reported and kept: the review can have them erased |
text |
The text read (lines separated by \n), empty for a watermark |
start, end |
When it appears and disappears, in seconds |
box |
Bounding box, in % of the frame: [x0, y0, x1, y1] |
keyframes |
[time, x0, y0, x1, y1] each time the box moves |
line_height, lines |
Height of one line in % of the frame, number of lines |
erase |
The engine's decision: erased (true) or kept |
script |
The text follows the voice (script caption) |
source |
ocr (text reading) or vision (vision model) |
shots gives the shot changes, caption_bands where the captions sit, brand the ad's brand.
List jobs
GET /v1/jobs?limit=20&status=succeeded&starting_after=job_...
| Parameter | Description |
|---|---|
limit |
1 to 100, default 20 |
status |
Filter by status, or active for every job still running |
batch_id |
The jobs of a batch |
sort |
newest (default) or oldest |
starting_after |
Cursor: the id of the last job of the previous page (400 if unknown) |
{ "object": "list", "data": [ { "id": "job_..." } ], "has_more": true, "next_cursor": "job_..." }Batches
POST /v1/batches starts 2 to 100 videos at once, as in the app. Each video is a regular job (own credits and status) in the queue: they start on their own as places free up. results says which ones started.
| Field | Type | Description |
|---|---|---|
upload_ids |
list | Uploads created with POST /v1/uploads |
video_urls |
list | Video links, like video_url |
light_filter, mirror |
boolean | Deprecated (see above): applied to every video |
GET /v1/batches/{id} gives the progress of the batch and its jobs. GET /v1/batches/{id}/zip downloads every finished video in a single ZIP file.
Shot by shot
A succeeded video can also be had shot by shot: GET /v1/jobs/{id}/shots finds its shot changes (once, then kept) and lists each shot (index, start, end, duration), with joined_url, the whole cleaned video as usual. GET /v1/jobs/{id}/shots/{index} downloads one shot as its own MP4 (a redirect to a link valid 1 hour). To edit the video shot by shot (cut, remove, reorder, shorten), create a Smart Editor project with job_id and cut_at_shots: true.
Versions: filter, mirror, speed
The mirrored version (all three options, ×1.05) is already made at the end of every cleaning, in result.mirror_url. For another setting:
POST /v1/jobs/{id}/variants makes a version of the cleaned video with the light filter (a very discreet warm veil), the mirror and/or a faster speed, sound included (the voice keeps its pitch). By default all three, at ×1.05: a fresh creative. Free, made once per set of options and kept; it takes about the length of the video. The cleaned video itself never changes.
curl -X POST https://pixamake.ai/v1/jobs/job_…/variants \
-H "Authorization: Bearer $PIXAMAKE_API_KEY" -H "Content-Type: application/json" \
-d '{ "light_filter": true, "mirror": true, "speed": 1.05 }'| Field | Description |
|---|---|
light_filter |
The light filter (default true) |
mirror |
The video flipped left to right (default true) |
speed |
Playback speed, from 1 to 1.25 (default 1.05) |
The response (202, or 200 when it already exists) gives id, status (rendering, ready or failed) and, once ready, url (valid one hour). Follow it with GET /v1/jobs/{id}/variants or GET /v1/jobs/{id} (variants). In the app, a video's Download button offers the cleaned video and the mirrored version, both ready at once. In an edit, the mirror, the filter and the speed are also set in Smart Editor.
Icon library
Pixamake has an icon library: in the Smart Editor editor, Icons button, to add one to a video. These are the icons of e-commerce ads: shopping cart, shopping bag, gift, delivery truck, price tag and promo burst, coins, timer, secure payment, guarantee, best seller, verified badge, click, thumbs up, fire, sparkles, emphasis lines, notification, red cross, green check, plus and minus, red and yellow circles, red underline, straight and curved arrows in red, green, yellow and white, five gold stars or stars in green boxes, warning, prohibited, exclamation and question marks, red heart, lightning. Each comes in five styles (?style=sticker, comic, glossy, flat or neon on its link), static, sharp and transparent (PNG or SVG), and animated: it comes in (drawn, or with a bounce), stays, then goes away, as a transparent video (?format=webm or ?format=mov on its link).
GET /v1/icons lists them (?locale=fr for French names):
curl https://pixamake.ai/v1/icons \
-H "Authorization: Bearer $PIXAMAKE_API_KEY"{
"object": "list",
"data": [
{
"id": "red_cross",
"object": "icon",
"name": "Red cross",
"category": "marks",
"rotatable": false,
"png_url": "https://pixamake.ai/api/icons/red_cross?format=png&size=512",
"svg_url": "https://pixamake.ai/api/icons/red_cross?format=svg"
}
]
}| Field | Description |
|---|---|
id |
The icon's id, also given to Smart Editor (images[].icon) |
name |
Its name |
category |
marks, arrows, shapes, ratings or signs |
rotatable |
true for icons that can turn (arrows) |
png_url, svg_url |
The icon as a transparent PNG or as SVG |
The PNG link (png_url) takes ?size= (32 to 2048 px), ?angle= (degrees, for arrows) and ?flip=1 (flipped). Translation Studio uses it on its own to put back the pictograms that were erased.
Cancel a job
POST /v1/jobs/{id}/cancel stops a queued or running job and returns its credits. Finished jobs are returned unchanged.
Failure codes
error.code |
Meaning |
|---|---|
no_text_found |
No caption or overlay was found in the video. No credits used. |
nothing_erased |
The engine could not find the text to erase. No credits used. |
processing_failed |
The engine stopped with an error. Credits returned. |
timeout |
Processing took too long and was stopped. Credits returned. |
start_failed |
The video could not be prepared after several attempts. Credits returned. |