pagebrain
/
dreamshaper-v7
T4 GPU, negative embeddings, img2img, inpainting, safety checker, KarrasDPM, pruned fp16 safetensor
Prediction
pagebrain/dreamshaper-v7:0deba88dIDrsk7igrbrwkjvswjhe5izudueyStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 132340247
- width
- "576"
- height
- "1024"
- prompt
- 8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol
- scheduler
- DDIM
- num_outputs
- 1
- guidance_scale
- 7
- negative_prompt
- (worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn
- prompt_strength
- 0.8
- num_inference_steps
- 28
{ "seed": 132340247, "width": "576", "height": "1024", "prompt": "8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 28 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", { input: { seed: 132340247, width: "576", height: "1024", prompt: "8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol", scheduler: "DDIM", num_outputs: 1, guidance_scale: 7, negative_prompt: "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", prompt_strength: 0.8, num_inference_steps: 28 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", input={ "seed": 132340247, "width": "576", "height": "1024", "prompt": "8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run pagebrain/dreamshaper-v7 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": "0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", "input": { "seed": 132340247, "width": "576", "height": "1024", "prompt": "8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-06T21:26:33.543369Z", "created_at": "2023-09-06T21:26:13.466483Z", "data_removed": false, "error": null, "id": "rsk7igrbrwkjvswjhe5izuduey", "input": { "seed": 132340247, "width": "576", "height": "1024", "prompt": "8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, (detailed background window to a new dimension, plants and flowers:0.7) infinity, infinite symbol", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 132340247\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [': 0. 7 ) infinity, infinite symbol']\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:18, 1.48it/s]\n 7%|▋ | 2/28 [00:01<00:17, 1.51it/s]\n 11%|█ | 3/28 [00:01<00:16, 1.55it/s]\n 14%|█▍ | 4/28 [00:02<00:15, 1.54it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s]\n 21%|██▏ | 6/28 [00:03<00:14, 1.55it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.54it/s]\n 29%|██▊ | 8/28 [00:05<00:12, 1.54it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.54it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.53it/s]\n 39%|███▉ | 11/28 [00:07<00:11, 1.53it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.53it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.53it/s]\n 50%|█████ | 14/28 [00:09<00:09, 1.53it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.52it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.52it/s]\n 61%|██████ | 17/28 [00:11<00:07, 1.52it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.52it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.52it/s]\n 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s]\n 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s]\n 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.50it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.52it/s]", "metrics": { "predict_time": 20.115631, "total_time": 20.076886 }, "output": [ "https://pbxt.replicate.delivery/CuGxnVPHb9pwENNiYkJCG624wfMdumoQjgjV71Cwa2EEB1wIA/out-0.png" ], "started_at": "2023-09-06T21:26:13.427738Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rsk7igrbrwkjvswjhe5izuduey", "cancel": "https://api.replicate.com/v1/predictions/rsk7igrbrwkjvswjhe5izuduey/cancel" }, "version": "c180b0a592fe7be34db228e17ab1ddea337af32bd3e297e388be74cb03656583" }
Generated inUsing seed: 132340247 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [': 0. 7 ) infinity, infinite symbol'] 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:18, 1.48it/s] 7%|▋ | 2/28 [00:01<00:17, 1.51it/s] 11%|█ | 3/28 [00:01<00:16, 1.55it/s] 14%|█▍ | 4/28 [00:02<00:15, 1.54it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.54it/s] 21%|██▏ | 6/28 [00:03<00:14, 1.55it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.54it/s] 29%|██▊ | 8/28 [00:05<00:12, 1.54it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.54it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.53it/s] 39%|███▉ | 11/28 [00:07<00:11, 1.53it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.53it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.53it/s] 50%|█████ | 14/28 [00:09<00:09, 1.53it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.52it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.52it/s] 61%|██████ | 17/28 [00:11<00:07, 1.52it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.52it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.52it/s] 71%|███████▏ | 20/28 [00:13<00:05, 1.51it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.51it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.51it/s] 82%|████████▏ | 23/28 [00:15<00:03, 1.51it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.51it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.50it/s] 93%|█████████▎| 26/28 [00:17<00:01, 1.50it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.50it/s] 100%|██████████| 28/28 [00:18<00:00, 1.52it/s]
Prediction
pagebrain/dreamshaper-v7:0deba88dIDag24wsjbzgbopoikci35j2vjxeStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 5775709
- width
- 576
- height
- 1024
- prompt
- (masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail
- scheduler
- K_EULER_ANCESTRAL
- num_outputs
- 1
- guidance_scale
- 5
- negative_prompt
- (worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn
- prompt_strength
- 0.8
- num_inference_steps
- 30
{ "seed": 5775709, "width": 576, "height": 1024, "prompt": "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", { input: { seed: 5775709, width: 576, height: 1024, prompt: "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail", scheduler: "K_EULER_ANCESTRAL", num_outputs: 1, guidance_scale: 5, negative_prompt: "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", prompt_strength: 0.8, num_inference_steps: 30 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", input={ "seed": 5775709, "width": 576, "height": 1024, "prompt": "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run pagebrain/dreamshaper-v7 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": "0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", "input": { "seed": 5775709, "width": 576, "height": 1024, "prompt": "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T06:10:27.645776Z", "created_at": "2023-09-07T06:09:52.957863Z", "data_removed": false, "error": null, "id": "ag24wsjbzgbopoikci35j2vjxe", "input": { "seed": 5775709, "width": 576, "height": 1024, "prompt": "(masterpiece), (extremely intricate:1.3), (realistic), portrait of a girl, the most beautiful in the world, (medieval armor), metal reflections, upper body, outdoors, intense sunlight, far away castle, professional photograph of a stunning woman detailed, sharp focus, dramatic, award winning, cinematic lighting, , volumetrics dtx, (film grain, blurry background, blurry foreground, bokeh, depth of field, sunset, motion blur:1.3), chainmail", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }, "logs": "Using seed: 5775709\nToken indices sequence length is longer than the specified maximum sequence length for this model (100 > 77). Running this sequence through the model will result in indexing errors\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['background, blurry foreground, bokeh, depth of field, sunset, motion blur : 1. 3 ), chainmail']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:03<01:48, 3.75s/it]\n 7%|▋ | 2/30 [00:04<00:51, 1.86s/it]\n 10%|█ | 3/30 [00:04<00:33, 1.26s/it]\n 13%|█▎ | 4/30 [00:05<00:25, 1.03it/s]\n 17%|█▋ | 5/30 [00:05<00:20, 1.23it/s]\n 20%|██ | 6/30 [00:06<00:17, 1.38it/s]\n 23%|██▎ | 7/30 [00:06<00:15, 1.51it/s]\n 27%|██▋ | 8/30 [00:07<00:13, 1.60it/s]\n 30%|███ | 9/30 [00:08<00:12, 1.67it/s]\n 33%|███▎ | 10/30 [00:08<00:11, 1.72it/s]\n 37%|███▋ | 11/30 [00:09<00:10, 1.76it/s]\n 40%|████ | 12/30 [00:09<00:10, 1.78it/s]\n 43%|████▎ | 13/30 [00:10<00:09, 1.80it/s]\n 47%|████▋ | 14/30 [00:10<00:08, 1.81it/s]\n 50%|█████ | 15/30 [00:11<00:08, 1.82it/s]\n 53%|█████▎ | 16/30 [00:11<00:07, 1.82it/s]\n 57%|█████▋ | 17/30 [00:12<00:07, 1.83it/s]\n 60%|██████ | 18/30 [00:12<00:06, 1.83it/s]\n 63%|██████▎ | 19/30 [00:13<00:06, 1.83it/s]\n 67%|██████▋ | 20/30 [00:14<00:05, 1.83it/s]\n 70%|███████ | 21/30 [00:14<00:04, 1.83it/s]\n 73%|███████▎ | 22/30 [00:15<00:04, 1.83it/s]\n 77%|███████▋ | 23/30 [00:15<00:03, 1.83it/s]\n 80%|████████ | 24/30 [00:16<00:03, 1.83it/s]\n 83%|████████▎ | 25/30 [00:16<00:02, 1.82it/s]\n 87%|████████▋ | 26/30 [00:17<00:02, 1.83it/s]\n 90%|█████████ | 27/30 [00:17<00:01, 1.83it/s]\n 93%|█████████▎| 28/30 [00:18<00:01, 1.83it/s]\n 97%|█████████▋| 29/30 [00:18<00:00, 1.83it/s]\n100%|██████████| 30/30 [00:19<00:00, 1.83it/s]\n100%|██████████| 30/30 [00:19<00:00, 1.54it/s]", "metrics": { "predict_time": 22.937978, "total_time": 34.687913 }, "output": [ "https://pbxt.replicate.delivery/m4IsOs0Q4HJTMhpOBE8atfY15GJ9BqviQIW4G3Z7FiTp24wIA/out-0.png" ], "started_at": "2023-09-07T06:10:04.707798Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ag24wsjbzgbopoikci35j2vjxe", "cancel": "https://api.replicate.com/v1/predictions/ag24wsjbzgbopoikci35j2vjxe/cancel" }, "version": "c180b0a592fe7be34db228e17ab1ddea337af32bd3e297e388be74cb03656583" }
Generated inUsing seed: 5775709 Token indices sequence length is longer than the specified maximum sequence length for this model (100 > 77). Running this sequence through the model will result in indexing errors The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['background, blurry foreground, bokeh, depth of field, sunset, motion blur : 1. 3 ), chainmail'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:03<01:48, 3.75s/it] 7%|▋ | 2/30 [00:04<00:51, 1.86s/it] 10%|█ | 3/30 [00:04<00:33, 1.26s/it] 13%|█▎ | 4/30 [00:05<00:25, 1.03it/s] 17%|█▋ | 5/30 [00:05<00:20, 1.23it/s] 20%|██ | 6/30 [00:06<00:17, 1.38it/s] 23%|██▎ | 7/30 [00:06<00:15, 1.51it/s] 27%|██▋ | 8/30 [00:07<00:13, 1.60it/s] 30%|███ | 9/30 [00:08<00:12, 1.67it/s] 33%|███▎ | 10/30 [00:08<00:11, 1.72it/s] 37%|███▋ | 11/30 [00:09<00:10, 1.76it/s] 40%|████ | 12/30 [00:09<00:10, 1.78it/s] 43%|████▎ | 13/30 [00:10<00:09, 1.80it/s] 47%|████▋ | 14/30 [00:10<00:08, 1.81it/s] 50%|█████ | 15/30 [00:11<00:08, 1.82it/s] 53%|█████▎ | 16/30 [00:11<00:07, 1.82it/s] 57%|█████▋ | 17/30 [00:12<00:07, 1.83it/s] 60%|██████ | 18/30 [00:12<00:06, 1.83it/s] 63%|██████▎ | 19/30 [00:13<00:06, 1.83it/s] 67%|██████▋ | 20/30 [00:14<00:05, 1.83it/s] 70%|███████ | 21/30 [00:14<00:04, 1.83it/s] 73%|███████▎ | 22/30 [00:15<00:04, 1.83it/s] 77%|███████▋ | 23/30 [00:15<00:03, 1.83it/s] 80%|████████ | 24/30 [00:16<00:03, 1.83it/s] 83%|████████▎ | 25/30 [00:16<00:02, 1.82it/s] 87%|████████▋ | 26/30 [00:17<00:02, 1.83it/s] 90%|█████████ | 27/30 [00:17<00:01, 1.83it/s] 93%|█████████▎| 28/30 [00:18<00:01, 1.83it/s] 97%|█████████▋| 29/30 [00:18<00:00, 1.83it/s] 100%|██████████| 30/30 [00:19<00:00, 1.83it/s] 100%|██████████| 30/30 [00:19<00:00, 1.54it/s]
Prediction
pagebrain/dreamshaper-v7:0deba88dIDfp44f5bbllgcaq664s3le656fuStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 3889919804
- width
- 576
- height
- 1024
- prompt
- face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage
- scheduler
- K_EULER_ANCESTRAL
- num_outputs
- 1
- guidance_scale
- 9
- negative_prompt
- (worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn
- prompt_strength
- 0.8
- num_inference_steps
- 30
{ "seed": 3889919804, "width": 576, "height": 1024, "prompt": "face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", { input: { seed: 3889919804, width: 576, height: 1024, prompt: "face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage", scheduler: "K_EULER_ANCESTRAL", num_outputs: 1, guidance_scale: 9, negative_prompt: "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", prompt_strength: 0.8, num_inference_steps: 30 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", input={ "seed": 3889919804, "width": 576, "height": 1024, "prompt": "face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run pagebrain/dreamshaper-v7 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": "0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", "input": { "seed": 3889919804, "width": 576, "height": 1024, "prompt": "face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T06:17:04.344585Z", "created_at": "2023-09-07T06:16:45.302962Z", "data_removed": false, "error": null, "id": "fp44f5bbllgcaq664s3le656fu", "input": { "seed": 3889919804, "width": 576, "height": 1024, "prompt": "face close up, fashion photography portrait of indian girl with blue hair, in lush jungle with flowers, 3d render, cgi, symetrical, octane render, 35mm, bokeh, 9:16, (intricate details:1.12), hdr, (intricate details, hyperdetailed:1.15), (natural skin texture, hyperrealism, soft light, sharp:1.2), detailed, sunlight passing through foliage", "scheduler": "K_EULER_ANCESTRAL", "num_outputs": 1, "guidance_scale": 9, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }, "logs": "Using seed: 3889919804\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['soft light, sharp : 1. 2 ), detailed, sunlight passing through foliage']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:18, 1.58it/s]\n 7%|▋ | 2/30 [00:01<00:16, 1.68it/s]\n 10%|█ | 3/30 [00:01<00:15, 1.71it/s]\n 13%|█▎ | 4/30 [00:02<00:15, 1.72it/s]\n 17%|█▋ | 5/30 [00:02<00:14, 1.73it/s]\n 20%|██ | 6/30 [00:03<00:13, 1.73it/s]\n 23%|██▎ | 7/30 [00:04<00:13, 1.74it/s]\n 27%|██▋ | 8/30 [00:04<00:12, 1.73it/s]\n 30%|███ | 9/30 [00:05<00:12, 1.74it/s]\n 33%|███▎ | 10/30 [00:05<00:11, 1.73it/s]\n 37%|███▋ | 11/30 [00:06<00:10, 1.73it/s]\n 40%|████ | 12/30 [00:06<00:10, 1.73it/s]\n 43%|████▎ | 13/30 [00:07<00:09, 1.73it/s]\n 47%|████▋ | 14/30 [00:08<00:09, 1.73it/s]\n 50%|█████ | 15/30 [00:08<00:08, 1.73it/s]\n 53%|█████▎ | 16/30 [00:09<00:08, 1.73it/s]\n 57%|█████▋ | 17/30 [00:09<00:07, 1.73it/s]\n 60%|██████ | 18/30 [00:10<00:06, 1.73it/s]\n 63%|██████▎ | 19/30 [00:11<00:06, 1.73it/s]\n 67%|██████▋ | 20/30 [00:11<00:05, 1.73it/s]\n 70%|███████ | 21/30 [00:12<00:05, 1.73it/s]\n 73%|███████▎ | 22/30 [00:12<00:04, 1.73it/s]\n 77%|███████▋ | 23/30 [00:13<00:04, 1.73it/s]\n 80%|████████ | 24/30 [00:13<00:03, 1.73it/s]\n 83%|████████▎ | 25/30 [00:14<00:02, 1.73it/s]\n 87%|████████▋ | 26/30 [00:15<00:02, 1.73it/s]\n 90%|█████████ | 27/30 [00:15<00:01, 1.73it/s]\n 93%|█████████▎| 28/30 [00:16<00:01, 1.72it/s]\n 97%|█████████▋| 29/30 [00:16<00:00, 1.73it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.73it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.73it/s]", "metrics": { "predict_time": 19.072349, "total_time": 19.041623 }, "output": [ "https://pbxt.replicate.delivery/nq44eVAeZeU3eTTgHjwZlTOdLf1pOLLFEwglm7tMo2D4bOOMC/out-0.png" ], "started_at": "2023-09-07T06:16:45.272236Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fp44f5bbllgcaq664s3le656fu", "cancel": "https://api.replicate.com/v1/predictions/fp44f5bbllgcaq664s3le656fu/cancel" }, "version": "c180b0a592fe7be34db228e17ab1ddea337af32bd3e297e388be74cb03656583" }
Generated inUsing seed: 3889919804 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['soft light, sharp : 1. 2 ), detailed, sunlight passing through foliage'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:18, 1.58it/s] 7%|▋ | 2/30 [00:01<00:16, 1.68it/s] 10%|█ | 3/30 [00:01<00:15, 1.71it/s] 13%|█▎ | 4/30 [00:02<00:15, 1.72it/s] 17%|█▋ | 5/30 [00:02<00:14, 1.73it/s] 20%|██ | 6/30 [00:03<00:13, 1.73it/s] 23%|██▎ | 7/30 [00:04<00:13, 1.74it/s] 27%|██▋ | 8/30 [00:04<00:12, 1.73it/s] 30%|███ | 9/30 [00:05<00:12, 1.74it/s] 33%|███▎ | 10/30 [00:05<00:11, 1.73it/s] 37%|███▋ | 11/30 [00:06<00:10, 1.73it/s] 40%|████ | 12/30 [00:06<00:10, 1.73it/s] 43%|████▎ | 13/30 [00:07<00:09, 1.73it/s] 47%|████▋ | 14/30 [00:08<00:09, 1.73it/s] 50%|█████ | 15/30 [00:08<00:08, 1.73it/s] 53%|█████▎ | 16/30 [00:09<00:08, 1.73it/s] 57%|█████▋ | 17/30 [00:09<00:07, 1.73it/s] 60%|██████ | 18/30 [00:10<00:06, 1.73it/s] 63%|██████▎ | 19/30 [00:11<00:06, 1.73it/s] 67%|██████▋ | 20/30 [00:11<00:05, 1.73it/s] 70%|███████ | 21/30 [00:12<00:05, 1.73it/s] 73%|███████▎ | 22/30 [00:12<00:04, 1.73it/s] 77%|███████▋ | 23/30 [00:13<00:04, 1.73it/s] 80%|████████ | 24/30 [00:13<00:03, 1.73it/s] 83%|████████▎ | 25/30 [00:14<00:02, 1.73it/s] 87%|████████▋ | 26/30 [00:15<00:02, 1.73it/s] 90%|█████████ | 27/30 [00:15<00:01, 1.73it/s] 93%|█████████▎| 28/30 [00:16<00:01, 1.72it/s] 97%|█████████▋| 29/30 [00:16<00:00, 1.73it/s] 100%|██████████| 30/30 [00:17<00:00, 1.73it/s] 100%|██████████| 30/30 [00:17<00:00, 1.73it/s]
Prediction
pagebrain/dreamshaper-v7:0deba88dIDeuxxkwbbaalmvjzhm54c64cdriStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- seed
- 5775709
- width
- 576
- height
- 1024
- prompt
- masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)
- scheduler
- DPMSolverMultistep
- num_outputs
- 1
- guidance_scale
- 5
- negative_prompt
- (worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn
- prompt_strength
- 0.8
- num_inference_steps
- 30
{ "seed": 5775709, "width": 576, "height": 1024, "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", { input: { seed: 5775709, width: 576, height: 1024, prompt: "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)", scheduler: "DPMSolverMultistep", num_outputs: 1, guidance_scale: 5, negative_prompt: "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", prompt_strength: 0.8, num_inference_steps: 30 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run pagebrain/dreamshaper-v7 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "pagebrain/dreamshaper-v7:0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", input={ "seed": 5775709, "width": 576, "height": 1024, "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run pagebrain/dreamshaper-v7 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": "0deba88df4e49b302585e1a7b6bd155e18962c1048966a40fe60ba05805743ff", "input": { "seed": 5775709, "width": 576, "height": 1024, "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T06:18:14.989299Z", "created_at": "2023-09-07T06:17:56.278485Z", "data_removed": false, "error": null, "id": "euxxkwbbaalmvjzhm54c64cdri", "input": { "seed": 5775709, "width": 576, "height": 1024, "prompt": "masterpiece, (photorealistic:1.4), best quality, beautiful lighting, lucy (cyberpunk), 1girl, white hair, against railing, arm rest, bangs, bare shoulders, belt, black belt, black leotard, black pants, blurry, bob cut, breasts, building, cityscape, clothing cutout, (cropped jacket), cyberpunk, depth of field, from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, (mechanical parts)", "scheduler": "DPMSolverMultistep", "num_outputs": 1, "guidance_scale": 5, "negative_prompt": "(worst quality:2),(low quality:2),(blurry:2),bad_prompt,text, (bad and mutated hands:1.3),(bad hands),badhandv4,mutated hands, bad anatomy, missing fingers,extra fingers,fused fingers,too many fingers,(interlocked fingers:1.2), extra limbs,malformed limbs,multiple limbs, extra arms, extra legs, long neck, cross-eyed, negative_hand, negative_hand-neg, text, label, caption, nude, nsfw, naked, explicit, porn", "prompt_strength": 0.8, "num_inference_steps": 30 }, "logs": "Using seed: 5775709\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, ( mechanical parts )']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:17, 1.67it/s]\n 7%|▋ | 2/30 [00:01<00:16, 1.74it/s]\n 10%|█ | 3/30 [00:01<00:15, 1.74it/s]\n 13%|█▎ | 4/30 [00:02<00:14, 1.76it/s]\n 17%|█▋ | 5/30 [00:02<00:14, 1.76it/s]\n 20%|██ | 6/30 [00:03<00:13, 1.76it/s]\n 23%|██▎ | 7/30 [00:03<00:13, 1.77it/s]\n 27%|██▋ | 8/30 [00:04<00:12, 1.76it/s]\n 30%|███ | 9/30 [00:05<00:11, 1.77it/s]\n 33%|███▎ | 10/30 [00:05<00:11, 1.76it/s]\n 37%|███▋ | 11/30 [00:06<00:10, 1.76it/s]\n 40%|████ | 12/30 [00:06<00:10, 1.76it/s]\n 43%|████▎ | 13/30 [00:07<00:09, 1.76it/s]\n 47%|████▋ | 14/30 [00:07<00:09, 1.76it/s]\n 50%|█████ | 15/30 [00:08<00:08, 1.76it/s]\n 53%|█████▎ | 16/30 [00:09<00:07, 1.76it/s]\n 57%|█████▋ | 17/30 [00:09<00:07, 1.76it/s]\n 60%|██████ | 18/30 [00:10<00:06, 1.76it/s]\n 63%|██████▎ | 19/30 [00:10<00:06, 1.76it/s]\n 67%|██████▋ | 20/30 [00:11<00:05, 1.76it/s]\n 70%|███████ | 21/30 [00:11<00:05, 1.75it/s]\n 73%|███████▎ | 22/30 [00:12<00:04, 1.75it/s]\n 77%|███████▋ | 23/30 [00:13<00:03, 1.75it/s]\n 80%|████████ | 24/30 [00:13<00:03, 1.75it/s]\n 83%|████████▎ | 25/30 [00:14<00:02, 1.75it/s]\n 87%|████████▋ | 26/30 [00:14<00:02, 1.75it/s]\n 90%|█████████ | 27/30 [00:15<00:01, 1.75it/s]\n 93%|█████████▎| 28/30 [00:15<00:01, 1.75it/s]\n 97%|█████████▋| 29/30 [00:16<00:00, 1.75it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.75it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.76it/s]", "metrics": { "predict_time": 18.744222, "total_time": 18.710814 }, "output": [ "https://pbxt.replicate.delivery/cETJS5KJDZp8O5qoxAgVs43UVgqotiMjKtl9Ut57PouJdcYE/out-0.png" ], "started_at": "2023-09-07T06:17:56.245077Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/euxxkwbbaalmvjzhm54c64cdri", "cancel": "https://api.replicate.com/v1/predictions/euxxkwbbaalmvjzhm54c64cdri/cancel" }, "version": "c180b0a592fe7be34db228e17ab1ddea337af32bd3e297e388be74cb03656583" }
Generated inUsing seed: 5775709 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['from side, gradient eyes, grey eyes, grey hair, white jacket, leotard, lips, long sleeves, looking afar, looking ahead, ( mechanical parts )'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:17, 1.67it/s] 7%|▋ | 2/30 [00:01<00:16, 1.74it/s] 10%|█ | 3/30 [00:01<00:15, 1.74it/s] 13%|█▎ | 4/30 [00:02<00:14, 1.76it/s] 17%|█▋ | 5/30 [00:02<00:14, 1.76it/s] 20%|██ | 6/30 [00:03<00:13, 1.76it/s] 23%|██▎ | 7/30 [00:03<00:13, 1.77it/s] 27%|██▋ | 8/30 [00:04<00:12, 1.76it/s] 30%|███ | 9/30 [00:05<00:11, 1.77it/s] 33%|███▎ | 10/30 [00:05<00:11, 1.76it/s] 37%|███▋ | 11/30 [00:06<00:10, 1.76it/s] 40%|████ | 12/30 [00:06<00:10, 1.76it/s] 43%|████▎ | 13/30 [00:07<00:09, 1.76it/s] 47%|████▋ | 14/30 [00:07<00:09, 1.76it/s] 50%|█████ | 15/30 [00:08<00:08, 1.76it/s] 53%|█████▎ | 16/30 [00:09<00:07, 1.76it/s] 57%|█████▋ | 17/30 [00:09<00:07, 1.76it/s] 60%|██████ | 18/30 [00:10<00:06, 1.76it/s] 63%|██████▎ | 19/30 [00:10<00:06, 1.76it/s] 67%|██████▋ | 20/30 [00:11<00:05, 1.76it/s] 70%|███████ | 21/30 [00:11<00:05, 1.75it/s] 73%|███████▎ | 22/30 [00:12<00:04, 1.75it/s] 77%|███████▋ | 23/30 [00:13<00:03, 1.75it/s] 80%|████████ | 24/30 [00:13<00:03, 1.75it/s] 83%|████████▎ | 25/30 [00:14<00:02, 1.75it/s] 87%|████████▋ | 26/30 [00:14<00:02, 1.75it/s] 90%|█████████ | 27/30 [00:15<00:01, 1.75it/s] 93%|█████████▎| 28/30 [00:15<00:01, 1.75it/s] 97%|█████████▋| 29/30 [00:16<00:00, 1.75it/s] 100%|██████████| 30/30 [00:17<00:00, 1.75it/s] 100%|██████████| 30/30 [00:17<00:00, 1.76it/s]
Want to make some of these yourself?
Run this model