Skip to main content

Render Avatars

Overview

Our API includes an endpoint for rendering avatars in various scenes. This feature allows you to create visually appealing representations of avatars in different settings.

Endpoint Access

Access the rendering endpoint here: Render Avatars Endpoint.

How It Works

The process for rendering an avatar is straightforward:

  1. Initiate Render: Send a request to the /renders/new endpoint from your back-end (as it requires a secret token).
  2. Task Creation: The endpoint generates a rendering task and responds with a task ID.
  3. Completion Notification: Once rendering is complete, a render.ready webhook is sent. This contains the task ID, avatar ID, and a short-living link to the rendered image. You should download the image to your backend within 15 minutes after the webhook is sent.

Important Note: The behavior of this endpoint for avatars created by direct photo upload and not accessed via a browser is currently undefined and subject to change. To ensure predictable behavior, set customization through the corresponding endpoint.

Available Scenes

Below is a table of our standard scenes. You can preview these to understand the output style and context. To use these scenes in the render endpoint, add the scene name to the scene parameter of the request in the format common/{scene_name}. For example, to use the "city_full_body" scene, set scene to common/city_full_body.

Scene NameDescriptionPreview
city_full_bodyFull body render in city settingView
forest_full_bodyFull body render in forest settingView
futuristic_fantasy_full_bodyFull body render in futuristic fantasy settingView
forest_half_bodyHalf body render in forest settingView
transparent_half_bodyHalf body render with transparent backgroundView
transparent_full_bodyFull body render with transparent backgroundView

Custom Scenes

You have the option to create and upload your own scenes for rendering. Here’s how:

  1. Create a Blender Scene: Develop your scene in Blender. Use our provided scenes as a starting point.
  2. Important Elements:
    • Pose and Camera: Do not remove or rename the "Pose" and "Camera" objects. You can adjust their positions and settings.
    • Rendering Time: Ensure the scene renders within 30 seconds on our GPUs. For reference, our attached scene takes about 8–10 seconds.
    • Flexibility: Apart from these constraints, feel free to design the scene as you wish.

Scene Submission

Send your custom Blender scene to us for integration. Ensure it meets the above guidelines for a smooth process.