Recraft · Capability

Recraft Images API — Background Tooling

Recraft Images API — background-related surfaces: remove, replace, and generate background. 3 operations. Lead operation: Recraft Remove Image Background. Self-contained Naftiko capability covering Recraft's background tooling business surface.

Recraft Images API — Background Tooling is a Naftiko capability published by Recraft, one of 7 capabilities the APIs.io network indexes for this provider. It bundles 3 operations.

The capability includes 3 state-changing operations. Lead operation: Recraft Remove Image Background. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Recraft, Images, and Background.

Run with Naftiko RecraftImagesBackground

MCP Tools

recraft-remove-background

Recraft Remove Image Background

recraft-replace-background

Recraft Replace Background

recraft-generate-background

Recraft Generate Background Behind Subject

Capability Spec

images-background.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Recraft Images API — Background Tooling
  description: 'Recraft Images API — background-related surfaces: remove, replace, and generate background. 3 operations.
    Lead operation: Recraft Remove Image Background. Self-contained Naftiko capability covering Recraft''s background
    tooling business surface.'
  tags:
  - Recraft
  - Images
  - Background
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    RECRAFT_API_TOKEN: RECRAFT_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: images-background
    baseUri: https://external.api.recraft.ai
    description: Recraft Images API — Background business capability. Self-contained, no shared references.
    resources:
    - name: v1-images-removeBackground
      path: /v1/images/removeBackground
      operations:
      - name: removebackground
        method: POST
        description: Recraft Remove Image Background
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: v1-images-replaceBackground
      path: /v1/images/replaceBackground
      operations:
      - name: replacebackground
        method: POST
        description: Recraft Replace Background
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    - name: v1-images-generateBackground
      path: /v1/images/generateBackground
      operations:
      - name: generatebackground
        method: POST
        description: Recraft Generate Background Behind Subject
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: 'Bearer {{env.RECRAFT_API_TOKEN}}'
      placement: header
  exposes:
  - type: mcp
    namespace: images-background-mcp
    port: 9090
    transport: http
    description: MCP adapter for Recraft Images API — Background.
    tools:
    - name: recraft-remove-background
      description: Recraft Remove Image Background
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: images-background.removebackground
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: recraft-replace-background
      description: Recraft Replace Background
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: images-background.replacebackground
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: recraft-generate-background
      description: Recraft Generate Background Behind Subject
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: images-background.generatebackground
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.