Skip to main content
Glama

render_final

Render approved Blender scenes as final images or MP4 videos on cloud GPUs, returning job IDs and download links for completed frames or animations.

Instructions

Render the final frames or video of a Blender scene on cloud GPUs, after the user approved a preview: 'render the final', 'make the video', 'export the turntable MP4'. Call render_estimate first when the time or the free GPU time left (the welcome credit, or 2 preview GPU-minutes a day after it) is uncertain, the job is longer than about 24 frames or above 720p, or the user asks how long it takes, and tell the user. For animations, keep the approved engine/look, test 10 contiguous final-path frames, then estimate again. Long jobs are rendered in chunks and joined into one video. Returns job_id and estimate.human at once; then render_status until done, and render_download(job_id, only='mp4') for the video. Use the same environment and blender as the approved preview. Limits: up to 3,000 frames per call (over 240 runs as parts under one job id); 1920x1080 on free time, 3840x2160 with prepaid credit; each new key gets 100 JPY of GPU time free with no card (14 days) and 400 JPY more once the user saves a card on a page that charges nothing (once per card); after that, previews are free up to 2 GPU-minutes a day and finals cost 0.1 JPY per GPU-second (prepaid); ask before a render the free time does not cover; files are deleted 24 h after last use (7 days once topped up). preset='product' | 'turntable' | 'animation' fills the settings for that purpose. Options per parameter: output (png, exr, mp4, webm, prores, gif, webp), orbit, cameras, transparent, engine, notify_url, assets ('polyhaven:'). Pass scene_id from render_preview, or scene_path / scene_script / scene_url; files are saved locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoFrames per second of the video output (default 24).
orbitNoTrue: turntable; an orbit camera circles the scene once (the scene's own camera is not used). Flat floors and walls are ignored when framing. A preview without frames shows 0/90/180/270 degrees; a final without frame_end renders the whole turn as an MP4. Best for imported models and product videos.
widthNoOutput width in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit).
assetsNoExtra files sent with the scene: local paths (textures, glTF .bin), https links, or 'polyhaven:<id>' CC0 assets from asset_search. A .blend finds them through relative paths (same folder); a script through os.environ['JR_ASSETS_DIR'] or the jr_assets helpers.
cameraNoName of the camera object to render from (default: the scene's active camera, or an automatic camera if there is none). Ignored with orbit=True; not combinable with cameras.
engineNo'' or 'cycles' (path tracing, default) | 'eevee' (real-time rasterizer: about half the per-frame cost on animations of a few dozen frames or more; each job pays about 7 s of shader compilation, so previews stay on Cycles).
heightNoOutput height in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit).
outputNo'auto' (mp4 for a frame range, png for one frame) | 'png' | 'exr' (16-bit linear frames for compositing) | 'mp4' (H.264) | 'webm' (VP9) | 'prores' (Apple ProRes 422 HQ .mov, for editing) | 'gif' | 'webp' (animated, at most 960 px wide; good for chat and web).auto
presetNoPurpose preset: 'product' (4 studio shots at 0/90/180/270 deg on a plain backdrop; the final gives 4 PNGs at 1440x1440), 'turntable' (one full turn as an MP4, studio light, plain backdrop), 'animation' (the scene's own camera, lights and frame range; the scene is read first when the range is unknown), or '' (none). It fills what you do not pass; environment, orbit_frames, width/height and the frames still win when given.
blenderNoBlender version: '' (default: a .blend opens with the version it was saved in, other scenes with 5.0) or '5.0' / '5.2' (also '4.5', '4.2', '3.6'; a script that stops on Blender 5 because of an older API is rendered again on those automatically) to choose.
camerasNoSeveral camera object names (up to 8) rendered from the same frame in one job: the preview tiles them in one labeled sheet, the final returns one PNG/EXR per camera (camera_files maps names to files). For product shots from fixed angles. Not combinable with orbit, environment='compare' or camera.
max_yenNoCeiling for this job in JPY (-1 = none): the job is refused before anything is reserved when its reservation would exceed it. 0 means 'only if it fits the free time'.
samplesNoCycles samples per pixel (preview: up to 32, default 16; final: default 128).
scene_idNoscene_id returned by an earlier call (reuses the uploaded scene without sending it again).
frame_endNoLast frame to render (inclusive); equal to frame_start for a single image. With orbit=True and no frame_end, one full turn is rendered.
scene_urlNohttps link to a .blend, a .py script or a 3D file (.glb/.gltf/.fbx/.usd/.obj/.stl/.ply/.abc); the service fetches it (e.g. the sample https://render.janction.jp/samples/cube_scene.py, or a 12-hour /upload link). A .gltf or .obj also brings its .bin / .mtl / textures from the same folder.
notify_urlNoOptional https URL that receives one JSON POST when the final render finishes (job.done / job.failed, with download links), so nobody has to poll.
scene_pathNoLocal path to the scene: a .blend file, a bpy .py script, or a 3D file (.glb/.gltf/.fbx/.usd/.obj/.stl/.ply/.abc, imported into an empty scene). Uploaded once; reuse the returned scene_id afterwards.
environmentNoLighting preset: '' (the scene's own world), 'studio', 'sunset', 'overcast' or 'night' (bundled HDRIs; a good first render for scenes without lighting work), or 'compare' (preview only: all four in one labeled 2x2 image, to pick one).
frame_startNoFirst frame to render (inclusive).
transparentNoTrue renders on a transparent background (alpha) for product shots and overlays; png / exr / webm / gif / webp keep it, mp4 and prores cannot. The preview sheet shows it over dark grey.
orbit_framesNoNumber of frames for one full turn (default 24).
orbit_targetNoObject name or 'x,y,z' to centre the orbit on (default: the scene's main objects).
scene_scriptNoThe scene as bpy Python code (text). No file and no local Blender needed; the service runs it in Blender 5.0 (5.2 with blender='5.2'). Blender 5.0 API notes: materials are node-based, so set a colour on the Principled BSDF (mat.node_tree.nodes['Principled BSDF'].inputs['Base Color'].default_value = (r, g, b, 1)); mat.diffuse_color only affects the viewport; do not set Material.use_nodes. Animate with obj.keyframe_insert() (action.fcurves no longer exists; set bpy.context.preferences.edit.keyframe_new_interpolation_type = 'LINEAR' first for constant speed). Build the scene, camera and frame range only; leave resolution, samples and denoising to the service. Helpers: `import jr_assets`, then jr_assets.frame_camera(margin=1.1) points the camera at every object and fits them in the frame; jr_assets.import_model('<id>'), jr_assets.material('<id>') and jr_assets.world_hdri('<id>') use Poly Haven assets passed in assets.
orbit_distanceNoMultiplier for the orbit camera distance (default 1.0).
idempotency_keyNoAny string up to 128 characters that identifies this order: sending the same key again returns the first job instead of rendering twice (a different body with the same key is refused).
orbit_elevationNoOrbit camera elevation in degrees (default 18).
environment_visibleNoFalse hides the HDRI from the camera (flat grey backdrop, HDRI lighting only).
environment_strengthNoMultiplier for the HDRI preset's brightness (default 1.0).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.120
    • changedInput schema / properties / blender / description
      Previous value: -"Blender version: '' (default: a .blend opens with the version it was saved in, other scenes with 5.0) or '5.0' / '5.2' to choose."New value: +"Blender version: '' (default: a .blend opens with the version it was saved in, other scenes with 5.0) or '5.0' / '5.2' (also '4.5', '4.2', '3.6'; a script that stops on Blender 5 because of an older API is rendered again on those automatically) to choose."
  2. Changed29 schema fields changedv0.4.119
    • addedInput schema / properties / assets / description
      Added value: +"Extra files sent with the scene: local paths (textures, glTF .bin), https links, or 'polyhaven:<id>' CC0 assets from asset_search. A .blend finds them through relative paths (same folder); a script through os.environ['JR_ASSETS_DIR'] or the jr_assets helpers."
    • addedInput schema / properties / blender / description
      Added value: +"Blender version: '' (default: a .blend opens with the version it was saved in, other scenes with 5.0) or '5.0' / '5.2' to choose."
    • addedInput schema / properties / camera / description
      Added value: +"Name of the camera object to render from (default: the scene's active camera, or an automatic camera if there is none). Ignored with orbit=True; not combinable with cameras."
    • addedInput schema / properties / cameras
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Several camera object names (up to 8) rendered from the same frame in one job: the preview tiles them in one labeled sheet, the final returns one PNG/EXR per camera (camera_files maps names to files). For product shots from fixed angles. Not combinable with orbit, environment='compare' or camera.",
      +  "title": "Cameras"
      +}
    • addedInput schema / properties / engine / description
      Added value: +"'' or 'cycles' (path tracing, default) | 'eevee' (real-time rasterizer: about half the per-frame cost on animations of a few dozen frames or more; each job pays about 7 s of shader compilation, so previews stay on Cycles)."
    • addedInput schema / properties / environment / description
      Added value: +"Lighting preset: '' (the scene's own world), 'studio', 'sunset', 'overcast' or 'night' (bundled HDRIs; a good first render for scenes without lighting work), or 'compare' (preview only: all four in one labeled 2x2 image, to pick one)."
    • addedInput schema / properties / environment_strength / description
      Added value: +"Multiplier for the HDRI preset's brightness (default 1.0)."
    • addedInput schema / properties / environment_visible / description
      Added value: +"False hides the HDRI from the camera (flat grey backdrop, HDRI lighting only)."
    • addedInput schema / properties / fps / description
      Added value: +"Frames per second of the video output (default 24)."
    • addedInput schema / properties / frame_end / description
      Added value: +"Last frame to render (inclusive); equal to frame_start for a single image. With orbit=True and no frame_end, one full turn is rendered."
    • addedInput schema / properties / frame_start / description
      Added value: +"First frame to render (inclusive)."
    • addedInput schema / properties / height / description
      Added value: +"Output height in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit)."
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "default": "",
      +  "description": "Any string up to 128 characters that identifies this order: sending the same key again returns the first job instead of rendering twice (a different body with the same key is refused).",
      +  "title": "Idempotency Key",
      +  "type": "string"
      +}
    • addedInput schema / properties / max_yen
      Added value: +{
      +  "default": -1,
      +  "description": "Ceiling for this job in JPY (-1 = none): the job is refused before anything is reserved when its reservation would exceed it. 0 means 'only if it fits the free time'.",
      +  "title": "Max Yen",
      +  "type": "integer"
      +}
    • addedInput schema / properties / notify_url / description
      Added value: +"Optional https URL that receives one JSON POST when the final render finishes (job.done / job.failed, with download links), so nobody has to poll."
    • addedInput schema / properties / orbit / description
      Added value: +"True: turntable; an orbit camera circles the scene once (the scene's own camera is not used). Flat floors and walls are ignored when framing. A preview without frames shows 0/90/180/270 degrees; a final without frame_end renders the whole turn as an MP4. Best for imported models and product videos."
    • addedInput schema / properties / orbit_distance / description
      Added value: +"Multiplier for the orbit camera distance (default 1.0)."
    • addedInput schema / properties / orbit_elevation / description
      Added value: +"Orbit camera elevation in degrees (default 18)."
    • addedInput schema / properties / orbit_frames / description
      Added value: +"Number of frames for one full turn (default 24)."
    • addedInput schema / properties / orbit_target / description
      Added value: +"Object name or 'x,y,z' to centre the orbit on (default: the scene's main objects)."
    • addedInput schema / properties / output / description
      Added value: +"'auto' (mp4 for a frame range, png for one frame) | 'png' | 'exr' (16-bit linear frames for compositing) | 'mp4' (H.264) | 'webm' (VP9) | 'prores' (Apple ProRes 422 HQ .mov, for editing) | 'gif' | 'webp' (animated, at most 960 px wide; good for chat and web)."
    • addedInput schema / properties / preset
      Added value: +{
      +  "default": "",
      +  "description": "Purpose preset: 'product' (4 studio shots at 0/90/180/270 deg on a plain backdrop; the final gives 4 PNGs at 1440x1440), 'turntable' (one full turn as an MP4, studio light, plain backdrop), 'animation' (the scene's own camera, lights and frame range; the scene is read first when the range is unknown), or '' (none). It fills what you do not pass; environment, orbit_frames, width/height and the frames still win when given.",
      +  "title": "Preset",
      +  "type": "string"
      +}
    • addedInput schema / properties / samples / description
      Added value: +"Cycles samples per pixel (preview: up to 32, default 16; final: default 128)."
    • addedInput schema / properties / scene_id / description
      Added value: +"scene_id returned by an earlier call (reuses the uploaded scene without sending it again)."
    • addedInput schema / properties / scene_path / description
      Added value: +"Local path to the scene: a .blend file, a bpy .py script, or a 3D file (.glb/.gltf/.fbx/.usd/.obj/.stl/.ply/.abc, imported into an empty scene). Uploaded once; reuse the returned scene_id afterwards."
    • addedInput schema / properties / scene_script / description
      Added value: +"The scene as bpy Python code (text). No file and no local Blender needed; the service runs it in Blender 5.0 (5.2 with blender='5.2'). Blender 5.0 API notes: materials are node-based, so set a colour on the Principled BSDF (mat.node_tree.nodes['Principled BSDF'].inputs['Base Color'].default_value = (r, g, b, 1)); mat.diffuse_color only affects the viewport; do not set Material.use_nodes. Animate with obj.keyframe_insert() (action.fcurves no longer exists; set bpy.context.preferences.edit.keyframe_new_interpolation_type = 'LINEAR' first for constant speed). Build the scene, camera and frame range only; leave resolution, samples and denoising to the service. Helpers: `import jr_assets`, then jr_assets.frame_camera(margin=1.1) points the camera at every object and fits them in the frame; jr_assets.import_model('<id>'), jr_assets.material('<id>') and jr_assets.world_hdri('<id>') use Poly Haven assets passed in assets."
    • addedInput schema / properties / scene_url
      Added value: +{
      +  "default": "",
      +  "description": "https link to a .blend, a .py script or a 3D file (.glb/.gltf/.fbx/.usd/.obj/.stl/.ply/.abc); the service fetches it (e.g. the sample https://render.janction.jp/samples/cube_scene.py, or a 12-hour /upload link). A .gltf or .obj also brings its .bin / .mtl / textures from the same folder.",
      +  "title": "Scene Url",
      +  "type": "string"
      +}
    • addedInput schema / properties / transparent / description
      Added value: +"True renders on a transparent background (alpha) for product shots and overlays; png / exr / webm / gif / webp keep it, mp4 and prores cannot. The preview sheet shows it over dark grey."
    • addedInput schema / properties / width / description
      Added value: +"Output width in pixels (previews are capped at 1280x720 keeping the aspect ratio; a final frame can have at most 1920x1080 pixels on free time, 3840x2160 on prepaid credit)."
  3. Changed13 schema fields changedv0.2.2
    • addedInput schema / properties / assets
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Assets"
      +}
    • addedInput schema / properties / blender
      Added value: +{
      +  "default": "",
      +  "title": "Blender",
      +  "type": "string"
      +}
    • addedInput schema / properties / engine
      Added value: +{
      +  "default": "",
      +  "title": "Engine",
      +  "type": "string"
      +}
    • addedInput schema / properties / environment
      Added value: +{
      +  "default": "",
      +  "title": "Environment",
      +  "type": "string"
      +}
    • addedInput schema / properties / environment_strength
      Added value: +{
      +  "default": 1,
      +  "title": "Environment Strength",
      +  "type": "number"
      +}
    • addedInput schema / properties / environment_visible
      Added value: +{
      +  "default": true,
      +  "title": "Environment Visible",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / notify_url
      Added value: +{
      +  "default": "",
      +  "title": "Notify Url",
      +  "type": "string"
      +}
    • addedInput schema / properties / orbit
      Added value: +{
      +  "default": false,
      +  "title": "Orbit",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / orbit_distance
      Added value: +{
      +  "default": 1,
      +  "title": "Orbit Distance",
      +  "type": "number"
      +}
    • addedInput schema / properties / orbit_elevation
      Added value: +{
      +  "default": 18,
      +  "title": "Orbit Elevation",
      +  "type": "number"
      +}
    • addedInput schema / properties / orbit_frames
      Added value: +{
      +  "default": 24,
      +  "title": "Orbit Frames",
      +  "type": "integer"
      +}
    • addedInput schema / properties / orbit_target
      Added value: +{
      +  "default": "",
      +  "title": "Orbit Target",
      +  "type": "string"
      +}
    • addedInput schema / properties / transparent
      Added value: +{
      +  "default": false,
      +  "title": "Transparent",
      +  "type": "boolean"
      +}
  4. First observedv0.2.1

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations mark this as non-read-only, non-idempotent, open-world, and the description adds far more: per-call frame limits (3,000; 240 as parts under one job id), resolution caps on free vs prepaid, pricing (100 JPY free credit, 400 JPY after card save, 0.1 JPY/GPU-second), file deletion windows, chunk-and-join behavior, and an explicit 'ask before a render the free time does not cover.' This is unusually rich behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the estimate-first rule are front-loaded, and nearly every clause carries operational weight (limits, pricing, workflow). However, it is a single dense block that mixes workflow, pricing, and parameter notes; splitting into short labeled segments would improve scanability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 29-parameter, open-world, paid-render tool with an output schema, the description covers the full lifecycle: when to estimate, how to render, how to poll (render_status), how to download (render_download), cost limits, and deletion policy. Return values need not be explained since output_schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by adding cross-parameter semantics not obvious from the schema, e.g. preset='product'|'turntable'|'animation' filling settings, output format list, assets ('polyhaven:<id>'), and using scene_id from render_preview vs scene_path/script/url. It mostly reinforces schema content rather than adding novel syntax detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource+context: 'Render the final frames or video of a Blender scene on cloud GPUs, after the user approved a preview.' This clearly distinguishes it from render_preview (which happens before approval) and from render_estimate. An agent can select it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to call render_estimate first (uncertain time, >24 frames, >720p, user asks duration) and 'tell the user.' It also prescribes the animation workflow ('keep the approved engine/look, test 10 contiguous final-path frames, then estimate again') and routes to render_status / render_download afterwards. Alternatives and conditions are named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.