Flexible parameters
Configure 1 documented parameters, including source_image_url.
Precise edge detection for product, portrait, and design imagery
curl -X POST https://runapi.ai/api/v1/recraft/remove_background \
-H "Authorization: Bearer $RUNAPI_API_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",
});
import os
import requests
response = requests.post(
"https://runapi.ai/api/v1/recraft/remove_background",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"recraft-remove-background","image_url":"https://cdn.runapi.ai/public/samples/remove-bg.jpg"}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/api/v1/recraft/remove_background");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'recraft-remove-background',
'image_url' => 'https://cdn.runapi.ai/public/samples/remove-bg.jpg',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.removeBackground().run({"model":"recraft-remove-background","image_url":"https://cdn.runapi.ai/public/samples/remove-bg.jpg"});
task.waitForResult();
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"
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.removeBackground.Run({"model":"recraft-remove-background","image_url":"https://cdn.runapi.ai/public/samples/remove-bg.jpg"})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model recraft-remove-background \
--endpoint remove_background \
--wait
2 versions available
Pick any model and generate in seconds.
No models are available right now.
| Provider | Recraft |
| Model ID | recraft-remove-background |
| Modality | Utility |
| Task types | Asynchronous |
| API endpoint | /api/v1/recraft/remove_background |
| Billing unit | call |
| Input parameters | source_image_url |
| Catalog status | Operational |
Sign up for free and create an API key for recraft-remove-background from the dashboard.
POST to /api/v1/recraft/remove_background with the recraft-remove-background model slug and your parameters.
Poll the task or follow the callback to retrieve the completed recraft-remove-background result.
Configure 1 documented parameters, including source_image_url.
Exposes 1 public endpoint(s): remove_background.
Metered by call with no subscription requirement.
source_image_urlNo description available.
Upscale archival photos to print-quality resolution for brochures and catalogs.
Restore and upscale SD footage to 4K for catalog rereleases.
Remove image backgrounds at bulk to normalize product photos from thousands of sellers.
Pass the model ID shown in the quickstart.
Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.
Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.
Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.
Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.
No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.
We're here to help with enterprise setup, integrations, and technical questions.
Contact Us