变体 · Recraft / Recraft

recraft-remove-background API

Recraft / Recraft

通过 RunAPI 使用 Recraft 系列的 recraft-remove-background。按次计费,无需订阅,失败的生成不计费。

运行中 · utility · 可商用
runapi.ai
curl -X POST https://runapi.ai/api/v1/recraft/remove_background \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft-remove-background",
  "image_url": "https://cdn.runapi.ai/public/samples/remove-bg.jpg"
}'
import { RecraftClient } from "@runapi.ai/recraft";

const client = new RecraftClient();
const result = await client.removeBackground.run({
    model: "recraft-remove-background",
    image_url: "https://cdn.runapi.ai/public/samples/remove-bg.jpg",
});
<?php

require __DIR__ . "/vendor/autoload.php";

use RunApi\Recraft\RecraftClient;

$client = new RecraftClient();
$result = $client->removeBackground->run([
        'model' => 'recraft-remove-background',
        'image_url' => 'https://cdn.runapi.ai/public/samples/remove-bg.jpg',
]);
require "runapi/recraft"

client = RunApi::Recraft::Client.new
result = client.remove_background.run(
    model: "recraft-remove-background",
    image_url: "https://cdn.runapi.ai/public/samples/remove-bg.jpg"
)
npx skills add runapi-ai/recraft -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp

# Codex
codex plugin install runapi-mcp@agents

# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
@runapi.ai/recraft v1
切换变体
recraft-crisp-upscale
概览

recraft-remove-background 在 Recraft 家族中处于质量与成本的最佳平衡点。

  • USD 按次定价
  • 失败不计费
  • 模型支持时流式
  • Schema 校验后的工具调用
定价

定价

失败的生成不计费
Remove background
$0.01 / request
规格

技术细节

模型 ID recraft-remove-background
提供方 Recraft
模态 utility
任务类型 asynchronous
计费单位 call
API 端点 /api/v1/recraft/remove_background
商用许可 允许商用
状态 运行中
技能

Model skill — recraft-remove-background

安装一次 skill,开发时使用本页的变体 ID。

# Install the model skill for app development workflows
npx skills add runapi-ai/recraft -g
Installs docs, schemas, pricing context, and setup notes into your developer workspace.
Or use this setup request in your coding tool:
Install the Recraft skill for this app:

1. Add runapi-ai/recraft with the skills installer.
2. Load SKILL.md in this workspace.
3. Use its docs, schemas, pricing notes, and setup steps when adding model features.
4. Confirm the install path when done.
工作流程

用 model skill 使用 recraft-remove-background

01

安装

安装该模型线对应的 model skill。

02

配置

把 model 字段设置为本页展示的完整模型 ID。

03

调用

按 skill 说明把提示词、输入文件和回调处理接入应用。

04

接收

从 RunAPI 读取任务响应、webhook 回调或缓存输出 URL。

差异

recraft-remove-background 与其它变体的差异

VS RECRAFT-CRISP-UPSCALE

精准边缘检测,适用于产品图、人像和设计图

神经网络超分,无伪影地恢复细节

应用场景

最适合的场景

照片增强

将存档照片超分到印刷级分辨率,用于画册和目录。

视频修复

将低清视频修复并超分到 4K,用于片库重新发行。

背景移除

批量移除图片背景,统一来自成千上万卖家的产品照片。

常见问题

recraft-remove-background 常见问题

模型 ID 跨版本稳定吗?

RunAPI 保持模型 ID 稳定,并在不改变请求形态的前提下处理兼容版本刷新。

该变体的限流?

Key 级限流随使用层级伸缩。当前限制见定价页。

能切到其它变体吗?

可以——变体只是参数,改 model 字段即可。

支持流式吗?

模型支持流式时,RunAPI 端到端流式。

质量问题在哪里报?

在公共 GitHub 仓库提 issue 或邮件联系 support。

立即开始

立即体验 Recraft。