PUT
https://tryiton-webapp-git-dev-try-it-on.vercel.app/api/key/
/
upload-image
curl --request PUT \
  --url https://tryiton-webapp-git-dev-try-it-on.vercel.app/api/key/upload-image \
  --header 'Content-Type: application/json' \
  --data '{
  "base64": "<string>",
  "type": "png"
}'
{
  "imageUrl": "<string>"
}

The lifetime of the image url

The lifetime of the image url is 24h.

Regarding urls used for models training, the duration of the training is 1-2 hrs, so there’s no risk of expiration if the subject’s images get uploaded right before training a model.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.