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

adirik /prompt-to-prompt-realvisxl-3.0:b2e7b372

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
original_prompt
string
Prompt to generate image with SDXL
prompt_edit_type
string (enum)

Options:

Replacement, Refinement, Re-weight

Choose the type of the prompt editing, can be either of `Replacement`, `Refinement`, `Re-weight`
edited_prompt
string
Prompt used for editing the original sdxl output image. If prompt_edit_type above is `Re-weight`, you can leave this empty.
local_edit
string
Comma seperated words to determine which area should be changed. If None, then the whole image can be changed.
cross_replace_steps
number
0.8

Max: 1

Number of diffusion steps in which cross attention should be replaced
self_replace_steps
number
0.4

Max: 1

Number of diffusion steps in which self attention should be replaced
equalizer_words
string
Words to be re-weighted (either enhancement or diminishment). Provide the words in the format of 'word1, word2, word3'. If you are not using reweight, leave this empty.
equalizer_strengths
string
Strengths for the words to be re-weighted. It can be positive or negative values. Provide the strengths in the format of 'strength1, strength2, strength3', for respective equalizer_words. If you are not using reweight, leave this empty.
num_inference_steps
integer
25

Min: 1

Max: 500

Number of inference steps to use for the diffusion model
guidance_scale
number
2

Min: 1

Max: 50

Guidance scale to use for the diffusion model
scheduler
string (enum)
DPM++_SDE_Karras

Options:

DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM, DPM++_SDE_Karras

Scheduler to use, DPM++ SDE Karras is recommended
seed
integer

Max: 65535

Random seed. Leave blank to randomize the seed for original output.

Output schema

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

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