For the complete documentation index, see llms.txt. This page is also available as Markdown.

Media

Media service API allow to upload images into the whisk cloud. Maximum image size is 50M

Request example

curl -i -X POST "https://media.whisk.com/image/bytes" -H "accept: application/json" -H "Content-Type: multipart/form-data" -H "Authorization: Bearer {Token}" -F file=@{pathToFile}

Response example

{"hosted_url":"https://image-cdn.whisk.com/image/upload/v1631706400/custom_upload/788e371552918a69507cb316f859d362.jpg","width":668,"height":400}

Last updated