defaultwoman
typeenum
value typestring
optionswoman, man
{
"age": 25,
"body_type": "average",
"count": 10,
"ethnicity": "white",
"eye_color": "brown",
"hair_color": "platinum blonde",
"hair_style": "long straight",
"height": "tall",
"type": "woman"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_KzJ**********************************
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 maikocode/create-dataset-ai-influencer using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
age: 25,
body_type: "average",
count: 10,
ethnicity: "white",
eye_color: "brown",
hair_color: "platinum blonde",
hair_style: "long straight",
height: "tall",
type: "woman"
};
const output = await replicate.run("maikocode/create-dataset-ai-influencer", { input });
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", 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=r8_KzJ**********************************
This is your API token. Keep it to yourself.
import replicate
Run maikocode/create-dataset-ai-influencer using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"maikocode/create-dataset-ai-influencer",
input={
"age": 25,
"body_type": "average",
"count": 10,
"ethnicity": "white",
"eye_color": "brown",
"hair_color": "platinum blonde",
"hair_style": "long straight",
"height": "tall",
"type": "woman"
}
)
# To access the file URL:
print(output.url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output.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_KzJ**********************************
This is your API token. Keep it to yourself.
Run maikocode/create-dataset-ai-influencer 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 $'{
"input": {
"age": 25,
"body_type": "average",
"count": 10,
"ethnicity": "white",
"eye_color": "brown",
"hair_color": "platinum blonde",
"hair_style": "long straight",
"height": "tall",
"type": "woman"
}
}' \
https://api.replicate.com/v1/models/maikocode/create-dataset-ai-influencer/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "jb2fc6r0p5rma0crk389n828yw",
"model": "maikocode/create-dataset-ai-influencer",
"version": "hidden",
"input": {
"age": 25,
"body_type": "average",
"count": 10,
"ethnicity": "white",
"eye_color": "brown",
"hair_color": "platinum blonde",
"hair_style": "long straight",
"height": "tall",
"type": "woman"
},
"logs": "",
"output": "https://replicate.delivery/xezq/0Cph87P2KVqMLRtPPVoLuYujkeCae67ZGynQfdlS9p6jJwTqA/dataset.zip",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-11T11:07:05.265Z",
"started_at": "2025-08-11T11:07:05.602143Z",
"completed_at": "2025-08-11T11:08:33.989705Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/jb2fc6r0p5rma0crk389n828yw/cancel",
"children": "https://api.replicate.com/v1/predictions/jb2fc6r0p5rma0crk389n828yw/children",
"get": "https://api.replicate.com/v1/predictions/jb2fc6r0p5rma0crk389n828yw",
"root": "https://api.replicate.com/v1/predictions/jb2fc6r0p5rma0crk389n828yw",
"stream": "https://stream.replicate.com/v1/files/bcwr-gmtxauwnbzx6sf3la6nhq2dkdwrzew7hklugpuyjxhfzsxvkykbq",
"web": "https://replicate.com/p/jb2fc6r0p5rma0crk389n828yw"
},
"metrics": {
"predict_time": 88.387562087,
"total_time": 88.724705
}
}