Mika Scraper / Text2NSFWOptions
Interface: Text2NSFWOptions
Defined in: src/_other-scraper/text2nsfw.ts:46
Options for configuring the Text2NSFW functionality.
Properties
base_model?
optionalbase_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?
optionalstyle: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?
optionalratio:"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"
};