It looks like you may prefer a different language. Switch anytime.

Utility Recraft

Recraft API

Korzystaj z API Recraft przez RunAPI z model skillem, wspólnym uwierzytelnianiem i cennikiem pay-as-you-go.

runapi.ai
curl -X POST https://runapi.ai/api/v1/recraft/upscale_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft-remove-background",
  "image_url": "https://cdn.runapi.ai/public/samples/upscale.jpg"
}'
import { RecraftClient } from "@runapi.ai/recraft";

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

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

use RunApi\Recraft\RecraftClient;

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

client = RunApi::Recraft::Client.new
result = client.upscale_image.run(
    model: "recraft-remove-background",
    image_url: "https://cdn.runapi.ai/public/samples/upscale.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
OVERVIEW

O Recraft

Recraft provides AI-powered crisp image upscaling and precise background removal. Its models are optimized for clean edge detection and artifact-free processing on product, portrait, and design imagery.

Dostawca
Recraft
Modalność
Utility

Porównaj wszystkie warianty API

Wariant Rozliczenia Cennik
recraft-crisp-upscale call $0.010 Zobacz →
recraft-remove-background call $0.010 Zobacz →
PRICING

Cennik Recraft

Endpoint Rozdzielczość Czas trwania Cena
upscale_image $0.01 / request

Ceny podane dla recraft-crisp-upscale. Pozostałe warianty mają własne cenniki endpointów.

Integracja agentów

Uruchamiaj Recraft z agenta

JAK TO DZIAŁA

Zacznij korzystać z Recraft

  1. Wybierz model

    Wybierz model i wariant pasujące do typu wyjścia, progu jakości i celu opóźnienia.

  2. Konfiguracja

    Ustaw klucz RunAPI i zainstaluj model skill w workspace kodu.

  3. Implementacja

    Użyj instrukcji skilla, aby dodać funkcję modelu w swojej aplikacji.

  4. Odbiór

    Odpytuj po task ID, streamuj gdy wspierane albo obsłuż callback webhook.

CONTEXT

Czym jest API Recraft?

Recraft offers specialized image processing tools for design workflows. Through RunAPI, both crisp upscale and background removal endpoints share one key and pay-per-call billing.

Dostawca
Recraft
Zobacz wszystko →
Modalność
Utility
Przeglądaj modele →

Dlaczego używać API Recraft przez RunAPI

Jedno uwierzytelnienie, wszyscy providerzy

Jeden klucz RunAPI odblokowuje cały katalog. Bez osobnych kont i rotacji kluczy dla każdej integracji.

Ujednolicony cennik i rozliczenia

Rozliczanie za wywołanie w USD, fakturowane co miesiąc. Nieudane generacje nie są naliczane.

Skill ze schematami

Typowane schematy i notatki setupu są spakowane w model skill, więc implementacja startuje od właściwego kontraktu.

Pytania o Recraft

What is crisp upscaling?

Recraft's crisp upscale uses neural networks to increase resolution while recovering fine detail — edges stay sharp and no artifacts are introduced.

How precise is the background removal?

Recraft's background removal is optimized for clean edges on product photos, portraits, and design assets — even fine details like hair strands are preserved.

Can I chain upscale and background removal?

Yes — remove the background first, then upscale the result. Both endpoints accept standard image formats and can be called sequentially.

What input formats are supported?

JPEG, PNG, and WebP. Background removal outputs PNG with transparency. Upscale outputs match the input format.

Is Recraft suited for batch processing?

Yes — both endpoints are fast and stateless, making them well-suited for e-commerce catalog pipelines that process thousands of product images.

Od jakiego wariantu powinienem zacząć?

Wybierz najtańszy wariant, który spełnia Twoje wymagania jakościowe. Większość zespołów zaczyna od szybkiego wariantu, a do produkcji przechodzi na pro.

PODOBNE MODELE

Jeśli podoba Ci się API Recraft, wypróbuj też te

Zacznij budować z API Recraft.