API Reference
Log In

Add a model picture

This endpoint sets a picture as the model’s picture. Before publishing the model, this image is processed and set as the model’s thumbnail, card, and background picture.

🚧

Only the model creator can call this route.

🚧

Step 1 of the Model Deployment is required to run this route.

📘

Image requirements

Modzy supports JPG, JPEG, and PNG images with a maximum size of 5 MB. Background images need to have:

  • Minimum accepted width: 1024px
  • Minimum accepted height: 576px
  • Maximum accepted width: 2000px
  • Maximum accepted height: 1125px

Modzy resizes images if the width or the height dimensions vary but throws an exception if any of them are smaller or bigger than the limits. The resizing origin is the center of the image.

📘

The logo image is inherited from the account’s image and can’t be updated.

👍

Roles

Data Scientists can access this route.

Language
Authorization
Header