Preferences

Analyze Logo

Analyze a logo image and return a suggested crop box.

Accepts JPEG, PNG, or WebP images up to 2MB. Returns the normalized image as a base64 data URL along with suggested crop coordinates.

post/api/preferences/logo/analyze

Request

  • Base URL
    https://api.flagpost.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required

Response

Successful Response

image_data_urlstring required
image_widthinteger required
image_heightinteger required
crop_xinteger required
crop_yinteger required
crop_widthinteger required
crop_heightinteger required
has_uniform_backgroundboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.