Images

Resize Image

Resize an image from a URL to fit within Figma's size constraints. Fetches an image from a URL, resizes it if needed, and returns the resized image as a JPEG.

post/api/images/resize

Request

  • Base URL: https://api.fluvara.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.fluvara.ai/api/images/resize
  • Auth: none declared

Request body

urlstring required

URL of the image to resize

max_widthinteger

Maximum width in pixels (default: 2048)

max_heightinteger

Maximum height in pixels (default: 2048)

qualityinteger

JPEG quality (1-100, default: 85)

Response

Successful Response

unknown required

Changes

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