You're looking at a specific version of this model. Jump to the model overview.
adirik /sdxl-prompt-to-prompt:e21d7fb3
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.
|
|
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'}