Preferences

Crop And Save Logo

Crop and optionally remove background from a logo, then save to GCS.

Accepts the base64 data URL returned by /logo/analyze along with user-adjusted crop coordinates.

post/api/preferences/logo/crop

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

image_data_urlstring required
crop_xinteger required
crop_yinteger required
crop_widthinteger required
crop_heightinteger required
remove_backgroundboolean

Response

Successful Response

logo_urlstring nullable
advisory_namestring nullable

Changes

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