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.
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";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run aisha-ai-official/flux.1schnell-uncensored-rasch3 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"aisha-ai-official/flux.1schnell-uncensored-rasch3:7223ac95cada3c30951ad83ab63d09794c3f038ca69d5a644087510c07440e29",
{
input: {
seed: -1,
steps: 10,
width: 768,
height: 768,
prompt: "Portrait of a woman with dark-purple short hair and purple eyes. She is on a street, wearing casual clothes. She is holding a big sign that says \"Flux Uncensored π\" when she winks and smile to the viewer",
cfg_scale: 5,
scheduler: "Euler flux beta"
}
}
);
// 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=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run aisha-ai-official/flux.1schnell-uncensored-rasch3 using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"aisha-ai-official/flux.1schnell-uncensored-rasch3:7223ac95cada3c30951ad83ab63d09794c3f038ca69d5a644087510c07440e29",
input={
"seed": -1,
"steps": 10,
"width": 768,
"height": 768,
"prompt": "Portrait of a woman with dark-purple short hair and purple eyes. She is on a street, wearing casual clothes. She is holding a big sign that says \"Flux Uncensored π\" when she winks and smile to the viewer",
"cfg_scale": 5,
"scheduler": "Euler flux beta"
}
)
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 aisha-ai-official/flux.1schnell-uncensored-rasch3 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": "aisha-ai-official/flux.1schnell-uncensored-rasch3:7223ac95cada3c30951ad83ab63d09794c3f038ca69d5a644087510c07440e29",
"input": {
"seed": -1,
"steps": 10,
"width": 768,
"height": 768,
"prompt": "Portrait of a woman with dark-purple short hair and purple eyes. She is on a street, wearing casual clothes. She is holding a big sign that says \\"Flux Uncensored π\\" when she winks and smile to the viewer",
"cfg_scale": 5,
"scheduler": "Euler flux beta"
}
}' \
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": "2025-03-22T00:22:59.377256Z",
"created_at": "2025-03-22T00:22:56.195000Z",
"data_removed": false,
"error": null,
"id": "34tym11vrdrme0cnqcxr000xcg",
"input": {
"seed": -1,
"steps": 10,
"width": 768,
"height": 768,
"prompt": "Portrait of a woman with dark-purple short hair and purple eyes. She is on a street, wearing casual clothes. She is holding a big sign that says \"Flux Uncensored π\" when she winks and smile to the viewer",
"cfg_scale": 5,
"scheduler": "Euler flux beta"
},
"logs": "Using seed: 608024405\n 0%| | 0/10 [00:00<?, ?it/s]\n 10%|β | 1/10 [00:00<00:02, 3.41it/s]\n 20%|ββ | 2/10 [00:00<00:01, 4.23it/s]\n 30%|βββ | 3/10 [00:00<00:01, 3.80it/s]\n 40%|ββββ | 4/10 [00:01<00:01, 3.63it/s]\n 50%|βββββ | 5/10 [00:01<00:01, 3.55it/s]\n 60%|ββββββ | 6/10 [00:01<00:01, 3.50it/s]\n 70%|βββββββ | 7/10 [00:01<00:00, 3.46it/s]\n 80%|ββββββββ | 8/10 [00:02<00:00, 3.45it/s]\n 90%|βββββββββ | 9/10 [00:02<00:00, 3.43it/s]\n100%|ββββββββββ| 10/10 [00:02<00:00, 3.42it/s]\n100%|ββββββββββ| 10/10 [00:02<00:00, 3.52it/s]",
"metrics": {
"predict_time": 3.173118289,
"total_time": 3.182256
},
"output": [
"https://replicate.delivery/xezq/dUjdTWhRPDL0JFwauEkd7yVeitqrmvZh2kfI7yqDE0ojT7aUA/tmp.png"
],
"started_at": "2025-03-22T00:22:56.204138Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-xp6cbc57gr7tn4c4tbjjx6fhmwkquzbe2kawjc5qzul4mo6wi4vq",
"get": "https://api.replicate.com/v1/predictions/34tym11vrdrme0cnqcxr000xcg",
"cancel": "https://api.replicate.com/v1/predictions/34tym11vrdrme0cnqcxr000xcg/cancel"
},
"version": "7223ac95cada3c30951ad83ab63d09794c3f038ca69d5a644087510c07440e29"
}
Using seed: 608024405
0%| | 0/10 [00:00<?, ?it/s]
10%|β | 1/10 [00:00<00:02, 3.41it/s]
20%|ββ | 2/10 [00:00<00:01, 4.23it/s]
30%|βββ | 3/10 [00:00<00:01, 3.80it/s]
40%|ββββ | 4/10 [00:01<00:01, 3.63it/s]
50%|βββββ | 5/10 [00:01<00:01, 3.55it/s]
60%|ββββββ | 6/10 [00:01<00:01, 3.50it/s]
70%|βββββββ | 7/10 [00:01<00:00, 3.46it/s]
80%|ββββββββ | 8/10 [00:02<00:00, 3.45it/s]
90%|βββββββββ | 9/10 [00:02<00:00, 3.43it/s]
100%|ββββββββββ| 10/10 [00:02<00:00, 3.42it/s]
100%|ββββββββββ| 10/10 [00:02<00:00, 3.52it/s]