cURL
curl --request POST \ --url https://api.modelhunter.ai/api/v1/files/upload-url \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filename": "<string>", "contentType": "<string>", "sizeBytes": 123 } '
{ "success": true, "data": { "upload_url": "https://storage.modelhunter.ai/uploads/file_abc123?X-Amz-Signature=...", "file_id": "file_abc123", "expires_at": "2025-01-15T11:00:00Z" } }
Get a signed URL for uploading a file.
my-image.jpg
image/jpeg
video/mp4
audio/mpeg
Show data properties