/workspaceCurrent workspace
Example
curl -X GET https://aftermatter.online/api/v1/workspace \ -H "Authorization: Bearer sk_live_…"
Every endpoint available to API keys, generated from the same definitions the server validates against.
https://aftermatter.online/api/v1
Send your key as a bearer token: Authorization: Bearer sk_live_…. Keys belong to one workspace and carry scopes; a request outside its scopes gets 403.
120 requests per minute per key. Over the limit you get 429 with a Retry-After header. Generations also respect your plan's concurrent job limit.
Errors are JSON: { "error": { "code", "message", "details" }, "requestId" }. 401 unauthenticated, 402 not enough credits, 403 missing scope or plan feature, 404 not found (also for other workspaces’ data), 409 conflict, 422 validation (details.issues), 429 rate limited.
Send an Idempotency-Key header (or idempotencyKey in the body) when creating generations. Retrying with the same key returns the original job instead of charging twice.
Generations reserve credits when they start and are charged only when they succeed; failed or cancelled jobs return the reservation. Estimate first with POST /generations/estimate.
/workspaceCurrent workspace
curl -X GET https://aftermatter.online/api/v1/workspace \ -H "Authorization: Bearer sk_live_…"
/uploadsStart an upload (returns signed URL(s))
Scopes: content.create
Request body
filenamestringrequiredmax 255 charsmimeTypestringrequiredmax 100 charssizeintegerrequired≤ 9007199254740991projectIdstring (uuid)folderIdstring (uuid)titlestringmax 200 charstagsstring[]curl -X POST https://aftermatter.online/api/v1/uploads \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/uploads/{id}/completeFinish an upload and start processing
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
partsobject[]partNumberintegerrequired≥ 1 · ≤ 10000etagstringrequiredmax 200 charscurl -X POST https://aftermatter.online/api/v1/uploads/:id/complete \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/uploads/{id}Cancel an unfinished upload (the file never becomes an asset)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/uploads/:id \ -H "Authorization: Bearer sk_live_…"
/assetsList and search assets
Scopes: content.read
Parameters
kindquery · "image" | "video" | "audio" | "model3d" | "document" | "other"sourcequery · stringprojectIdquery · string (uuid)collectionIdquery · string (uuid)favoritequery · "true" | "false"qquery · stringtagquery · stringlimitquery · integerbeforequery · stringidsquery · stringcharacterIdquery · string (uuid)curl -X GET https://aftermatter.online/api/v1/assets \ -H "Authorization: Bearer sk_live_…"
/assets/{id}Get an asset
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/assets/:id \ -H "Authorization: Bearer sk_live_…"
/assets/{id}Rename, tag, favorite, move or change visibility
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringmax 200 charstagsstring[]favoritebooleanprojectIdstring (uuid)visibility"private" | "unlisted" | "public"curl -X PATCH https://aftermatter.online/api/v1/assets/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/assets/deleteDelete assets
Scopes: content.delete
Request body
idsstring (uuid)[]requiredcurl -X POST https://aftermatter.online/api/v1/assets/delete \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/assets/{id}/duplicateDuplicate an asset
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/assets/:id/duplicate \ -H "Authorization: Bearer sk_live_…"
/assets/{id}/downloadShort-lived download URL
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/assets/:id/download \ -H "Authorization: Bearer sk_live_…"
/assets/{id}/versionsOriginal and derived versions
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/assets/:id/versions \ -H "Authorization: Bearer sk_live_…"
/collectionsCollections
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/collections \ -H "Authorization: Bearer sk_live_…"
/collectionsCreate a collection
Scopes: content.create
Request body
namestringrequiredmax 80 charscurl -X POST https://aftermatter.online/api/v1/collections \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/collections/{id}Delete a collection (assets are kept)
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/collections/:id \ -H "Authorization: Bearer sk_live_…"
/collections/{id}/itemsAdd/remove assets in a collection
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
addstring (uuid)[]removestring (uuid)[]curl -X POST https://aftermatter.online/api/v1/collections/:id/items \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projectsList projects
Scopes: content.read
Parameters
statusquery · "active" | "archived"qquery · stringcurl -X GET https://aftermatter.online/api/v1/projects \ -H "Authorization: Bearer sk_live_…"
/projectsCreate a project
Scopes: content.create
Request body
namestringrequiredmax 120 charsdescriptionstringmax 2000 charscurl -X POST https://aftermatter.online/api/v1/projects \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}Get a project
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/projects/:id \ -H "Authorization: Bearer sk_live_…"
/projects/{id}Rename, describe, set cover, archive/restore
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charsdescriptionstringmax 2000 charscover_asset_idstring (uuid)status"active" | "archived"curl -X PATCH https://aftermatter.online/api/v1/projects/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}Delete a project
Scopes: content.delete
Parameters
idpath · stringrequireddeleteAssetsquery · "true" | "false"curl -X DELETE https://aftermatter.online/api/v1/projects/:id \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/duplicateDuplicate a project
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/projects/:id/duplicate \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/assetsAdd assets to a project
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]requiredcurl -X POST https://aftermatter.online/api/v1/projects/:id/assets \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}/assets/removeRemove assets from a project
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]requiredcurl -X POST https://aftermatter.online/api/v1/projects/:id/assets/remove \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/creditsCredit balance
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/credits \ -H "Authorization: Bearer sk_live_…"
/credits/ledgerCredit transactions
Scopes: billing.view
Parameters
limitquery · integerbeforequery · integerallquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/credits/ledger \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/foldersFolder tree of a project
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/projects/:id/folders \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/foldersCreate a folder in a project
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringrequiredmax 80 charsparentIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/projects/:id/folders \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/folders/{id}Rename, move or reorder a folder
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 80 charsparentIdstring (uuid)positioninteger≥ 0 · ≤ 10000curl -X PATCH https://aftermatter.online/api/v1/folders/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/folders/{id}Remove a folder: keep_files moves its contents up; with_files deletes them (files used in edits are kept)
Scopes: content.create
Parameters
idpath · stringrequiredmodequery · "keep_files" | "with_files"curl -X DELETE https://aftermatter.online/api/v1/folders/:id \ -H "Authorization: Bearer sk_live_…"
/folders/{id}/impactWhat deleting a folder affects (subfolders, files, files used in edits)
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/folders/:id/impact \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/libraryFiles of a project with folder, state and analysis
Scopes: content.read
Parameters
idpath · stringrequiredfolderIdquery · string (uuid) | stringqquery · stringkindquery · "image" | "video" | "audio"orientationquery · "portrait" | "landscape" | "square"statequery · "ready" | "processing" | "failed" | "unanalyzed"favoritequery · "true" | "false"tagquery · stringidsquery · stringlimitquery · integeroffsetquery · integerrolequery · "library" | "base" | "reference" | "output"directquery · "true" | "false"sortquery · "newest" | "oldest" | "name" | "duration"curl -X GET https://aftermatter.online/api/v1/projects/:id/library \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/library/searchRanked search restricted to a project (and folders)
Scopes: content.read
Parameters
idpath · stringrequiredqquery · stringfolderIdsquery · stringkindsquery · stringlimitquery · integercurl -X GET https://aftermatter.online/api/v1/projects/:id/library/search \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/library/statsHow many files a scope holds and how many are analysed
Scopes: content.read
Parameters
idpath · stringrequiredfolderIdsquery · stringsubfoldersquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/projects/:id/library/stats \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/library/placePut files into a folder of the project (or its root)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]requiredfolderIdstring (uuid)requiredcurl -X POST https://aftermatter.online/api/v1/projects/:id/library/place \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}/library/editNames, descriptions, tags and favourites of many files
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]requiredtitlestringmax 200 charsdescriptionstringmax 1000 charsfavoritebooleanaddTagsstring[]removeTagsstring[]setTagsstring[]curl -X POST https://aftermatter.online/api/v1/projects/:id/library/edit \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}/library/removeRemove from the project, hide from the library or delete (safe for edits that use the file)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]requiredmode"remove" | "hide" | "delete"requiredforcebooleancurl -X POST https://aftermatter.online/api/v1/projects/:id/library/remove \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/projects/{id}/library/analyzeAnalyse (again) files of the project
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdsstring (uuid)[]forcebooleancurl -X POST https://aftermatter.online/api/v1/projects/:id/library/analyze \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/assets/{id}/usageEdits, versions and exports that use a file
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/assets/:id/usage \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/referencesReferences of a project with their scenes and extracted clips
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/projects/:id/references \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/referencesMake a video a reference (style and/or clips to extract)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requireduseStylebooleanextractBrollbooleancurl -X POST https://aftermatter.online/api/v1/projects/:id/references \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/references/{id}Use a reference for style and/or extract its clips
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
useStylebooleanextractBrollbooleancurl -X PATCH https://aftermatter.online/api/v1/references/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/references/{id}Stop using a video as a reference (files are kept)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/references/:id \ -H "Authorization: Bearer sk_live_…"
/references/{id}/reextractAnalyse a reference and cut its clips again
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/references/:id/reextract \ -H "Authorization: Bearer sk_live_…"
/reference-clips/{id}/actionApprove or reject a treated clip; keep a clip out of (or back in) the library
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
action"approve" | "reject" | "exclude" | "include"requiredcurl -X POST https://aftermatter.online/api/v1/reference-clips/:id/action \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/reference-clips/{id}/clean/estimateCost of removing burned-in captions by video reconstruction
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/reference-clips/:id/clean/estimate \ -H "Authorization: Bearer sk_live_…"
/reference-clips/{id}/cleanRemove burned-in captions by video reconstruction (paid; reviewed before use)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/reference-clips/:id/clean \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/library/readinessWhat an edit can draw from now: ready videos and pictures, processing, folders, references still extracting
Scopes: content.read
Parameters
idpath · stringrequiredfolderIdsquery · stringsubfoldersquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/projects/:id/library/readiness \ -H "Authorization: Bearer sk_live_…"
/voices/elevenlabsElevenLabs voices this workspace may use: premade ones and its own saved voices
Scopes: content.create
curl -X GET https://aftermatter.online/api/v1/voices/elevenlabs \ -H "Authorization: Bearer sk_live_…"
/generations/estimateValidate a request and get its credit cost (no charge)
Scopes: content.create
Request body
modelIdstringrequiredmax 80 charsmodestringmax 40 charstool"image" | "video" | "influencer" | "motion" | "lipsync" | "swap" | "ads" | "marketing" | "cinema" | "audio" | "effects" | "canvas" | "agent" | "editor" | "3d" | "api" | "aftershift"default "image"promptstringmax 50000 charsnegativePromptstringmax 5000 charsparamsobjectdefault {}inputsobject[]default []slotstringrequiredmax 40 charsassetIdsstring (uuid)[]default []projectIdstring (uuid)titlestringmax 200 charsidempotencyKeystringmax 120 charscontextobjectdefault {}rightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/generations/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/generationsStart a generation (credits are reserved, charged only on success)
Scopes: content.create
Parameters
Idempotency-Keyheader · stringRequest body
modelIdstringrequiredmax 80 charsmodestringmax 40 charstool"image" | "video" | "influencer" | "motion" | "lipsync" | "swap" | "ads" | "marketing" | "cinema" | "audio" | "effects" | "canvas" | "agent" | "editor" | "3d" | "api" | "aftershift"default "image"promptstringmax 50000 charsnegativePromptstringmax 5000 charsparamsobjectdefault {}inputsobject[]default []slotstringrequiredmax 40 charsassetIdsstring (uuid)[]default []projectIdstring (uuid)titlestringmax 200 charsidempotencyKeystringmax 120 charscontextobjectdefault {}rightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/generations \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/generationsGeneration history and queue
Scopes: content.read
Parameters
statusquery · "active" | "completed" | "failed" | "all"toolquery · stringprojectIdquery · string (uuid)batchIdquery · string (uuid)limitquery · integerbeforequery · stringqquery · stringmodelIdquery · stringfavoritesquery · "true" | "false"sincequery · "7d"characterIdquery · string (uuid)purposequery · "look" | "content" | "motion" | "reference"curl -X GET https://aftermatter.online/api/v1/generations \ -H "Authorization: Bearer sk_live_…"
/generations/{id}Get a generation with its outputs
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/generations/:id \ -H "Authorization: Bearer sk_live_…"
/generations/{id}/cancelCancel a generation
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/generations/:id/cancel \ -H "Authorization: Bearer sk_live_…"
/generations/{id}/retryRun a failed generation again
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/generations/:id/retry \ -H "Authorization: Bearer sk_live_…"
/prompt/assistImprove, shorten, translate, vary or describe prompts
Scopes: content.create
Request body
action"improve" | "shorten" | "translate" | "variations" | "describe"requiredpromptstringmax 8000 charstoolstringmax 20 charsmodestringmax 40 charsmodelIdstringmax 80 charsassetIdstring (uuid)countinteger≥ 2 · ≤ 6curl -X POST https://aftermatter.online/api/v1/prompt/assist \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/v4/reference-checksCheck a reference photo once: people, face crop, quality warnings, visible characteristics (never identifies anyone)
Scopes: content.create
Request body
assetIdstring (uuid)requiredsubjectinteger≥ 0 · ≤ 5curl -X POST https://aftermatter.online/api/v1/characters/v4/reference-checks \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/v4/estimateCredits, compiled prompts and the selection check for a configuration before any character exists
Scopes: content.create
Request body
configobjectrequiredconfirmRightsbooleanidempotencyKeystringmax 120 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/v4/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/v4/garmentsAdd a clothing reference (checked once: what it is, where it is worn, the details to preserve)
Scopes: content.create
Request body
assetIdstring (uuid)requiredslot"upper" | "lower" | "full" | "shoes" | "outerwear" | "accessories" | "custom"labelstringmax 120 charscharacterIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/v4/garments \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/v4/garments/{id}Change a clothing reference’s slot or label
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
slot"upper" | "lower" | "full" | "shoes" | "outerwear" | "accessories" | "custom"labelstringmax 120 charscurl -X PATCH https://aftermatter.online/api/v1/characters/v4/garments/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/v4/garments/{id}Remove a clothing reference
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/v4/garments/:id \ -H "Authorization: Bearer sk_live_…"
/characters/presetsStarter and saved builder presets
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/characters/presets \ -H "Authorization: Bearer sk_live_…"
/characters/presetsSave builder selections as a preset
Scopes: content.create
Request body
namestringrequiredmax 60 charstype"natural" | "distinctive" | "extreme" | "stylized" | "fantasy"requiredattributesobjectrequiredcurl -X POST https://aftermatter.online/api/v1/characters/presets \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/presets/{id}Delete a preset
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/presets/:id \ -H "Authorization: Bearer sk_live_…"
/characters/series/{id}A content series with its ideas and drafts
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/series/:id \ -H "Authorization: Bearer sk_live_…"
/characters/series/{id}Delete a series (generated files stay in the library)
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/series/:id \ -H "Authorization: Bearer sk_live_…"
/characters/series/{id}/ideasPlan more ideas for a series
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
countinteger≥ 1 · ≤ 12 · default 4curl -X POST https://aftermatter.online/api/v1/characters/series/:id/ideas \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/series-items/{id}Edit an idea
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringmax 200 charsformat"image" | "video"hookstringmax 500 charsscenestringmax 3000 charsscriptstringmax 3000 charscaptionstringmax 2200 charshashtagsstring[]curl -X PATCH https://aftermatter.online/api/v1/characters/series-items/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/series-items/{id}Delete an idea
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/series-items/:id \ -H "Authorization: Bearer sk_live_…"
/characters/series-items/{id}/generateGenerate the draft for an idea
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringmax 80 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/series-items/:id/generate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/charactersSaved characters (AI influencers)
Scopes: content.read
Parameters
favoritequery · "true" | "false"qquery · stringviewquery · "all" | "recent" | "archived"curl -X GET https://aftermatter.online/api/v1/characters \ -H "Authorization: Bearer sk_live_…"
/charactersCreate a character
Scopes: content.create
Request body
namestringrequiredmax 60 charstype"natural" | "distinctive" | "extreme" | "stylized" | "fantasy"default "natural"attributesobjectdefault {}customPromptstringmax 1500 chars · default ""negativePromptstringmax 1000 chars · default ""baseModelIdstringseedintegervoiceobjectmodelIdstringmax 80 charsvoicestringmax 120 charslanguagestringmax 20 charsdescriptionstringmax 500 charspersonalityobjecttraitsstring[]biostringmax 1000 charsnichestringmax 120 charsstylePublicbooleanpresetIdstringdescriptionstringmax 500 charscategory"fashion" | "lifestyle" | "beauty" | "comedy" | "editorial" | "technology" | "cinematic" | "fantasy" | "fitness" | "gaming" | "other"studioDraftbooleancurl -X POST https://aftermatter.online/api/v1/characters \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/sheetsIdentity sheet versions (face + full body)
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/sheets \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/sheetsApprove the face and build an identity sheet: full body from it, consistency check, side-by-side sheet
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
faceAssetIdstring (uuid)modelIdstringmax 80 charsprojectIdstring (uuid)idempotencyKeystringmax 120 charsconfirmRightsbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/sheets \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/sheets/estimateCredits for an identity sheet (full body from the approved face)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
faceAssetIdstring (uuid)modelIdstringmax 80 charsprojectIdstring (uuid)idempotencyKeystringmax 120 charsconfirmRightsbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/sheets/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/sheets/{sheetId}One identity sheet version
Scopes: content.read
Parameters
idpath · stringrequiredsheetIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/sheets/:sheetId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/sheets/{sheetId}/applyUse this identity sheet version (accept after review, or restore an earlier one)
Scopes: content.create
Parameters
idpath · stringrequiredsheetIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/sheets/:sheetId/apply \ -H "Authorization: Bearer sk_live_…"
/characters/{id}One character with references and projects
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id \ -H "Authorization: Bearer sk_live_…"
/characters/{id}Update a character (the identity prompt is recompiled)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 60 charstype"natural" | "distinctive" | "extreme" | "stylized" | "fantasy"attributesobjectcustomPromptstringmax 1500 charsnegativePromptstringmax 1000 charsbaseModelIdstringseedintegervoiceobjectmodelIdstringmax 80 charsvoicestringmax 120 charslanguagestringmax 20 charsdescriptionstringmax 500 charspersonalityobjecttraitsstring[]biostringmax 1000 charsnichestringmax 120 charsstylePublicbooleanpresetIdstringdescriptionstringmax 500 charscategory"fashion" | "lifestyle" | "beauty" | "comedy" | "editorial" | "technology" | "cinematic" | "fantasy" | "fitness" | "gaming" | "other"favoritebooleancoverAssetIdstring (uuid)savebooleanarchivedbooleancurl -X PATCH https://aftermatter.online/api/v1/characters/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}Delete a character (its files stay in the library)
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/:id \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/duplicateDuplicate a character
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/duplicate \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/referencesAdd a reference image (uploads require a likeness rights confirmation)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredkind"portrait" | "full_body" | "angle" | "expression" | "sheet" | "upload"labelstringmax 60 charsprimarybooleanconfirmRightsbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/references \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/references/{assetId}Remove a reference
Scopes: content.create
Parameters
idpath · stringrequiredassetIdpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/:id/references/:assetId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/looksGenerate candidate looks to choose the identity from
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringmax 80 charscountinteger≥ 1 · ≤ 4projectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/:id/looks \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/reference-set/estimateCost of a reference set
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kinds"portrait" | "full_body" | "angle" | "expression" | "sheet"[]requiredmodelIdstringmax 80 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/:id/reference-set/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/reference-setGenerate full body, turnaround, expressions and sheet from the main look
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kinds"portrait" | "full_body" | "angle" | "expression" | "sheet"[]requiredmodelIdstringmax 80 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/:id/reference-set \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/estimateCost and conditioning of a generation with this character
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringrequiredmax 80 charsmodestringmax 40 charspromptstringmax 5000 chars · default ""paramsobjectdefault {}inputsobject[]default []slotstringrequiredmax 40 charsassetIdsstring (uuid)[]requiredreferenceAssetIdsstring (uuid)[]purpose"look" | "content" | "motion"default "content"tool"influencer" | "motion" | "image" | "video"default "influencer"presetIdstringmax 40 charsformatIdstringmax 60 charsprojectIdstring (uuid)titlestringmax 200 charsidempotencyKeystringmax 120 charsrightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/generateGenerate with this character (references are attached automatically)
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
modelIdstringrequiredmax 80 charsmodestringmax 40 charspromptstringmax 5000 chars · default ""paramsobjectdefault {}inputsobject[]default []slotstringrequiredmax 40 charsassetIdsstring (uuid)[]requiredreferenceAssetIdsstring (uuid)[]purpose"look" | "content" | "motion"default "content"tool"influencer" | "motion" | "image" | "video"default "influencer"presetIdstringmax 40 charsformatIdstringmax 60 charsprojectIdstring (uuid)titlestringmax 200 charsidempotencyKeystringmax 120 charsrightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/generate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/motion/estimateCredits of a motion run (scene + motion) and how the optional prompt will be applied — nothing is generated
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
source"preset" | "reference"requiredpresetIdstringmax 60 charsmodelIdstringrequiredmax 80 charsparamsobjectdefault {}videoAssetIdstring (uuid)userPromptstringmax 2000 chars · default ""linestringmax 200 charsactionstringmax 300 charsrightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/motion/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/motionStart a motion run of this influencer (preset or reference video, optional prompt)
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
source"preset" | "reference"requiredpresetIdstringmax 60 charsmodelIdstringrequiredmax 80 charsparamsobjectdefault {}videoAssetIdstring (uuid)userPromptstringmax 2000 chars · default ""linestringmax 200 charsactionstringmax 300 charsrightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/motion \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/motion/{jobId}A motion run: its scene and motion jobs, stage, prompt and how it was applied
Scopes: content.read
Parameters
idpath · stringrequiredjobIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/motion/:jobId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/motion/{jobId}/continueStart the motion of a run whose scene is ready (after it could not start)
Scopes: content.create
Parameters
idpath · stringrequiredjobIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/motion/:jobId/continue \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/motion/{jobId}/regenerateA new run with the same settings, optionally another prompt
Scopes: content.create
Parameters
idpath · stringrequiredjobIdpath · stringrequiredRequest body
promptstringmax 2000 charsidempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/motion/:jobId/regenerate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/formats/{formatId}/estimateCost of putting this character into a viral format
Scopes: content.create
Parameters
idpath · stringrequiredformatIdpath · stringrequiredRequest body
sourceVideoAssetIdstring (uuid)extraImageAssetIdsstring (uuid)[]startFrameAssetIdstring (uuid)promptstringmax 3000 charsprojectIdstring (uuid)idempotencyKeystringmax 120 charsrightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/formats/:formatId/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/formats/{formatId}Put this character into a viral format
Scopes: content.create
Parameters
idpath · stringrequiredformatIdpath · stringrequiredRequest body
sourceVideoAssetIdstring (uuid)extraImageAssetIdsstring (uuid)[]startFrameAssetIdstring (uuid)promptstringmax 3000 charsprojectIdstring (uuid)idempotencyKeystringmax 120 charsrightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/characters/:id/formats/:formatId \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/generationsEverything generated with this character
Scopes: content.read
Parameters
idpath · stringrequiredbeforequery · stringlimitquery · integerpurposequery · "look" | "content" | "motion" | "reference"curl -X GET https://aftermatter.online/api/v1/characters/:id/generations \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/seriesContent series for this character
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/series \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/seriesPlan a content series (ideas and drafts written by Claude)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringrequiredmax 120 charsthemestringmax 500 chars · default ""audiencestringmax 300 chars · default ""languagestringmax 20 chars · default "en"personalitystringmax 300 chars · default ""tonestringmax 120 chars · default ""categoriesstring[]default []videoSecondsinteger≥ 3 · ≤ 30 · default 8destinations"instagram_reels" | "instagram_feed" | "tiktok" | "youtube_shorts" | "meta_ads"[]default []countinteger≥ 1 · ≤ 12 · default 6curl -X POST https://aftermatter.online/api/v1/characters/:id/series \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/builds/estimateCredits, compiled prompts and the selection check for a build — nothing is generated
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
configobjectrequiredconfirmRightsbooleanidempotencyKeystringmax 120 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/:id/builds/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/buildsBuild the character from a V4 configuration (identity sheet, portrait, full body or a custom image; batch up to 4)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
configobjectrequiredconfirmRightsbooleanidempotencyKeystringmax 120 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/characters/:id/builds \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/buildsBuild versions (identity and outfit)
Scopes: content.read
Parameters
idpath · stringrequiredkindquery · "identity" | "outfit"curl -X GET https://aftermatter.online/api/v1/characters/:id/builds \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/builds/{buildId}One build with its stages, checks and results
Scopes: content.read
Parameters
idpath · stringrequiredbuildIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/builds/:buildId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/builds/{buildId}/applyUse this build (accept after review, or restore an earlier version)
Scopes: content.create
Parameters
idpath · stringrequiredbuildIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/builds/:buildId/apply \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/builds/{buildId}/regenerateRegenerate the portrait (a new build from the same configuration) or only the full body
Scopes: content.create
Parameters
idpath · stringrequiredbuildIdpath · stringrequiredRequest body
part"portrait" | "body"requiredidempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/builds/:buildId/regenerate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/wardrobeClothing references and outfits of a character
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/wardrobe \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/outfits/estimateCredits for rendering an outfit
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
garmentIdsstring (uuid)[]requiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/outfits/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/outfitsCreate an outfit from clothing references and render it from the approved portrait
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringrequiredmax 80 charsgarmentIdsstring (uuid)[]requiredidempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/outfits \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/outfits/{outfitId}/wearWear an outfit (or restore an earlier one)
Scopes: content.create
Parameters
idpath · stringrequiredoutfitIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/outfits/:outfitId/wear \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/outfits/{outfitId}Rename an outfit
Scopes: content.create
Parameters
idpath · stringrequiredoutfitIdpath · stringrequiredRequest body
namestringrequiredmax 80 charscurl -X PATCH https://aftermatter.online/api/v1/characters/:id/outfits/:outfitId \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/outfits/{outfitId}Delete an outfit (not the one being worn)
Scopes: content.create
Parameters
idpath · stringrequiredoutfitIdpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/characters/:id/outfits/:outfitId \ -H "Authorization: Bearer sk_live_…"
/characters/import-templateAdd a gallery template’s exact character to your influencers — its own image, nothing generated, no credits (idempotent)
Scopes: content.create
Request body
templateIdstringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/import-template \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/templates/importedThe gallery templates already in your influencers (template id → influencer id)
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/characters/templates/imported \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/replace/peopleFind the people on a frame of a video (one outline each) to choose who the influencer replaces
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
videoAssetIdstring (uuid)requiredtimenumber≥ 0 · ≤ 600 · default 0curl -X POST https://aftermatter.online/api/v1/characters/:id/replace/people \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/replace/people/{runId}The people found (left to right): box, share of the frame and mask of each
Scopes: content.read
Parameters
idpath · stringrequiredrunIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/replace/people/:runId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/replace/estimateWhat a replacement needs (supported, extra processing, limited, unsupported), the engine it would use and its credits — nothing is generated
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
videoAssetIdstring (uuid)requireddetectionJobIdstring (uuid)personinteger≥ 0 · ≤ 31selectionobjecttimenumberrequired≥ 0 · ≤ 600pointsobject[]requiredxnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1maskAssetIdstring (uuid)labelstringmax 60 charsdescriptionstringmax 200 charspeopleinteger≥ 1 · ≤ 32othersobject[][]quality"best" | "balanced" | "economy"default "balanced"modelIdstringmax 80 charsresolutionstringmax 10 charskeepAudiobooleandefault truenotesstringmax 600 chars · default ""locale"en" | "pt-BR"default "en"rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charsreferenceAssetIdstring (uuid)characterIdstring (uuid)origin"influencer" | "aftershift"default "influencer"curl -X POST https://aftermatter.online/api/v1/characters/:id/replace/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/replacePut the influencer in place of the chosen person: the rest of the video (other people, scene, camera, sound) stays the original
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
videoAssetIdstring (uuid)requireddetectionJobIdstring (uuid)personinteger≥ 0 · ≤ 31selectionobjecttimenumberrequired≥ 0 · ≤ 600pointsobject[]requiredxnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1maskAssetIdstring (uuid)labelstringmax 60 charsdescriptionstringmax 200 charspeopleinteger≥ 1 · ≤ 32othersobject[][]quality"best" | "balanced" | "economy"default "balanced"modelIdstringmax 80 charsresolutionstringmax 10 charskeepAudiobooleandefault truenotesstringmax 600 chars · default ""locale"en" | "pt-BR"default "en"rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charsreferenceAssetIdstring (uuid)characterIdstring (uuid)origin"influencer" | "aftershift"default "influencer"curl -X POST https://aftermatter.online/api/v1/characters/:id/replace \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/replaceThe replacements of this influencer, newest first
Scopes: content.read
Parameters
idpath · stringrequiredlimitquery · integercurl -X GET https://aftermatter.online/api/v1/characters/:id/replace \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/replace/{runId}A replacement: its stages, jobs, result, quality checks and credits
Scopes: content.read
Parameters
idpath · stringrequiredrunIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/characters/:id/replace/:runId \ -H "Authorization: Bearer sk_live_…"
/characters/{id}/replace/{runId}/recreateThe same replacement again as a new run (optionally another quality or engine)
Scopes: content.create
Parameters
idpath · stringrequiredrunIdpath · stringrequiredIdempotency-Keyheader · stringRequest body
idempotencyKeystringmax 120 charsquality"best" | "balanced" | "economy"modelIdstringmax 80 charscurl -X POST https://aftermatter.online/api/v1/characters/:id/replace/:runId/recreate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/characters/{id}/replace/{runId}/cancelStop a replacement (the replacement job gives its credits back)
Scopes: content.create
Parameters
idpath · stringrequiredrunIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/characters/:id/replace/:runId/cancel \ -H "Authorization: Bearer sk_live_…"
/character-replace/{runId}/segments/retryResume a long replacement stopped at a segment: only that segment is generated again (Kling 3.0), the others are kept
Scopes: content.create
Parameters
runIdpath · stringrequiredIdempotency-Keyheader · stringRequest body
segmentinteger≥ 0 · ≤ 500curl -X POST https://aftermatter.online/api/v1/character-replace/:runId/segments/retry \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/character-replace/{runId}A replacement by its id: stages, jobs, result, quality checks and credits
Scopes: content.read
Parameters
runIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/character-replace/:runId \ -H "Authorization: Bearer sk_live_…"
/character-replace/{runId}/recreateThe same replacement again as a new run
Scopes: content.create
Parameters
runIdpath · stringrequiredIdempotency-Keyheader · stringRequest body
idempotencyKeystringmax 120 charsquality"best" | "balanced" | "economy"modelIdstringmax 80 charscurl -X POST https://aftermatter.online/api/v1/character-replace/:runId/recreate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/character-replace/{runId}/cancelStop a replacement
Scopes: content.create
Parameters
runIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/character-replace/:runId/cancel \ -H "Authorization: Bearer sk_live_…"
/character-replace/peopleFind the people on a frame of a video (one outline each)
Scopes: content.create
Request body
videoAssetIdstring (uuid)requiredtimenumber≥ 0 · ≤ 600 · default 0curl -X POST https://aftermatter.online/api/v1/character-replace/people \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/character-replace/people/{jobId}The people found (left to right)
Scopes: content.read
Parameters
jobIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/character-replace/people/:jobId \ -H "Authorization: Bearer sk_live_…"
/character-replace/estimateWhat a replacement needs and costs (influencer or photo in the body) — nothing is generated
Scopes: content.create
Request body
videoAssetIdstring (uuid)requireddetectionJobIdstring (uuid)personinteger≥ 0 · ≤ 31selectionobjecttimenumberrequired≥ 0 · ≤ 600pointsobject[]requiredxnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1maskAssetIdstring (uuid)labelstringmax 60 charsdescriptionstringmax 200 charspeopleinteger≥ 1 · ≤ 32othersobject[][]quality"best" | "balanced" | "economy"default "balanced"modelIdstringmax 80 charsresolutionstringmax 10 charskeepAudiobooleandefault truenotesstringmax 600 chars · default ""locale"en" | "pt-BR"default "en"rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charsreferenceAssetIdstring (uuid)characterIdstring (uuid)origin"influencer" | "aftershift"default "influencer"curl -X POST https://aftermatter.online/api/v1/character-replace/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/character-replace/startStart a replacement (influencer or photo in the body)
Scopes: content.create
Parameters
Idempotency-Keyheader · stringRequest body
videoAssetIdstring (uuid)requireddetectionJobIdstring (uuid)personinteger≥ 0 · ≤ 31selectionobjecttimenumberrequired≥ 0 · ≤ 600pointsobject[]requiredxnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1maskAssetIdstring (uuid)labelstringmax 60 charsdescriptionstringmax 200 charspeopleinteger≥ 1 · ≤ 32othersobject[][]quality"best" | "balanced" | "economy"default "balanced"modelIdstringmax 80 charsresolutionstringmax 10 charskeepAudiobooleandefault truenotesstringmax 600 chars · default ""locale"en" | "pt-BR"default "en"rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charsreferenceAssetIdstring (uuid)characterIdstring (uuid)origin"influencer" | "aftershift"default "influencer"curl -X POST https://aftermatter.online/api/v1/character-replace/start \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/character-replace/runs/{runId}A replacement by its id
Scopes: content.read
Parameters
runIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/character-replace/runs/:runId \ -H "Authorization: Bearer sk_live_…"
/character-replace/runs/{runId}/cancelStop a replacement
Scopes: content.create
Parameters
runIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/character-replace/runs/:runId/cancel \ -H "Authorization: Bearer sk_live_…"
/character-replace/runs/{runId}/recreateThe same replacement again as a new run
Scopes: content.create
Parameters
runIdpath · stringrequiredIdempotency-Keyheader · stringRequest body
idempotencyKeystringmax 120 charsquality"best" | "balanced" | "economy"modelIdstringmax 80 charscurl -X POST https://aftermatter.online/api/v1/character-replace/runs/:runId/recreate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/brandsBrand kits
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/brands \ -H "Authorization: Bearer sk_live_…"
/brandsCreate a brand kit
Scopes: content.create
Request body
namestringrequiredmax 80 charswebsitestringmax 300 chars · default ""tonestringmax 300 chars · default ""guidelinesstringmax 5000 chars · default ""colorsobject[]default []namestringmax 40 chars · default ""hexstringrequiredfontsobject[]default []namestringrequiredmax 60 charsrole"heading" | "body" | "accent"default "heading"curl -X POST https://aftermatter.online/api/v1/brands \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/brands/{id}One brand kit
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/brands/:id \ -H "Authorization: Bearer sk_live_…"
/brands/{id}Update a brand kit
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 80 charswebsitestringmax 300 charstonestringmax 300 charsguidelinesstringmax 5000 charscolorsobject[]namestringmax 40 chars · default ""hexstringrequiredfontsobject[]namestringrequiredmax 60 charsrole"heading" | "body" | "accent"default "heading"curl -X PATCH https://aftermatter.online/api/v1/brands/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/brands/{id}Delete a brand kit
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/brands/:id \ -H "Authorization: Bearer sk_live_…"
/brands/{id}/assetsAdd or remove a logo, reference or guideline file
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredrole"logo" | "reference" | "guideline"requiredremovebooleancurl -X POST https://aftermatter.online/api/v1/brands/:id/assets \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/products/importRead public product data from a URL into an editable draft (robots.txt respected)
Scopes: content.create
Request body
urlstringrequiredmax 2000 charscurl -X POST https://aftermatter.online/api/v1/products/import \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/products/describeDraft product details from a product photo
Scopes: content.create
Request body
assetIdstring (uuid)requiredcurl -X POST https://aftermatter.online/api/v1/products/describe \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/productsProducts
Scopes: content.read
Parameters
brandKitIdquery · string (uuid)curl -X GET https://aftermatter.online/api/v1/products \ -H "Authorization: Bearer sk_live_…"
/productsSave a product
Scopes: content.create
Request body
namestringrequiredmax 160 charsdescriptionstringmax 5000 chars · default ""categorystringmax 80 chars · default ""featuresstring[]default []benefitsstring[]default []pricestringmax 40 chars · default ""currencystringmax 8 chars · default ""urlstringmax 1000 chars · default ""brandKitIdstring (uuid)imageAssetIdsstring (uuid)[]default []source"url" | "image" | "manual" | "creative"importobjectcurl -X POST https://aftermatter.online/api/v1/products \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/products/{id}One product
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/products/:id \ -H "Authorization: Bearer sk_live_…"
/products/{id}Update a product
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 160 charsdescriptionstringmax 5000 charscategorystringmax 80 charsfeaturesstring[]benefitsstring[]pricestringmax 40 charscurrencystringmax 8 charsurlstringmax 1000 charsbrandKitIdstring (uuid)imageAssetIdsstring (uuid)[]curl -X PATCH https://aftermatter.online/api/v1/products/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/products/{id}Delete a product
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/products/:id \ -H "Authorization: Bearer sk_live_…"
/adsAd projects
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/ads \ -H "Authorization: Bearer sk_live_…"
/adsStart an ad project
Scopes: content.create
Request body
namestringrequiredmax 120 charsentry"url" | "image" | "creative" | "script" | "template" | "influencer" | "brand"default "url"productIdstring (uuid)brandKitIdstring (uuid)formatstringmax 40 chars · default "ugc"sourceAssetIdstring (uuid)presenterobjectcharacterIdsstring (uuid)[]default []curl -X POST https://aftermatter.online/api/v1/ads \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/copy/{id}Edit or (de)select a copy item
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
contentstringmax 5000 charsselectedbooleandataobjectcurl -X PATCH https://aftermatter.online/api/v1/ads/copy/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/copy/{id}Delete a copy item
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/ads/copy/:id \ -H "Authorization: Bearer sk_live_…"
/ads/variants/{id}/winnerMark or unmark a winning creative
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
winnerbooleanrequiredcurl -X POST https://aftermatter.online/api/v1/ads/variants/:id/winner \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}One ad project with its copy
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/ads/:id \ -H "Authorization: Bearer sk_live_…"
/ads/{id}Save wizard progress
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charsproductIdstring (uuid)brandKitIdstring (uuid)formatstringmax 40 charsstepinteger≥ 1 · ≤ 8audienceobjectdescriptionstringmax 1000 charsageRangestringmax 20 charsgenderstringmax 30 charsinterestsstring[]painPointsstring[]marketstringmax 60 charslanguagestringmax 20 charsstrategyobjectobjective"awareness" | "traffic" | "conversions" | "app_installs" | "leads"platform"meta" | "tiktok" | "youtube" | "marketplace" | "web"angle"problem_solution" | "testimonial" | "before_after" | "feature_demo" | "social_proof" | "offer" | "story" | "comparison"tonestringmax 120 charsofferstringmax 300 charsnotesstringmax 1000 charspresenterobjectcharacterIdsstring (uuid)[]requiredvisualobjectstylesstring[]aspectsstring[]durationsinteger[]includeLogobooleansettingsobjectmodelIdstringmax 80 charsparamsobjectlanguagesstring[]sourceAssetIdstring (uuid)curl -X PATCH https://aftermatter.online/api/v1/ads/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}Delete an ad project (files stay in the library)
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/ads/:id \ -H "Authorization: Bearer sk_live_…"
/ads/{id}/copy/generateWrite hooks, scripts, texts, headlines, CTAs, captions and storyboards with Claude
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kinds"hook" | "script" | "primary_text" | "headline" | "description" | "cta" | "caption" | "storyboard"[]requiredcountinteger≥ 1 · ≤ 8 · default 4languagestringmax 20 chars · default "en"replacebooleancurl -X POST https://aftermatter.online/api/v1/ads/:id/copy/generate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}/copyAdd copy manually
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kind"hook" | "script" | "primary_text" | "headline" | "description" | "cta" | "caption" | "storyboard"requiredcontentstringrequiredmax 5000 charslanguagestringmax 20 chars · default "en"dataobjectcurl -X POST https://aftermatter.online/api/v1/ads/:id/copy \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}/matrix/previewExpand the creative matrix and price every combination
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
languagesstring[]default []hooksstring (uuid)[]default []scriptsstring (uuid)[]default []ctasstring (uuid)[]default []presentersstring[]default []stylesstring[]default []aspectsstring[]default []durationsinteger[]default []curl -X POST https://aftermatter.online/api/v1/ads/:id/matrix/preview \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}/matrix/runGenerate the selected combinations as one batch
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
combosobject[]requiredlanguagestringrequiredmax 20 charshookstring (uuid)requiredscriptstring (uuid)requiredctastring (uuid)requiredpresenterstringrequiredmax 40 charsstylestringrequiredmax 30 charsaspectstringrequiredmax 8 charsdurationintegerrequiredcurl -X POST https://aftermatter.online/api/v1/ads/:id/matrix/run \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/ads/{id}/variantsReview board: every variation with its dimensions and result
Scopes: content.read
Parameters
idpath · stringrequiredwinnersquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/ads/:id/variants \ -H "Authorization: Bearer sk_live_…"
/ads/{id}/exportZIP of the selected creatives with a copy sheet
Scopes: content.read
Parameters
idpath · stringrequiredRequest body
variantIdsstring (uuid)[]requiredcurl -X POST https://aftermatter.online/api/v1/ads/:id/export \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/marketing/templates/{id}/estimateCost of running a template
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
productIdstring (uuid)requiredbrandKitIdstring (uuid)characterIdstring (uuid)headlinestringmax 120 chars · default ""extrastringmax 1000 chars · default ""aspectRatiostringmax 8 charsmodelIdstringmax 80 charsparamsobjectdefault {}projectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/marketing/templates/:id/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/marketing/templates/{id}/runRun a template for a product and brand
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
productIdstring (uuid)requiredbrandKitIdstring (uuid)characterIdstring (uuid)headlinestringmax 120 chars · default ""extrastringmax 1000 chars · default ""aspectRatiostringmax 8 charsmodelIdstringmax 80 charsparamsobjectdefault {}projectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/marketing/templates/:id/run \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/create/planCreate from a prompt: Claude writes the script, the scenes/voice/music are routed to AI models and estimated (nothing is generated yet)
Scopes: content.create
Request body
promptstringrequiredmax 100000 charssecondsinteger≥ 6 · ≤ 90 · default 20ratio"9:16" | "16:9" | "1:1"default "9:16"mode"fast" | "balanced" | "quality"default "balanced"narrationbooleandefault truemusicbooleandefault truecaptionsbooleandefault truecurl -X POST https://aftermatter.online/api/v1/edits/create/plan \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/create/startGenerate the planned video (scenes, voice, music), assemble the timeline, caption and render a preview
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/edits/:id/create/start \ -H "Authorization: Bearer sk_live_…"
/editsEdit projects
Scopes: content.read
Parameters
sourceAssetIdquery · string (uuid)curl -X GET https://aftermatter.online/api/v1/edits \ -H "Authorization: Bearer sk_live_…"
/editsOpen an image or video in the editor (the original is never modified)
Scopes: content.create
Request body
sourceAssetIdstring (uuid)requirednamestringmax 120 charspreset"instagram_reel" | "tiktok" | "facebook_reel" | "facebook_feed" | "meta_ads" | "youtube_shorts" | "square" | "standard"projectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/edits \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}One edit with its assets, exports and AI tasks
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/edits/:id \ -H "Authorization: Bearer sk_live_…"
/edits/{id}Save the timeline (optimistic concurrency via version)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
timelineobjectversionnumberdefault 1clipsobject[]requiredidstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"video" | "image"requiredinnumberrequired≥ 0 · ≤ 3600outnumberrequired≥ 0 · ≤ 3600fit"cover" | "contain"default "cover"cropobjectdefault nullvolumenumber≥ 0 · ≤ 2 · default 1mutedbooleandefault falsetransitionobjectdefault nullspeednumber≥ 0.25 · ≤ 4 · default 1zoomnumber≥ 1 · ≤ 2.5 · default 1motionobjectdefault nulltextsobject[]default []idstringrequiredmax 40 charstextstringrequiredmax 300 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600xnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1sizenumber≥ 12 · ≤ 220 · default 64colorstringdefault "#ffffff"backgroundstringdefault nullboldbooleandefault truealign"left" | "center" | "right"default "center"font"geist" | "inter" | "montserrat" | "poppins" | "anton" | "bebas" | "archivo" | "oswald" | "playfair" | "dm_serif" | "space_grotesk" | "marker" | "caveat" | "luckiest_guy" | "bangers" | "lilita" | "titan" | "bungee" | "righteous" | "pacifico" | "lobster" | "kanit" | "barlow_condensed" | "russo" | "passion" | "abril" | "bowlby" | "rubik_mono"default "geist"weightinteger≥ 100 · ≤ 900style"auto" | "shadow" | "outline" | "box" | "pill" | "highlight" | "gradient" | "plain"default "auto"accentstringdefault nulluppercasebooleandefault falseanimationobjectdefault {"in":"none","out":"none","duration":0.45}rotationnumber≥ -30 · ≤ 30 · default 0captionsobjectdefault {"enabled":false,"language":"","cues":[],"fixes":[],"style":{"size":58,"color":"#ffffff","background":"#000000","position":"bottom","uppercase":false,"preset":"classic","highlight":"#397BFA","font":"geist","weight":800,"maxWords":0,"outlineColor":null,"outlineWidth":null,"shadow":null,"bgOpacity":null,"radius":null,"padding":null,"align":"center","offsetY":0,"maxWidth":0.86,"maxLines":2,"letterSpacing":0,"lineHeight":1.15,"wordMode":null,"entry":null,"entryDuration":0.18,"intensity":0.5,"animated":true,"emphasis":[],"emoji":false,"shadowColor":"#000000","shadowKind":"soft","glow":0,"glowColor":null,"hollow":false,"lowercase":false,"highlightText":null,"activeScale":1.12,"bgMode":"line","exit":"none","exitDuration":0.15,"tilt":0,"tiltAlternate":false,"source":null},"placements":[]}enabledbooleandefault falselanguagestringmax 20 chars · default ""cuesobject[]default []fixesobject[]default []styleobjectdefault {"size":58,"color":"#ffffff","background":"#000000","position":"bottom","uppercase":false,"preset":"classic","highlight":"#397BFA","font":"geist","weight":800,"maxWords":0,"outlineColor":null,"outlineWidth":null,"shadow":null,"bgOpacity":null,"radius":null,"padding":null,"align":"center","offsetY":0,"maxWidth":0.86,"maxLines":2,"letterSpacing":0,"lineHeight":1.15,"wordMode":null,"entry":null,"entryDuration":0.18,"intensity":0.5,"animated":true,"emphasis":[],"emoji":false,"shadowColor":"#000000","shadowKind":"soft","glow":0,"glowColor":null,"hollow":false,"lowercase":false,"highlightText":null,"activeScale":1.12,"bgMode":"line","exit":"none","exitDuration":0.15,"tilt":0,"tiltAlternate":false,"source":null}placementsobject[]default []overlaysobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600xnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1widthnumber≥ 0.03 · ≤ 1 · default 0.2opacitynumber≥ 0.05 · ≤ 1 · default 1brollobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"video" | "image"requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600innumber≥ 0 · ≤ 3600 · default 0presenter"hidden" | "pip" | "split"default "hidden"splitnumber≥ 0.25 · ≤ 0.75 · default 0.5presenterYnumber≥ 0 · ≤ 1 · default 0.25fit"cover" | "contain"default "cover"cropobjectdefault nullpan"none" | "slow"sceneIdstringdefault nullaudioobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"music" | "voiceover"requiredstartnumberrequired≥ 0 · ≤ 3600innumberrequired≥ 0 · ≤ 3600outnumberrequired≥ 0 · ≤ 3600volumenumber≥ 0 · ≤ 2 · default 1fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0speednumber≥ 0.8 · ≤ 1.25 · default 1zoomsobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600scalenumberrequired≥ 1.02 · ≤ 2.5xnumber≥ 0 · ≤ 1 · default 0.5ynumber≥ 0 · ≤ 1 · default 0.42mode"ramp" | "punch" | "push"default "ramp"sfxobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600soundstringdefault nullassetIdstring (uuid)default nullvolumenumber≥ 0 · ≤ 2 · default 0.8autobooleandefault falsemotionobject[]default []idstringrequiredmax 40 charstemplate"kinetic_title" | "lower_third" | "callout" | "sticker" | "progress_bar" | "counter" | "checklist" | "cta_button" | "price_tag" | "countdown" | "review_card" | "comment_bubble" | "notification" | "logo_reveal" | "confetti" | "spotlight" | "flash" | "split_labels" | "motion_scene" | "title_card" | "cta_end_card" | "product_showcase" | "feature_list" | "testimonial" | "stat" | "offer_stack" | "quote_card" | "logo_sting" | "phone_mockup" | "countdown_scene"requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600propsobjectdefault {}cleanAudioobjectdefault {}backgroundstringdefault "#000000"thumbnailTimenumberdefault nullaudioFxobjectdefault {"normalize":false,"denoise":"off","fadeIn":0,"fadeOut":0,"duck":false}normalizebooleandefault falsedenoise"off" | "light" | "medium" | "strong"default "off"fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0duckbooleandefault falsecolorobjectdefault {"brightness":0,"contrast":1,"saturation":1,"warmth":0}brightnessnumber≥ -0.3 · ≤ 0.3 · default 0contrastnumber≥ 0.6 · ≤ 1.6 · default 1saturationnumber≥ 0 · ≤ 2 · default 1warmthnumber≥ -1 · ≤ 1 · default 0videoFxobjectdefault {"fadeIn":0,"fadeOut":0}fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0lookobjectdefault {"preset":"none","intensity":0.7,"grain":0,"vignette":0,"sharpen":0}preset"none" | "cinematic" | "teal_orange" | "film" | "warm_film" | "bleach_bypass" | "vibrant" | "clean_bright" | "moody" | "noir" | "vintage" | "cool_tech" | "golden_hour"default "none"intensitynumber≥ 0 · ≤ 1 · default 0.7grainnumber≥ 0 · ≤ 1 · default 0vignettenumber≥ 0 · ≤ 1 · default 0sharpennumber≥ 0 · ≤ 1 · default 0scenesobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600role"hook" | "context" | "explanation" | "development" | "proof" | "offer" | "cta" | "other"default "other"speechstringmax 800 chars · default ""show"presenter" | "media" | "text" | "review"default "presenter"assetIdstring (uuid)default nullbrollIdstringdefault nullreasonstringmax 240 chars · default ""alternativesstring (uuid)[]default []fallback"none" | "kept_presenter" | "extended_previous" | "text" | "review"default "none"needsReviewbooleandefault falseorigin"auto" | "manual"default "auto"locksobjectdefault {"visual":false,"timing":false,"captions":false,"audio":false}motionPolicyobjectdefault {"mode":"full","ranges":[],"animation":"allowed"}mode"none" | "hybrid" | "full"default "full"rangesobject[]default []animation"allowed" | "captions_only" | "none"default "allowed"musicPolicy"allowed" | "none"default "allowed"pipobjectdefault {"size":0.32,"corner":"top_right","margin":0.04,"shape":"rounded"}sizenumber≥ 0.15 · ≤ 0.6 · default 0.32corner"top_left" | "top_right" | "bottom_left" | "bottom_right"default "top_right"marginnumber≥ 0 · ≤ 0.12 · default 0.04shape"rect" | "rounded" | "circle"default "rounded"namestringmax 120 charslabelstringmax 40 charspreset"instagram_reel" | "tiktok" | "facebook_reel" | "facebook_feed" | "meta_ads" | "youtube_shorts" | "square" | "standard"versionintegerrequired≥ 1 · ≤ 9007199254740991curl -X PUT https://aftermatter.online/api/v1/edits/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}Delete an edit (exports stay in the library)
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/edits/:id \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/duplicateCreate a variation of this edit
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
labelstringmax 40 charsnamestringmax 120 charstimelineobjectversionnumberdefault 1clipsobject[]requiredidstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"video" | "image"requiredinnumberrequired≥ 0 · ≤ 3600outnumberrequired≥ 0 · ≤ 3600fit"cover" | "contain"default "cover"cropobjectdefault nullvolumenumber≥ 0 · ≤ 2 · default 1mutedbooleandefault falsetransitionobjectdefault nullspeednumber≥ 0.25 · ≤ 4 · default 1zoomnumber≥ 1 · ≤ 2.5 · default 1motionobjectdefault nulltextsobject[]default []idstringrequiredmax 40 charstextstringrequiredmax 300 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600xnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1sizenumber≥ 12 · ≤ 220 · default 64colorstringdefault "#ffffff"backgroundstringdefault nullboldbooleandefault truealign"left" | "center" | "right"default "center"font"geist" | "inter" | "montserrat" | "poppins" | "anton" | "bebas" | "archivo" | "oswald" | "playfair" | "dm_serif" | "space_grotesk" | "marker" | "caveat" | "luckiest_guy" | "bangers" | "lilita" | "titan" | "bungee" | "righteous" | "pacifico" | "lobster" | "kanit" | "barlow_condensed" | "russo" | "passion" | "abril" | "bowlby" | "rubik_mono"default "geist"weightinteger≥ 100 · ≤ 900style"auto" | "shadow" | "outline" | "box" | "pill" | "highlight" | "gradient" | "plain"default "auto"accentstringdefault nulluppercasebooleandefault falseanimationobjectdefault {"in":"none","out":"none","duration":0.45}rotationnumber≥ -30 · ≤ 30 · default 0captionsobjectdefault {"enabled":false,"language":"","cues":[],"fixes":[],"style":{"size":58,"color":"#ffffff","background":"#000000","position":"bottom","uppercase":false,"preset":"classic","highlight":"#397BFA","font":"geist","weight":800,"maxWords":0,"outlineColor":null,"outlineWidth":null,"shadow":null,"bgOpacity":null,"radius":null,"padding":null,"align":"center","offsetY":0,"maxWidth":0.86,"maxLines":2,"letterSpacing":0,"lineHeight":1.15,"wordMode":null,"entry":null,"entryDuration":0.18,"intensity":0.5,"animated":true,"emphasis":[],"emoji":false,"shadowColor":"#000000","shadowKind":"soft","glow":0,"glowColor":null,"hollow":false,"lowercase":false,"highlightText":null,"activeScale":1.12,"bgMode":"line","exit":"none","exitDuration":0.15,"tilt":0,"tiltAlternate":false,"source":null},"placements":[]}enabledbooleandefault falselanguagestringmax 20 chars · default ""cuesobject[]default []fixesobject[]default []styleobjectdefault {"size":58,"color":"#ffffff","background":"#000000","position":"bottom","uppercase":false,"preset":"classic","highlight":"#397BFA","font":"geist","weight":800,"maxWords":0,"outlineColor":null,"outlineWidth":null,"shadow":null,"bgOpacity":null,"radius":null,"padding":null,"align":"center","offsetY":0,"maxWidth":0.86,"maxLines":2,"letterSpacing":0,"lineHeight":1.15,"wordMode":null,"entry":null,"entryDuration":0.18,"intensity":0.5,"animated":true,"emphasis":[],"emoji":false,"shadowColor":"#000000","shadowKind":"soft","glow":0,"glowColor":null,"hollow":false,"lowercase":false,"highlightText":null,"activeScale":1.12,"bgMode":"line","exit":"none","exitDuration":0.15,"tilt":0,"tiltAlternate":false,"source":null}placementsobject[]default []overlaysobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600xnumberrequired≥ 0 · ≤ 1ynumberrequired≥ 0 · ≤ 1widthnumber≥ 0.03 · ≤ 1 · default 0.2opacitynumber≥ 0.05 · ≤ 1 · default 1brollobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"video" | "image"requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600innumber≥ 0 · ≤ 3600 · default 0presenter"hidden" | "pip" | "split"default "hidden"splitnumber≥ 0.25 · ≤ 0.75 · default 0.5presenterYnumber≥ 0 · ≤ 1 · default 0.25fit"cover" | "contain"default "cover"cropobjectdefault nullpan"none" | "slow"sceneIdstringdefault nullaudioobject[]default []idstringrequiredmax 40 charsassetIdstring (uuid)requiredkind"music" | "voiceover"requiredstartnumberrequired≥ 0 · ≤ 3600innumberrequired≥ 0 · ≤ 3600outnumberrequired≥ 0 · ≤ 3600volumenumber≥ 0 · ≤ 2 · default 1fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0speednumber≥ 0.8 · ≤ 1.25 · default 1zoomsobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600scalenumberrequired≥ 1.02 · ≤ 2.5xnumber≥ 0 · ≤ 1 · default 0.5ynumber≥ 0 · ≤ 1 · default 0.42mode"ramp" | "punch" | "push"default "ramp"sfxobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600soundstringdefault nullassetIdstring (uuid)default nullvolumenumber≥ 0 · ≤ 2 · default 0.8autobooleandefault falsemotionobject[]default []idstringrequiredmax 40 charstemplate"kinetic_title" | "lower_third" | "callout" | "sticker" | "progress_bar" | "counter" | "checklist" | "cta_button" | "price_tag" | "countdown" | "review_card" | "comment_bubble" | "notification" | "logo_reveal" | "confetti" | "spotlight" | "flash" | "split_labels" | "motion_scene" | "title_card" | "cta_end_card" | "product_showcase" | "feature_list" | "testimonial" | "stat" | "offer_stack" | "quote_card" | "logo_sting" | "phone_mockup" | "countdown_scene"requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600propsobjectdefault {}cleanAudioobjectdefault {}backgroundstringdefault "#000000"thumbnailTimenumberdefault nullaudioFxobjectdefault {"normalize":false,"denoise":"off","fadeIn":0,"fadeOut":0,"duck":false}normalizebooleandefault falsedenoise"off" | "light" | "medium" | "strong"default "off"fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0duckbooleandefault falsecolorobjectdefault {"brightness":0,"contrast":1,"saturation":1,"warmth":0}brightnessnumber≥ -0.3 · ≤ 0.3 · default 0contrastnumber≥ 0.6 · ≤ 1.6 · default 1saturationnumber≥ 0 · ≤ 2 · default 1warmthnumber≥ -1 · ≤ 1 · default 0videoFxobjectdefault {"fadeIn":0,"fadeOut":0}fadeInnumber≥ 0 · ≤ 10 · default 0fadeOutnumber≥ 0 · ≤ 10 · default 0lookobjectdefault {"preset":"none","intensity":0.7,"grain":0,"vignette":0,"sharpen":0}preset"none" | "cinematic" | "teal_orange" | "film" | "warm_film" | "bleach_bypass" | "vibrant" | "clean_bright" | "moody" | "noir" | "vintage" | "cool_tech" | "golden_hour"default "none"intensitynumber≥ 0 · ≤ 1 · default 0.7grainnumber≥ 0 · ≤ 1 · default 0vignettenumber≥ 0 · ≤ 1 · default 0sharpennumber≥ 0 · ≤ 1 · default 0scenesobject[]default []idstringrequiredmax 40 charsstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600role"hook" | "context" | "explanation" | "development" | "proof" | "offer" | "cta" | "other"default "other"speechstringmax 800 chars · default ""show"presenter" | "media" | "text" | "review"default "presenter"assetIdstring (uuid)default nullbrollIdstringdefault nullreasonstringmax 240 chars · default ""alternativesstring (uuid)[]default []fallback"none" | "kept_presenter" | "extended_previous" | "text" | "review"default "none"needsReviewbooleandefault falseorigin"auto" | "manual"default "auto"locksobjectdefault {"visual":false,"timing":false,"captions":false,"audio":false}motionPolicyobjectdefault {"mode":"full","ranges":[],"animation":"allowed"}mode"none" | "hybrid" | "full"default "full"rangesobject[]default []animation"allowed" | "captions_only" | "none"default "allowed"musicPolicy"allowed" | "none"default "allowed"pipobjectdefault {"size":0.32,"corner":"top_right","margin":0.04,"shape":"rounded"}sizenumber≥ 0.15 · ≤ 0.6 · default 0.32corner"top_left" | "top_right" | "bottom_left" | "bottom_right"default "top_right"marginnumber≥ 0 · ≤ 0.12 · default 0.04shape"rect" | "rounded" | "circle"default "rounded"curl -X POST https://aftermatter.online/api/v1/edits/:id/duplicate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/renderExport with a preset (validated for codec, size, frame rate and duration)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
preset"instagram_reel" | "tiktok" | "facebook_reel" | "facebook_feed" | "meta_ads" | "youtube_shorts" | "square" | "standard"stillbooleanoptionsobjectresolution"720p" | "1080p" | "1440p" | "2160p"fpsnumber | number | number | numberquality"standard" | "high" | "max"burnCaptionsbooleancurl -X POST https://aftermatter.online/api/v1/edits/:id/render \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/thumbnailSave the frame under the playhead as a thumbnail
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
timenumberrequired≥ 0 · ≤ 3600curl -X POST https://aftermatter.online/api/v1/edits/:id/thumbnail \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/smart-cropSaliency-based crop rectangles for another aspect ratio
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
preset"instagram_reel" | "tiktok" | "facebook_reel" | "facebook_feed" | "meta_ads" | "youtube_shorts" | "square" | "standard"requiredcurl -X POST https://aftermatter.online/api/v1/edits/:id/smart-crop \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/captions/estimateCost of auto captions for this edit
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringmax 80 charscurl -X POST https://aftermatter.online/api/v1/edits/:id/captions/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/captionsAuto captions: transcribe the edit’s audio with timestamps
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringmax 80 charslanguagestringmax 10 charscurl -X POST https://aftermatter.online/api/v1/edits/:id/captions \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/captions/translateTranslate captions (timing kept)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
languagestringrequiredmax 20 charscurl -X POST https://aftermatter.online/api/v1/edits/:id/captions/translate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/cleanupClean the edit’s audio (noise removal, speech leveling)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/edits/:id/cleanup \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/highlightsExtract highlight clips from the transcript as new variations
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
countinteger≥ 1 · ≤ 5 · default 3maxSecondsinteger≥ 5 · ≤ 90 · default 30curl -X POST https://aftermatter.online/api/v1/edits/:id/highlights \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/analyzeAnalyze the edit's video (metadata, silences, scenes, waveform, frames; optional transcript)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
transcribebooleandefault falsecurl -X POST https://aftermatter.online/api/v1/edits/:id/analyze \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/analysisLatest analysis of the edit's video
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/edits/:id/analysis \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/ai/estimateCredits for the next AI edit instruction (planning, plus transcription the first time)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
charsinteger≥ 0 · ≤ 100000curl -X POST https://aftermatter.online/api/v1/edits/:id/ai/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/aiAsk the AI editor to edit the video in natural language
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
instructionstringrequiredmax 100000 charsbaseVersionintegerrequired≥ 1 · ≤ 9007199254740991attachmentIdsstring (uuid)[]targetobjectcurl -X POST https://aftermatter.online/api/v1/edits/:id/ai \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/aiThe conversation with the AI editor
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/edits/:id/ai \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/autopilotStart an autonomous AI edit of the video from one request
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
requeststringrequiredmax 100000 charsbaseVersionintegerrequired≥ 1 · ≤ 9007199254740991attachmentIdsstring (uuid)[]curl -X POST https://aftermatter.online/api/v1/edits/:id/autopilot \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/autopilot/{id}An autonomous edit: status, plan, estimate, reviews, preview and final video
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/autopilot/:id \ -H "Authorization: Bearer sk_live_…"
/autopilot/{id}/approveApprove the estimate and let the autonomous edit run
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/autopilot/:id/approve \ -H "Authorization: Bearer sk_live_…"
/autopilot/{id}/cancelStop an autonomous edit
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/autopilot/:id/cancel \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/versionsSaved versions of the edit
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/edits/:id/versions \ -H "Authorization: Bearer sk_live_…"
/edits/{id}/versions/{number}/restoreMake a saved version current again
Scopes: content.create
Parameters
idpath · stringrequirednumberpath · stringrequiredRequest body
baseVersionintegerrequired≥ 1 · ≤ 9007199254740991curl -X POST https://aftermatter.online/api/v1/edits/:id/versions/:number/restore \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/dubDub the edit into another language with ElevenLabs (charged; the result is a new variation)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
languagestringrequiredwatermarkbooleancurl -X POST https://aftermatter.online/api/v1/edits/:id/dub \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/audioAdd an audio file from the library as music or voiceover
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredkind"music" | "voiceover"requiredcurl -X POST https://aftermatter.online/api/v1/edits/:id/audio \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/brollGenerate B-roll images for moments of the edit (charged per image; each is placed on the timeline when ready)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
itemsobject[]requiredstartnumberrequired≥ 0 · ≤ 3600endnumberrequired≥ 0 · ≤ 3600promptstringrequiredmax 400 charscurl -X POST https://aftermatter.online/api/v1/edits/:id/broll \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/edits/{id}/renders/{renderId}/captionsSRT or VTT of an export (the exported version, text and timing only)
Scopes: content.read
Parameters
idpath · stringrequiredrenderIdpath · stringrequiredformatquery · "srt" | "vtt"curl -X GET https://aftermatter.online/api/v1/edits/:id/renders/:renderId/captions \ -H "Authorization: Bearer sk_live_…"
/editor/v2Start a video in a project: edit an existing video, or create from a script, an audio or a briefing
Scopes: content.create
Request body
projectIdstring (uuid)requiredmode"edit" | "create"requiredorigin"video" | "script" | "audio" | "briefing"sourceAssetIdstring (uuid)namestringmax 120 charspromptstringmax 20000 charsscriptstringmax 20000 charsbriefingstringmax 20000 charsvisualTextsobject[]textstringrequiredmax 120 charsrole"title" | "text" | "cta"default "text"settingsobjecteditorial"organic" | "talking_head" | "images_narration" | "direct_response" | "explainer" | "hybrid" | "motion"motion"none" | "hybrid" | "full"motionWhere"opening" | "sections" | "cta"[]motionChosenbooleanmotionAckbooleananimation"allowed" | "captions_only" | "none"cutDensity"low" | "medium" | "high"broll"few" | "balanced" | "many"captionsobjectenabledbooleanpreset"classic" | "dynamic" | "minimal" | "boxed" | "pop" | "hormozi" | "boxed_word" | "bounce" | "subtle" | "clean" | "bold" | "outline" | "active_word" | "karaoke" | "one_word" | "solid_block" | "marker" | "soft_pop" | "editorial" | "caps" | "minimal_bottom" | "beast" | "hype" | "punch" | "headline" | "manchete" | "giant" | "drop_in" | "slide_in" | "green_word" | "yellow_box" | "purple_box" | "pill_word" | "reveal_words" | "spotlight" | "marker_follow" | "karaoke_blue" | "bounce_word" | "scale_word" | "black_box" | "white_pill" | "word_blocks" | "glass" | "red_band" | "news" | "sticker" | "mono_tech" | "tv" | "typewriter" | "serif" | "fashion" | "luxury" | "cinema" | "script" | "lobster" | "focus" | "bubble" | "comic" | "cartoon" | "retro" | "pen" | "note" | "gamer" | "neon_pink" | "neon_blue" | "neon_word" | "hollow_neon" | "lowercase" | "top" | "yellow" | "cascade" | "blue_box"savedStyleIdstring (uuid)chosenbooleanmusicobjectmode"none" | "upload" | "library" | "project"assetIdstring (uuid)volumenumber≥ 0 · ≤ 1duckbooleanfadeInnumber≥ 0 · ≤ 5fadeOutnumber≥ 0 · ≤ 5avatarobjectmode"none" | "base" | "clip" | "provider"assetIdstring (uuid)layout"full" | "pip" | "alternate"placement"all" | "hook_cta" | "free"opening"auto" | "split" | "full"libraryobjectprojectIdstring (uuid)folderIdsstring (uuid)[]fallback"kept_presenter" | "extended_previous" | "text" | "review"allowRepeatbooleanincludeSubfoldersbooleanformat"9:16" | "1:1" | "4:5" | "16:9"targetSecondsnumberpreserveStartbooleanpreserveCtabooleanpreserveSpeechbooleantrimSilencesMsintegerlanguagestringmax 20 charsexcludedAssetIdsstring (uuid)[]avoidstring[]preferstring[]curl -X POST https://aftermatter.online/api/v1/editor/v2 \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}A v2 video: edit, brief and recent jobs
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/editor/v2/:id \ -H "Authorization: Bearer sk_live_…"
/editor/v2/{id}/briefChange the brief of a video (prompt, script, settings)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
promptstringmax 20000 charsscriptstringmax 20000 charsbriefingstringmax 20000 charsvisualTextsobject[]textstringrequiredmax 120 charsrole"title" | "text" | "cta"default "text"settingsobjecteditorial"organic" | "talking_head" | "images_narration" | "direct_response" | "explainer" | "hybrid" | "motion"motion"none" | "hybrid" | "full"motionWhere"opening" | "sections" | "cta"[]motionChosenbooleanmotionAckbooleananimation"allowed" | "captions_only" | "none"cutDensity"low" | "medium" | "high"broll"few" | "balanced" | "many"captionsobjectenabledbooleanpreset"classic" | "dynamic" | "minimal" | "boxed" | "pop" | "hormozi" | "boxed_word" | "bounce" | "subtle" | "clean" | "bold" | "outline" | "active_word" | "karaoke" | "one_word" | "solid_block" | "marker" | "soft_pop" | "editorial" | "caps" | "minimal_bottom" | "beast" | "hype" | "punch" | "headline" | "manchete" | "giant" | "drop_in" | "slide_in" | "green_word" | "yellow_box" | "purple_box" | "pill_word" | "reveal_words" | "spotlight" | "marker_follow" | "karaoke_blue" | "bounce_word" | "scale_word" | "black_box" | "white_pill" | "word_blocks" | "glass" | "red_band" | "news" | "sticker" | "mono_tech" | "tv" | "typewriter" | "serif" | "fashion" | "luxury" | "cinema" | "script" | "lobster" | "focus" | "bubble" | "comic" | "cartoon" | "retro" | "pen" | "note" | "gamer" | "neon_pink" | "neon_blue" | "neon_word" | "hollow_neon" | "lowercase" | "top" | "yellow" | "cascade" | "blue_box"savedStyleIdstring (uuid)chosenbooleanmusicobjectmode"none" | "upload" | "library" | "project"assetIdstring (uuid)volumenumber≥ 0 · ≤ 1duckbooleanfadeInnumber≥ 0 · ≤ 5fadeOutnumber≥ 0 · ≤ 5avatarobjectmode"none" | "base" | "clip" | "provider"assetIdstring (uuid)layout"full" | "pip" | "alternate"placement"all" | "hook_cta" | "free"opening"auto" | "split" | "full"libraryobjectprojectIdstring (uuid)folderIdsstring (uuid)[]fallback"kept_presenter" | "extended_previous" | "text" | "review"allowRepeatbooleanincludeSubfoldersbooleanformat"9:16" | "1:1" | "4:5" | "16:9"targetSecondsnumberpreserveStartbooleanpreserveCtabooleanpreserveSpeechbooleantrimSilencesMsintegerlanguagestringmax 20 charsexcludedAssetIdsstring (uuid)[]avoidstring[]preferstring[]curl -X PATCH https://aftermatter.online/api/v1/editor/v2/:id/brief \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/baseReplace the base video of an edit (asked explicitly; the old one stays in the project)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredcurl -X POST https://aftermatter.online/api/v1/editor/v2/:id/base \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/first-editGenerate the first edit (a durable job; the same job comes back on a repeat)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
idempotencyKeystringmax 100 charsregeneratebooleancontinueWithoutReferencesbooleanresumeJobIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/editor/v2/:id/first-edit \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/jobsJobs of a video (real progress by stage)
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/editor/v2/:id/jobs \ -H "Authorization: Bearer sk_live_…"
/editor/v2/jobs/{id}One job
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/editor/v2/jobs/:id \ -H "Authorization: Bearer sk_live_…"
/editor/v2/jobs/{id}/cancelCancel a job before its next stage
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/editor/v2/jobs/:id/cancel \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/editor-defaultsA project's editor defaults (captions, music, avatar, style, folders, notes)
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/projects/:id/editor-defaults \ -H "Authorization: Bearer sk_live_…"
/projects/{id}/editor-defaultsSave a project's editor defaults (each video can still override them)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
editorial"organic" | "talking_head" | "images_narration" | "direct_response" | "explainer" | "hybrid" | "motion"motion"none" | "hybrid" | "full"motionWhere"opening" | "sections" | "cta"[]motionChosenbooleanmotionAckbooleananimation"allowed" | "captions_only" | "none"cutDensity"low" | "medium" | "high"broll"few" | "balanced" | "many"captionsobjectenabledbooleanpreset"classic" | "dynamic" | "minimal" | "boxed" | "pop" | "hormozi" | "boxed_word" | "bounce" | "subtle" | "clean" | "bold" | "outline" | "active_word" | "karaoke" | "one_word" | "solid_block" | "marker" | "soft_pop" | "editorial" | "caps" | "minimal_bottom" | "beast" | "hype" | "punch" | "headline" | "manchete" | "giant" | "drop_in" | "slide_in" | "green_word" | "yellow_box" | "purple_box" | "pill_word" | "reveal_words" | "spotlight" | "marker_follow" | "karaoke_blue" | "bounce_word" | "scale_word" | "black_box" | "white_pill" | "word_blocks" | "glass" | "red_band" | "news" | "sticker" | "mono_tech" | "tv" | "typewriter" | "serif" | "fashion" | "luxury" | "cinema" | "script" | "lobster" | "focus" | "bubble" | "comic" | "cartoon" | "retro" | "pen" | "note" | "gamer" | "neon_pink" | "neon_blue" | "neon_word" | "hollow_neon" | "lowercase" | "top" | "yellow" | "cascade" | "blue_box"savedStyleIdstring (uuid)chosenbooleanmusicobjectmode"none" | "upload" | "library" | "project"assetIdstring (uuid)volumenumber≥ 0 · ≤ 1duckbooleanfadeInnumber≥ 0 · ≤ 5fadeOutnumber≥ 0 · ≤ 5avatarobjectmode"none" | "base" | "clip" | "provider"assetIdstring (uuid)layout"full" | "pip" | "alternate"placement"all" | "hook_cta" | "free"opening"auto" | "split" | "full"libraryobjectprojectIdstring (uuid)folderIdsstring (uuid)[]fallback"kept_presenter" | "extended_previous" | "text" | "review"allowRepeatbooleanincludeSubfoldersbooleanformat"9:16" | "1:1" | "4:5" | "16:9"targetSecondsnumberpreserveStartbooleanpreserveCtabooleanpreserveSpeechbooleantrimSilencesMsintegerlanguagestringmax 20 charsexcludedAssetIdsstring (uuid)[]avoidstring[]preferstring[]notesstringmax 2000 charscurl -X PUT https://aftermatter.online/api/v1/projects/:id/editor-defaults \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/script/proposePropose a script from the briefing (to edit before any voice is generated)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
secondsinteger≥ 6 · ≤ 180curl -X POST https://aftermatter.online/api/v1/editor/v2/:id/script/propose \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/narration/planPlan the narration of the script (with its estimate)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
voicestringcurl -X POST https://aftermatter.online/api/v1/editor/v2/:id/narration/plan \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/narration/{runId}/startGenerate the planned narration (charged like any generation); the first edit follows
Scopes: content.create
Parameters
idpath · stringrequiredrunIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/editor/v2/:id/narration/:runId/start \ -H "Authorization: Bearer sk_live_…"
/editor/v2/{id}/variationsCopies that change one dimension (images, captions, music, presenter, format), traceable to this version
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
dimension"images" | "captions" | "music" | "presenter" | "format"requiredvaluesstring[]default []curl -X POST https://aftermatter.online/api/v1/editor/v2/:id/variations \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/caption-stylesSaved caption styles (latest version of each)
Scopes: content.read
Parameters
projectIdquery · string (uuid)curl -X GET https://aftermatter.online/api/v1/caption-styles \ -H "Authorization: Bearer sk_live_…"
/caption-stylesSave a caption style (a change of an existing one is its next version)
Scopes: content.create
Request body
namestringrequiredmax 60 charsstyleobjectrequiredfamilyIdstring (uuid)projectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/caption-styles \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/caption-styles/{id}Archive a saved style (videos keep their copy)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/caption-styles/:id \ -H "Authorization: Bearer sk_live_…"
/caption-styles/prefsFavourite and recent caption looks
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/caption-styles/prefs \ -H "Authorization: Bearer sk_live_…"
/caption-styles/prefs/{key}Mark a look as favourite / used
Scopes: content.create
Parameters
keypath · stringrequiredRequest body
favoritebooleanusedbooleancurl -X PUT https://aftermatter.online/api/v1/caption-styles/prefs/:key \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/caption-referencesCaption references and their fidelity sheets
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/caption-references \ -H "Authorization: Bearer sk_live_…"
/caption-referencesAdd a caption reference (a short video is best; an image shows the static look; a link is only a pointer)
Scopes: content.create
Request body
namestringrequiredmax 80 charsassetIdstring (uuid)linkstringnotesstringmax 2000 charscurl -X POST https://aftermatter.online/api/v1/caption-references \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/caption-references/{id}Record the reproduction and the side-by-side comparison
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
styleFamilyIdstring (uuid)comparisonobjectnotesstringmax 2000 charsvalidatebooleancurl -X PATCH https://aftermatter.online/api/v1/caption-references/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/avatar/estimateWhat generating the presenter from a chosen photo/video costs
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
sourceAssetIdstring (uuid)requiredmodelIdstringcurl -X POST https://aftermatter.online/api/v1/editor/v2/:id/avatar/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/editor/v2/{id}/avatarGenerate the presenter (lip sync of the chosen photo/video with the narration); the edit is rebuilt on it
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
sourceAssetIdstring (uuid)requiredmodelIdstringrightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/editor/v2/:id/avatar \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/motion/enginesMotion Studio engines per task (open weights, APIs, your GPU worker) and their availability
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/motion/engines \ -H "Authorization: Bearer sk_live_…"
/motion/analyzeAnalyze a motion reference video (cached): duration, motion level, scene cuts, black frames
Scopes: content.create
Request body
assetIdstring (uuid)requiredcurl -X POST https://aftermatter.online/api/v1/motion/analyze \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/motion/prepareTrim and normalize a motion reference before generating (engines bill per processed second)
Scopes: content.create
Request body
assetIdstring (uuid)requiredstartnumber≥ 0 · ≤ 3600endnumber≥ 0 · ≤ 3600fpsinteger≥ 8 · ≤ 60maxHeightinteger≥ 240 · ≤ 2160minWidthinteger≥ 64 · ≤ 2160minHeightinteger≥ 64 · ≤ 2160maxWidthinteger≥ 240 · ≤ 3840curl -X POST https://aftermatter.online/api/v1/motion/prepare \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/motion/resultsQuality metrics and the original-audio version of finished motion generations
Scopes: content.read
Parameters
jobIdsquery · stringrequiredcurl -X GET https://aftermatter.online/api/v1/motion/results \ -H "Authorization: Bearer sk_live_…"
/aftershift/modelsModels that can run a transformation with the given inputs
Scopes: content.read
Parameters
taskquery · "replace_person" | "add_object" | "remove_object" | "change_scene" | "change_outfit" | "compose" | "swap_object" | "change_lighting" | "restyle"requiredmaskquery · "true" | "false"textquery · "true" | "false"refsquery · integeroutfitquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/aftershift/models \ -H "Authorization: Bearer sk_live_…"
/aftershift/image/estimateCredits and the chosen model for an image transformation
Scopes: content.create
Request body
task"replace_person" | "add_object" | "remove_object" | "change_scene" | "change_outfit" | "compose" | "swap_object" | "change_lighting" | "restyle"requiredsourceAssetIdstring (uuid)characterIdstring (uuid)referencesobject[]default []assetIdstring (uuid)requiredrole"person" | "outfit" | "scene" | "object" | "style"requiredmaskAssetIdstring (uuid)instructionstringmax 2000 chars · default ""modelIdstringmax 80 charsparamsobjectdefault {}rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/aftershift/image/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/imageTransform an image (replace a person, add/remove objects, change the scene or outfit, compose)
Scopes: content.create
Parameters
Idempotency-Keyheader · stringRequest body
task"replace_person" | "add_object" | "remove_object" | "change_scene" | "change_outfit" | "compose" | "swap_object" | "change_lighting" | "restyle"requiredsourceAssetIdstring (uuid)characterIdstring (uuid)referencesobject[]default []assetIdstring (uuid)requiredrole"person" | "outfit" | "scene" | "object" | "style"requiredmaskAssetIdstring (uuid)instructionstringmax 2000 chars · default ""modelIdstringmax 80 charsparamsobjectdefault {}rightsConfirmedbooleanprojectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/aftershift/image \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/selectAutomatically select the subject or the background of an image (a mask)
Scopes: content.create
Request body
assetIdstring (uuid)requiredtarget"subject" | "background"requiredcurl -X POST https://aftermatter.online/api/v1/aftershift/select \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/select/{id}The selection mask once ready
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/aftershift/select/:id \ -H "Authorization: Bearer sk_live_…"
/aftershift/precision/selectSelect an object on an image or the first frame of a video by clicking it, drawing a box or naming it (SAM 3); it is named automatically
Scopes: content.create
Request body
assetIdstring (uuid)requiredlocale"en" | "pt-BR"default "en"timenumber≥ 0 · ≤ 600 · default 0pointsobject[]default []xintegerrequired≥ 0 · ≤ 9007199254740991yintegerrequired≥ 0 · ≤ 9007199254740991positivebooleandefault trueboxobjectdefault nulltextstringdefault nullcurl -X POST https://aftermatter.online/api/v1/aftershift/precision/select \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/precision/select/{id}The selection mask once ready
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/aftershift/precision/select/:id \ -H "Authorization: Bearer sk_live_…"
/aftershift/precision/planPlan an image or video edit from an instruction: target, strength, what is protected, the route and models, and the price (nothing is charged)
Scopes: content.create
Request body
object
curl -X POST https://aftermatter.online/api/v1/aftershift/precision/plan \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/precision/runsPrecision edits of a video (newest first)
Scopes: content.read
Parameters
sourceAssetIdquery · string (uuid)limitquery · integercurl -X GET https://aftermatter.online/api/v1/aftershift/precision/runs \ -H "Authorization: Bearer sk_live_…"
/aftershift/precision/runs/{id}A precision edit: plan, stages, result and validation
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/aftershift/precision/runs/:id \ -H "Authorization: Bearer sk_live_…"
/aftershift/precision/runs/{id}Adjust a plan before approving it (strength, description, protected objects, model, quality)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
object
curl -X PATCH https://aftermatter.online/api/v1/aftershift/precision/runs/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/precision/runs/{id}/approveApprove the plan and its price and start the edit
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
rightsConfirmedbooleandefault falsecurl -X POST https://aftermatter.online/api/v1/aftershift/precision/runs/:id/approve \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/precision/runs/{id}/revisePlan a targeted revision of a finished edit from feedback (masks are reused)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
object
curl -X POST https://aftermatter.online/api/v1/aftershift/precision/runs/:id/revise \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/aftershift/precision/runs/{id}/regenerateA new take of a finished edit: the same plan and selection (masks reused), waiting for approval of its price
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/aftershift/precision/runs/:id/regenerate \ -H "Authorization: Bearer sk_live_…"
/aftershift/precision/runs/{id}/cancelCancel a precision edit
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/aftershift/precision/runs/:id/cancel \ -H "Authorization: Bearer sk_live_…"
/pipelines/operationsOperations a multi-AI pipeline can chain (what each takes and gives)
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/pipelines/operations \ -H "Authorization: Bearer sk_live_…"
/pipelines/planPlan a goal into the fewest AI steps, route each to a model and estimate the credits (nothing runs yet)
Scopes: content.create
Request body
goalstringrequiredmax 2000 charssourceAssetIdstring (uuid)referenceAssetIdsstring (uuid)[]default []characterIdstring (uuid)mode"fast" | "balanced" | "quality"default "balanced"origin"pipeline" | "aftershift" | "editor" | "api"default "pipeline"rightsConfirmedbooleanstepsobject[]operation"generate_image" | "edit_image" | "upscale_image" | "remove_background" | "text_to_video" | "image_to_video" | "reference_to_video" | "replace_character" | "motion_transfer" | "edit_video" | "swap_background" | "swap_object_video" | "restyle_video" | "upscale_video" | "narration" | "music" | "sound_effect" | "voice_cleanup" | "transcribe"requiredinput"source" | "previous" | "none"requireduseReferencesbooleandefault falsepromptstringmax 4000 chars · default ""whystringmax 200 chars · default ""paramsobjectdefault {}contextobjectcurl -X POST https://aftermatter.online/api/v1/pipelines/plan \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/pipelinesPipelines of the workspace with their steps
Scopes: content.read
Parameters
originquery · "pipeline" | "aftershift" | "editor" | "api"limitquery · integercurl -X GET https://aftermatter.online/api/v1/pipelines \ -H "Authorization: Bearer sk_live_…"
/pipelines/{id}One pipeline: steps, models, inputs, outputs, timing, credits, errors
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/pipelines/:id \ -H "Authorization: Bearer sk_live_…"
/pipelines/{id}/startRun a planned pipeline within the confirmed estimate
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
rightsConfirmedbooleancurl -X POST https://aftermatter.online/api/v1/pipelines/:id/start \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/pipelines/{id}/resumeContinue a failed pipeline from its failed step (completed steps are kept)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/pipelines/:id/resume \ -H "Authorization: Bearer sk_live_…"
/pipelines/{id}/cancelStop a pipeline (the running step is cancelled; finished steps stay)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/pipelines/:id/cancel \ -H "Authorization: Bearer sk_live_…"
/effects/collectionsEffect collections
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/effects/collections \ -H "Authorization: Bearer sk_live_…"
/effects/collectionsNew collection
Scopes: content.create
Request body
namestringrequiredmax 60 charscurl -X POST https://aftermatter.online/api/v1/effects/collections \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/effects/collections/{id}Delete a collection
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/effects/collections/:id \ -H "Authorization: Bearer sk_live_…"
/effects/collections/{id}/itemsAdd or remove an effect
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
effectIdstringrequiredmax 60 charsonbooleanrequiredcurl -X POST https://aftermatter.online/api/v1/effects/collections/:id/items \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/effects/{id}/estimateCredit estimate for an effect run
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
modelIdstringmax 80 charsinputsobjectdefault {}paramsobjectdefault {}projectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/effects/:id/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/effects/{id}/runApply an effect
Scopes: content.create
Parameters
idpath · stringrequiredIdempotency-Keyheader · stringRequest body
modelIdstringmax 80 charsinputsobjectdefault {}paramsobjectdefault {}projectIdstring (uuid)idempotencyKeystringmax 120 charscurl -X POST https://aftermatter.online/api/v1/effects/:id/run \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/audio/libraryAudio library: every audio file with its origin (model, mode, text)
Scopes: content.read
Parameters
qquery · stringfavoritesquery · "true" | "false"limitquery · integerbeforequery · stringcurl -X GET https://aftermatter.online/api/v1/audio/library \ -H "Authorization: Bearer sk_live_…"
/audio/mixesAudio mixes
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/audio/mixes \ -H "Authorization: Bearer sk_live_…"
/audio/mixesNew mix
Scopes: content.create
Request body
namestringrequiredmax 120 charsassetIdsstring (uuid)[]curl -X POST https://aftermatter.online/api/v1/audio/mixes \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/audio/mixes/{id}One mix
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/audio/mixes/:id \ -H "Authorization: Bearer sk_live_…"
/audio/mixes/{id}Save tracks (optimistic version)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charstracksobject[]idstringrequiredmax 40 charsassetIdstring (uuid)requiredstartnumberrequired≥ 0 · ≤ 3600innumberrequired≥ 0 · ≤ 3600outnumberrequired≥ 0 · ≤ 3600volumenumber≥ 0 · ≤ 2 · default 1fadeInnumber≥ 0 · ≤ 30 · default 0fadeOutnumber≥ 0 · ≤ 30 · default 0mutedbooleandefault falseversionintegerrequired≥ 1 · ≤ 9007199254740991curl -X PUT https://aftermatter.online/api/v1/audio/mixes/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/audio/mixes/{id}Delete a mix
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/audio/mixes/:id \ -H "Authorization: Bearer sk_live_…"
/audio/mixes/{id}/exportRender the mix into a new audio file
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
format"mp3" | "wav" | "m4a"default "mp3"curl -X POST https://aftermatter.online/api/v1/audio/mixes/:id/export \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/generations/{id}/subtitlesSRT or VTT subtitles from a transcription
Scopes: content.read
Parameters
idpath · stringrequiredformatquery · "srt" | "vtt"curl -X GET https://aftermatter.online/api/v1/generations/:id/subtitles \ -H "Authorization: Bearer sk_live_…"
/voices/providersVoice cloning providers: what each needs and costs
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/voices/providers \ -H "Authorization: Bearer sk_live_…"
/voicesSaved voices of the workspace (optionally the ones a speech model can use)
Scopes: content.read
Parameters
modelIdquery · stringreadyquery · "true" | "false"curl -X GET https://aftermatter.online/api/v1/voices \ -H "Authorization: Bearer sk_live_…"
/voicesClone a voice from a recording (the speaker’s consent is required)
Scopes: content.create
Parameters
Idempotency-Keyheader · stringRequest body
namestringrequiredmax 60 charsprovider"elevenlabs" | "minimax" | "qwen"requiredsampleAssetIdstring (uuid)requiredlanguagestringmax 20 charsreferenceTextstringmax 1000 charsconsentbooleanrequiredcurl -X POST https://aftermatter.online/api/v1/voices \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/voices/denoiseRemove the background noise of a recording before cloning it (the original is kept)
Scopes: content.create
Request body
sampleAssetIdstring (uuid)requiredforcebooleancurl -X POST https://aftermatter.online/api/v1/voices/denoise \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/voices/denoise/{id}A noise removal: its progress, the original and the cleaned recording with their measured levels
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/voices/denoise/:id \ -H "Authorization: Bearer sk_live_…"
/generations/{id}/denoiseRemove the background noise of a speech generation: a cleaned copy next to the original
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)forcebooleancurl -X POST https://aftermatter.online/api/v1/generations/:id/denoise \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/voices/{id}One saved voice
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/voices/:id \ -H "Authorization: Bearer sk_live_…"
/voices/{id}Delete a saved voice (and free it at the provider)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/voices/:id \ -H "Authorization: Bearer sk_live_…"
/cinemaCinema projects
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/cinema \ -H "Authorization: Bearer sk_live_…"
/cinemaNew cinema project
Scopes: content.create
Request body
namestringrequiredmax 120 charsloglinestringmax 1000 chars · default ""stylestringmax 500 chars · default ""aspectRatio"16:9" | "9:16" | "1:1" | "4:3" | "21:9"default "16:9"curl -X POST https://aftermatter.online/api/v1/cinema \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/scenes/{id}Edit a scene
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringmax 120 charslocationIdstringdescriptionstringmax 2000 charsmoodstringmax 200 charslightingstringmax 40 charscharactersstring (uuid)[]propsstring[]curl -X PATCH https://aftermatter.online/api/v1/cinema/scenes/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/scenes/{id}Delete a scene
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/cinema/scenes/:id \ -H "Authorization: Bearer sk_live_…"
/cinema/scenes/{id}/shotsAdd a shot
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringmax 120 chars · default ""actionstringmax 2000 chars · default ""dialoguestringmax 1000 chars · default ""cameraobjectdefault {}shotSizestringmax 30 charsanglestringmax 30 charsfocalLengthinteger≥ 8 · ≤ 400lensstringmax 30 charsdofstringmax 30 charsaperturestringmax 10 charsmovementstringmax 30 charsintensitystringmax 20 charsfocusTargetstringmax 120 charslightingstringdurationinteger≥ 2 · ≤ 20 · default 5charactersstring (uuid)[]default []propsstring[]default []promptOverridestringvideoModelIdstringcurl -X POST https://aftermatter.online/api/v1/cinema/scenes/:id/shots \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/shots/{id}Edit a shot
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringmax 120 charsactionstringmax 2000 charsdialoguestringmax 1000 charscameraobjectshotSizestringmax 30 charsanglestringmax 30 charsfocalLengthinteger≥ 8 · ≤ 400lensstringmax 30 charsdofstringmax 30 charsaperturestringmax 10 charsmovementstringmax 30 charsintensitystringmax 20 charsfocusTargetstringmax 120 charslightingstringdurationinteger≥ 2 · ≤ 20charactersstring (uuid)[]propsstring[]promptOverridestringvideoModelIdstringcurl -X PATCH https://aftermatter.online/api/v1/cinema/shots/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/shots/{id}Delete a shot
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/cinema/shots/:id \ -H "Authorization: Bearer sk_live_…"
/cinema/shots/{id}/moveReorder or move a shot
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
sceneIdstring (uuid)requiredpositionintegerrequired≥ 0 · ≤ 9007199254740991curl -X POST https://aftermatter.online/api/v1/cinema/shots/:id/move \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/shots/{id}/frameUse an image as the storyboard frame
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredcurl -X POST https://aftermatter.online/api/v1/cinema/shots/:id/frame \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}Project with scenes, shots and continuity
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/cinema/:id \ -H "Authorization: Bearer sk_live_…"
/cinema/{id}Edit project, models and continuity library
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charsloglinestringmax 1000 charsstylestringmax 500 charsaspectRatio"16:9" | "9:16" | "1:1" | "4:3" | "21:9"storyboardModelIdstringvideoModelIdstringcontinuityobjectcharactersstring (uuid)[]requiredlocationsobject[]requiredidstringrequiredmax 40 charsnamestringrequiredmax 80 charsdescriptionstringmax 1000 chars · default ""assetIdsstring (uuid)[]default []propsobject[]requiredidstringrequiredmax 40 charsnamestringrequiredmax 80 charsdescriptionstringmax 500 chars · default ""assetIdsstring (uuid)[]default []styleRefsstring (uuid)[]requiredwardrobestringrequiredmax 1000 charscurl -X PATCH https://aftermatter.online/api/v1/cinema/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}Delete a cinema project
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/cinema/:id \ -H "Authorization: Bearer sk_live_…"
/cinema/{id}/scenesAdd a scene
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
titlestringrequiredmax 120 charslocationIdstringdescriptionstringmax 2000 chars · default ""moodstringmax 200 chars · default ""lightingstringmax 40 chars · default "natural"charactersstring (uuid)[]default []propsstring[]default []curl -X POST https://aftermatter.online/api/v1/cinema/:id/scenes \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}/estimateCredits for storyboard frames or shot videos
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kind"storyboard" | "video"requiredshotIdsstring (uuid)[]curl -X POST https://aftermatter.online/api/v1/cinema/:id/estimate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}/generateGenerate storyboard frames or shot videos (one job per shot)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
kind"storyboard" | "video"requiredshotIdsstring (uuid)[]curl -X POST https://aftermatter.online/api/v1/cinema/:id/generate \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}/directorAI Director: propose scenes, shots, camera, lighting and models (nothing is generated)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
briefstringrequiredmax 4000 charsscenesinteger≥ 1 · ≤ 8shotsPerSceneinteger≥ 1 · ≤ 8totalSecondsinteger≥ 5 · ≤ 600curl -X POST https://aftermatter.online/api/v1/cinema/:id/director \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}/directorDiscard the proposal
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/cinema/:id/director \ -H "Authorization: Bearer sk_live_…"
/cinema/{id}/director/applyApply the approved proposal
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
mode"replace" | "append"default "append"curl -X POST https://aftermatter.online/api/v1/cinema/:id/director/apply \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/cinema/{id}/export/sequenceCombine shot clips into an editor project
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/cinema/:id/export/sequence \ -H "Authorization: Bearer sk_live_…"
/cinema/{id}/export/storyboardStoryboard contact sheet (PNG)
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/cinema/:id/export/storyboard \ -H "Authorization: Bearer sk_live_…"
/cinema/{id}/export/metadataProject metadata (JSON)
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/cinema/:id/export/metadata \ -H "Authorization: Bearer sk_live_…"
/canvas/templatesWorkflow templates
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/canvas/templates \ -H "Authorization: Bearer sk_live_…"
/canvas/importImport a shared workflow as a copy
Scopes: content.create
Request body
tokenstringrequiredmax 64 charscurl -X POST https://aftermatter.online/api/v1/canvas/import \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/canvas/runs/{runId}Run with per-node status and outputs
Scopes: content.read
Parameters
runIdpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/canvas/runs/:runId \ -H "Authorization: Bearer sk_live_…"
/canvas/runs/{runId}/cancelCancel a run
Scopes: content.create
Parameters
runIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/canvas/runs/:runId/cancel \ -H "Authorization: Bearer sk_live_…"
/canvas/runs/{runId}/retryRetry failed and skipped steps (succeeded generations are kept)
Scopes: content.create
Parameters
runIdpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/canvas/runs/:runId/retry \ -H "Authorization: Bearer sk_live_…"
/canvasWorkflows
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/canvas \ -H "Authorization: Bearer sk_live_…"
/canvasNew workflow (blank or from a template)
Scopes: content.create
Request body
namestringrequiredmax 120 charsdescriptionstringmax 1000 chars · default ""templateIdstringmax 60 charsprojectIdstring (uuid)curl -X POST https://aftermatter.online/api/v1/canvas \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/canvas/{id}Workflow with graph and validation
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/canvas/:id \ -H "Authorization: Bearer sk_live_…"
/canvas/{id}Save a workflow (graph saves need the current version)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charsdescriptionstringmax 1000 charsgraphobjectnodesobject[]requiredidstringrequiredmax 60 charstype"prompt" | "text" | "image_input" | "video_input" | "audio_input" | "character" | "model" | "image_gen" | "video_gen" | "audio_gen" | "transform" | "upscale" | "merge" | "output" | "group"requiredpositionobjectrequireddataobjectdefault {}parentIdstringmax 60 charsstyleobjectedgesobject[]requiredidstringrequiredmax 200 charssourcestringrequiredmax 60 charstargetstringrequiredmax 60 charstargetHandlestringrequiredmax 40 charssourceHandlestringviewportobjectxnumberrequiredynumberrequiredzoomnumberrequiredversioninteger≥ 1 · ≤ 9007199254740991visibility"private" | "workspace"projectIdstring (uuid)curl -X PATCH https://aftermatter.online/api/v1/canvas/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/canvas/{id}Delete a workflow
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/canvas/:id \ -H "Authorization: Bearer sk_live_…"
/canvas/{id}/duplicateDuplicate a workflow
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/canvas/:id/duplicate \ -H "Authorization: Bearer sk_live_…"
/canvas/{id}/shareTurn the public share link on or off
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
onbooleanrequiredcurl -X POST https://aftermatter.online/api/v1/canvas/:id/share \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/canvas/{id}/estimateValidate the graph and estimate credits per node
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/canvas/:id/estimate \ -H "Authorization: Bearer sk_live_…"
/canvas/{id}/runsRun history
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/canvas/:id/runs \ -H "Authorization: Bearer sk_live_…"
/canvas/{id}/runsRun the workflow after confirming the estimate
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
expectedCreditsinteger≥ 0 · ≤ 9007199254740991curl -X POST https://aftermatter.online/api/v1/canvas/:id/runs \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/3d/ai/sceneAI scene assistant: prompt → validated, editable objects (nothing is saved)
Scopes: content.create
Request body
promptstringrequiredmax 2000 charsexistingstring[]curl -X POST https://aftermatter.online/api/v1/3d/ai/scene \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/3d/scenes3D scenes
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/3d/scenes \ -H "Authorization: Bearer sk_live_…"
/3d/scenesNew 3D scene
Scopes: content.create
Request body
namestringrequiredmax 120 charsprojectIdstring (uuid)sceneobjectobjectsobject[]requiredsettingsobjectdefault {"background":"#0b0f17","grid":true,"shadows":true,"fog":false}backgroundstringdefault "#0b0f17"gridbooleandefault trueshadowsbooleandefault truefogbooleandefault falseanimationobjectdefault {"duration":5,"fps":24,"keys":[]}durationnumber≥ 1 · ≤ 60 · default 5fpsinteger≥ 12 · ≤ 60 · default 24keysobject[]default []curl -X POST https://aftermatter.online/api/v1/3d/scenes \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/3d/scenes/{id}Scene with referenced files
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/3d/scenes/:id \ -H "Authorization: Bearer sk_live_…"
/3d/scenes/{id}Save the scene (needs the current version)
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
sceneobjectrequiredobjectsobject[]requiredsettingsobjectdefault {"background":"#0b0f17","grid":true,"shadows":true,"fog":false}backgroundstringdefault "#0b0f17"gridbooleandefault trueshadowsbooleandefault truefogbooleandefault falseanimationobjectdefault {"duration":5,"fps":24,"keys":[]}durationnumber≥ 1 · ≤ 60 · default 5fpsinteger≥ 12 · ≤ 60 · default 24keysobject[]default []versionintegerrequired≥ 1 · ≤ 9007199254740991curl -X PUT https://aftermatter.online/api/v1/3d/scenes/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/3d/scenes/{id}Rename or move to a project
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
namestringmax 120 charsprojectIdstring (uuid)curl -X PATCH https://aftermatter.online/api/v1/3d/scenes/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/3d/scenes/{id}Delete a scene
Scopes: content.delete
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/3d/scenes/:id \ -H "Authorization: Bearer sk_live_…"
/3d/scenes/{id}/duplicateDuplicate a scene
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/3d/scenes/:id/duplicate \ -H "Authorization: Bearer sk_live_…"
/3d/scenes/{id}/rendersRegister an uploaded render (image/animation) or GLB export of this scene
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
assetIdstring (uuid)requiredkind"image" | "animation" | "glb"requiredcurl -X POST https://aftermatter.online/api/v1/3d/scenes/:id/renders \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/agent/statusWhether the agent is configured, and its tools
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/agent/status \ -H "Authorization: Bearer sk_live_…"
/agent/sessionsYour agent conversations
Scopes: content.read
curl -X GET https://aftermatter.online/api/v1/agent/sessions \ -H "Authorization: Bearer sk_live_…"
/agent/sessionsNew conversation
Scopes: content.create
Request body
titlestringmax 120 charscurl -X POST https://aftermatter.online/api/v1/agent/sessions \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/agent/sessions/{id}Conversation with actions
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/agent/sessions/:id \ -H "Authorization: Bearer sk_live_…"
/agent/sessions/{id}Archive a conversation
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/agent/sessions/:id \ -H "Authorization: Bearer sk_live_…"
/agent/sessions/{id}/messagesSend a message; the agent plans, runs free tools and proposes paid ones
Scopes: content.create
Parameters
idpath · stringrequiredRequest body
textstringrequiredmax 8000 charscurl -X POST https://aftermatter.online/api/v1/agent/sessions/:id/messages \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/agent/actions/{id}/rejectReject a proposed action
Scopes: content.create
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/agent/actions/:id/reject \ -H "Authorization: Bearer sk_live_…"
/webhooksWebhook endpoints and the event types you can subscribe to
Scopes: webhooks.manage
curl -X GET https://aftermatter.online/api/v1/webhooks \ -H "Authorization: Bearer sk_live_…"
/webhooksSubscribe an endpoint (the signing secret is returned once)
Scopes: webhooks.manage
Request body
urlstring (uri)requiredmax 2000 charsdescriptionstringmax 200 chars · default ""events"generation.completed" | "generation.failed" | "publication.published" | "publication.failed" | "workflow.completed" | "workflow.failed" | "export.completed" | "export.failed" | "*"[]requiredcurl -X POST https://aftermatter.online/api/v1/webhooks \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/webhooks/{id}Change URL, events or status
Scopes: webhooks.manage
Parameters
idpath · stringrequiredRequest body
urlstring (uri)max 2000 charsdescriptionstringmax 200 charsevents"generation.completed" | "generation.failed" | "publication.published" | "publication.failed" | "workflow.completed" | "workflow.failed" | "export.completed" | "export.failed" | "*"[]status"active" | "disabled"curl -X PATCH https://aftermatter.online/api/v1/webhooks/:id \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{…}'/webhooks/{id}Remove an endpoint
Scopes: webhooks.manage
Parameters
idpath · stringrequiredcurl -X DELETE https://aftermatter.online/api/v1/webhooks/:id \ -H "Authorization: Bearer sk_live_…"
/webhooks/{id}/rotate-secretReplace the signing secret (returned once)
Scopes: webhooks.manage
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/webhooks/:id/rotate-secret \ -H "Authorization: Bearer sk_live_…"
/webhooks/{id}/testSend a ping now and return the delivery result
Scopes: webhooks.manage
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/webhooks/:id/test \ -H "Authorization: Bearer sk_live_…"
/webhooks/{id}/deliveriesRecent deliveries with response codes
Scopes: webhooks.manage
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/webhooks/:id/deliveries \ -H "Authorization: Bearer sk_live_…"
/webhooks/deliveries/{id}/retryRetry a failed delivery
Scopes: webhooks.manage
Parameters
idpath · stringrequiredcurl -X POST https://aftermatter.online/api/v1/webhooks/deliveries/:id/retry \ -H "Authorization: Bearer sk_live_…"
/analytics/overviewAssets, generations, posts, engagement, ads and data freshness for a period
Scopes: content.read
Parameters
daysquery · integerchannelquery · "instagram" | "tiktok"curl -X GET https://aftermatter.online/api/v1/analytics/overview \ -H "Authorization: Bearer sk_live_…"
/analytics/compareCompare post performance by hook, format, character, style or channel
Scopes: content.read
Parameters
daysquery · integerchannelquery · "instagram" | "tiktok"dimensionquery · "hook" | "format" | "character" | "style" | "channel"requiredcurl -X GET https://aftermatter.online/api/v1/analytics/compare \ -H "Authorization: Bearer sk_live_…"
/analytics/creatives/{id}Creative report: origin, edited variants, destinations and results
Scopes: content.read
Parameters
idpath · stringrequiredcurl -X GET https://aftermatter.online/api/v1/analytics/creatives/:id \ -H "Authorization: Bearer sk_live_…"