Resolve

Resolves rendered pose or animation for given avatar & rendering id.

GET /avatars/{AVATAR_ID}/renderings/{RENDERING_ID}

Request

curl -X GET "https://api.loomai.com/v0.5/avatars/{AVATAR_ID}/renderings/{RENDERING_ID}"

Response

On success the endpoint returns HTTP 200 OK as well as a JSON body containing rendered animation or pose.

Make sure to query processing status first for newly created renderings. See Avatars > Renderings > Resolve Status for details.

The actual rendered pose or animation is stored as Attachment. Hence returned JSON object includes a reference to an attachment. Embedded URL will automatically redirect to the download location of rendered pose (image/png) or animation (image/gif). Alternatively you can explicitly resolve the attachment's location using returned attachment.id. See Avatars > Attachments for details.

{
  "id": int64,
  "random": int32,
  "type": "string",
  "pose": "string",
  "animation": "string",
  "attachment": {
    "id": int64,
    "width": int32,
    "height": int32,
    "channels": int32,
    "url": "string"
  }
}

Last updated