Freepik Remove Background API

The remove-background API from Freepik — 1 operation(s) for remove-background.

Operations 1

POST /v1/ai/beta/remove-background Remove the background of an image #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/freepik:freepik-remove-background-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

freepik-remove-background-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Magnific API is your gateway to a vast collection of high-quality digital resources for your applications and projects. As a leading platform, it offers a wide range of graphics, including vectors, photos, illustrations, icons, PSD templates, and more, all curated by talented designers from around the world.
  title: Magnific Remove Background API
  version: 1.0.0
servers:
- description: B2B API Production V1
  url: https://api.magnific.com
security:
- magnificApiKey: []
tags:
- name: remove-background
paths:
  /v1/ai/beta/remove-background:
    post:
      description: 'This endpoint removes the background from an image provided via a URL. The URLs in the response are temporary and valid for **5 minutes** only.


        **Supported formats:** JPG, PNG


        **File size limit:** up to 20 MB


        **Output resolutions:** Preview (up to 0.25 megapixels), Full resolution (up to 25 megapixels)'
      operationId: remove_image_background
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/remove_image_background_request'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/remove_image_background_200_response'
          description: Successful background removal.
      summary: Remove the background of an image
      tags:
      - remove-background
components:
  schemas:
    remove_image_background_request:
      properties:
        image_url:
          description: The URL of the image whose background needs to be removed.
          example: https://img.freepik.com/free-vector/cute-cat-sitting-cartoon-vector-icon-illustration-animal-nature-icon-concept-isolated-premium-vector-flat-cartoon-style_138676-4148.jpg?w=2000&t=st=1725353998~exp=1725357598~hmac=a17f90afeeff454b36c0715f84eed2b388cd9c4a7ce59fcdff075fa41770e469
          format: uri
          type: string
      type: object
    remove_image_background_200_response:
      example:
        original: https://api.magnific.com/v1/ai/beta/images/original/037ea4ea-e8ad84a8c7/thumbnail.jpg
        high_resolution: https://api.magnific.com/v1/ai/beta/images/download/037ead-44cd8ad84a8c7/high.png
        preview: https://api.magnific.com/v1/ai/beta/images/download/037ea4eacad84a8c7/preview.png
        url: https://api.magnific.com/v1/ai/beta/images/download/037ea4ea-720d-411e8ad84a8c7/high.png
      properties:
        original:
          description: URL of the original image.
          format: uri
          type: string
        high_resolution:
          description: URL of the high-resolution image with the background removed.
          format: uri
          type: string
        preview:
          description: URL of the preview version of the image.
          format: uri
          type: string
        url:
          description: Direct URL for downloading the high-resolution image.
          format: uri
          type: string
      type: object
  securitySchemes:
    magnificApiKey:
      description: 'Your Magnific API key. Required for authentication. [Learn how to obtain an API key](https://docs.magnific.com/quickstart)

        '
      in: header
      name: x-magnific-api-key
      type: apiKey
x-provenance:
  method: harvested
  publisher: Freepik
  source: https://storage.googleapis.com/fc-freepik-pro-rev1-eu-api-specs/magnific-api-v1-openapi.yaml?v=46\
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)