m1guelpf
/
emoji-diffusion
Emojis on Stable Diffusion via Dreambooth
Prediction
m1guelpf/emoji-diffusion:ba30355cIDdnt6dsghxfgrfkauzo33bqqfkuStatusSucceededSourceWebHardware–Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- snowy montain emoji
- scheduler
- K-LMS
- num_outputs
- 1
- guidance_scale
- 7.5
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "K-LMS", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", { input: { width: 512, height: 512, prompt: "snowy montain emoji", scheduler: "K-LMS", num_outputs: 1, guidance_scale: 7.5, prompt_strength: 0.8, num_inference_steps: 50 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", input={ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "K-LMS", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run m1guelpf/emoji-diffusion 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": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "K-LMS", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-11-22T12:34:39.036192Z", "created_at": "2022-11-22T12:32:28.144732Z", "data_removed": false, "error": null, "id": "dnt6dsghxfgrfkauzo33bqqfku", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "K-LMS", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 12580\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<01:12, 1.47s/it]\n 6%|▌ | 3/50 [00:01<00:20, 2.28it/s]\n 10%|█ | 5/50 [00:01<00:11, 3.99it/s]\n 14%|█▍ | 7/50 [00:01<00:07, 5.68it/s]\n 18%|█▊ | 9/50 [00:02<00:05, 7.23it/s]\n 22%|██▏ | 11/50 [00:02<00:04, 8.60it/s]\n 26%|██▌ | 13/50 [00:02<00:03, 9.77it/s]\n 30%|███ | 15/50 [00:02<00:03, 10.65it/s]\n 34%|███▍ | 17/50 [00:02<00:02, 11.40it/s]\n 38%|███▊ | 19/50 [00:02<00:02, 11.87it/s]\n 42%|████▏ | 21/50 [00:02<00:02, 12.27it/s]\n 46%|████▌ | 23/50 [00:03<00:02, 12.59it/s]\n 50%|█████ | 25/50 [00:03<00:01, 12.82it/s]\n 54%|█████▍ | 27/50 [00:03<00:01, 13.08it/s]\n 58%|█████▊ | 29/50 [00:03<00:01, 13.26it/s]\n 62%|██████▏ | 31/50 [00:03<00:01, 13.28it/s]\n 66%|██████▌ | 33/50 [00:03<00:01, 13.33it/s]\n 70%|███████ | 35/50 [00:04<00:01, 13.32it/s]\n 74%|███████▍ | 37/50 [00:04<00:00, 13.36it/s]\n 78%|███████▊ | 39/50 [00:04<00:00, 13.51it/s]\n 82%|████████▏ | 41/50 [00:04<00:00, 13.61it/s]\n 86%|████████▌ | 43/50 [00:04<00:00, 13.63it/s]\n 90%|█████████ | 45/50 [00:04<00:00, 13.69it/s]\n 94%|█████████▍| 47/50 [00:04<00:00, 13.76it/s]\n 98%|█████████▊| 49/50 [00:05<00:00, 13.80it/s]\n100%|██████████| 50/50 [00:05<00:00, 9.79it/s]", "metrics": { "predict_time": 6.703132, "total_time": 130.89146 }, "output": [ "https://replicate.delivery/pbxt/POoyF595pg6MN11EciEyq3SKCB9eAajVa5zf3KB0vHteecKAB/out-0.png" ], "started_at": "2022-11-22T12:34:32.333060Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dnt6dsghxfgrfkauzo33bqqfku", "cancel": "https://api.replicate.com/v1/predictions/dnt6dsghxfgrfkauzo33bqqfku/cancel" }, "version": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d" }
Generated inUsing seed: 12580 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:01<01:12, 1.47s/it] 6%|▌ | 3/50 [00:01<00:20, 2.28it/s] 10%|█ | 5/50 [00:01<00:11, 3.99it/s] 14%|█▍ | 7/50 [00:01<00:07, 5.68it/s] 18%|█▊ | 9/50 [00:02<00:05, 7.23it/s] 22%|██▏ | 11/50 [00:02<00:04, 8.60it/s] 26%|██▌ | 13/50 [00:02<00:03, 9.77it/s] 30%|███ | 15/50 [00:02<00:03, 10.65it/s] 34%|███▍ | 17/50 [00:02<00:02, 11.40it/s] 38%|███▊ | 19/50 [00:02<00:02, 11.87it/s] 42%|████▏ | 21/50 [00:02<00:02, 12.27it/s] 46%|████▌ | 23/50 [00:03<00:02, 12.59it/s] 50%|█████ | 25/50 [00:03<00:01, 12.82it/s] 54%|█████▍ | 27/50 [00:03<00:01, 13.08it/s] 58%|█████▊ | 29/50 [00:03<00:01, 13.26it/s] 62%|██████▏ | 31/50 [00:03<00:01, 13.28it/s] 66%|██████▌ | 33/50 [00:03<00:01, 13.33it/s] 70%|███████ | 35/50 [00:04<00:01, 13.32it/s] 74%|███████▍ | 37/50 [00:04<00:00, 13.36it/s] 78%|███████▊ | 39/50 [00:04<00:00, 13.51it/s] 82%|████████▏ | 41/50 [00:04<00:00, 13.61it/s] 86%|████████▌ | 43/50 [00:04<00:00, 13.63it/s] 90%|█████████ | 45/50 [00:04<00:00, 13.69it/s] 94%|█████████▍| 47/50 [00:04<00:00, 13.76it/s] 98%|█████████▊| 49/50 [00:05<00:00, 13.80it/s] 100%|██████████| 50/50 [00:05<00:00, 9.79it/s]
Prediction
m1guelpf/emoji-diffusion:ba30355cIDaucew3uh35dphmclkjma2n7vkmStatusSucceededSourceWebHardware–Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- snowy montain emoji
- scheduler
- DDIM
- num_outputs
- 1
- guidance_scale
- 7.5
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", { input: { width: 512, height: 512, prompt: "snowy montain emoji", scheduler: "DDIM", num_outputs: 1, guidance_scale: 7.5, prompt_strength: 0.8, num_inference_steps: 50 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", input={ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run m1guelpf/emoji-diffusion 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": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-11-22T12:35:10.083019Z", "created_at": "2022-11-22T12:35:06.122142Z", "data_removed": false, "error": null, "id": "aucew3uh35dphmclkjma2n7vkm", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 37723\n 0%| | 0/50 [00:00<?, ?it/s]\n 4%|▍ | 2/50 [00:00<00:03, 13.03it/s]\n 8%|▊ | 4/50 [00:00<00:03, 13.92it/s]\n 12%|█▏ | 6/50 [00:00<00:03, 14.14it/s]\n 16%|█▌ | 8/50 [00:00<00:02, 14.16it/s]\n 20%|██ | 10/50 [00:00<00:02, 14.32it/s]\n 24%|██▍ | 12/50 [00:00<00:02, 14.53it/s]\n 28%|██▊ | 14/50 [00:00<00:02, 14.60it/s]\n 32%|███▏ | 16/50 [00:01<00:02, 14.70it/s]\n 36%|███▌ | 18/50 [00:01<00:02, 14.67it/s]\n 40%|████ | 20/50 [00:01<00:02, 14.41it/s]\n 44%|████▍ | 22/50 [00:01<00:01, 14.53it/s]\n 48%|████▊ | 24/50 [00:01<00:01, 14.65it/s]\n 52%|█████▏ | 26/50 [00:01<00:01, 14.68it/s]\n 56%|█████▌ | 28/50 [00:01<00:01, 14.66it/s]\n 60%|██████ | 30/50 [00:02<00:01, 14.72it/s]\n 64%|██████▍ | 32/50 [00:02<00:01, 14.63it/s]\n 68%|██████▊ | 34/50 [00:02<00:01, 14.64it/s]\n 72%|███████▏ | 36/50 [00:02<00:00, 14.69it/s]\n 76%|███████▌ | 38/50 [00:02<00:00, 14.65it/s]\n 80%|████████ | 40/50 [00:02<00:00, 14.43it/s]\n 84%|████████▍ | 42/50 [00:02<00:00, 14.54it/s]\n 88%|████████▊ | 44/50 [00:03<00:00, 14.53it/s]\n 92%|█████████▏| 46/50 [00:03<00:00, 14.62it/s]\n 96%|█████████▌| 48/50 [00:03<00:00, 14.53it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.42it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.50it/s]", "metrics": { "predict_time": 3.924254, "total_time": 3.960877 }, "output": [ "https://replicate.delivery/pbxt/aWL6ZDjtdJ4aHRDjP8OdjGgtDo2iwAIwthOW0jAGgueePnCQA/out-0.png" ], "started_at": "2022-11-22T12:35:06.158765Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/aucew3uh35dphmclkjma2n7vkm", "cancel": "https://api.replicate.com/v1/predictions/aucew3uh35dphmclkjma2n7vkm/cancel" }, "version": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d" }
Generated inUsing seed: 37723 0%| | 0/50 [00:00<?, ?it/s] 4%|▍ | 2/50 [00:00<00:03, 13.03it/s] 8%|▊ | 4/50 [00:00<00:03, 13.92it/s] 12%|█▏ | 6/50 [00:00<00:03, 14.14it/s] 16%|█▌ | 8/50 [00:00<00:02, 14.16it/s] 20%|██ | 10/50 [00:00<00:02, 14.32it/s] 24%|██▍ | 12/50 [00:00<00:02, 14.53it/s] 28%|██▊ | 14/50 [00:00<00:02, 14.60it/s] 32%|███▏ | 16/50 [00:01<00:02, 14.70it/s] 36%|███▌ | 18/50 [00:01<00:02, 14.67it/s] 40%|████ | 20/50 [00:01<00:02, 14.41it/s] 44%|████▍ | 22/50 [00:01<00:01, 14.53it/s] 48%|████▊ | 24/50 [00:01<00:01, 14.65it/s] 52%|█████▏ | 26/50 [00:01<00:01, 14.68it/s] 56%|█████▌ | 28/50 [00:01<00:01, 14.66it/s] 60%|██████ | 30/50 [00:02<00:01, 14.72it/s] 64%|██████▍ | 32/50 [00:02<00:01, 14.63it/s] 68%|██████▊ | 34/50 [00:02<00:01, 14.64it/s] 72%|███████▏ | 36/50 [00:02<00:00, 14.69it/s] 76%|███████▌ | 38/50 [00:02<00:00, 14.65it/s] 80%|████████ | 40/50 [00:02<00:00, 14.43it/s] 84%|████████▍ | 42/50 [00:02<00:00, 14.54it/s] 88%|████████▊ | 44/50 [00:03<00:00, 14.53it/s] 92%|█████████▏| 46/50 [00:03<00:00, 14.62it/s] 96%|█████████▌| 48/50 [00:03<00:00, 14.53it/s] 100%|██████████| 50/50 [00:03<00:00, 14.42it/s] 100%|██████████| 50/50 [00:03<00:00, 14.50it/s]
Prediction
m1guelpf/emoji-diffusion:ba30355cInput
- width
- 512
- height
- 512
- prompt
- snowy montain emoji
- scheduler
- DDIM
- num_outputs
- 1
- guidance_scale
- 7.5
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", { input: { width: 512, height: 512, prompt: "snowy montain emoji", scheduler: "DDIM", num_outputs: 1, guidance_scale: 7.5, prompt_strength: 0.8, num_inference_steps: 50 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", input={ "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run m1guelpf/emoji-diffusion 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": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-11-22T12:35:19.906080Z", "created_at": "2022-11-22T12:35:16.003645Z", "data_removed": false, "error": null, "id": "a7rgcuwruvbudg6d5gcq4nnt4y", "input": { "width": 512, "height": 512, "prompt": "snowy montain emoji", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 17811\n 0%| | 0/50 [00:00<?, ?it/s]\n 4%|▍ | 2/50 [00:00<00:03, 13.60it/s]\n 8%|▊ | 4/50 [00:00<00:03, 14.33it/s]\n 12%|█▏ | 6/50 [00:00<00:03, 14.58it/s]\n 16%|█▌ | 8/50 [00:00<00:02, 14.43it/s]\n 20%|██ | 10/50 [00:00<00:02, 14.44it/s]\n 24%|██▍ | 12/50 [00:00<00:02, 14.63it/s]\n 28%|██▊ | 14/50 [00:00<00:02, 14.76it/s]\n 32%|███▏ | 16/50 [00:01<00:02, 14.89it/s]\n 36%|███▌ | 18/50 [00:01<00:02, 14.96it/s]\n 40%|████ | 20/50 [00:01<00:02, 14.96it/s]\n 44%|████▍ | 22/50 [00:01<00:01, 14.88it/s]\n 48%|████▊ | 24/50 [00:01<00:01, 14.80it/s]\n 52%|█████▏ | 26/50 [00:01<00:01, 14.80it/s]\n 56%|█████▌ | 28/50 [00:01<00:01, 14.80it/s]\n 60%|██████ | 30/50 [00:02<00:01, 14.76it/s]\n 64%|██████▍ | 32/50 [00:02<00:01, 14.80it/s]\n 68%|██████▊ | 34/50 [00:02<00:01, 14.78it/s]\n 72%|███████▏ | 36/50 [00:02<00:00, 14.74it/s]\n 76%|███████▌ | 38/50 [00:02<00:00, 14.58it/s]\n 80%|████████ | 40/50 [00:02<00:00, 14.61it/s]\n 84%|████████▍ | 42/50 [00:02<00:00, 14.66it/s]\n 88%|████████▊ | 44/50 [00:02<00:00, 14.64it/s]\n 92%|█████████▏| 46/50 [00:03<00:00, 14.71it/s]\n 96%|█████████▌| 48/50 [00:03<00:00, 14.74it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.40it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.66it/s]", "metrics": { "predict_time": 3.868399, "total_time": 3.902435 }, "output": [ "https://replicate.delivery/pbxt/KFyqEQeeEEutbUaUxeCf2tDdyfUXQNeZz1zOT3QNvx1wB0pAE/out-0.png" ], "started_at": "2022-11-22T12:35:16.037681Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/a7rgcuwruvbudg6d5gcq4nnt4y", "cancel": "https://api.replicate.com/v1/predictions/a7rgcuwruvbudg6d5gcq4nnt4y/cancel" }, "version": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d" }
Generated inUsing seed: 17811 0%| | 0/50 [00:00<?, ?it/s] 4%|▍ | 2/50 [00:00<00:03, 13.60it/s] 8%|▊ | 4/50 [00:00<00:03, 14.33it/s] 12%|█▏ | 6/50 [00:00<00:03, 14.58it/s] 16%|█▌ | 8/50 [00:00<00:02, 14.43it/s] 20%|██ | 10/50 [00:00<00:02, 14.44it/s] 24%|██▍ | 12/50 [00:00<00:02, 14.63it/s] 28%|██▊ | 14/50 [00:00<00:02, 14.76it/s] 32%|███▏ | 16/50 [00:01<00:02, 14.89it/s] 36%|███▌ | 18/50 [00:01<00:02, 14.96it/s] 40%|████ | 20/50 [00:01<00:02, 14.96it/s] 44%|████▍ | 22/50 [00:01<00:01, 14.88it/s] 48%|████▊ | 24/50 [00:01<00:01, 14.80it/s] 52%|█████▏ | 26/50 [00:01<00:01, 14.80it/s] 56%|█████▌ | 28/50 [00:01<00:01, 14.80it/s] 60%|██████ | 30/50 [00:02<00:01, 14.76it/s] 64%|██████▍ | 32/50 [00:02<00:01, 14.80it/s] 68%|██████▊ | 34/50 [00:02<00:01, 14.78it/s] 72%|███████▏ | 36/50 [00:02<00:00, 14.74it/s] 76%|███████▌ | 38/50 [00:02<00:00, 14.58it/s] 80%|████████ | 40/50 [00:02<00:00, 14.61it/s] 84%|████████▍ | 42/50 [00:02<00:00, 14.66it/s] 88%|████████▊ | 44/50 [00:02<00:00, 14.64it/s] 92%|█████████▏| 46/50 [00:03<00:00, 14.71it/s] 96%|█████████▌| 48/50 [00:03<00:00, 14.74it/s] 100%|██████████| 50/50 [00:03<00:00, 14.40it/s] 100%|██████████| 50/50 [00:03<00:00, 14.66it/s]
Prediction
m1guelpf/emoji-diffusion:ba30355cIDn6oanlt4pvfyjirb4lwowajjhmStatusSucceededSourceWebHardware–Total durationCreatedInput
- width
- 512
- height
- 512
- prompt
- emoji pokemon
- scheduler
- DDIM
- num_outputs
- 1
- guidance_scale
- 7.5
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "width": 512, "height": 512, "prompt": "emoji pokemon", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", { input: { width: 512, height: 512, prompt: "emoji pokemon", scheduler: "DDIM", num_outputs: 1, guidance_scale: 7.5, prompt_strength: 0.8, num_inference_steps: 50 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run m1guelpf/emoji-diffusion using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "m1guelpf/emoji-diffusion:ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", input={ "width": 512, "height": 512, "prompt": "emoji pokemon", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run m1guelpf/emoji-diffusion 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": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d", "input": { "width": 512, "height": 512, "prompt": "emoji pokemon", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-11-22T12:35:46.560668Z", "created_at": "2022-11-22T12:35:42.650560Z", "data_removed": false, "error": null, "id": "n6oanlt4pvfyjirb4lwowajjhm", "input": { "width": 512, "height": 512, "prompt": "emoji pokemon", "scheduler": "DDIM", "num_outputs": 1, "guidance_scale": 7.5, "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 23138\n 0%| | 0/50 [00:00<?, ?it/s]\n 4%|▍ | 2/50 [00:00<00:03, 13.43it/s]\n 8%|▊ | 4/50 [00:00<00:03, 13.82it/s]\n 12%|█▏ | 6/50 [00:00<00:03, 13.90it/s]\n 16%|█▌ | 8/50 [00:00<00:02, 14.24it/s]\n 20%|██ | 10/50 [00:00<00:02, 14.42it/s]\n 24%|██▍ | 12/50 [00:00<00:02, 14.49it/s]\n 28%|██▊ | 14/50 [00:00<00:02, 14.26it/s]\n 32%|███▏ | 16/50 [00:01<00:02, 14.43it/s]\n 36%|███▌ | 18/50 [00:01<00:02, 14.58it/s]\n 40%|████ | 20/50 [00:01<00:02, 14.68it/s]\n 44%|████▍ | 22/50 [00:01<00:01, 14.73it/s]\n 48%|████▊ | 24/50 [00:01<00:01, 14.70it/s]\n 52%|█████▏ | 26/50 [00:01<00:01, 14.65it/s]\n 56%|█████▌ | 28/50 [00:01<00:01, 14.68it/s]\n 60%|██████ | 30/50 [00:02<00:01, 14.77it/s]\n 64%|██████▍ | 32/50 [00:02<00:01, 14.85it/s]\n 68%|██████▊ | 34/50 [00:02<00:01, 14.94it/s]\n 72%|███████▏ | 36/50 [00:02<00:00, 15.00it/s]\n 76%|███████▌ | 38/50 [00:02<00:00, 15.03it/s]\n 80%|████████ | 40/50 [00:02<00:00, 15.04it/s]\n 84%|████████▍ | 42/50 [00:02<00:00, 14.83it/s]\n 88%|████████▊ | 44/50 [00:03<00:00, 14.81it/s]\n 92%|█████████▏| 46/50 [00:03<00:00, 14.83it/s]\n 96%|█████████▌| 48/50 [00:03<00:00, 14.87it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.90it/s]\n100%|██████████| 50/50 [00:03<00:00, 14.68it/s]", "metrics": { "predict_time": 3.876598, "total_time": 3.910108 }, "output": [ "https://replicate.delivery/pbxt/zyIyrY4HnPq5LZRzp4kATseqZhhVKflsrRcptHxnIuOiQnCQA/out-0.png" ], "started_at": "2022-11-22T12:35:42.684070Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/n6oanlt4pvfyjirb4lwowajjhm", "cancel": "https://api.replicate.com/v1/predictions/n6oanlt4pvfyjirb4lwowajjhm/cancel" }, "version": "ba30355ce02ca4755d60f7f083e3c0e2593fd3ee687a0dc1fca236deb6046e4d" }
Generated inUsing seed: 23138 0%| | 0/50 [00:00<?, ?it/s] 4%|▍ | 2/50 [00:00<00:03, 13.43it/s] 8%|▊ | 4/50 [00:00<00:03, 13.82it/s] 12%|█▏ | 6/50 [00:00<00:03, 13.90it/s] 16%|█▌ | 8/50 [00:00<00:02, 14.24it/s] 20%|██ | 10/50 [00:00<00:02, 14.42it/s] 24%|██▍ | 12/50 [00:00<00:02, 14.49it/s] 28%|██▊ | 14/50 [00:00<00:02, 14.26it/s] 32%|███▏ | 16/50 [00:01<00:02, 14.43it/s] 36%|███▌ | 18/50 [00:01<00:02, 14.58it/s] 40%|████ | 20/50 [00:01<00:02, 14.68it/s] 44%|████▍ | 22/50 [00:01<00:01, 14.73it/s] 48%|████▊ | 24/50 [00:01<00:01, 14.70it/s] 52%|█████▏ | 26/50 [00:01<00:01, 14.65it/s] 56%|█████▌ | 28/50 [00:01<00:01, 14.68it/s] 60%|██████ | 30/50 [00:02<00:01, 14.77it/s] 64%|██████▍ | 32/50 [00:02<00:01, 14.85it/s] 68%|██████▊ | 34/50 [00:02<00:01, 14.94it/s] 72%|███████▏ | 36/50 [00:02<00:00, 15.00it/s] 76%|███████▌ | 38/50 [00:02<00:00, 15.03it/s] 80%|████████ | 40/50 [00:02<00:00, 15.04it/s] 84%|████████▍ | 42/50 [00:02<00:00, 14.83it/s] 88%|████████▊ | 44/50 [00:03<00:00, 14.81it/s] 92%|█████████▏| 46/50 [00:03<00:00, 14.83it/s] 96%|█████████▌| 48/50 [00:03<00:00, 14.87it/s] 100%|██████████| 50/50 [00:03<00:00, 14.90it/s] 100%|██████████| 50/50 [00:03<00:00, 14.68it/s]
Want to make some of these yourself?
Run this model