🔄Tool APIActive

face-swap API

Swap faces in images with natural results using the Face Swap API via API in One. Only 4 credits per swap (~$0.04).

Real routes1Real endpoint rows linked to this model.
Endpoint models1Live models sharing this endpoint.
Base cost4 credits$0.04 · 3–8 seconds
Endpoint familyTool API/api/v1/images/tools/face-swap
Model IDface-swap

Use this in the request body model field.

Endpoint/api/v1/images/tools/face-swap

The currently implemented BFF route.

Outputimage

Input types: image

AuthBearer API key

Keys are managed by the shared dashboard.

WebhookNot required

This route does not require webhook handling.

Service highlights

Marketplace-style signals backed by the current live route, without copying external SLA, discount, login, or payment claims.

Live production route

This page only shows endpoints implemented under /api/v1. /api/v1/images/tools/face-swap

Synchronous response

This model returns directly without creating a media task.

Shared billing system

Top-up, orders, credit balance, and profile continue through the existing shared console.

Managed provider credentials

Your browser only holds an API in One key; provider calls stay server-side.

Call contract

Use these fields to integrate the current live model route.

Base URL
https://apiin.one
Clients call same-origin APIs; the server BFF forwards to the Worker.
Authorization
Authorization: Bearer <API_KEY>
Managed by the existing Dashboard API Keys page.
Model field
face-swap
Send this value in the request body model field.
Result path
/api/v1/tasks/{task_id}
Async jobs return task_id, then use status polling.
Billing path
/billing/credits
Uses the existing credits, orders, and top-up logic.

Runtime behavior

This model creates an async task, returns a task_id, then resolves through the real status route.

Client request/api/v1/images/tools/face-swaptask_id -> result
View usage logs

API Console

Switch between real models on this endpoint, choose a live route, and generate request examples from the current catalog payload.

Live model1 live models
Endpoint1 Routes
ProviderWaveSpeedhttps://n33.gogloai.com
Current cost4 credits · $0.04~$0.04 per swap (4 credits)
RuntimeAsync taskAsync jobs return task_id, then use status polling.
Input / outputimage -> imageThis model returns directly without creating a media task.
Backend nodenode33Your browser only holds an API in One key; provider calls stay server-side.
Request previewPOST /api/v1/images/tools/face-swap
curl --request POST \
  --url https://apiin.one/api/v1/images/tools/face-swap \
  --header 'Authorization: Bearer <API_KEY>'
  --header 'Content-Type: application/json' \
  --data-raw '{
  "model": "face-swap",
  "image": "https://example.com/target-photo.jpg",
  "face_image": "https://example.com/source-face.jpg",
  "target_index": 0,
  "output_format": "png"
}'
Result path/api/v1/tasks/{task_id}
Open docs

Endpoint decision panel

Evaluate cost, provider coverage, and production integration behavior across live models on this implemented endpoint.

Endpoint models1These models share the same BFF route and switch through the model field.
Provider coverage1Real provider sources currently exposed by this endpoint.
Cost range4 credits$0.04-$0.04 · Based on the current live catalog base credit cost.
Webhook coverage0/1Models on this endpoint that support callback_url.
Current model position1/1

Sorted by base credits from low to high.

Lowest-cost route in this endpointface-swap

WaveSpeed · 4 credits · $0.04

Production patternAsync task + status polling

Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.

Live capabilities

These capabilities come from the current model config and backend route. Unreleased APIs are not listed.

Extremely affordable at 4 credits per swap

Extremely affordable at 4 credits per swap

Natural

Natural-looking results with AI blending

No account needed with WaveSpeed

No account needed with WaveSpeed

Fast processing time

Fast processing time

Request format

Clients call same-origin API routes; the server BFF forwards to the matching Worker.

Parameters

imagestring

URL of the target image (the body/scene to modify)

Required
face_imagestring

URL of the source face image (the face to swap in)

Required
target_indexnumber

Face index in target image if multiple faces (0–10)

Optional · Default 0
output_formatstring

Output format: "png", "jpg", or "webp"

Optional · Default png

Example request

curl -X POST https://apiin.one/api/v1/images/tools/face-swap \
  -H "Authorization: Bearer aio_your_api_key" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "model": "face-swap",
  "image": "https://example.com/target-photo.jpg",
  "face_image": "https://example.com/source-face.jpg",
  "target_index": 0,
  "output_format": "png"
}'

Integration flow

These steps use the current live route and shared account system; login, payment, orders, credits, and profile remain shared.

01

Create a shared API key

Create a key in the existing dashboard. Top-up, orders, credit balance, and profile stay in the shared console.

02

Call the real endpoint

Send a request with the endpoint, model id, and parameters shown on this page. /api/v1/images/tools/face-swap

03

Poll task status

Async media and tool jobs use /api/v1/tasks/{task_id}; chat models return a direct response.

Task status route

After creating image, video, audio, or tool tasks, poll the real task endpoint for results.

GET/api/v1/tasks/{task_id}Check generation task status and result.

Pricing

~$0.04 per swap (4 credits)

Base cost$0.04
Credits4
BillingSuccessful requests

Use cases

These workflows are supported by the current model and backend node.

01

Create personalized marketing imagery

02

Build virtual try-on features for e-commerce

03

Generate personalized content at scale

04

Integrate face swap into photo editing apps

FAQ

How much does Face Swap cost?

Only 4 credits per swap (~$0.04).

How natural are the results?

The AI produces seamless results with proper lighting, skin tone, and angle matching.

Related live models