Create
Creates a new avatar.
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"
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).
render
query
boolean
Disable default preview rendering. See Create Avatar & Render (fast) for further information.
Response
HTTP/1.1 201 Created
X-Loom-Status: [AVATAR_ID]
Last updated
Was this helpful?