Skip to content

PiAPI-1/Faceswap-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Faceswap API

Instantly enhance your apps with our fast and easy-to-use Faceswap API, creating remarkable customised images that will amaze your users!



screenshot of the Midjourney API page from PiAPI



Features

  1. Cost Effective
  2. Low Latency
  3. Supports High Concurrency
  4. Easy Setup and Integration
  5. Asynchronous
  6. Automatic face detection
  7. Bulk generation
  8. Standard RESTful API
  9. Webhook



Pricing

  • Standard: $0.01/call
  • Custom Dedicated Deployment: Contact us via email!

Please refer to our pricing page for more information.



Usage Steps

Pay-as-you-go Option

  • Register for PiAPI's Workspace using your GitHub account.
  • Obtain your API KEY from our Workspace
  • Start coding right away!

Sample API Calls (using cURL)


Create a Faceswap call

curl --request POST \
  --url https://api.piapi.ai/api/face_swap/v1/async \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: {{x-api-key}}' \
  --data '{
  "target_image": "Superman.png",
  "swap_image": "Leonardo_Dicaprio.png",
  "result_type": "url"
}'

Response

{
    "code": 200,
    "data": {
        "task_id": "record_this_taskID"
    },
    "message": "success"
}

Fetch the Faceswap call

curl --request POST \
  --url https://api.piapi.ai/api/face_swap/v1/fetch \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: {{x-api-key}}' \
  --data '{
  "task_id": "Insert_the_taskID_here"
}'

Response - Check out our documentation for more information!



Contact us

Email: contact@piapi.ai


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors