Presign Upload URL
Create a presigned upload URL for a source file.
Request
curl -X POST "https://undressme.ai/api/presign" \
-H "Authorization: Bearer <API_KEY>"200 Response
{
"key": "ugc/<uuid>",
"uploadUrl": "https://..."
}- The presigned URL expires in 15 minutes.
- Use
uploadUrlto upload the file bytes with aPUTrequest (see Upload File). keyis the file identifier. Use it assourceKeywhen creating tasks.
Error Responses
401Authentication required429Rate limit exceeded500The system is busy, please try again later
Last updated on