Download an resource
Download a specific resource by providing the resource ID. This endpoint supports downloading various types of resources including vectors, PSDs, photos, and AI-generated content.
Request
- Base URL: https://api.magnific.com
- URL: https://api.magnific.com/v1/resources/{resource-id}/download
- Auth: API key in header x-magnific-api-key
Path parameters
Photo, video or PSD resource ID
Query parameters
Resizes the photo to a specified size while maintaining aspect ratio. Accepts a pixel value (100px to 2000px) or keywords small(1000px), medium(1500px), large(2000px), original corresponding to standard website sizes. The size depends on the image orientation, the longest side of the image will be resized to the specified size. If not specified, the highest resolution is provided. Applicable only to photos.
Headers
Specifies the search query language using the ISO 639-1 (2-letter language code) and the ISO 3166-1 (2-letter country code) for language variants. The API will use "en-US" as a default language for processing if a code is not provided, or does not exist.
Response
OK Response
Example response
{
"data": {
"signed_url": "https://img.freepik.com/premium-photo/close-up-cat-resting_1048944-9269194.jpg?t=st=1725276607~exp=1725280207~hmac=1538f1b294fc3a19a19e9f02ceeb6594a9a1e36a900de85d47bbd386e27dddbe",
"filename": "blackboard-template.zip",
"url": "https://downloadscdn5.freepik.com/d/1137445/blackboard-template.zip"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.