PUT
https://studio.tryitonai.com/api/key/
/
upload-style
curl --request PUT \
  --url https://studio.tryitonai.com/api/key/upload-style \
  --header 'Content-Type: application/json' \
  --data '{
  "modelId": 123,
  "gender": "man",
  "imageBase64": "<string>"
}'
{
  "imageKeyResponse": "<string>"
}

These are styles to be used for the model training

Make sure to retrieve the key, which will be useful in case you want to use your own style when generating headshots. Do note that small details won’t be maintained, so if you include LOGOS or TEXT, they may ruin the final headshot. Also, don’t include hands… it’s a hit or miss, so might as well avoid them.

NOTE: We will only keep 20 styles per model being trained, so make sure to delete the ones you don’t need!

Body

application/json

Response

200
application/json

Successful response

The response is of type object.