animate_render tool
Render an existing project-relative scene or submit a bundle with an entry
and a files map. Use local stdio. Follow the animation guide
for full requests and profiles.
animate_render(scene, source, profile="preview", assets=null)- May change files
- May overwrite what is there
- A second call may do more
- Runs code that may reach outside the project
Tags: animation.
Arguments
Section titled “Arguments”| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
scene |
string | yes | ManimGX Scene class name. | |
source |
string or object | yes | Existing scene path inside the project, or inline source with an entry path and a map of bundle-relative paths to UTF-8 source. To revise, set from_job to a saved render ID and include only changed files in the map. | |
profile |
"draft", "preview", "final", "still" |
no | "preview" |
Draft for fast layout checks, preview for iteration, final for delivery, or still for the last frame. |
assets |
list of string or null | no | null |
Existing helper or asset paths relative to the project root. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
source.entry |
string | yes | ||
source.files |
object | yes | ||
source.from_job |
string or null | no | null |
Result
Section titled “Result”Fields of the result (25)
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
id |
string | yes | ||
profile |
"draft", "preview", "final", "still" |
yes | ||
scene |
string | yes | ||
entry |
string | yes | ||
files |
list of string | yes | ||
renderer |
string | yes | ||
duration_seconds |
number or null | yes | ||
width |
integer | yes | ||
height |
integer | yes | ||
fps |
number or null | yes | ||
video |
string or null | yes | ||
still |
string or null | yes | ||
contact_sheet |
string or null | yes | ||
storyboards |
list of string | no | ||
subtitles |
string or null | no | null |
|
source |
string | yes | ||
manifest |
string | yes | ||
log |
string | yes | ||
source_dir |
string | yes | ||
elapsed_seconds |
number | yes | ||
cached |
boolean | yes | ||
layout_problem_count |
integer | no | 0 |
|
layout_report |
string or null | no | null |
|
telemetry |
object or null | no | null |
|
resources |
object | yes |
Errors
Section titled “Errors”An unavailable renderer, a path outside the project, or an invalid scene fails with a diagnostic. Render errors can include the saved log path.