Base URL & Requests

Where to send calls, and how files and jobs flow.

Base URL

Every path in these docs is added to one base. The version is in the path, so a future v2 can run beside this one.

Base URL
https://api.kreatorsfactory.com/api/v1

Two kinds of call

Jobs(Video Swap, Photo Swap, Animate, Identity Swapper, Avatar Studio, Lip Sync) answer straight away with an id. You poll it, or get a webhook, and download the result when it’s ready.

Sessions(Live Body Swap, Live Voice Swap) give you a stream to connect to over a WebSocket. You’re billed for the seconds you stream.

Requests and responses

Send JSON bodies with Content-Type: application/json. Files go up once, through Uploads, and jobs refer to them by file_key. Responses are JSON; money is in US dollars and times are ISO 8601 in UTC.

Errors always have the same shape

{"error": {"code": "…", "message": "…"}}. See Errors & Responses.