anoman
Documentation home

Anoman Motion: compositions and renders

Reference · Motion — edit a video as a document, check frames, then render an mp4.

Early access. Motion is turned on per workspace. If /v1/compositions answers 404 for your key, it is not on for your account yet.

What a composition is

A composition is a JSON document ("schema": "anoman.composition/v1") that describes one video:

  • Main track: 1 to 12 clips in order. A clip is one of your own completed Anoman outputs, by id: a video (vid_…), an image (img_…, the image_id that generate_image returns) or a 3D preview still (3dj_…). Videos are trimmed with trim_in / trim_out; images and 3D stills get a duration and an optional motion (slow_zoom, pan_left, pan_right). Each clip fills the frame (cover) or fits whole (contain).
  • Transitions: a hard cut, or fade, slide_left, slide_up, wipe (0.2 to 1 s).
  • Overlays: text in one of four styles (title, subtitle, callout, caption_like), at the top, centre or bottom, with colours and a fade or slide_up animation; or one of your images in a box.
  • Captions: up to 200 cues, burned into the video or delivered as an .srt file.
  • Output: 9:16, 16:9 or 1:1; 720p, 30 fps. 1080p is coming soon.

A composition holds no URLs, files or code. Ids of outputs you can't see with your key are refused. When you add an asset, Anoman keeps a copy of it with the composition.

Every edit raises the composition's version. Edits name items by id and carry the version you last read (base_version); if someone saved in between, nothing changes and the error gives the current version.

From an agent (MCP)

With the Anoman MCP server connected, these tools appear once Motion is on for your account:

ToolDoes
list_templatesLists the four text styles with their positions and animations. Animated templates are not available yet, so the template list is empty
create_compositionCreates a composition from a document; returns its version, length and render price in Rupiah. Nothing is charged
get_compositionReads the document, version, who edited last (a person in Studio or an agent), assets and price
update_compositionEdits with add, remove, move, set and set_doc operations; all apply or none do
preview_frameRenders one frame at time t with the same renderer as the final video and returns it as an image plus what is on screen. Free, one at a time
render_compositionRenders the current version to an mp4 (and an .srt if you ask). Pass the composition's quote_idr as max_price_idr
get_renderChecks a render; when it is done, returns download links valid for 5 minutes

A typical loop: create → preview_frame at the moments that changed → edit → preview again → render → poll get_render about every 30 seconds.

REST API

All routes take your API key (Authorization: Bearer …).

RouteDoes
GET /v1/compositions/templatesThe text styles; templates: [] for now
POST /v1/compositionsCreate (body: the document) → 201
GET /v1/compositionsList yours, newest edit first (?before=<id>, up to 20)
GET /v1/compositions/{id}Read: doc, version, duration_s, quote_idr, assets, issues
PATCH /v1/compositions/{id}{"base_version": n, "ops": [...]} (up to 50 operations)
DELETE /v1/compositions/{id}Delete (not while a render of it is running)
GET /v1/compositions/{id}/assetsShort-lived links to the composition's own copies of its assets
POST /v1/compositions/{id}/preview-frame{"t": 2.5, "max_side": 512} → a JPEG link (1 hour) and the items visible at t
POST /v1/compositions/{id}/renders{"version": n, "max_price_idr": …, "resolution": "720p", "deliverables": ["mp4", "srt"]} with an Idempotency-Key header → 202
GET /v1/compositions/renders/{id}Status, price, and download links (5 minutes) when completed
DELETE /v1/compositions/renders/{id}Delete a finished render's files now (not refunded)

Sending the same render request again with the same Idempotency-Key returns the same render. If the same version was already rendered in the last 24 hours, that render is returned unless you pass "force": true.

Limits

FreePaid
Renders3 per day, included50 per day, charged
Lengthup to 30 sup to 60 s
Resolution720p720p (1080p coming soon)
Labelalways onalways on for now

Also: one render at a time per account; previews one at a time, 5 per minute and 300 per day per account; 200 compositions per account. A busy renderer answers 429 busy or 503 render_queue_full with a retry_after_s; try again after that.

Price

Renders are priced per rendered second, rounded up, with a minimum of 5 seconds. 720p is about Rp 45 per second. 1080p is coming soon. The Rupiah amount follows the current exchange rate, so use the quote_idr the composition shows. If the price is higher than your max_price_idr, nothing is held and the error shows the new price. Prices are shown in Rupiah (Rp) for every account during this first release.

Renders on a paid account are held from your topped-up balance and kept only when the video is delivered; a failed render is refunded. Free accounts' renders are included within the daily limit. Previews cost nothing.

Label and provenance

Every render is labelled as AI-generated and carries provenance metadata: the "Buatan AI" label drawn in the corner, a file name ending in -ai-generated.mp4, and Anoman's C2PA manifest (self-signed) naming the models of your source clips. Preview stills carry the label too.

If you finish the video in an outside editor (for example CapCut), that editor strips the C2PA metadata; the label stays only where it was burned into the picture. Use "burn": false on captions and the .srt deliverable if you want to restyle captions there.

Where it runs

Rendered on Anoman's servers in Jakarta. The source clips are made by the models listed on the models page.

Good to know

  • The Studio preview is approximate. The Editor in Anoman Studio plays your clips with the text drawn by the browser, so transitions, text size and the audio mix can differ slightly from the final video. "View renderer frame" (or preview_frame) shows the exact frame.
  • Emoji are not drawn yet. Text is drawn in one font for now, and emoji are removed from drawn text.
  • Animated templates are not available yet. A template overlay is refused with template_not_available.
  • Voice and music layers are in the schema but are refused (asset_kind_unavailable) until audio clips can be used.
  • Retention. A composition you have not edited for 30 days is deleted. A composition is kept for 30 days after its last edit; renders for 30 days after they finish; preview stills for 24 hours. Adding an image or clip to a composition keeps its copy for the composition's 30 days, longer than the image link itself.
  • Text is checked. Titles, text overlays and captions go through Anoman's content guard when you save them. National ID and card numbers can't be drawn (pii_in_text); email addresses and phone numbers can.

Errors

CodeMeaning
404 not_foundNot found, not yours, or Motion is not on for your account
404 asset_not_foundAn asset id is not one of your completed outputs
403 composition_guard_blockedThe content guard refused a text; item_id names it
503 guard_unavailableThe content guard could not be reached; nothing was saved, try again
429 composition_limitThe account has 200 compositions; delete one first
422 pii_in_textA text holds a national ID or card number; item_id names it
422 asset_kind_unavailableVoice and music layers are not available yet
422 resolution_unavailable1080p is coming soon; render at 720p
409 render_not_deletableOnly a completed render can be deleted
409 version_conflictSomeone saved first: read again, then re-apply your edit
409 price_changedThe price rose above max_price_idr; quote_idr is the new price
409 asset_unavailableA clip was deleted or is no longer available; item_id names it
402 insufficient_balanceNot enough topped-up balance
422 free_limitFree renders are up to 30 s at 720p
422 out_of_rangeAn edit pushed items past the end; ids lists them
422 template_not_availableAnimated templates are not available yet
429 busy, 429 preview_limitPreview limits; retry after retry_after_s
429 render_limit, 429 render_daily_capA render is running, or the daily limit is reached
503 preview_unavailableThe preview could not be made in time; retry after 5 s

A failed render shows error.code and error.refunded in GET /v1/compositions/renders/{id}.

On this page