Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
fofr /pulid-base:65ea7565
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run fofr/pulid-base using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fofr/pulid-base:65ea75658bf120abbbdacab07e89e78a74a6a1b1f504349f4c4e3b01a655ee7a",
{
input: {
width: 1024,
height: 1024,
prompt: "anime middle aged professional guy",
face_image: "https://replicate.delivery/pbxt/KtD7T0zAQ4YU1vI4CptsLMSVzL239UWFHRcZ1DgWAhyVsfuh/guy.webp",
face_style: "high-fidelity",
output_format: "webp",
output_quality: 80,
negative_prompt: "boy",
checkpoint_model: "animated - starlightXLAnimated_v3",
number_of_images: 1
}
}
);
console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run fofr/pulid-base using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fofr/pulid-base:65ea75658bf120abbbdacab07e89e78a74a6a1b1f504349f4c4e3b01a655ee7a",
input={
"width": 1024,
"height": 1024,
"prompt": "anime middle aged professional guy",
"face_image": "https://replicate.delivery/pbxt/KtD7T0zAQ4YU1vI4CptsLMSVzL239UWFHRcZ1DgWAhyVsfuh/guy.webp",
"face_style": "high-fidelity",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "boy",
"checkpoint_model": "animated - starlightXLAnimated_v3",
"number_of_images": 1
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run fofr/pulid-base 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": "65ea75658bf120abbbdacab07e89e78a74a6a1b1f504349f4c4e3b01a655ee7a",
"input": {
"width": 1024,
"height": 1024,
"prompt": "anime middle aged professional guy",
"face_image": "https://replicate.delivery/pbxt/KtD7T0zAQ4YU1vI4CptsLMSVzL239UWFHRcZ1DgWAhyVsfuh/guy.webp",
"face_style": "high-fidelity",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "boy",
"checkpoint_model": "animated - starlightXLAnimated_v3",
"number_of_images": 1
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-05-09T15:16:07.004979Z",
"created_at": "2024-05-09T15:15:59.174000Z",
"data_removed": false,
"error": null,
"id": "3jagewqc8srgp0cfbqp9434csg",
"input": {
"width": 1024,
"height": 1024,
"prompt": "anime middle aged professional guy",
"face_image": "https://replicate.delivery/pbxt/KtD7T0zAQ4YU1vI4CptsLMSVzL239UWFHRcZ1DgWAhyVsfuh/guy.webp",
"face_style": "high-fidelity",
"output_format": "webp",
"output_quality": 80,
"negative_prompt": "boy",
"checkpoint_model": "animated - starlightXLAnimated_v3",
"number_of_images": 1
},
"logs": "Random seed set to: 3813125192\nChecking inputs\n✅ /tmp/inputs/image.png\n====================================\nChecking weights\n✅ albedobaseXL_v21.safetensors\n✅ ip-adapter_pulid_sdxl_fp16.safetensors\n✅ pixlAnimeCartoonComic_v10.safetensors\n✅ ProteusV0.4-Lighting.safetensors\n✅ starlightXLAnimated_v3.safetensors\n✅ dreamshaperXL_alpha2Xl10.safetensors\n✅ models/antelopev2\n====================================\nRunning workflow\ngot prompt\nExecuting node 22, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode\nExecuting node 3, title: KSampler, class type: KSampler\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:04, 3.83it/s]\n 10%|█ | 2/20 [00:00<00:04, 3.77it/s]\n 15%|█▌ | 3/20 [00:00<00:04, 3.76it/s]\n 20%|██ | 4/20 [00:01<00:04, 3.77it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 3.78it/s]\n 30%|███ | 6/20 [00:01<00:03, 3.77it/s]\n 35%|███▌ | 7/20 [00:01<00:03, 3.77it/s]\n 40%|████ | 8/20 [00:02<00:03, 3.77it/s]\n 45%|████▌ | 9/20 [00:02<00:02, 3.76it/s]\n 50%|█████ | 10/20 [00:02<00:02, 3.76it/s]\n 55%|█████▌ | 11/20 [00:02<00:02, 3.77it/s]\n 60%|██████ | 12/20 [00:03<00:02, 3.78it/s]\n 65%|██████▌ | 13/20 [00:03<00:01, 3.79it/s]\n 70%|███████ | 14/20 [00:03<00:01, 3.80it/s]\n 75%|███████▌ | 15/20 [00:03<00:01, 3.79it/s]\n 80%|████████ | 16/20 [00:04<00:01, 3.76it/s]\n 85%|████████▌ | 17/20 [00:04<00:00, 3.77it/s]\n 90%|█████████ | 18/20 [00:04<00:00, 3.79it/s]\n 95%|█████████▌| 19/20 [00:05<00:00, 3.87it/s]\n100%|██████████| 20/20 [00:05<00:00, 3.94it/s]\n100%|██████████| 20/20 [00:05<00:00, 3.81it/s]\nExecuting node 8, title: VAE Decode, class type: VAEDecode\nExecuting node 47, title: Save Image, class type: SaveImage\nPrompt executed in 5.66 seconds\noutputs: {'47': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}\n====================================\nComfyUI_00001_.png",
"metrics": {
"predict_time": 7.792664,
"total_time": 7.830979
},
"output": [
"https://replicate.delivery/pbxt/jqivJUARfP3BV6XR9Qr8ktnXYSe5Ilagfstveh5bQSNYrmKLB/ComfyUI_00001_.webp"
],
"started_at": "2024-05-09T15:15:59.212315Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/3jagewqc8srgp0cfbqp9434csg",
"cancel": "https://api.replicate.com/v1/predictions/3jagewqc8srgp0cfbqp9434csg/cancel"
},
"version": "ff8800a68a85d1fed2bbba91c326ec82175b41a168e77c7c5b4653153ac9c3f1"
}
Random seed set to: 3813125192
Checking inputs
✅ /tmp/inputs/image.png
====================================
Checking weights
✅ albedobaseXL_v21.safetensors
✅ ip-adapter_pulid_sdxl_fp16.safetensors
✅ pixlAnimeCartoonComic_v10.safetensors
✅ ProteusV0.4-Lighting.safetensors
✅ starlightXLAnimated_v3.safetensors
✅ dreamshaperXL_alpha2Xl10.safetensors
✅ models/antelopev2
====================================
Running workflow
got prompt
Executing node 22, title: CLIP Text Encode (Prompt), class type: CLIPTextEncode
Executing node 3, title: KSampler, class type: KSampler
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:00<00:04, 3.83it/s]
10%|█ | 2/20 [00:00<00:04, 3.77it/s]
15%|█▌ | 3/20 [00:00<00:04, 3.76it/s]
20%|██ | 4/20 [00:01<00:04, 3.77it/s]
25%|██▌ | 5/20 [00:01<00:03, 3.78it/s]
30%|███ | 6/20 [00:01<00:03, 3.77it/s]
35%|███▌ | 7/20 [00:01<00:03, 3.77it/s]
40%|████ | 8/20 [00:02<00:03, 3.77it/s]
45%|████▌ | 9/20 [00:02<00:02, 3.76it/s]
50%|█████ | 10/20 [00:02<00:02, 3.76it/s]
55%|█████▌ | 11/20 [00:02<00:02, 3.77it/s]
60%|██████ | 12/20 [00:03<00:02, 3.78it/s]
65%|██████▌ | 13/20 [00:03<00:01, 3.79it/s]
70%|███████ | 14/20 [00:03<00:01, 3.80it/s]
75%|███████▌ | 15/20 [00:03<00:01, 3.79it/s]
80%|████████ | 16/20 [00:04<00:01, 3.76it/s]
85%|████████▌ | 17/20 [00:04<00:00, 3.77it/s]
90%|█████████ | 18/20 [00:04<00:00, 3.79it/s]
95%|█████████▌| 19/20 [00:05<00:00, 3.87it/s]
100%|██████████| 20/20 [00:05<00:00, 3.94it/s]
100%|██████████| 20/20 [00:05<00:00, 3.81it/s]
Executing node 8, title: VAE Decode, class type: VAEDecode
Executing node 47, title: Save Image, class type: SaveImage
Prompt executed in 5.66 seconds
outputs: {'47': {'images': [{'filename': 'ComfyUI_00001_.png', 'subfolder': '', 'type': 'output'}]}}
====================================
ComfyUI_00001_.png
This example was created by a different version, fofr/pulid-base:ff8800a6.