Run lucy357/lk1522 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"lucy357/lk1522:566e1969603f8b923c1ee66961267ca24f692b3ae16604728fad9702996dd65d",
{
input: {
image: "https://replicate.delivery/pbxt/N3ItPeBmrcaD5GlPx3xrACWFvbdxPp1xdoFXXkdOxQ4gvkKR/image_2025-05-22_12-16-37.png",
model: "dev",
prompt: "lk1522 a realistic portrait of a young woman with vibrant blue bob hair, sitting on a beige couch against a plain light wall, wearing a tight ribbed light blue sleeveless crop top, natural makeup with bold eyeliner, looking directly at the camera with a soft confident expression, one arm resting behind her, front-facing pose, soft even studio lighting, high-resolution realistic skin texture, minimalistic neutral background, fashion photography, shot on an 85mm lens, shallow depth of field\n\n",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "9:16",
output_format: "jpg",
guidance_scale: 3,
output_quality: 80,
prompt_strength: 0.8,
extra_lora_scale: 1,
num_inference_steps: 28
}
}
);
// To access the file URL:console.log(output[0].url()); //=> "http://example.com"// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
Run lucy357/lk1522 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucy357/lk1522:566e1969603f8b923c1ee66961267ca24f692b3ae16604728fad9702996dd65d",
input={
"image": "https://replicate.delivery/pbxt/N3ItPeBmrcaD5GlPx3xrACWFvbdxPp1xdoFXXkdOxQ4gvkKR/image_2025-05-22_12-16-37.png",
"model": "dev",
"prompt": "lk1522 a realistic portrait of a young woman with vibrant blue bob hair, sitting on a beige couch against a plain light wall, wearing a tight ribbed light blue sleeveless crop top, natural makeup with bold eyeliner, looking directly at the camera with a soft confident expression, one arm resting behind her, front-facing pose, soft even studio lighting, high-resolution realistic skin texture, minimalistic neutral background, fashion photography, shot on an 85mm lens, shallow depth of field\n\n",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
}
)
print(output)
Run lucy357/lk1522 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": "lucy357/lk1522:566e1969603f8b923c1ee66961267ca24f692b3ae16604728fad9702996dd65d",
"input": {
"image": "https://replicate.delivery/pbxt/N3ItPeBmrcaD5GlPx3xrACWFvbdxPp1xdoFXXkdOxQ4gvkKR/image_2025-05-22_12-16-37.png",
"model": "dev",
"prompt": "lk1522 a realistic portrait of a young woman with vibrant blue bob hair, sitting on a beige couch against a plain light wall, wearing a tight ribbed light blue sleeveless crop top, natural makeup with bold eyeliner, looking directly at the camera with a soft confident expression, one arm resting behind her, front-facing pose, soft even studio lighting, high-resolution realistic skin texture, minimalistic neutral background, fashion photography, shot on an 85mm lens, shallow depth of field\\n\\n",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "jpg",
"guidance_scale": 3,
"output_quality": 80,
"prompt_strength": 0.8,
"extra_lora_scale": 1,
"num_inference_steps": 28
}
}' \
https://api.replicate.com/v1/predictions