{ "info": { "_postman_id": "face-swap-video-api", "name": "Face Swap Video API", "description": "Complete API collection for Face Swap Video processing with MongoDB storage", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Source Image", "item": [ { "name": "Upload Source Image", "request": { "method": "POST", "header": [ { "key": "accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "key": "file", "type": "file", "src": [] } ] }, "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/source-image", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "source-image" ] }, "description": "Upload and store source image in MongoDB" }, "response": [] }, { "name": "List All Source Images", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/source-images", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "source-images" ] }, "description": "List all uploaded source images" }, "response": [] } ], "description": "Source image management endpoints" }, { "name": "Target Video", "item": [ { "name": "Upload Target Video", "request": { "method": "POST", "header": [ { "key": "accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "key": "file", "type": "file", "src": [] } ] }, "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/target-video", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "target-video" ] }, "description": "Upload and store target video in MongoDB" }, "response": [] }, { "name": "List All Target Videos", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/target-videos", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "target-videos" ] }, "description": "List all uploaded target videos" }, "response": [] } ], "description": "Target video management endpoints" }, { "name": "Face Swap Processing", "item": [ { "name": "Start Face Swap", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"source_image_id\": \"SOURCE_IMAGE_ID\",\n \"target_video_id\": \"TARGET_VIDEO_ID\"\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/face-swap", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "face-swap" ] }, "description": "Start face swap processing. Returns job_id for status tracking." }, "response": [] }, { "name": "Get Job Status", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/job/{{job_id}}", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "job", "{{job_id}}" ] }, "description": "Get job status. When status='completed', result_video_url will contain the download URL." }, "response": [] } ], "description": "Face swap processing endpoints" }, { "name": "Result Videos", "item": [ { "name": "Download Result Video", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/result-video/{{result_video_id}}", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "result-video", "{{result_video_id}}" ] }, "description": "Download result video file. Use result_video_url from job status when completed." }, "response": [] }, { "name": "List All Result Videos", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/result-videos", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "result-videos" ] }, "description": "List all processed result videos" }, "response": [] } ], "description": "Result video management endpoints" }, { "name": "Utility", "item": [ { "name": "Health Check", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/api/health", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "api", "health" ] }, "description": "Check API health status" }, "response": [] }, { "name": "API Root", "request": { "method": "GET", "header": [], "url": { "raw": "https://logicgoinfotechspaces-face-swap-video.hf.space/", "protocol": "https", "host": [ "logicgoinfotechspaces-face-swap-video", "hf", "space" ], "path": [ "" ] }, "description": "API root endpoint" }, "response": [] } ], "description": "Utility endpoints" } ], "variable": [ { "key": "base_url", "value": "https://logicgoinfotechspaces-face-swap-video.hf.space", "type": "string" }, { "key": "source_image_id", "value": "", "type": "string" }, { "key": "target_video_id", "value": "", "type": "string" }, { "key": "job_id", "value": "", "type": "string" }, { "key": "result_video_id", "value": "", "type": "string" } ] }