Skip to content
Docs menu

Image models

Recraft Remove Background

On this page

Recraft Remove Background — fast, high-fidelity AI image generation & editing.

modelIdrecraft-remove-background
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Defaultrecraft-remove-backgroundPOST /api/v1/generateimage
Poll taskGET /api/v1/task/{id}?model=recraft-remove-background

Input parameters

FieldTypeRequiredValues / example
imagestringYesImage to remove background from. Supported formats: PNG, JPG, WEBP. Max 5MB, max 16MP, max dimension 4096px, min dimension 256px. (image URL)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"recraft-remove-background","input":{"image":"https://example.com/input.jpg","nsfw_checker":true}}'