You're looking at a specific version of this model. Jump to the model overview.
cjwbw /hard-prompts-made-easy:eef13c43
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 |
---|---|---|---|
image |
string
|
Input image.
|
|
image_url |
string
|
Alternatively, you can provide a url link for an image. Ignored when image is uploaded.
|
|
customised_prompt |
string
|
Optional input prompt. By default, a prompt will be learnt by the model for the input image and will be used for generation, but you can also provide your own customised prompt.
|
|
num_inference_steps |
integer
|
25
Min: 1 Max: 500 |
Number of denoising steps
|
guidance_scale |
number
|
9
Min: 1 Max: 20 |
Scale for classifier-free guidance
|
scheduler |
string
(enum)
|
DPMSolverMultistep
Options: DDIM, K_EULER, DPMSolverMultistep, K_EULER_ANCESTRAL, PNDM, KLMS |
Choose a scheduler.
|
seed |
integer
|
Random seed. Leave blank to randomize the seed
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'best_prompt': {'title': 'Best Prompt', 'type': 'string'},
'generated_images': {'format': 'uri',
'title': 'Generated Images',
'type': 'string'},
'original_image': {'format': 'uri',
'title': 'Original Image',
'type': 'string'}},
'required': ['generated_images'],
'title': 'ModelOutput',
'type': 'object'}