Bildfal

Face Swap

Setzt das Gesicht aus einem Foto auf die Person in einem anderen, behält Pose, Licht und Haare.

model: "face-swap"

Modi

Eine Modell-ID, jeder Modus darunter. Die Felder, die Sie senden, wählen den Modus aus, und der Preis folgt dem Modus.

ModusAusgewählt durchTypischer Preis
Bild rein, Bild rausbase_image_urlswap_image_url
Beispielanfrage
{
  "model": "face-swap",
  "input": {
    "base_image_url": "https://example.com/image.jpg",
    "swap_image_url": "https://example.com/image.jpg"
  }
}
$0.0010

Ein echter Lauf

Dies ist die tatsächliche Ausgabe des Tools auf dem nebenstehenden Bild. Der Playground unten öffnet sich mit demselben Input, damit Sie es selbst ausführen können.

Face Swap: Vorher
Vorher
Face Swap: Nachher
Nachher

Eingabe

Erforderlich

The photo whose person receives the face (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

Erforderlich

The photo the face comes from (https URL).. A public https URL, or an upload URL from POST /v1/uploads.

Optional

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Ergebnis

Face SwapBeispielausgabe

Ein echtes Ergebnis dieses Modells. Führen Sie es aus, um Ihr Ergebnis hier zu sehen.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "face-swap",
  "input": {
    "base_image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/11c8171c-25fe-448c-8c89-8f7f36b69f42/0.jpg",
    "swap_image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/2c87615a-ff7b-41f5-adb0-56a3fc06ac8f/0.jpg"
  }
}'
Face Swap 1Face Swap 2