sontungpytn / genshin-ai-image-x
Genshin Impact Image SD
- Public
- 6.1K runs
-
T4
Prediction
sontungpytn/genshin-ai-image-x:2fabd9b0e3d54ece7ecf2a1d0ba21b9f150ad8c2d534d671e21d4741f1ced932IDof2aofbbztvht6czrcl5p2byeyStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- (((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,
- character
- euladef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error
- num_inference_steps
- 24
{ "width": 512, "height": 512, "prompt": "(((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,", "character": "euladef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:2fabd9b0e3d54ece7ecf2a1d0ba21b9f150ad8c2d534d671e21d4741f1ced932", { input: { width: 512, height: 512, prompt: "(((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,", character: "euladef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:2fabd9b0e3d54ece7ecf2a1d0ba21b9f150ad8c2d534d671e21d4741f1ced932", input={ "width": 512, "height": 512, "prompt": "(((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,", "character": "euladef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:2fabd9b0e3d54ece7ecf2a1d0ba21b9f150ad8c2d534d671e21d4741f1ced932", "input": { "width": 512, "height": 512, "prompt": "(((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,", "character": "euladef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-22T12:08:58.894528Z", "created_at": "2023-11-22T12:08:52.170703Z", "data_removed": false, "error": null, "id": "of2aofbbztvht6czrcl5p2byey", "input": { "width": 512, "height": 512, "prompt": "(((masterpiece, best quality, extreme detail))), 1girl, solo, mature female, <lora:genshinfull1:1>, perfect fingers, perfect lighting,", "character": "euladef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "FastNegativeV2, EasyNegative, BadDream, paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }, "logs": "Using seed: 11877243\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:05, 4.19it/s]\n 8%|▊ | 2/24 [00:00<00:04, 4.99it/s]\n 12%|█▎ | 3/24 [00:00<00:03, 5.49it/s]\n 17%|█▋ | 4/24 [00:00<00:03, 5.71it/s]\n 21%|██ | 5/24 [00:00<00:03, 5.84it/s]\n 25%|██▌ | 6/24 [00:01<00:03, 5.92it/s]\n 29%|██▉ | 7/24 [00:01<00:02, 5.88it/s]\n 33%|███▎ | 8/24 [00:01<00:02, 5.91it/s]\n 38%|███▊ | 9/24 [00:01<00:02, 5.95it/s]\n 42%|████▏ | 10/24 [00:01<00:02, 6.00it/s]\n 46%|████▌ | 11/24 [00:01<00:02, 5.99it/s]\n 50%|█████ | 12/24 [00:02<00:02, 5.99it/s]\n 54%|█████▍ | 13/24 [00:02<00:01, 5.97it/s]\n 58%|█████▊ | 14/24 [00:02<00:01, 5.97it/s]\n 62%|██████▎ | 15/24 [00:02<00:01, 5.95it/s]\n 67%|██████▋ | 16/24 [00:02<00:01, 5.96it/s]\n 71%|███████ | 17/24 [00:02<00:01, 5.87it/s]\n 75%|███████▌ | 18/24 [00:03<00:01, 5.92it/s]\n 79%|███████▉ | 19/24 [00:03<00:00, 5.93it/s]\n 83%|████████▎ | 20/24 [00:03<00:00, 5.96it/s]\n 88%|████████▊ | 21/24 [00:03<00:00, 5.94it/s]\n 92%|█████████▏| 22/24 [00:03<00:00, 5.95it/s]\n 96%|█████████▌| 23/24 [00:03<00:00, 5.96it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.98it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.87it/s]", "metrics": { "predict_time": 6.708987, "total_time": 6.723825 }, "output": [ "https://replicate.delivery/pbxt/WYkefSNaHbtGuUQei1DGMC2cCIrVJPKzneyb18XgL5zoVorHB/out-0.png" ], "started_at": "2023-11-22T12:08:52.185541Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/of2aofbbztvht6czrcl5p2byey", "cancel": "https://api.replicate.com/v1/predictions/of2aofbbztvht6czrcl5p2byey/cancel" }, "version": "2fabd9b0e3d54ece7ecf2a1d0ba21b9f150ad8c2d534d671e21d4741f1ced932" }
Generated inUsing seed: 11877243 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:05, 4.19it/s] 8%|▊ | 2/24 [00:00<00:04, 4.99it/s] 12%|█▎ | 3/24 [00:00<00:03, 5.49it/s] 17%|█▋ | 4/24 [00:00<00:03, 5.71it/s] 21%|██ | 5/24 [00:00<00:03, 5.84it/s] 25%|██▌ | 6/24 [00:01<00:03, 5.92it/s] 29%|██▉ | 7/24 [00:01<00:02, 5.88it/s] 33%|███▎ | 8/24 [00:01<00:02, 5.91it/s] 38%|███▊ | 9/24 [00:01<00:02, 5.95it/s] 42%|████▏ | 10/24 [00:01<00:02, 6.00it/s] 46%|████▌ | 11/24 [00:01<00:02, 5.99it/s] 50%|█████ | 12/24 [00:02<00:02, 5.99it/s] 54%|█████▍ | 13/24 [00:02<00:01, 5.97it/s] 58%|█████▊ | 14/24 [00:02<00:01, 5.97it/s] 62%|██████▎ | 15/24 [00:02<00:01, 5.95it/s] 67%|██████▋ | 16/24 [00:02<00:01, 5.96it/s] 71%|███████ | 17/24 [00:02<00:01, 5.87it/s] 75%|███████▌ | 18/24 [00:03<00:01, 5.92it/s] 79%|███████▉ | 19/24 [00:03<00:00, 5.93it/s] 83%|████████▎ | 20/24 [00:03<00:00, 5.96it/s] 88%|████████▊ | 21/24 [00:03<00:00, 5.94it/s] 92%|█████████▏| 22/24 [00:03<00:00, 5.95it/s] 96%|█████████▌| 23/24 [00:03<00:00, 5.96it/s] 100%|██████████| 24/24 [00:04<00:00, 5.98it/s] 100%|██████████| 24/24 [00:04<00:00, 5.87it/s]
Prediction
sontungpytn/genshin-ai-image-x:04e34c731d9cdb28fda18d581c30fde4d1ce83cf9b1942c105cf2a19867c282eIDrdafbyzbxi27go3dlihxfsbt5aStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 544
- height
- 960
- prompt
- official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)
- character
- luminedef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)
- num_inference_steps
- 24
{ "width": 544, "height": 960, "prompt": "official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:04e34c731d9cdb28fda18d581c30fde4d1ce83cf9b1942c105cf2a19867c282e", { input: { width: 544, height: 960, prompt: "official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)", character: "luminedef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:04e34c731d9cdb28fda18d581c30fde4d1ce83cf9b1942c105cf2a19867c282e", input={ "width": 544, "height": 960, "prompt": "official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:04e34c731d9cdb28fda18d581c30fde4d1ce83cf9b1942c105cf2a19867c282e", "input": { "width": 544, "height": 960, "prompt": "official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-22T08:27:37.305345Z", "created_at": "2023-11-22T08:27:25.020864Z", "data_removed": false, "error": null, "id": "rdafbyzbxi27go3dlihxfsbt5a", "input": { "width": 544, "height": 960, "prompt": "official art, official wallpaper, surreal, beautifulgoddess, (1woman:1.1), (long wavy hair:1.1), (flower crown:1.1), (mystical creatures:1.1), (floating islands:1.1), (detailed landscape:1.1), (magic in the air:1.1), (stardust:1.1), night sky, (whimsical atmosphere:1.1), (dreamlike world:1.1), (bubbles:1.1), flying books, (luna moths:1.1), (moonlight:1.1), enchanted forest, (wisdom:1.1), (powerful energy:1.1), (guardian angels:1.1), (peaceful:1.1), vibrant colors, (detailed:1.05), (extremely detailed:1.06), sharp focus, (intricate:1.03), cinematic lighting, (extremely intricate:1.04), (epic scenery:1.09), vibrant colors, (beautiful scenery:1.08), (detailed scenery:1.08), (intricate scenery:1.07), (wonderful scenery:1.05),, (sharp focus,absurdres,high quality,masterpiece,highres,best quality:1.5)", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "EasyNegativeV2, (low quality:1.32), (normal quality:1.31), (worst quality:1.33), (bad anatomy), (bad Hands), (mutated limbs:1.2), (mutated hands, mutated fingers:1.2), (deformed hands:1.2), (text:1.5), simple background,, (normal quality:2), (low quality:2), (worst quality:2)", "num_inference_steps": 24 }, "logs": "Using seed: 1627618\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:10, 2.27it/s]\n 8%|▊ | 2/24 [00:00<00:08, 2.53it/s]\n 12%|█▎ | 3/24 [00:01<00:08, 2.62it/s]\n 17%|█▋ | 4/24 [00:01<00:07, 2.65it/s]\n 21%|██ | 5/24 [00:01<00:07, 2.68it/s]\n 25%|██▌ | 6/24 [00:02<00:06, 2.68it/s]\n 29%|██▉ | 7/24 [00:02<00:06, 2.68it/s]\n 33%|███▎ | 8/24 [00:03<00:05, 2.70it/s]\n 38%|███▊ | 9/24 [00:03<00:05, 2.69it/s]\n 42%|████▏ | 10/24 [00:03<00:05, 2.69it/s]\n 46%|████▌ | 11/24 [00:04<00:04, 2.70it/s]\n 50%|█████ | 12/24 [00:04<00:04, 2.69it/s]\n 54%|█████▍ | 13/24 [00:04<00:04, 2.70it/s]\n 58%|█████▊ | 14/24 [00:05<00:03, 2.70it/s]\n 62%|██████▎ | 15/24 [00:05<00:03, 2.68it/s]\n 67%|██████▋ | 16/24 [00:05<00:02, 2.69it/s]\n 71%|███████ | 17/24 [00:06<00:02, 2.69it/s]\n 75%|███████▌ | 18/24 [00:06<00:02, 2.68it/s]\n 79%|███████▉ | 19/24 [00:07<00:01, 2.68it/s]\n 83%|████████▎ | 20/24 [00:07<00:01, 2.68it/s]\n 88%|████████▊ | 21/24 [00:07<00:01, 2.68it/s]\n 92%|█████████▏| 22/24 [00:08<00:00, 2.68it/s]\n 96%|█████████▌| 23/24 [00:08<00:00, 2.68it/s]\n100%|██████████| 24/24 [00:08<00:00, 2.67it/s]\n100%|██████████| 24/24 [00:08<00:00, 2.67it/s]", "metrics": { "predict_time": 12.269283, "total_time": 12.284481 }, "output": [ "https://replicate.delivery/pbxt/zeCfeA9LfkI2jQSt7aLjcTe6qOHklT3GVGt7Pygv7YEHv2WPC/out-0.png" ], "started_at": "2023-11-22T08:27:25.036062Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rdafbyzbxi27go3dlihxfsbt5a", "cancel": "https://api.replicate.com/v1/predictions/rdafbyzbxi27go3dlihxfsbt5a/cancel" }, "version": "04e34c731d9cdb28fda18d581c30fde4d1ce83cf9b1942c105cf2a19867c282e" }
Generated inUsing seed: 1627618 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:10, 2.27it/s] 8%|▊ | 2/24 [00:00<00:08, 2.53it/s] 12%|█▎ | 3/24 [00:01<00:08, 2.62it/s] 17%|█▋ | 4/24 [00:01<00:07, 2.65it/s] 21%|██ | 5/24 [00:01<00:07, 2.68it/s] 25%|██▌ | 6/24 [00:02<00:06, 2.68it/s] 29%|██▉ | 7/24 [00:02<00:06, 2.68it/s] 33%|███▎ | 8/24 [00:03<00:05, 2.70it/s] 38%|███▊ | 9/24 [00:03<00:05, 2.69it/s] 42%|████▏ | 10/24 [00:03<00:05, 2.69it/s] 46%|████▌ | 11/24 [00:04<00:04, 2.70it/s] 50%|█████ | 12/24 [00:04<00:04, 2.69it/s] 54%|█████▍ | 13/24 [00:04<00:04, 2.70it/s] 58%|█████▊ | 14/24 [00:05<00:03, 2.70it/s] 62%|██████▎ | 15/24 [00:05<00:03, 2.68it/s] 67%|██████▋ | 16/24 [00:05<00:02, 2.69it/s] 71%|███████ | 17/24 [00:06<00:02, 2.69it/s] 75%|███████▌ | 18/24 [00:06<00:02, 2.68it/s] 79%|███████▉ | 19/24 [00:07<00:01, 2.68it/s] 83%|████████▎ | 20/24 [00:07<00:01, 2.68it/s] 88%|████████▊ | 21/24 [00:07<00:01, 2.68it/s] 92%|█████████▏| 22/24 [00:08<00:00, 2.68it/s] 96%|█████████▌| 23/24 [00:08<00:00, 2.68it/s] 100%|██████████| 24/24 [00:08<00:00, 2.67it/s] 100%|██████████| 24/24 [00:08<00:00, 2.67it/s]
Prediction
sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336IDfz6dkxbbt5pjdadjg75kuownueStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 544
- height
- 960
- prompt
- 1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around
- character
- jeanfavonian
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword
- num_inference_steps
- 24
{ "width": 544, "height": 960, "prompt": "1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around", "character": "jeanfavonian", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", { input: { width: 544, height: 960, prompt: "1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around", character: "jeanfavonian", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", input={ "width": 544, "height": 960, "prompt": "1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around", "character": "jeanfavonian", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", "input": { "width": 544, "height": 960, "prompt": "1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around", "character": "jeanfavonian", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-20T06:04:07.796033Z", "created_at": "2023-11-20T06:03:56.992703Z", "data_removed": false, "error": null, "id": "fz6dkxbbt5pjdadjg75kuownue", "input": { "width": 544, "height": 960, "prompt": "1girl, solo, mobile wallpaper, blood, holding sword, battle field, black sword, evil smile, blood and fire around", "character": "jeanfavonian", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error, bad sword", "num_inference_steps": 24 }, "logs": "Using seed: 2425037\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:10, 2.18it/s]\n 8%|▊ | 2/24 [00:00<00:09, 2.42it/s]\n 12%|█▎ | 3/24 [00:01<00:08, 2.50it/s]\n 17%|█▋ | 4/24 [00:01<00:07, 2.54it/s]\n 21%|██ | 5/24 [00:01<00:07, 2.56it/s]\n 25%|██▌ | 6/24 [00:02<00:06, 2.58it/s]\n 29%|██▉ | 7/24 [00:02<00:06, 2.58it/s]\n 33%|███▎ | 8/24 [00:03<00:06, 2.59it/s]\n 38%|███▊ | 9/24 [00:03<00:05, 2.59it/s]\n 42%|████▏ | 10/24 [00:03<00:05, 2.59it/s]\n 46%|████▌ | 11/24 [00:04<00:05, 2.59it/s]\n 50%|█████ | 12/24 [00:04<00:04, 2.59it/s]\n 54%|█████▍ | 13/24 [00:05<00:04, 2.59it/s]\n 58%|█████▊ | 14/24 [00:05<00:03, 2.59it/s]\n 62%|██████▎ | 15/24 [00:05<00:03, 2.59it/s]\n 67%|██████▋ | 16/24 [00:06<00:03, 2.60it/s]\n 71%|███████ | 17/24 [00:06<00:02, 2.60it/s]\n 75%|███████▌ | 18/24 [00:06<00:02, 2.60it/s]\n 79%|███████▉ | 19/24 [00:07<00:01, 2.59it/s]\n 83%|████████▎ | 20/24 [00:07<00:01, 2.60it/s]\n 88%|████████▊ | 21/24 [00:08<00:01, 2.59it/s]\n 92%|█████████▏| 22/24 [00:08<00:00, 2.58it/s]\n 96%|█████████▌| 23/24 [00:08<00:00, 2.59it/s]\n100%|██████████| 24/24 [00:09<00:00, 2.58it/s]\n100%|██████████| 24/24 [00:09<00:00, 2.57it/s]", "metrics": { "predict_time": 10.790775, "total_time": 10.80333 }, "output": [ "https://replicate.delivery/pbxt/z8uSEmAaX9LkEJgr02jnvQZeaukfyEVLMjoxxRzm4DSXjK6RA/out-0.png" ], "started_at": "2023-11-20T06:03:57.005258Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fz6dkxbbt5pjdadjg75kuownue", "cancel": "https://api.replicate.com/v1/predictions/fz6dkxbbt5pjdadjg75kuownue/cancel" }, "version": "e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336" }
Generated inUsing seed: 2425037 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:10, 2.18it/s] 8%|▊ | 2/24 [00:00<00:09, 2.42it/s] 12%|█▎ | 3/24 [00:01<00:08, 2.50it/s] 17%|█▋ | 4/24 [00:01<00:07, 2.54it/s] 21%|██ | 5/24 [00:01<00:07, 2.56it/s] 25%|██▌ | 6/24 [00:02<00:06, 2.58it/s] 29%|██▉ | 7/24 [00:02<00:06, 2.58it/s] 33%|███▎ | 8/24 [00:03<00:06, 2.59it/s] 38%|███▊ | 9/24 [00:03<00:05, 2.59it/s] 42%|████▏ | 10/24 [00:03<00:05, 2.59it/s] 46%|████▌ | 11/24 [00:04<00:05, 2.59it/s] 50%|█████ | 12/24 [00:04<00:04, 2.59it/s] 54%|█████▍ | 13/24 [00:05<00:04, 2.59it/s] 58%|█████▊ | 14/24 [00:05<00:03, 2.59it/s] 62%|██████▎ | 15/24 [00:05<00:03, 2.59it/s] 67%|██████▋ | 16/24 [00:06<00:03, 2.60it/s] 71%|███████ | 17/24 [00:06<00:02, 2.60it/s] 75%|███████▌ | 18/24 [00:06<00:02, 2.60it/s] 79%|███████▉ | 19/24 [00:07<00:01, 2.59it/s] 83%|████████▎ | 20/24 [00:07<00:01, 2.60it/s] 88%|████████▊ | 21/24 [00:08<00:01, 2.59it/s] 92%|█████████▏| 22/24 [00:08<00:00, 2.58it/s] 96%|█████████▌| 23/24 [00:08<00:00, 2.59it/s] 100%|██████████| 24/24 [00:09<00:00, 2.58it/s] 100%|██████████| 24/24 [00:09<00:00, 2.57it/s]
Prediction
sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84IDfqksrsbbhhkziydz3xcgicgleaStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- 1girl, solo, umbrella, moonlight, city, butterfly, detail background
- character
- raidenshogundef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, fingers, (worst quality:2), (low quality:2)
- num_inference_steps
- 24
{ "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", { input: { width: 512, height: 512, prompt: "1girl, solo, umbrella, moonlight, city, butterfly, detail background", character: "raidenshogundef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, fingers, (worst quality:2), (low quality:2)", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", input={ "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-16T19:02:05.514389Z", "created_at": "2023-11-16T18:59:16.706416Z", "data_removed": false, "error": null, "id": "fqksrsbbhhkziydz3xcgicglea", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }, "logs": "Using seed: 216732\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:21, 1.07it/s]\n 8%|▊ | 2/24 [00:01<00:10, 2.06it/s]\n 12%|█▎ | 3/24 [00:01<00:07, 2.96it/s]\n 17%|█▋ | 4/24 [00:01<00:05, 3.73it/s]\n 21%|██ | 5/24 [00:01<00:04, 4.35it/s]\n 25%|██▌ | 6/24 [00:01<00:03, 4.83it/s]\n 29%|██▉ | 7/24 [00:01<00:03, 5.17it/s]\n 33%|███▎ | 8/24 [00:02<00:02, 5.42it/s]\n 38%|███▊ | 9/24 [00:02<00:02, 5.64it/s]\n 42%|████▏ | 10/24 [00:02<00:02, 5.80it/s]\n 46%|████▌ | 11/24 [00:02<00:02, 5.92it/s]\n 50%|█████ | 12/24 [00:02<00:01, 6.00it/s]\n 54%|█████▍ | 13/24 [00:02<00:01, 6.03it/s]\n 58%|█████▊ | 14/24 [00:03<00:01, 6.04it/s]\n 62%|██████▎ | 15/24 [00:03<00:01, 6.05it/s]\n 67%|██████▋ | 16/24 [00:03<00:01, 6.04it/s]\n 71%|███████ | 17/24 [00:03<00:01, 6.05it/s]\n 75%|███████▌ | 18/24 [00:03<00:00, 6.07it/s]\n 79%|███████▉ | 19/24 [00:03<00:00, 6.10it/s]\n 83%|████████▎ | 20/24 [00:04<00:00, 6.06it/s]\n 88%|████████▊ | 21/24 [00:04<00:00, 6.07it/s]\n 92%|█████████▏| 22/24 [00:04<00:00, 6.08it/s]\n 96%|█████████▌| 23/24 [00:04<00:00, 6.10it/s]\n100%|██████████| 24/24 [00:04<00:00, 6.11it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.11it/s]", "metrics": { "predict_time": 6.850389, "total_time": 168.807973 }, "output": [ "https://replicate.delivery/pbxt/fkciOob0IpxiKSDzItcxiGceShp9vsje43WXJVGbl4KZJDyjA/out-0.png" ], "started_at": "2023-11-16T19:01:58.664000Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fqksrsbbhhkziydz3xcgicglea", "cancel": "https://api.replicate.com/v1/predictions/fqksrsbbhhkziydz3xcgicglea/cancel" }, "version": "bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84" }
Generated inUsing seed: 216732 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:21, 1.07it/s] 8%|▊ | 2/24 [00:01<00:10, 2.06it/s] 12%|█▎ | 3/24 [00:01<00:07, 2.96it/s] 17%|█▋ | 4/24 [00:01<00:05, 3.73it/s] 21%|██ | 5/24 [00:01<00:04, 4.35it/s] 25%|██▌ | 6/24 [00:01<00:03, 4.83it/s] 29%|██▉ | 7/24 [00:01<00:03, 5.17it/s] 33%|███▎ | 8/24 [00:02<00:02, 5.42it/s] 38%|███▊ | 9/24 [00:02<00:02, 5.64it/s] 42%|████▏ | 10/24 [00:02<00:02, 5.80it/s] 46%|████▌ | 11/24 [00:02<00:02, 5.92it/s] 50%|█████ | 12/24 [00:02<00:01, 6.00it/s] 54%|█████▍ | 13/24 [00:02<00:01, 6.03it/s] 58%|█████▊ | 14/24 [00:03<00:01, 6.04it/s] 62%|██████▎ | 15/24 [00:03<00:01, 6.05it/s] 67%|██████▋ | 16/24 [00:03<00:01, 6.04it/s] 71%|███████ | 17/24 [00:03<00:01, 6.05it/s] 75%|███████▌ | 18/24 [00:03<00:00, 6.07it/s] 79%|███████▉ | 19/24 [00:03<00:00, 6.10it/s] 83%|████████▎ | 20/24 [00:04<00:00, 6.06it/s] 88%|████████▊ | 21/24 [00:04<00:00, 6.07it/s] 92%|█████████▏| 22/24 [00:04<00:00, 6.08it/s] 96%|█████████▌| 23/24 [00:04<00:00, 6.10it/s] 100%|██████████| 24/24 [00:04<00:00, 6.11it/s] 100%|██████████| 24/24 [00:04<00:00, 5.11it/s]
Prediction
sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84ID76bo2trbbuxjurxeqofpjjt6i4StatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- 1girl, solo, umbrella, moonlight, city, butterfly, detail background
- character
- raidenshogundef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, fingers, (worst quality:2), (low quality:2)
- num_inference_steps
- 24
{ "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", { input: { width: 512, height: 512, prompt: "1girl, solo, umbrella, moonlight, city, butterfly, detail background", character: "raidenshogundef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, fingers, (worst quality:2), (low quality:2)", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", input={ "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-16T19:08:43.718000Z", "created_at": "2023-11-16T19:08:38.051086Z", "data_removed": false, "error": null, "id": "76bo2trbbuxjurxeqofpjjt6i4", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, umbrella, moonlight, city, butterfly, detail background", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }, "logs": "Using seed: 14262892\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:05, 3.92it/s]\n 8%|▊ | 2/24 [00:00<00:04, 4.80it/s]\n 12%|█▎ | 3/24 [00:00<00:04, 5.17it/s]\n 17%|█▋ | 4/24 [00:00<00:03, 5.36it/s]\n 21%|██ | 5/24 [00:00<00:03, 5.47it/s]\n 25%|██▌ | 6/24 [00:01<00:03, 5.55it/s]\n 29%|██▉ | 7/24 [00:01<00:03, 5.53it/s]\n 33%|███▎ | 8/24 [00:01<00:02, 5.56it/s]\n 38%|███▊ | 9/24 [00:01<00:02, 5.60it/s]\n 42%|████▏ | 10/24 [00:01<00:02, 5.61it/s]\n 46%|████▌ | 11/24 [00:02<00:02, 5.64it/s]\n 50%|█████ | 12/24 [00:02<00:02, 5.64it/s]\n 54%|█████▍ | 13/24 [00:02<00:01, 5.63it/s]\n 58%|█████▊ | 14/24 [00:02<00:01, 5.62it/s]\n 62%|██████▎ | 15/24 [00:02<00:01, 5.63it/s]\n 67%|██████▋ | 16/24 [00:02<00:01, 5.62it/s]\n 71%|███████ | 17/24 [00:03<00:01, 5.62it/s]\n 75%|███████▌ | 18/24 [00:03<00:01, 5.62it/s]\n 79%|███████▉ | 19/24 [00:03<00:00, 5.60it/s]\n 83%|████████▎ | 20/24 [00:03<00:00, 5.61it/s]\n 88%|████████▊ | 21/24 [00:03<00:00, 5.62it/s]\n 92%|█████████▏| 22/24 [00:03<00:00, 5.62it/s]\n 96%|█████████▌| 23/24 [00:04<00:00, 5.62it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.60it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.53it/s]", "metrics": { "predict_time": 5.649061, "total_time": 5.666914 }, "output": [ "https://replicate.delivery/pbxt/04QMaI6rejU1YSBYp1YqSFwfZWtflMZBeIz4AyMKyThrrGkHB/out-0.png" ], "started_at": "2023-11-16T19:08:38.068939Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/76bo2trbbuxjurxeqofpjjt6i4", "cancel": "https://api.replicate.com/v1/predictions/76bo2trbbuxjurxeqofpjjt6i4/cancel" }, "version": "bb775fc8060914b8baade7123a7ff41e9df8904aa129cf4517bd1bd5d8fa3b84" }
Generated inUsing seed: 14262892 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:05, 3.92it/s] 8%|▊ | 2/24 [00:00<00:04, 4.80it/s] 12%|█▎ | 3/24 [00:00<00:04, 5.17it/s] 17%|█▋ | 4/24 [00:00<00:03, 5.36it/s] 21%|██ | 5/24 [00:00<00:03, 5.47it/s] 25%|██▌ | 6/24 [00:01<00:03, 5.55it/s] 29%|██▉ | 7/24 [00:01<00:03, 5.53it/s] 33%|███▎ | 8/24 [00:01<00:02, 5.56it/s] 38%|███▊ | 9/24 [00:01<00:02, 5.60it/s] 42%|████▏ | 10/24 [00:01<00:02, 5.61it/s] 46%|████▌ | 11/24 [00:02<00:02, 5.64it/s] 50%|█████ | 12/24 [00:02<00:02, 5.64it/s] 54%|█████▍ | 13/24 [00:02<00:01, 5.63it/s] 58%|█████▊ | 14/24 [00:02<00:01, 5.62it/s] 62%|██████▎ | 15/24 [00:02<00:01, 5.63it/s] 67%|██████▋ | 16/24 [00:02<00:01, 5.62it/s] 71%|███████ | 17/24 [00:03<00:01, 5.62it/s] 75%|███████▌ | 18/24 [00:03<00:01, 5.62it/s] 79%|███████▉ | 19/24 [00:03<00:00, 5.60it/s] 83%|████████▎ | 20/24 [00:03<00:00, 5.61it/s] 88%|████████▊ | 21/24 [00:03<00:00, 5.62it/s] 92%|█████████▏| 22/24 [00:03<00:00, 5.62it/s] 96%|█████████▌| 23/24 [00:04<00:00, 5.62it/s] 100%|██████████| 24/24 [00:04<00:00, 5.60it/s] 100%|██████████| 24/24 [00:04<00:00, 5.53it/s]
Prediction
sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336IDxd4kmlzbsmdvzxqitcgyoixhkuStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- 1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background
- character
- xinyandef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, fingers, (worst quality:2), (low quality:2)
- num_inference_steps
- 24
{ "width": 512, "height": 512, "prompt": "1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background", "character": "xinyandef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", { input: { width: 512, height: 512, prompt: "1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background", character: "xinyandef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, fingers, (worst quality:2), (low quality:2)", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", input={ "width": 512, "height": 512, "prompt": "1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background", "character": "xinyandef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background", "character": "xinyandef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-17T02:09:52.324737Z", "created_at": "2023-11-17T02:07:25.791340Z", "data_removed": false, "error": null, "id": "xd4kmlzbsmdvzxqitcgyoixhku", "input": { "width": 512, "height": 512, "prompt": "1girl, solo, big breasts, umbrella, moonlight, city, butterfly, detail background", "character": "xinyandef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2)", "num_inference_steps": 24 }, "logs": "Using seed: 11859233\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:18, 1.22it/s]\n 8%|▊ | 2/24 [00:00<00:09, 2.27it/s]\n 12%|█▎ | 3/24 [00:01<00:06, 3.18it/s]\n 17%|█▋ | 4/24 [00:01<00:05, 3.92it/s]\n 21%|██ | 5/24 [00:01<00:04, 4.49it/s]\n 25%|██▌ | 6/24 [00:01<00:03, 4.95it/s]\n 29%|██▉ | 7/24 [00:01<00:03, 5.25it/s]\n 33%|███▎ | 8/24 [00:01<00:02, 5.47it/s]\n 38%|███▊ | 9/24 [00:02<00:02, 5.65it/s]\n 42%|████▏ | 10/24 [00:02<00:02, 5.79it/s]\n 46%|████▌ | 11/24 [00:02<00:02, 5.86it/s]\n 50%|█████ | 12/24 [00:02<00:02, 5.92it/s]\n 54%|█████▍ | 13/24 [00:02<00:01, 5.94it/s]\n 58%|█████▊ | 14/24 [00:02<00:01, 5.99it/s]\n 62%|██████▎ | 15/24 [00:03<00:01, 6.02it/s]\n 67%|██████▋ | 16/24 [00:03<00:01, 6.06it/s]\n 71%|███████ | 17/24 [00:03<00:01, 6.06it/s]\n 75%|███████▌ | 18/24 [00:03<00:00, 6.04it/s]\n 79%|███████▉ | 19/24 [00:03<00:00, 6.03it/s]\n 83%|████████▎ | 20/24 [00:03<00:00, 6.04it/s]\n 88%|████████▊ | 21/24 [00:04<00:00, 6.05it/s]\n 92%|█████████▏| 22/24 [00:04<00:00, 6.09it/s]\n 96%|█████████▌| 23/24 [00:04<00:00, 6.08it/s]\n100%|██████████| 24/24 [00:04<00:00, 6.07it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.19it/s]", "metrics": { "predict_time": 6.620257, "total_time": 146.533397 }, "output": [ "https://replicate.delivery/pbxt/PNO9WneGCWRhMayGp5C0ZgH49hQwtVnR4KaDGdhtYM336j8IA/out-0.png" ], "started_at": "2023-11-17T02:09:45.704480Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xd4kmlzbsmdvzxqitcgyoixhku", "cancel": "https://api.replicate.com/v1/predictions/xd4kmlzbsmdvzxqitcgyoixhku/cancel" }, "version": "e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336" }
Generated inUsing seed: 11859233 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:18, 1.22it/s] 8%|▊ | 2/24 [00:00<00:09, 2.27it/s] 12%|█▎ | 3/24 [00:01<00:06, 3.18it/s] 17%|█▋ | 4/24 [00:01<00:05, 3.92it/s] 21%|██ | 5/24 [00:01<00:04, 4.49it/s] 25%|██▌ | 6/24 [00:01<00:03, 4.95it/s] 29%|██▉ | 7/24 [00:01<00:03, 5.25it/s] 33%|███▎ | 8/24 [00:01<00:02, 5.47it/s] 38%|███▊ | 9/24 [00:02<00:02, 5.65it/s] 42%|████▏ | 10/24 [00:02<00:02, 5.79it/s] 46%|████▌ | 11/24 [00:02<00:02, 5.86it/s] 50%|█████ | 12/24 [00:02<00:02, 5.92it/s] 54%|█████▍ | 13/24 [00:02<00:01, 5.94it/s] 58%|█████▊ | 14/24 [00:02<00:01, 5.99it/s] 62%|██████▎ | 15/24 [00:03<00:01, 6.02it/s] 67%|██████▋ | 16/24 [00:03<00:01, 6.06it/s] 71%|███████ | 17/24 [00:03<00:01, 6.06it/s] 75%|███████▌ | 18/24 [00:03<00:00, 6.04it/s] 79%|███████▉ | 19/24 [00:03<00:00, 6.03it/s] 83%|████████▎ | 20/24 [00:03<00:00, 6.04it/s] 88%|████████▊ | 21/24 [00:04<00:00, 6.05it/s] 92%|█████████▏| 22/24 [00:04<00:00, 6.09it/s] 96%|█████████▌| 23/24 [00:04<00:00, 6.08it/s] 100%|██████████| 24/24 [00:04<00:00, 6.07it/s] 100%|██████████| 24/24 [00:04<00:00, 5.19it/s]
Prediction
sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336IDotmiz6zbfm5tegkvyaqltysiauStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- 3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef
- character
- luminedef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl
- num_inference_steps
- 24
{ "width": 512, "height": 512, "prompt": "3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", { input: { width: 512, height: 512, prompt: "3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef", character: "luminedef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", input={ "width": 512, "height": 512, "prompt": "3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", "input": { "width": 512, "height": 512, "prompt": "3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-17T03:31:53.054225Z", "created_at": "2023-11-17T03:27:49.403301Z", "data_removed": false, "error": null, "id": "otmiz6zbfm5tegkvyaqltysiau", "input": { "width": 512, "height": 512, "prompt": "3girls, huggings, city, butterfly, detail background, shenhedef, dionadef, luminedef", "character": "luminedef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, fingers, (worst quality:2), (low quality:2), 2girls, 1 girl", "num_inference_steps": 24 }, "logs": "Using seed: 13413919\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:20, 1.13it/s]\n 8%|▊ | 2/24 [00:01<00:10, 2.17it/s]\n 12%|█▎ | 3/24 [00:01<00:06, 3.07it/s]\n 17%|█▋ | 4/24 [00:01<00:05, 3.81it/s]\n 21%|██ | 5/24 [00:01<00:04, 4.39it/s]\n 25%|██▌ | 6/24 [00:01<00:03, 4.84it/s]\n 29%|██▉ | 7/24 [00:01<00:03, 5.15it/s]\n 33%|███▎ | 8/24 [00:02<00:02, 5.41it/s]\n 38%|███▊ | 9/24 [00:02<00:02, 5.58it/s]\n 42%|████▏ | 10/24 [00:02<00:02, 5.73it/s]\n 46%|████▌ | 11/24 [00:02<00:02, 5.85it/s]\n 50%|█████ | 12/24 [00:02<00:02, 5.89it/s]\n 54%|█████▍ | 13/24 [00:02<00:01, 5.92it/s]\n 58%|█████▊ | 14/24 [00:03<00:01, 5.94it/s]\n 62%|██████▎ | 15/24 [00:03<00:01, 5.95it/s]\n 67%|██████▋ | 16/24 [00:03<00:01, 5.96it/s]\n 71%|███████ | 17/24 [00:03<00:01, 5.98it/s]\n 75%|███████▌ | 18/24 [00:03<00:00, 6.00it/s]\n 79%|███████▉ | 19/24 [00:03<00:00, 6.02it/s]\n 83%|████████▎ | 20/24 [00:04<00:00, 6.01it/s]\n 88%|████████▊ | 21/24 [00:04<00:00, 5.99it/s]\n 92%|█████████▏| 22/24 [00:04<00:00, 5.99it/s]\n 96%|█████████▌| 23/24 [00:04<00:00, 6.00it/s]\n100%|██████████| 24/24 [00:04<00:00, 6.01it/s]\n100%|██████████| 24/24 [00:04<00:00, 5.10it/s]", "metrics": { "predict_time": 6.709, "total_time": 243.650924 }, "output": [ "https://replicate.delivery/pbxt/CZS5xjehdDRFIKP0OwyCRKvvuQSFLqMHdePWW4RCmJhoCJ5RA/out-0.png" ], "started_at": "2023-11-17T03:31:46.345225Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/otmiz6zbfm5tegkvyaqltysiau", "cancel": "https://api.replicate.com/v1/predictions/otmiz6zbfm5tegkvyaqltysiau/cancel" }, "version": "e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336" }
Generated inUsing seed: 13413919 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:20, 1.13it/s] 8%|▊ | 2/24 [00:01<00:10, 2.17it/s] 12%|█▎ | 3/24 [00:01<00:06, 3.07it/s] 17%|█▋ | 4/24 [00:01<00:05, 3.81it/s] 21%|██ | 5/24 [00:01<00:04, 4.39it/s] 25%|██▌ | 6/24 [00:01<00:03, 4.84it/s] 29%|██▉ | 7/24 [00:01<00:03, 5.15it/s] 33%|███▎ | 8/24 [00:02<00:02, 5.41it/s] 38%|███▊ | 9/24 [00:02<00:02, 5.58it/s] 42%|████▏ | 10/24 [00:02<00:02, 5.73it/s] 46%|████▌ | 11/24 [00:02<00:02, 5.85it/s] 50%|█████ | 12/24 [00:02<00:02, 5.89it/s] 54%|█████▍ | 13/24 [00:02<00:01, 5.92it/s] 58%|█████▊ | 14/24 [00:03<00:01, 5.94it/s] 62%|██████▎ | 15/24 [00:03<00:01, 5.95it/s] 67%|██████▋ | 16/24 [00:03<00:01, 5.96it/s] 71%|███████ | 17/24 [00:03<00:01, 5.98it/s] 75%|███████▌ | 18/24 [00:03<00:00, 6.00it/s] 79%|███████▉ | 19/24 [00:03<00:00, 6.02it/s] 83%|████████▎ | 20/24 [00:04<00:00, 6.01it/s] 88%|████████▊ | 21/24 [00:04<00:00, 5.99it/s] 92%|█████████▏| 22/24 [00:04<00:00, 5.99it/s] 96%|█████████▌| 23/24 [00:04<00:00, 6.00it/s] 100%|██████████| 24/24 [00:04<00:00, 6.01it/s] 100%|██████████| 24/24 [00:04<00:00, 5.10it/s]
Prediction
sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336IDplepl3jbz2g5x7mmvhrzvufqiiStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 512
- height
- 1024
- prompt
- 1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile
- character
- hutaodef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error
- num_inference_steps
- 24
{ "width": 512, "height": 1024, "prompt": "1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile", "character": "hutaodef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", { input: { width: 512, height: 1024, prompt: "1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile", character: "hutaodef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", input={ "width": 512, "height": 1024, "prompt": "1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile", "character": "hutaodef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", "input": { "width": 512, "height": 1024, "prompt": "1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile", "character": "hutaodef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-17T04:13:56.042365Z", "created_at": "2023-11-17T04:13:45.903765Z", "data_removed": false, "error": null, "id": "plepl3jbz2g5x7mmvhrzvufqii", "input": { "width": 512, "height": 1024, "prompt": "1girl, symbol shaped pupils,,portrait,solo, full body,looking at viewer,detailed background,detailed face,trapper,tracker,brown fur lined leather clothing,belt,coat,rugged,trappers hat,scarf,,fantasy frontier cinematic atmosphere,,very detailed faces,smile,long hair,ghost,mid shot,full body,smile", "character": "hutaodef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }, "logs": "Using seed: 16379458\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['fantasy frontier cinematic atmosphere,, very detailed faces, smile, long hair, ghost, mid shot, full body, smile']\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:10, 2.27it/s]\n 8%|▊ | 2/24 [00:00<00:08, 2.60it/s]\n 12%|█▎ | 3/24 [00:01<00:07, 2.72it/s]\n 17%|█▋ | 4/24 [00:01<00:07, 2.76it/s]\n 21%|██ | 5/24 [00:01<00:06, 2.80it/s]\n 25%|██▌ | 6/24 [00:02<00:06, 2.83it/s]\n 29%|██▉ | 7/24 [00:02<00:06, 2.82it/s]\n 33%|███▎ | 8/24 [00:02<00:05, 2.84it/s]\n 38%|███▊ | 9/24 [00:03<00:05, 2.85it/s]\n 42%|████▏ | 10/24 [00:03<00:04, 2.83it/s]\n 46%|████▌ | 11/24 [00:03<00:04, 2.84it/s]\n 50%|█████ | 12/24 [00:04<00:04, 2.84it/s]\n 54%|█████▍ | 13/24 [00:04<00:03, 2.84it/s]\n 58%|█████▊ | 14/24 [00:04<00:03, 2.85it/s]\n 62%|██████▎ | 15/24 [00:05<00:03, 2.85it/s]\n 67%|██████▋ | 16/24 [00:05<00:02, 2.85it/s]\n 71%|███████ | 17/24 [00:06<00:02, 2.85it/s]\n 75%|███████▌ | 18/24 [00:06<00:02, 2.84it/s]\n 79%|███████▉ | 19/24 [00:06<00:01, 2.85it/s]\n 83%|████████▎ | 20/24 [00:07<00:01, 2.84it/s]\n 88%|████████▊ | 21/24 [00:07<00:01, 2.84it/s]\n 92%|█████████▏| 22/24 [00:07<00:00, 2.84it/s]\n 96%|█████████▌| 23/24 [00:08<00:00, 2.83it/s]\n100%|██████████| 24/24 [00:08<00:00, 2.84it/s]\n100%|██████████| 24/24 [00:08<00:00, 2.82it/s]", "metrics": { "predict_time": 10.12294, "total_time": 10.1386 }, "output": [ "https://replicate.delivery/pbxt/017TZ25gSS6UHRFSUEZDPCi6bCsorlSx5baVU0NAlcfB1k8IA/out-0.png" ], "started_at": "2023-11-17T04:13:45.919425Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/plepl3jbz2g5x7mmvhrzvufqii", "cancel": "https://api.replicate.com/v1/predictions/plepl3jbz2g5x7mmvhrzvufqii/cancel" }, "version": "e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336" }
Generated inUsing seed: 16379458 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['fantasy frontier cinematic atmosphere,, very detailed faces, smile, long hair, ghost, mid shot, full body, smile'] 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:10, 2.27it/s] 8%|▊ | 2/24 [00:00<00:08, 2.60it/s] 12%|█▎ | 3/24 [00:01<00:07, 2.72it/s] 17%|█▋ | 4/24 [00:01<00:07, 2.76it/s] 21%|██ | 5/24 [00:01<00:06, 2.80it/s] 25%|██▌ | 6/24 [00:02<00:06, 2.83it/s] 29%|██▉ | 7/24 [00:02<00:06, 2.82it/s] 33%|███▎ | 8/24 [00:02<00:05, 2.84it/s] 38%|███▊ | 9/24 [00:03<00:05, 2.85it/s] 42%|████▏ | 10/24 [00:03<00:04, 2.83it/s] 46%|████▌ | 11/24 [00:03<00:04, 2.84it/s] 50%|█████ | 12/24 [00:04<00:04, 2.84it/s] 54%|█████▍ | 13/24 [00:04<00:03, 2.84it/s] 58%|█████▊ | 14/24 [00:04<00:03, 2.85it/s] 62%|██████▎ | 15/24 [00:05<00:03, 2.85it/s] 67%|██████▋ | 16/24 [00:05<00:02, 2.85it/s] 71%|███████ | 17/24 [00:06<00:02, 2.85it/s] 75%|███████▌ | 18/24 [00:06<00:02, 2.84it/s] 79%|███████▉ | 19/24 [00:06<00:01, 2.85it/s] 83%|████████▎ | 20/24 [00:07<00:01, 2.84it/s] 88%|████████▊ | 21/24 [00:07<00:01, 2.84it/s] 92%|█████████▏| 22/24 [00:07<00:00, 2.84it/s] 96%|█████████▌| 23/24 [00:08<00:00, 2.83it/s] 100%|██████████| 24/24 [00:08<00:00, 2.84it/s] 100%|██████████| 24/24 [00:08<00:00, 2.82it/s]
Prediction
sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336ID4sdcxhjbvgr6axu4rlonaol3lqStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- width
- 1920
- height
- 1080
- prompt
- 1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms
- character
- raidenshogundef
- scheduler
- K_EULER
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error
- num_inference_steps
- 24
{ "width": 1920, "height": 1080, "prompt": "1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", { input: { width: 1920, height: 1080, prompt: "1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms", character: "raidenshogundef", scheduler: "K_EULER", num_outputs: 1, guidance_scale: 7, negative_prompt: "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", num_inference_steps: 24 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run sontungpytn/genshin-ai-image-x using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", input={ "width": 1920, "height": 1080, "prompt": "1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sontungpytn/genshin-ai-image-x 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": "sontungpytn/genshin-ai-image-x:e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336", "input": { "width": 1920, "height": 1080, "prompt": "1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-20T05:41:11.822805Z", "created_at": "2023-11-20T05:36:14.942607Z", "data_removed": false, "error": null, "id": "4sdcxhjbvgr6axu4rlonaol3lq", "input": { "width": 1920, "height": 1080, "prompt": "1girl, solo, wallpaper, moonlight, city, butterfly, detail background, night, cherry blossoms", "character": "raidenshogundef", "scheduler": "K_EULER", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "paintings, sketches, bad hands, fingers, (worst quality:2), (low quality:2), 2girls, bad artist, text, error", "num_inference_steps": 24 }, "logs": "Using seed: 10234531\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:03<01:12, 3.16s/it]\n 8%|▊ | 2/24 [00:06<01:09, 3.16s/it]\n 12%|█▎ | 3/24 [00:09<01:06, 3.18s/it]\n 17%|█▋ | 4/24 [00:12<01:03, 3.18s/it]\n 21%|██ | 5/24 [00:15<01:00, 3.19s/it]\n 25%|██▌ | 6/24 [00:19<00:57, 3.20s/it]\n 29%|██▉ | 7/24 [00:22<00:54, 3.22s/it]\n 33%|███▎ | 8/24 [00:25<00:51, 3.24s/it]\n 38%|███▊ | 9/24 [00:28<00:48, 3.26s/it]\n 42%|████▏ | 10/24 [00:32<00:45, 3.28s/it]\n 46%|████▌ | 11/24 [00:35<00:42, 3.30s/it]\n 50%|█████ | 12/24 [00:38<00:39, 3.31s/it]\n 54%|█████▍ | 13/24 [00:42<00:36, 3.32s/it]\n 58%|█████▊ | 14/24 [00:45<00:33, 3.34s/it]\n 62%|██████▎ | 15/24 [00:49<00:30, 3.36s/it]\n 67%|██████▋ | 16/24 [00:52<00:27, 3.39s/it]\n 71%|███████ | 17/24 [00:56<00:23, 3.42s/it]\n 75%|███████▌ | 18/24 [00:59<00:20, 3.45s/it]\n 79%|███████▉ | 19/24 [01:03<00:17, 3.47s/it]\n 83%|████████▎ | 20/24 [01:06<00:13, 3.50s/it]\n 88%|████████▊ | 21/24 [01:10<00:10, 3.50s/it]\n 92%|█████████▏| 22/24 [01:13<00:07, 3.53s/it]\n 96%|█████████▌| 23/24 [01:17<00:03, 3.56s/it]\n100%|██████████| 24/24 [01:21<00:00, 3.59s/it]\n100%|██████████| 24/24 [01:21<00:00, 3.38s/it]", "metrics": { "predict_time": 85.126433, "total_time": 296.880198 }, "output": [ "https://replicate.delivery/pbxt/OhKTEive472Waqr5vtgUuUJGHq2UmyPhmTXzrCPL9I37GF9IA/out-0.png" ], "started_at": "2023-11-20T05:39:46.696372Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4sdcxhjbvgr6axu4rlonaol3lq", "cancel": "https://api.replicate.com/v1/predictions/4sdcxhjbvgr6axu4rlonaol3lq/cancel" }, "version": "e2065a0c6eb872aa60221ebb409805759ab2d874d0bb4e9b361482fe08169336" }
Generated inUsing seed: 10234531 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:03<01:12, 3.16s/it] 8%|▊ | 2/24 [00:06<01:09, 3.16s/it] 12%|█▎ | 3/24 [00:09<01:06, 3.18s/it] 17%|█▋ | 4/24 [00:12<01:03, 3.18s/it] 21%|██ | 5/24 [00:15<01:00, 3.19s/it] 25%|██▌ | 6/24 [00:19<00:57, 3.20s/it] 29%|██▉ | 7/24 [00:22<00:54, 3.22s/it] 33%|███▎ | 8/24 [00:25<00:51, 3.24s/it] 38%|███▊ | 9/24 [00:28<00:48, 3.26s/it] 42%|████▏ | 10/24 [00:32<00:45, 3.28s/it] 46%|████▌ | 11/24 [00:35<00:42, 3.30s/it] 50%|█████ | 12/24 [00:38<00:39, 3.31s/it] 54%|█████▍ | 13/24 [00:42<00:36, 3.32s/it] 58%|█████▊ | 14/24 [00:45<00:33, 3.34s/it] 62%|██████▎ | 15/24 [00:49<00:30, 3.36s/it] 67%|██████▋ | 16/24 [00:52<00:27, 3.39s/it] 71%|███████ | 17/24 [00:56<00:23, 3.42s/it] 75%|███████▌ | 18/24 [00:59<00:20, 3.45s/it] 79%|███████▉ | 19/24 [01:03<00:17, 3.47s/it] 83%|████████▎ | 20/24 [01:06<00:13, 3.50s/it] 88%|████████▊ | 21/24 [01:10<00:10, 3.50s/it] 92%|█████████▏| 22/24 [01:13<00:07, 3.53s/it] 96%|█████████▌| 23/24 [01:17<00:03, 3.56s/it] 100%|██████████| 24/24 [01:21<00:00, 3.59s/it] 100%|██████████| 24/24 [01:21<00:00, 3.38s/it]
Want to make some of these yourself?
Run this model