Skip to main content
POST
Import a public HTTPS image for cropping and persistent avatar upload.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Body

application/json
url
string
required

Public HTTPS image URL.

Maximum string length: 2048

Response

200 - application/json

Source image as base64 with its content type.

contentType
enum<string>
required
Available options:
image/png,
image/jpeg,
image/gif,
image/webp
imageBase64
string
required

Base64-encoded image bytes.

Last modified on September 27, 2026