Readme
This model doesn't have a readme.
(Updated 1 year, 6 months ago)
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run underthestar2021/homo_fidelis-public using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "underthestar2021/homo_fidelis-public:b558b3603914a5c2a12bc5431e8d84e564a301ba78a38f99683ea557e505d6d2",
"input": {
"prompt": "a photo of an astronaut riding a horse on mars",
"ai_random": "ai_random",
"clip_skip": 2,
"pipe_type": "txt2img",
"scheduler": "DPM++ SDE Karras",
"lora_model": "empty",
"num_outputs": 1,
"resize_mode": "fill",
"target_width": 512,
"target_height": 720,
"callback_steps": 4,
"guidance_scale": 7.5,
"controlnet_type": "canny",
"prompt_strength": 0.7,
"show_system_info": false,
"swap_face_enable": true,
"controlnet_enable": true,
"face_editor_enable": false,
"canny_low_threshold": 100,
"codeformer_fidelity": 0.7,
"num_inference_steps": 26,
"restore_face_enable": true,
"canny_high_threshold": 200,
"control_guidance_end": 1,
"firebase_api_version": 4,
"restore_face_upscale": 1,
"cross_attention_scale": 0.8,
"face_editor_mask_blur": 12,
"face_editor_mask_size": 6,
"face_editor_strength1": 0.4,
"face_editor_strength2": 0.05,
"restore_face_upsample": true,
"control_guidance_start": 0,
"face_editor_confidence": 0.97,
"controlnet_conditioning_scale": 1,
"restore_face_background_enhance": true
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model costs approximately $0.026 to run on Replicate, or 38 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 27 seconds.
This model doesn't have a readme.