Skip to main content
Glama

Freepik FastMCP Toolkit

4
  • Linux

get_resource_download_formats

Download resources in specific formats by providing the resource ID and desired format, ensuring precise access to files such as images, PSDs, or vectors.

Instructions

Retrieve a resource by specifying both the resource ID and the format. This endpoint allows for precise downloading of resources in the desired format.

Path Parameters:

  • resource-id (Required): Photo, video or PSD resource ID
  • resource-format (Required): Resource format

Responses:

  • 200 (Success): OK
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "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" }, { "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" } ] }
  • 400: Bad Request - The server could not understand the request due to invalid syntax.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 401: Unauthorized - The client must authenticate itself to get the requested response.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 403: Forbidden - The client does not have permission to access the requested resource.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 404: Not Found - The server can not find the requested resource.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 429: Too Many Requests - The client has sent too many requests in a given amount of time.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 500: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "Internal Server Error" }

Input Schema

NameRequiredDescriptionDefault
resource-formatYesResource format
resource-idYesPhoto, video or PSD resource ID

Input Schema (JSON Schema)

{ "properties": { "resource-format": { "description": "Resource format", "enum": [ "psd", "ai", "eps", "atn", "fonts", "resources", "png", "jpg", "3d-render", "svg", "mockup" ], "example": "svg", "type": "string" }, "resource-id": { "description": "Photo, video or PSD resource ID", "type": "integer" } }, "required": [ "resource-id", "resource-format" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freepik-company/freepik-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server