Loomie™ 3D Avatar Platform
  • Welcome
  • REST API Tutorials
    • API Credentials
    • Create Avatar & Render
    • Create Avatar & Render (fast)
    • Create Avatar & Download GLTF
    • Create Stickers & Animations
  • Voice2Animation SDK Tutorials
    • Unity Tutorial
    • Loom.ai Facial Rig Specification
  • Loomie SDK Tutorials
    • Deploying the Docker Image
    • Example App Walkthrough
      • Example App Full Source
  • REST API
    • Authentication
      • Authorization Code Flow
      • Authorization Code Flow with PKCE
      • Client Credentials Flow
      • Implicit Flow
      • Refresh Token Flow
      • Resource Owner Flow
    • Authorization
    • Avatars
      • List
      • Create
      • Resolve Status
      • Delete
      • Attachments
        • List
        • Resolve
      • Renderings
        • List
        • Create
        • Resolve
        • Resolve Status
    • Schema
      • Animation
      • Attachment Type
      • Dimensions
      • Quota
      • Scope
      • Status
      • Sticker
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. Avatars
  3. Renderings

Resolve

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

PreviousCreateNextResolve Status

Last updated 4 years ago

Was this helpful?

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

Request

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

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 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 for details.

{
  "id": int64,
  "random": int32,
  "type": "string",
  "pose": "string",
  "animation": "string",
  "attachment": {
    "id": int64,
    "width": int32,
    "height": int32,
    "channels": int32,
    "url": "string"
  }
}
{
  "id": 5739650719678464,
  "random": 0,
  "type": "pose",
  "pose": "kiss",
  "animation": "",
  "attachment": {
    "id": 5111294722572288,
    "width": 1024,
    "height": 1024,
    "channels": 4,
    "url": "/v0.5/avatars/5723980430835712/attachments/5111294722572288?redirect=true"
  }
}
Avatars > Renderings > Resolve Status
Avatars > Attachments