1
Create an API key
Sign in to Porn Factory AI and open the
Developer tab. Create a
key and save both one-time values: the
pfai_ API key and the whsec_
webhook secret.2
Find a checkpoint
Query the catalog for a generator-ready checkpoint.Save the
model_id and version_id from one result.3
Submit a generation
Use a unique idempotency key for this logical request.
4
Poll the request
The submit response includes a stable
request_id and poll_url. Poll
until the status is COMPLETED or FAILED.