You're looking at a specific version of this model. Jump to the model overview.
fofr /ays-text-to-image:a004c3ac
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 photo of an astronaut riding a unicorn
|
None
|
negative_prompt |
string
|
|
The negative prompt to guide image generation.
|
checkpoint |
string
(enum)
|
albedobaseXL_v21.safetensors
Options: albedobaseXL_v13.safetensors, albedobaseXL_v21.safetensors, CinematicRedmond.safetensors, copaxTimelessxlSDXL1_v8.safetensors, dreamshaperXL_alpha2Xl10.safetensors, epicrealismXL_v10.safetensors, Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors, juggernautXL_v8Rundiffusion.safetensors, pixlAnimeCartoonComic_v10.safetensors, proteus_v02.safetensors, ProteusV0.4.safetensors, RealVisXL_V2.0.safetensors, RealVisXL_V3.0.safetensors, RealVisXL_V4.0.safetensors, rundiffusionXL_beta.safetensors, sd_xl_base_1.0.safetensors, sd_xl_base_1.0_0.9vae.safetensors, starlightXLAnimated_v3.safetensors |
The SDXL model to use for generation
|
width |
integer
|
1024
|
None
|
height |
integer
|
1024
|
None
|
num_outputs |
integer
|
1
Min: 1 Max: 10 |
Number of outputs
|
sampler_name |
string
(enum)
|
euler
Options: euler, euler_ancestral, heun, heunpp2, dpm_2, dpm_2_ancestral, lms, dpm_fast, dpm_adaptive, dpmpp_2s_ancestral, dpmpp_sde, dpmpp_sde_gpu, dpmpp_2m, dpmpp_2m_sde, dpmpp_2m_sde_gpu, dpmpp_3m_sde, dpmpp_3m_sde_gpu, ddpm, lcm, ddim, uni_pc, uni_pc_bh2 |
An enumeration.
|
guidance_scale |
number
|
7.5
Max: 30 |
Scale for classifier-free guidance
|
steps |
integer
|
10
Min: 10 Max: 100 |
Number of diffusion steps. (A minimum of 10 with AYS)
|
seed |
integer
|
None
|
|
output_format |
string
(enum)
|
webp
Options: webp, jpg, png |
Format of the output images
|
output_quality |
integer
|
80
Max: 100 |
Quality of the output images, from 0 to 100. 100 is best quality, 0 is lowest quality.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}