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.
dhanushreddy291 /manmaru-mix-v3:3b374594
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run dhanushreddy291/manmaru-mix-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"dhanushreddy291/manmaru-mix-v3:3b374594799e69cd7b75ca5e585d7aa03aa8bd4082c42517c6a37db4e0226799",
{
input: {
seed: 0,
steps: 20,
width: 512,
height: 768,
prompt: "masterpiece,best quality,1girl,mountain,jump,smile,dynamic",
guidance: 7,
scheduler: "EulerA",
num_outputs: 1,
negative_prompt: "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, rough sketch,nsfw,"
}
}
);
// 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 dhanushreddy291/manmaru-mix-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"dhanushreddy291/manmaru-mix-v3:3b374594799e69cd7b75ca5e585d7aa03aa8bd4082c42517c6a37db4e0226799",
input={
"seed": 0,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "masterpiece,best quality,1girl,mountain,jump,smile,dynamic",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, rough sketch,nsfw,"
}
)
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 dhanushreddy291/manmaru-mix-v3 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": "dhanushreddy291/manmaru-mix-v3:3b374594799e69cd7b75ca5e585d7aa03aa8bd4082c42517c6a37db4e0226799",
"input": {
"seed": 0,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "masterpiece,best quality,1girl,mountain,jump,smile,dynamic",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, rough sketch,nsfw,"
}
}' \
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": "2024-01-17T15:43:53.270257Z",
"created_at": "2024-01-17T15:43:50.729408Z",
"data_removed": false,
"error": null,
"id": "76fyf6lblh5xvkfbubnrxfpx2m",
"input": {
"seed": 0,
"steps": 20,
"width": 512,
"height": 768,
"prompt": "masterpiece,best quality,1girl,mountain,jump,smile,dynamic",
"guidance": 7,
"scheduler": "EulerA",
"num_outputs": 1,
"negative_prompt": "lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, rough sketch,nsfw,"
},
"logs": "0%| | 0/20 [00:00<?, ?it/s]\n 15%|█▌ | 3/20 [00:00<00:00, 24.36it/s]\n 30%|███ | 6/20 [00:00<00:00, 19.96it/s]\n 45%|████▌ | 9/20 [00:00<00:00, 18.85it/s]\n 55%|█████▌ | 11/20 [00:00<00:00, 18.46it/s]\n 65%|██████▌ | 13/20 [00:00<00:00, 18.19it/s]\n 75%|███████▌ | 15/20 [00:00<00:00, 18.00it/s]\n 85%|████████▌ | 17/20 [00:00<00:00, 17.85it/s]\n 95%|█████████▌| 19/20 [00:01<00:00, 17.74it/s]\n100%|██████████| 20/20 [00:01<00:00, 18.36it/s]",
"metrics": {
"predict_time": 2.505521,
"total_time": 2.540849
},
"output": [
"https://replicate.delivery/pbxt/fvjTLieW2gmzE09aSpKKf70TNwAm1F6VXOE0TxGsueCg7p1IB/out-0.png"
],
"started_at": "2024-01-17T15:43:50.764736Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/76fyf6lblh5xvkfbubnrxfpx2m",
"cancel": "https://api.replicate.com/v1/predictions/76fyf6lblh5xvkfbubnrxfpx2m/cancel"
},
"version": "3b374594799e69cd7b75ca5e585d7aa03aa8bd4082c42517c6a37db4e0226799"
}
0%| | 0/20 [00:00<?, ?it/s]
15%|█▌ | 3/20 [00:00<00:00, 24.36it/s]
30%|███ | 6/20 [00:00<00:00, 19.96it/s]
45%|████▌ | 9/20 [00:00<00:00, 18.85it/s]
55%|█████▌ | 11/20 [00:00<00:00, 18.46it/s]
65%|██████▌ | 13/20 [00:00<00:00, 18.19it/s]
75%|███████▌ | 15/20 [00:00<00:00, 18.00it/s]
85%|████████▌ | 17/20 [00:00<00:00, 17.85it/s]
95%|█████████▌| 19/20 [00:01<00:00, 17.74it/s]
100%|██████████| 20/20 [00:01<00:00, 18.36it/s]