Image url generated will not be accessible after 24 hours, kindly save your image generations accordingly
Head Shot
Request
Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
--request POST 'https://modelslab.com/api/v6/image_editing/head_shot' \
Body
{
"key": "your_api_key",
"prompt": "pretty woman",
"negative_prompt": "anime, cartoon, drawing, big nose, long nose, fat, ugly, big lips, big mouth, face proportion mismatch, unrealistic, monochrome, lowres, bad anatomy, worst quality, low quality, blurry",
"face_image":"https://assets.modelslab.com/generations/568d6320-8b6c-4af8-8725-51c0c9f633a3",
"width": "512",
"height": "512",
"samples": "1",
"num_inference_steps": "21",
"safety_checker": false,
"base64": false,
"seed": null,
"guidance_scale": 7.5,
"webhook": null,
"track_id": null
}
Available options:
21,
31,
41
Required range: 1 <= x <= 5
Required range: 0 <= x <= 2
Available options:
black,
blur,
sensitive_content_text,
pixelate
Option 1
Option 2
Option 3
Available options:
success