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

Create

Creates a new avatar.

PreviousListNextResolve Status

Last updated 4 years ago

Was this helpful?

POST /avatars

Request

Supported mimetypes are image/png, image/jpeg.

curl -X POST "https://api.loomai.com/v0.5/avatars" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@{IMAGE_FILE};type=image/jpeg"
curl -X POST "https://api.loomai.com/v0.5/avatars" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@image.jpg;type=image/jpeg"

Parameter

Transport

Type

Description

image

form

file

Photo.

random

query

integer

(Optional) Permutation of random personalizations. Accepts range 0-30 whereas 0 is disabled (default).

solve

query

boolean

Disable default solve. See for further information.

render

query

boolean

Disable default preview rendering. See for further information.

Response

HTTP/1.1 201 Created
X-Loom-Status: [AVATAR_ID]
HTTP/1.1 201 Created
X-Loom-Status: 5723980430835712

Create Avatar & Render (fast)
Create Avatar & Render (fast)