You're looking at a specific version of this model. Jump to the model overview.
editr-apps /faceshots:7b9f4dfa
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
|
|
prompt |
string
|
Transform this casual photo of a person img into a professional-looking portrait suitable for LinkedIn. The individual should be dressed in business attire, with a confident and approachable expression. The background should be a simple, neutral color to emphasize the person. Ensure the lighting is soft and flattering, highlighting the person's features while maintaining a polished and formal appearance.
|
Input prompt
|
negative_prompt |
string
|
|
Input Negative Prompt
|
width |
integer
|
640
Min: 512 Max: 2048 |
Width of output image
|
height |
integer
|
640
Min: 512 Max: 2048 |
Height of output image
|
ip_adapter_scale |
number
|
0.8
Max: 1 |
Scale for IP adapter
|
controlnet_conditioning_scale |
number
|
0.8
Max: 1 |
Scale for ControlNet conditioning
|
num_inference_steps |
integer
|
6
Min: 1 Max: 30 |
Number of denoising steps. With LCM-LoRA, optimum is 6-8.
|
guidance_scale |
number
|
0
Max: 10 |
Scale for classifier-free guidance. With LCM-LoRA, optimum is 0-5.
|
safety_checker |
boolean
|
True
|
Safety checker is enabled by default. Un-tick to expose unfiltered results.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}