image

Face Swap

Access the {face-swap} capability via our API. Pay-as-you-go, ready to use.

4.3 (<100) Est. time: 15s 1 tools available
Available Tools

Tools in This Category

Multiple tools share the same template. Choose by rating, speed, or pricing.

Tool Est. Time Rating Coins
Face Swap
ID: 4
15s 4.3 (<100) 12/img

Parameters

The following parameters are required or optional when calling the API with this template.

Parameter Type Required Label Options
face_image image Yes Face Image
original_image image Yes Target Image
seed number No Random Seed default: -1, min: -1, max: 4294967295, step: 1

Code Example

Quick start with the cURL example below. Replace the API key and parameters with your own.

cURL
curl -X POST https://nsfwrouter.xyz/api/v1/tasks/create \
  -H "Authorization: Bearer sk-xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "tool_id": 4,
    "params": {
          "face_image": "https://example.com/input.jpg",
          "original_image": "https://example.com/input.jpg",
          "seed": -1
      },
    "webhook_url": "https://your-server.com/webhook"
  }'

Billing

Pay-as-you-go API pricing. No subscription required.

Coins / Image
12
Get Started

Ready to Build?

Register, get your API key, and start creating in minutes.