Mika Scraper / Text2NSFWOptions
Interface: Text2NSFWOptions
Defined in: src/_other-scraper/text2nsfw.ts:46
Options for configuring the Text2NSFW functionality.
Properties
base_model?
optional
base_model:"anime"
|"artist"
|"nsfw_anime"
|"flux"
|"realistic"
|"realistic_v2"
Specifies the model to be used for generating NSFW content. This parameter determines the style and quality of the output based on the selected model.
style?
optional
style:string
Defines a custom style for the generated content. This string should specify any specific style preferences that may not be covered by the preset models.
ratio?
optional
ratio:"1:1"
|"9:16"
|"16:9"
|"3:4"
|"4:3"
|"4:5"
|"5:4"
Sets the aspect ratio for the output content. This ensures that the generated images conform to the specified dimensions, suitable for various display needs.
Example
const options: Text2NSFWOptions = {
base_model: "anime",
style: "ethereal",
ratio: "16:9"
};