You're looking at a specific version of this model. Jump to the model overview.

nsfw-api /chroma:47887790

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
A beautiful landscape with mountains and a lake
Text prompt for the image generation
negative_prompt
string
low quality, blurry, distorted
Text that will not be in the image
width
integer
768

Min: 256

Max: 2048

Width of the generated image
height
integer
768

Min: 256

Max: 2048

Height of the generated image
steps
integer
30

Min: 10

Max: 100

Number of sampling steps
cfg_scale
number
7

Min: 1

Max: 30

Classifier-free guidance scale (how strongly the image should follow the prompt)
sampler_name
None
euler
Which sampling method to use
scheduler
None
normal
Sampler scheduler to use
lora_url
string
A URL pointing to a LoRA .safetensors file or a Hugging Face repo ID (e.g. 'user/repo').
lora_strength
number
1

Max: 2

Scale/strength for the LoRA.
seed
integer
Set a seed for reproducibility. Random by default.
replicate_weights
string
A .tar file containing LoRA weights from replicate.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}