Face Swap API
  1. Sample Schemas
Face Swap API
  • Start Your Face Swap
  • Pricing
  • Face Swap APIs
    • Get Face Swap Task Info by ID
      POST
    • Create Face Swap Task
      POST
    • Cancel Face Swap Task (if still pending)
      POST
  • Other APIs
    • Face detection from image/video URL
      POST
    • Get video info from url
      POST
  • Schemas
    • Sample Schemas
      • taskRes
      • taskData
      • success
      • resFace
  1. Sample Schemas

taskData

{
    "code": 0,
    "info": "string",
    "data": {
        "_id": "string",
        "params": {
            "type": "string",
            "media_url": "string",
            "start_time": 0,
            "end_time": 0,
            "resolution": 0,
            "enhance": 0,
            "nsfw_check": 0,
            "watermark": "string",
            "callback_url": "string",
            "swap_list": [
                {
                    "from_face": "string",
                    "to_face": "string"
                }
            ]
        },
        "state": 0,
        "price": 0,
        "process": 0,
        "show_id": "string",
        "result": {},
        "add_time": 0,
        "edit_time": 0
    }
}
Built with