Create a generation
Submits an idempotent image or video generation. Image-input modes accept only owner-scoped generated-library creation IDs.
POST
Create a generation
Authorizations
Create a scoped key at https://pornfactoryai.com/account?tab=developer
Headers
Stable key for this logical request. Reuse only with the exact same body.
Required string length:
1 - 255Body
application/json
Available options:
text_to_image, image_to_image, image_edit, text_to_video, image_to_video Minimum string length:
1Available options:
random, custom Required when seed_mode is custom.
Required range:
0 <= x <= 1999999999Maximum array length:
4Required for image_to_image, image_edit, and image_to_video.
Pattern:
^https://Response
Generation accepted
Allowed value:
"generation"Pattern:
^req_Available options:
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED Available options:
image, video, null Create a generation
