typetext
{
"guidance_scale": 0,
"height": 1024,
"lora_scales": [
1
],
"lora_weights": [
"https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors"
],
"num_inference_steps": 8,
"output_format": "jpg",
"output_quality": 80,
"prompt": "t3chnic4lly vibrant 1960s close-up of a woman sitting under a tree in a blue skit and white blouse, she has blonde wavy short hair and a smile with green eyes lake scene by a garden with flowers in the foreground 1960s styl;e film She's holding her hand out there is a small smooth frog in her palm, she's making eye contact with the toad.",
"width": 1024
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_QGQ**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run prunaai/z-image-turbo-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"prunaai/z-image-turbo-lora:197b2db2015aa366d2bc61a941758adf4c31ac66b18573f5c66dc388ab081ca2",
{
input: {
guidance_scale: 0,
height: 1024,
lora_scales: [1],
lora_weights: ["https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors"],
num_inference_steps: 8,
output_format: "jpg",
output_quality: 80,
prompt: "t3chnic4lly vibrant 1960s close-up of a woman sitting under a tree in a blue skit and white blouse, she has blonde wavy short hair and a smile with green eyes lake scene by a garden with flowers in the foreground 1960s styl;e film She's holding her hand out there is a small smooth frog in her palm, she's making eye contact with the toad.",
width: 1024
}
}
);
// 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]);
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=r8_QGQ**********************************
This is your API token. Keep it to yourself.
import replicate
Run prunaai/z-image-turbo-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"prunaai/z-image-turbo-lora:197b2db2015aa366d2bc61a941758adf4c31ac66b18573f5c66dc388ab081ca2",
input={
"guidance_scale": 0,
"height": 1024,
"lora_scales": [1],
"lora_weights": ["https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors"],
"num_inference_steps": 8,
"output_format": "jpg",
"output_quality": 80,
"prompt": "t3chnic4lly vibrant 1960s close-up of a woman sitting under a tree in a blue skit and white blouse, she has blonde wavy short hair and a smile with green eyes lake scene by a garden with flowers in the foreground 1960s styl;e film She's holding her hand out there is a small smooth frog in her palm, she's making eye contact with the toad.",
"width": 1024
}
)
# To access the file URL:
print(output[0].url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_QGQ**********************************
This is your API token. Keep it to yourself.
Run prunaai/z-image-turbo-lora 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": "prunaai/z-image-turbo-lora:197b2db2015aa366d2bc61a941758adf4c31ac66b18573f5c66dc388ab081ca2",
"input": {
"guidance_scale": 0,
"height": 1024,
"lora_scales": [1],
"lora_weights": ["https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors"],
"num_inference_steps": 8,
"output_format": "jpg",
"output_quality": 80,
"prompt": "t3chnic4lly vibrant 1960s close-up of a woman sitting under a tree in a blue skit and white blouse, she has blonde wavy short hair and a smile with green eyes lake scene by a garden with flowers in the foreground 1960s styl;e film She\'s holding her hand out there is a small smooth frog in her palm, she\'s making eye contact with the toad.",
"width": 1024
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "ajpwkj1tphrme0ctwtvvb2rp70",
"model": "prunaai/z-image-turbo-lora",
"version": "197b2db2015aa366d2bc61a941758adf4c31ac66b18573f5c66dc388ab081ca2",
"input": {
"guidance_scale": 0,
"height": 1024,
"lora_scales": [
1
],
"lora_weights": [
"https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors"
],
"num_inference_steps": 8,
"output_format": "jpg",
"output_quality": 80,
"prompt": "t3chnic4lly vibrant 1960s close-up of a woman sitting under a tree in a blue skit and white blouse, she has blonde wavy short hair and a smile with green eyes lake scene by a garden with flowers in the foreground 1960s styl;e film She's holding her hand out there is a small smooth frog in her palm, she's making eye contact with the toad.",
"width": 1024
},
"logs": "Using cached processed LoRA for: https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors\nLoaded LoRA 1: https://huggingface.co/renderartist/Technically-Color-Z-Image-Turbo/resolve/main/Technically_Color_Z_Image_Turbo_v1_renderartist_2000.safetensors\nSet adapters: ['lora_0'] with weights: [1.0]\n 0%| | 0/9 [00:00<?, ?it/s]\n 11%|█ | 1/9 [00:00<00:01, 4.42it/s]\n 22%|██▏ | 2/9 [00:00<00:01, 5.15it/s]\n 33%|███▎ | 3/9 [00:00<00:01, 4.79it/s]\n 44%|████▍ | 4/9 [00:00<00:01, 4.63it/s]\n 56%|█████▌ | 5/9 [00:01<00:00, 4.55it/s]\n 67%|██████▋ | 6/9 [00:01<00:00, 4.50it/s]\n 78%|███████▊ | 7/9 [00:01<00:00, 4.48it/s]\n 89%|████████▉ | 8/9 [00:01<00:00, 4.45it/s]\n100%|██████████| 9/9 [00:01<00:00, 4.44it/s]\n100%|██████████| 9/9 [00:01<00:00, 4.54it/s]",
"output": [
"https://replicate.delivery/xezq/IW56hgDT0ALeMy9kyeyRmP1AYz8HmveVXafsLqtT2NiFMhetC/output_1281297989_0.jpeg"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-12-04T00:15:59.156Z",
"started_at": "2025-12-04T00:15:59.168417Z",
"completed_at": "2025-12-04T00:16:01.557122Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/ajpwkj1tphrme0ctwtvvb2rp70/cancel",
"get": "https://api.replicate.com/v1/predictions/ajpwkj1tphrme0ctwtvvb2rp70",
"stream": "https://stream.replicate.com/v1/files/bcwr-tqvc73wkecbi36jyyh4fmc7mc6jl6sgdmgjdmiczal54d2y2mdaa",
"web": "https://replicate.com/p/ajpwkj1tphrme0ctwtvvb2rp70"
},
"metrics": {
"predict_time": 2.388705017,
"total_time": 2.4011226949999998
}
}