⚡ NEW: Flux Klein 9B — Faster inference, stunning quality · Try Now
curl --request POST \
--url https://modelslab.com/api/v3/base64_crop \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"image": "<string>",
"crop": "true"
}
'{
"status": "success",
"messege": "image uploaded",
"link": "<string>",
"request_id": 123
}lets you upload an image in base64 and crop it.
curl --request POST \
--url https://modelslab.com/api/v3/base64_crop \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"image": "<string>",
"crop": "true"
}
'{
"status": "success",
"messege": "image uploaded",
"link": "<string>",
"request_id": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
POST request to below endpoint.
--request POST 'https://modelslab.com/api/v3/base64_crop' \
{
"key": "your_api_key",
"image": "data:image/png;base64,your_base_64_string",
"crop": "true"
}
Was this page helpful?