zaktechgis / flux-pro-3
A fine-tuned FLUX.1 model
- Public
- 24 runs
-
H100
Run zaktechgis/flux-pro-3 with an API
Use one of our client libraries to get started quickly.
Set the REPLICATE_API_TOKEN
environment variable
export REPLICATE_API_TOKEN=<paste-your-token-here>
Learn more about authentication
Install Replicate’s Node.js client library
npm install replicate
Run zaktechgis/flux-pro-3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
import { writeFile } from "fs/promises";
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
prompt: "portrait for cmd01",
guidance_scale: 3.5,
output_quality: 90
};
const output = await replicate.run("zaktechgis/flux-pro-3:1d374e8a336e867a700ebf1b7af2000fdaa97b9247708b3e6b0cde29d3869f6e", { input });
for (const [index, item] of Object.entries(output)) {
await writeFile(`output_${index}.webp`, item);
}
//=> output_0.webp written to disk