blender.render
Render the active Blender scene with its current camera. Optionally set engine, resolution, samples, or output path, and get the image path plus render time.
Instructions
Render the active scene with the current camera and return the output path and the wall-clock render time.
engine: Blender engine id, e.g. "CYCLES" or "BLENDER_EEVEE" (4.x called EEVEE "BLENDER_EEVEE_NEXT"). blender.get_scene lists the ids this Blender accepts under render.engines. Omit to keep the scene's current engine. resolution_x / resolution_y: pixels. Omit to keep the scene's render size. samples: Cycles sample count; ignored by engines without sampling. output_path: absolute or Blender-relative path. Omit to use the scene's configured output path.
Render time grows quickly with resolution and samples; prefer 512-1024 px while iterating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | ||
| samples | No | ||
| output_path | No | ||
| resolution_x | No | ||
| resolution_y | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||