Optional
controlOptional
disableNSFWFilterDisable NSFW filter for Project. Default is false, meaning NSFW filter is enabled. If image triggers NSFW filter, it will not be available for download.
Guidance scale. For most Stable Diffusion models, optimal value is 7.5
Optional
heightOutput image height. Only used if sizePreset
is "custom"
ID of the model to use, available models are available in the availableModels
property of the ProjectsApi
instance.
Prompt for what to be avoided
Optional
networkOverride current network type. Default value can be read from client.account.currentAccount.network
Number of images to generate
Optional
numberNumber of previews to generate. Note that previews affect project cost\
Prompt for what to be created
Optional
schedulerScheduler to use
Optional
seedSeed for one of images in project. Other will get random seed. Must be Uint32
Optional
sizeSize preset ID to use. You can query available size presets
from client.projects.sizePresets(network, modelId)
Optional
startingGenerate images based on the starting image.
Supported types:
File
- file object from input[type=file]
Buffer
- Node.js buffer object with image data
Blob
- blob object with image data
true
- indicates that the image is already uploaded to the server
Optional
startingHow strong effect of starting image should be. From 0 to 1, default 0.5
Number of steps. For most Stable Diffusion models, optimal value is 20
Image style prompt
Optional
timeTime step spacing method
Optional
tokenSelect which tokens to use for the project. If not specified, the Sogni token will be used.
Optional
widthOutput image width. Only used if sizePreset
is "custom"
ControlNet model parameters