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

cjwbw /prompt-to-prompt:77f9e56f

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
pink bear riding a bicycle
Input prompt used for the orinigal image
prompt_edit_type
string (enum)

Options:

Replacement, Refinement, Re-weight

Choose the type of the prompt editing. See below for more information. If you are generating the original output, leave this empty.
edited_prompt
string
Prompted used for editing the original sd output image. If prompt_edit_type above is not set, then this field will be ignored. See below for more information for how to edit the prompt from the original prompt. For Re-weight, just provided words in proginal_prompt with new weights.
local_edit
string
Enable local editing. Provide the in the format of 'words_in_original_prompt | words_in_edited_prompt', and the rest content will be preserved.
cross_replace_steps
number
0.8

Max: 1

Cross attention replace steps
self_replace_steps
number
0.4

Max: 1

Self attention replace steps
seed
integer
8888
Random seed. Leave blank to randomize the seed for original output. But make sure to use the same seed for original-updated prompt pair.

Output schema

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

Schema
{'properties': {'original_sd': {'format': 'uri',
                                'title': 'Original Sd',
                                'type': 'string'},
                'with_prompt_to_prompt': {'format': 'uri',
                                          'title': 'With Prompt To Prompt',
                                          'type': 'string'}},
 'required': ['original_sd'],
 'title': 'ModelOutput',
 'type': 'object'}