Undress API (1.2.1)

API for undressing images with different styles.

Download OpenAPI description
Languages
Servers
Mock server
https://nodress.redocly.app/_mock/openapi/
Production Server
https://nodress.ai/api/v1/

Undress

Undress API

Operations

FaceSwap

Face Swap Photo API

Operations

FaceSwapVideo

Face Swap Video API. Before creation of a new face swap video you should analyze it. Important: available only for users who deposited $100+

Operations

Analyze a video for face swap processing

Request

Bodyapplication/jsonrequired
video_urlstringrequired

HTTPS URL of the video to analyze.

previewboolean

Whether to create a preview (shorter) version.

versionstring

Version of the face swap model.

Enum"v1""v2"
curl -i -X POST \
  https://nodress.redocly.app/_mock/openapi/face_swap_videos/analyze \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "video_url": "string",
    "preview": true,
    "version": "v1"
  }'

Responses

Analysis completed successfully.

Bodyapplication/json
pricenumber

Calculated price for the face swap video.

versionstring

Version that will be used.

Enum"v1""v2"
previewboolean

Whether this is a preview version.

Response
application/json
{ "price": 0, "version": "v1", "preview": true }

Create a face swap video job

Request

Bodyrequired
video_urlstring

HTTPS URL of the video to process.

videostring(binary)

Video file to process (if not using URL).

face_urlstring

HTTPS URL of the face image.

facestring(binary)

Face image file (if not using URL).

previewboolean

Whether to create a preview version.

versionstring

Version of the face swap model.

Enum"v1""v2"
curl -i -X POST \
  https://nodress.redocly.app/_mock/openapi/face_swap_videos \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "video_url": "string",
    "video": "string",
    "face_url": "string",
    "face": "string",
    "preview": true,
    "version": "v1"
  }'

Responses

Job created successfully.

Bodyapplication/json
idstring

Identifier for the face swap video job.

statusstring

Initial status of the job.

messagestring

Additional information about the job.

Response
application/json
{ "id": "string", "status": "string", "message": "string" }

Get the status of a face swap video job

Request

Path
idstringrequired

Identifier of the face swap video job.

curl -i -X GET \
  'https://nodress.redocly.app/_mock/openapi/face_swap_videos/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Current status of the face swap video job.

Bodyapplication/json
idstring

Identifier for the face swap video job.

statusstring

Status of the face swap video job.

Enum"initial""sent""processing""completed""failed"
progressnumber

Progress percentage of the processing.

stepstring

Current processing step.

Enum"queued""downloading""fps""analysing""working""sound""reencoding_step_1""reencoding_step_2""postprocessing""uploading"
result_urlstring

URL of the processed video, if completed.

error_detailsobject

Error information if the job failed.

Response
application/json
{ "id": "string", "status": "initial", "progress": 0, "step": "queued", "result_url": "string", "error_details": {} }