sylvesteraswin
/
sylvester-flux-selfie
- Public
- 316 runs
-
H100
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDffsenck7wdrm60chrdzbw8cnecStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-09-05T18:43:06.167098Z", "created_at": "2024-09-05T18:42:06.947000Z", "data_removed": false, "error": null, "id": "ffsenck7wdrm60chrdzbw8cnec", "input": { "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50411\nPrompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.\n[!] txt2img mode\nUsing dev model\nfree=8571470770176\nDownloading weights\n2024-09-05T18:42:34Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmh_6ay_o/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-09-05T18:42:37Z | INFO | [ Complete ] dest=/tmp/tmpmh_6ay_o/weights size=\"172 MB\" total_elapsed=3.138s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 3.17s\nLoaded LoRAs in 23.06s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.48it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.90it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.69it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.60it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.56it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.54it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.52it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.51it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.50it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.49it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.49it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.48it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.48it/s]\n 50%|█████ | 14/28 [00:03<00:04, 3.48it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.48it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.48it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.48it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.48it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.49it/s]\n 75%|███████▌ | 21/28 [00:05<00:02, 3.48it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.48it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.49it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.48it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.48it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.48it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.48it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.48it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.50it/s]", "metrics": { "predict_time": 31.611191196, "total_time": 59.220098 }, "output": [ "https://replicate.delivery/yhqm/jbeZ85RBMoT6YSGfki2rxZC0WfOkCZGI1PtBcpQP1pmzt1zmA/out-0.webp" ], "started_at": "2024-09-05T18:42:34.555907Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ffsenck7wdrm60chrdzbw8cnec", "cancel": "https://api.replicate.com/v1/predictions/ffsenck7wdrm60chrdzbw8cnec/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 50411 Prompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere. [!] txt2img mode Using dev model free=8571470770176 Downloading weights 2024-09-05T18:42:34Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpmh_6ay_o/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-09-05T18:42:37Z | INFO | [ Complete ] dest=/tmp/tmpmh_6ay_o/weights size="172 MB" total_elapsed=3.138s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 3.17s Loaded LoRAs in 23.06s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.48it/s] 7%|▋ | 2/28 [00:00<00:06, 3.90it/s] 11%|█ | 3/28 [00:00<00:06, 3.69it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.60it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.56it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.54it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.52it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.51it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.50it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.49it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.49it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.48it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.48it/s] 50%|█████ | 14/28 [00:03<00:04, 3.48it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.48it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.48it/s] 61%|██████ | 17/28 [00:04<00:03, 3.48it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.48it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.49it/s] 75%|███████▌ | 21/28 [00:05<00:02, 3.48it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.48it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.49it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.48it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.48it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.48it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.48it/s] 100%|██████████| 28/28 [00:07<00:00, 3.48it/s] 100%|██████████| 28/28 [00:07<00:00, 3.50it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID9fzbtewmkxrj20cj90nrkxsq7rStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- model
- dev
- prompt
- High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression. Shot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image. SYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\n\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\n\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\n\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\n\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\n\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\n\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\\n\\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\\n\\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-01T13:01:29.095757Z", "created_at": "2024-10-01T13:01:08.639000Z", "data_removed": false, "error": null, "id": "9fzbtewmkxrj20cj90nrkxsq7r", "input": { "model": "dev", "prompt": "High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\n\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\n\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 13617\nPrompt: High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression.\nShot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image.\nSYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw\n[!] txt2img mode\nUsing dev model\nfree=2961986289664\nDownloading weights\n2024-10-01T13:01:08Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpokye4x1j/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-10-01T13:01:09Z | INFO | [ Complete ] dest=/tmp/tmpokye4x1j/weights size=\"172 MB\" total_elapsed=1.142s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 1.17s\nLoaded LoRAs in 2.00s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.57it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.77it/s]\n 11%|█ | 3/28 [00:01<00:14, 1.67it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.63it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.59it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s]\n 29%|██▊ | 8/28 [00:04<00:12, 1.58it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.57it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.57it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.57it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.57it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.57it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.56it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s]\n 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.57it/s]", "metrics": { "predict_time": 20.445475092, "total_time": 20.456757 }, "output": [ "https://replicate.delivery/yhqm/mMfmeFPNOEl9ukhn4voOnZ5bkZYkU3OuG2CfJDI4BLORl0EnA/out-0.jpg" ], "started_at": "2024-10-01T13:01:08.650281Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/9fzbtewmkxrj20cj90nrkxsq7r", "cancel": "https://api.replicate.com/v1/predictions/9fzbtewmkxrj20cj90nrkxsq7r/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 13617 Prompt: High-resolution photography, portrait of contrast, profile silhouette of SYL_07_08, a 38-year-old Indian male, set against a vibrant orange backdrop. The reference image captures a similar stark contrast between the subject and background, with SYL_07_08’s profile clearly defined. His hair is styled in a man bun, adding texture and detail to the profile. The lighting softly illuminates his face, revealing his well-groomed beard and facial features. His retro-styled glasses catch a subtle light reflection, adding depth and intrigue to his expression. Shot with a camera setup mimicking a large aperture, the focus is on the sharp edge of SYL_07_08’s silhouette, while maintaining a shallow depth of field to emphasize the separation between subject and background. A low ISO preserves the richness of the vibrant orange backdrop without grain, creating a photorealistic and vibrant effect. Taken with a Canon EOS 5D Mark IV for its superior dynamic range and tonal depth, paired with a Canon EF 85mm f/1.2L II USM lens for exquisite bokeh, enhancing the contrast and texture in the image. SYL_07_08’s face is softly lit, emphasizing his expression and the fine details of his beard and hair. His retro glasses and neatly styled man bun add complexity to the silhouette. The overall composition is minimalist, with a strong emphasis on the contrast between the dark silhouette and the vivid orange background, creating a powerful visual narrative. Ultra-realistic, UHD, with intricate details of light and shadow on SYL_07_08’s face and hair. –ar 9:16 –chaos 1.7 –style raw [!] txt2img mode Using dev model free=2961986289664 Downloading weights 2024-10-01T13:01:08Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpokye4x1j/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-10-01T13:01:09Z | INFO | [ Complete ] dest=/tmp/tmpokye4x1j/weights size="172 MB" total_elapsed=1.142s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 1.17s Loaded LoRAs in 2.00s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.57it/s] 7%|▋ | 2/28 [00:01<00:14, 1.77it/s] 11%|█ | 3/28 [00:01<00:14, 1.67it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.63it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.59it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s] 29%|██▊ | 8/28 [00:04<00:12, 1.58it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.57it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.57it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.57it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.57it/s] 50%|█████ | 14/28 [00:08<00:08, 1.57it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s] 61%|██████ | 17/28 [00:10<00:07, 1.56it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s] 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.57it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDq6w54y4sp9rj40cj9g3srdfxd0StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- model
- dev
- prompt
- A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 2.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 2.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-02T07:02:11.903189Z", "created_at": "2024-10-02T07:00:19.506000Z", "data_removed": false, "error": null, "id": "q6w54y4sp9rj40cj9g3srdfxd0", "input": { "model": "dev", "prompt": "A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 18561\nPrompt: A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.83s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.55it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.75it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.65it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.61it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.59it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.57it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.56it/s]\n 29%|██▊ | 8/28 [00:05<00:12, 1.56it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.55it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.55it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.55it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.55it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.55it/s]\n 50%|█████ | 14/28 [00:08<00:09, 1.55it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.55it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.55it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.55it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.55it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.55it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.54it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.54it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.54it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.54it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.54it/s]\n 89%|████████▉ | 25/28 [00:16<00:01, 1.54it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.54it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.54it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.54it/s]\n100%|██████████| 28/28 [00:18<00:00, 1.55it/s]", "metrics": { "predict_time": 19.25173679, "total_time": 112.397189 }, "output": [ "https://replicate.delivery/yhqm/QbYoUfNmXHXOCikoOjUJtpewMibe0fazVTz9Mt5oBJqOfQVcC/out-0.jpg" ], "started_at": "2024-10-02T07:01:52.651452Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q6w54y4sp9rj40cj9g3srdfxd0", "cancel": "https://api.replicate.com/v1/predictions/q6w54y4sp9rj40cj9g3srdfxd0/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 18561 Prompt: A close-up portrait of SYL_07_08, a 38-year-old Indian adult male, wearing glasses and sporting a man bun, with a serene expression. He is positioned slightly angled to the left in a three-quarter view. Warm reddish-orange lighting softly illuminates his face, complementing his calm demeanor. He is wearing a light, sleeveless top, with the background softly lit in warm tones to create a cohesive color scheme. The lighting and color choices enhance the tranquil and grounded atmosphere. Photorealistic, UHD –ar 9:16 –style raw. [!] txt2img mode Using dev model Loaded LoRAs in 0.83s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.55it/s] 7%|▋ | 2/28 [00:01<00:14, 1.75it/s] 11%|█ | 3/28 [00:01<00:15, 1.65it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.61it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.59it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.57it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.56it/s] 29%|██▊ | 8/28 [00:05<00:12, 1.56it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.55it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.55it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.55it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.55it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.55it/s] 50%|█████ | 14/28 [00:08<00:09, 1.55it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.55it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.55it/s] 61%|██████ | 17/28 [00:10<00:07, 1.55it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.55it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.55it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.54it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.54it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.54it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.54it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.54it/s] 89%|████████▉ | 25/28 [00:16<00:01, 1.54it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.54it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.54it/s] 100%|██████████| 28/28 [00:18<00:00, 1.54it/s] 100%|██████████| 28/28 [00:18<00:00, 1.55it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDt7pyh8d2fxrj40cj9gcrgprewmStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- model
- dev
- prompt
- Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-02T07:20:21.282890Z", "created_at": "2024-10-02T07:20:01.407000Z", "data_removed": false, "error": null, "id": "t7pyh8d2fxrj40cj9gcrgprewm", "input": { "model": "dev", "prompt": "Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 3699\nPrompt: Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300\n[!] txt2img mode\nUsing dev model\nfree=3231548841984\nDownloading weights\n2024-10-02T07:20:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptvlacz2e/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-10-02T07:20:02Z | INFO | [ Complete ] dest=/tmp/tmptvlacz2e/weights size=\"172 MB\" total_elapsed=1.008s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 1.10s\nLoaded LoRAs in 1.76s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.57it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.77it/s]\n 11%|█ | 3/28 [00:01<00:14, 1.67it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.63it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.61it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.60it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.59it/s]\n 29%|██▊ | 8/28 [00:04<00:12, 1.58it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.58it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.58it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.57it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.57it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.57it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.57it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.57it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.57it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.57it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.57it/s]\n 68%|██████▊ | 19/28 [00:11<00:05, 1.57it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.57it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.57it/s]\n 79%|███████▊ | 22/28 [00:13<00:03, 1.57it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.57it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.57it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.57it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.57it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.57it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.57it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.58it/s]", "metrics": { "predict_time": 19.866326861, "total_time": 19.87589 }, "output": [ "https://replicate.delivery/yhqm/zbDa03NkL7orI5kzrgGIfvZ2xsIfwSFb3TYlkLcnm2N1YqiTA/out-0.jpg" ], "started_at": "2024-10-02T07:20:01.416563Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t7pyh8d2fxrj40cj9gcrgprewm", "cancel": "https://api.replicate.com/v1/predictions/t7pyh8d2fxrj40cj9gcrgprewm/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 3699 Prompt: Capturing a casual yet stylish vibe, SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, stands in a relaxed stance against a vibrant red background. He’s dressed in loose, oversized black streetwear, with wide-leg trousers and an oversized black T-shirt, creating a contrast with the bold backdrop. The even lighting enhances the playful yet laid-back mood of the scene, adding photorealistic detailing to the set. Photorealistic, UHD –ar 9:16 –style raw –stylize 300 [!] txt2img mode Using dev model free=3231548841984 Downloading weights 2024-10-02T07:20:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmptvlacz2e/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-10-02T07:20:02Z | INFO | [ Complete ] dest=/tmp/tmptvlacz2e/weights size="172 MB" total_elapsed=1.008s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 1.10s Loaded LoRAs in 1.76s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.57it/s] 7%|▋ | 2/28 [00:01<00:14, 1.77it/s] 11%|█ | 3/28 [00:01<00:14, 1.67it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.63it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.61it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.60it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.59it/s] 29%|██▊ | 8/28 [00:04<00:12, 1.58it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.58it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.58it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.57it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.57it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.57it/s] 50%|█████ | 14/28 [00:08<00:08, 1.57it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.57it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.57it/s] 61%|██████ | 17/28 [00:10<00:07, 1.57it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.57it/s] 68%|██████▊ | 19/28 [00:11<00:05, 1.57it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.57it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.57it/s] 79%|███████▊ | 22/28 [00:13<00:03, 1.57it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.57it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.57it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.57it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.57it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.57it/s] 100%|██████████| 28/28 [00:17<00:00, 1.57it/s] 100%|██████████| 28/28 [00:17<00:00, 1.58it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID5ny6h8f86nrj40cj9ggrbj04wcStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- model
- dev
- prompt
- Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 2.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 2.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-02T07:29:22.465374Z", "created_at": "2024-10-02T07:29:03.541000Z", "data_removed": false, "error": null, "id": "5ny6h8f86nrj40cj9ggrbj04wc", "input": { "model": "dev", "prompt": "Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 30385\nPrompt: Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.68s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.56it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.76it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.66it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.58it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s]\n 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.56it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.56it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s]\n 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.57it/s]", "metrics": { "predict_time": 18.914648791, "total_time": 18.924374 }, "output": [ "https://replicate.delivery/yhqm/4U938YLwe6T3Lag1HiLxqqFq2REWdXGeyej7EQ2nslXkCVFnA/out-0.jpg" ], "started_at": "2024-10-02T07:29:03.550725Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5ny6h8f86nrj40cj9ggrbj04wc", "cancel": "https://api.replicate.com/v1/predictions/5ny6h8f86nrj40cj9ggrbj04wc/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 30385 Prompt: Photography, high aerial view of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in the center of a massive, complicated crosswalk inspired by the Shibuya scramble. SYL_07_08 stares directly into the camera, wearing a techwear black washed safari jacket with a thick black hoodie, black washed cargo jogger pants, and dark grey tactical boots. He is surrounded by a bustling crowd, yet his composed presence stands out amidst the chaos of the scene. His glasses and man bun add a distinct touch to his techwear outfit. Photorealistic, UHD –ar 9:16 [!] txt2img mode Using dev model Loaded LoRAs in 0.68s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.56it/s] 7%|▋ | 2/28 [00:01<00:14, 1.76it/s] 11%|█ | 3/28 [00:01<00:15, 1.66it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.58it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s] 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s] 50%|█████ | 14/28 [00:08<00:08, 1.56it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s] 61%|██████ | 17/28 [00:10<00:07, 1.56it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s] 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.57it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDp4xb2n89ahrj20cj9gmrxzxb4gStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- seed
- 50411
- model
- dev
- prompt
- A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "seed": 50411, "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { seed: 50411, model: "dev", prompt: "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "seed": 50411, "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "seed": 50411, "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-02T07:37:09.841819Z", "created_at": "2024-10-02T07:36:50.772000Z", "data_removed": false, "error": null, "id": "p4xb2n89ahrj20cj9gmrxzxb4g", "input": { "seed": 50411, "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 50411\nPrompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.84s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.56it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.76it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.67it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.59it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s]\n 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.56it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.56it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s]\n 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.56it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.57it/s]", "metrics": { "predict_time": 19.060494409, "total_time": 19.069819 }, "output": [ "https://replicate.delivery/yhqm/g5I8iqbfEflUoEKaRkiyCDbiZy1za8gpP1o5tsLYZjBloqiTA/out-0.jpg" ], "started_at": "2024-10-02T07:36:50.781325Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/p4xb2n89ahrj20cj9gmrxzxb4g", "cancel": "https://api.replicate.com/v1/predictions/p4xb2n89ahrj20cj9gmrxzxb4g/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 50411 Prompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a modern suit. His posture is relaxed, and the lighting casts soft shadows, accentuating the mischievous expression on his face while maintaining an elegant and professional atmosphere. [!] txt2img mode Using dev model Loaded LoRAs in 0.84s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.56it/s] 7%|▋ | 2/28 [00:01<00:14, 1.76it/s] 11%|█ | 3/28 [00:01<00:15, 1.67it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.59it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.58it/s] 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.57it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s] 50%|█████ | 14/28 [00:08<00:08, 1.56it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s] 61%|██████ | 17/28 [00:10<00:07, 1.56it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.56it/s] 79%|███████▊ | 22/28 [00:13<00:03, 1.56it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.56it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.56it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.56it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.56it/s] 100%|██████████| 28/28 [00:17<00:00, 1.57it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID3sapsh3wjdrj20cj9gprs6snd0StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- model
- dev
- prompt
- A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-02T07:42:01.548626Z", "created_at": "2024-10-02T07:41:42.419000Z", "data_removed": false, "error": null, "id": "3sapsh3wjdrj20cj9gprs6snd0", "input": { "model": "dev", "prompt": "A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 28735\nPrompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.84s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:17, 1.56it/s]\n 7%|▋ | 2/28 [00:01<00:14, 1.76it/s]\n 11%|█ | 3/28 [00:01<00:15, 1.66it/s]\n 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s]\n 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s]\n 21%|██▏ | 6/28 [00:03<00:13, 1.58it/s]\n 25%|██▌ | 7/28 [00:04<00:13, 1.57it/s]\n 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s]\n 32%|███▏ | 9/28 [00:05<00:12, 1.56it/s]\n 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s]\n 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s]\n 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s]\n 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s]\n 50%|█████ | 14/28 [00:08<00:08, 1.56it/s]\n 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s]\n 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s]\n 61%|██████ | 17/28 [00:10<00:07, 1.56it/s]\n 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s]\n 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s]\n 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s]\n 75%|███████▌ | 21/28 [00:13<00:04, 1.55it/s]\n 79%|███████▊ | 22/28 [00:14<00:03, 1.55it/s]\n 82%|████████▏ | 23/28 [00:14<00:03, 1.55it/s]\n 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s]\n 89%|████████▉ | 25/28 [00:15<00:01, 1.55it/s]\n 93%|█████████▎| 26/28 [00:16<00:01, 1.55it/s]\n 96%|█████████▋| 27/28 [00:17<00:00, 1.55it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.55it/s]\n100%|██████████| 28/28 [00:17<00:00, 1.57it/s]", "metrics": { "predict_time": 19.118005062, "total_time": 19.129626 }, "output": [ "https://replicate.delivery/yhqm/Ggug6LIb3A5TGlDediDXEHXF0JWYlT6oklnhZTUGaVeJtqiTA/out-0.jpg" ], "started_at": "2024-10-02T07:41:42.430621Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3sapsh3wjdrj20cj9gprs6snd0", "cancel": "https://api.replicate.com/v1/predictions/3sapsh3wjdrj20cj9gprs6snd0/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 28735 Prompt: A highly detailed studio portrait of SYL_07_08, a 38-year-old male with glasses and a man bun, wearing sleek prescription glasses and giving a playful, naughty smile. The setting is a professional photo studio with a completely black background and dramatic, professional lighting that highlights his facial features clearly. The shot includes SYL_07_08 from head to hip, dressed in a thick black hoodie, maintaining a relaxed yet stylish appearance. His posture is casual, and the lighting casts soft shadows, accentuating the mischievous expression on his face while preserving an elegant, professional atmosphere. Photorealistic, UHD –ar 9:16 –style raw. [!] txt2img mode Using dev model Loaded LoRAs in 0.84s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:17, 1.56it/s] 7%|▋ | 2/28 [00:01<00:14, 1.76it/s] 11%|█ | 3/28 [00:01<00:15, 1.66it/s] 14%|█▍ | 4/28 [00:02<00:14, 1.62it/s] 18%|█▊ | 5/28 [00:03<00:14, 1.60it/s] 21%|██▏ | 6/28 [00:03<00:13, 1.58it/s] 25%|██▌ | 7/28 [00:04<00:13, 1.57it/s] 29%|██▊ | 8/28 [00:05<00:12, 1.57it/s] 32%|███▏ | 9/28 [00:05<00:12, 1.56it/s] 36%|███▌ | 10/28 [00:06<00:11, 1.56it/s] 39%|███▉ | 11/28 [00:06<00:10, 1.56it/s] 43%|████▎ | 12/28 [00:07<00:10, 1.56it/s] 46%|████▋ | 13/28 [00:08<00:09, 1.56it/s] 50%|█████ | 14/28 [00:08<00:08, 1.56it/s] 54%|█████▎ | 15/28 [00:09<00:08, 1.56it/s] 57%|█████▋ | 16/28 [00:10<00:07, 1.56it/s] 61%|██████ | 17/28 [00:10<00:07, 1.56it/s] 64%|██████▍ | 18/28 [00:11<00:06, 1.56it/s] 68%|██████▊ | 19/28 [00:12<00:05, 1.56it/s] 71%|███████▏ | 20/28 [00:12<00:05, 1.56it/s] 75%|███████▌ | 21/28 [00:13<00:04, 1.55it/s] 79%|███████▊ | 22/28 [00:14<00:03, 1.55it/s] 82%|████████▏ | 23/28 [00:14<00:03, 1.55it/s] 86%|████████▌ | 24/28 [00:15<00:02, 1.56it/s] 89%|████████▉ | 25/28 [00:15<00:01, 1.55it/s] 93%|█████████▎| 26/28 [00:16<00:01, 1.55it/s] 96%|█████████▋| 27/28 [00:17<00:00, 1.55it/s] 100%|██████████| 28/28 [00:17<00:00, 1.55it/s] 100%|██████████| 28/28 [00:17<00:00, 1.57it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID2dzjwhjjddrm40cjcze9ak5e58StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. ", lora_scale: 1, num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-10-07T16:44:28.780651Z", "created_at": "2024-10-07T16:42:25.259000Z", "data_removed": false, "error": null, "id": "2dzjwhjjddrm40cjcze9ak5e58", "input": { "model": "dev", "prompt": "A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. ", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 32563\nPrompt: A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.91it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.25it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.09it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.92it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.92it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.91it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.93it/s]", "metrics": { "predict_time": 10.392558508, "total_time": 123.521651 }, "output": [ "https://replicate.delivery/yhqm/opwyYfGSp92BMaFL92z2PYNYEIlS7GJlu2KGwsuzj2S2DOyJA/out-0.jpg" ], "started_at": "2024-10-07T16:44:18.388093Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2dzjwhjjddrm40cjcze9ak5e58", "cancel": "https://api.replicate.com/v1/predictions/2dzjwhjjddrm40cjcze9ak5e58/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated inUsing seed: 32563 Prompt: A portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the chest to head, posing confidently as if styled like a K-pop idol. SYL_07_08 is dressed in Korean-inspired fashion, wearing a sleek, tailored black blazer with modern Korean-style accents. The lighting captures the sharp, clean lines of his outfit, while his expression and posture exude the confidence of a pop star. He is positioned in front of a solid background, ensuring full focus on his fashion and detailed features. [!] txt2img mode Using dev model Loaded LoRAs in 0.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.91it/s] 7%|▋ | 2/28 [00:00<00:08, 3.25it/s] 11%|█ | 3/28 [00:00<00:08, 3.09it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s] 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.92it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s] 50%|█████ | 14/28 [00:04<00:04, 2.92it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.91it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.91it/s] 61%|██████ | 17/28 [00:05<00:03, 2.91it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.93it/s]
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDdk652xa4mnrme0ckzttvqjk6awStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-12-25T16:45:24.197494Z", "created_at": "2024-12-25T16:45:12.741000Z", "data_removed": false, "error": null, "id": "dk652xa4mnrme0ckzttvqjk6aw", "input": { "model": "dev", "height": 1440, "prompt": "A vibrant, detailed portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, transformed into a mischievous clown character. His face is painted in classic clown makeup: a stark white base with bold red and blue accents, exaggerated eyebrows, a bright red nose, and a wide, playful smile. His fiery red hair is styled dramatically to frame his face. He wears a colorful ruffled collar with a floral pattern and a bright red and yellow clown costume. The background is softly lit in neutral tones, ensuring the vivid colors of his makeup and costume take center stage. The lighting enhances the texture of the makeup and the intricate details of his costume, creating an unsettling yet captivating expression. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 16:45:12.788 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:45:12.788 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2725.97it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2602.19it/s]\n2024-12-25 16:45:12.905 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=30179010584576\nDownloading weights\n2024-12-25T16:45:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpllb55oh2/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-25T16:45:18Z | INFO | [ Complete ] dest=/tmp/tmpllb55oh2/weights size=\"172 MB\" total_elapsed=5.056s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 5.11s\n2024-12-25 16:45:18.017 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 16:45:18.086 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 16:45:18.086 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:45:18.086 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2727.89it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2603.69it/s]\n2024-12-25 16:45:18.203 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 64442\n0it [00:00, ?it/s]\n1it [00:00, 8.40it/s]\n2it [00:00, 5.88it/s]\n3it [00:00, 5.37it/s]\n4it [00:00, 5.15it/s]\n5it [00:00, 5.04it/s]\n6it [00:01, 4.97it/s]\n7it [00:01, 4.93it/s]\n8it [00:01, 4.90it/s]\n9it [00:01, 4.89it/s]\n10it [00:01, 4.88it/s]\n11it [00:02, 4.87it/s]\n12it [00:02, 4.87it/s]\n13it [00:02, 4.86it/s]\n14it [00:02, 4.86it/s]\n15it [00:03, 4.85it/s]\n16it [00:03, 4.84it/s]\n17it [00:03, 4.85it/s]\n18it [00:03, 4.85it/s]\n19it [00:03, 4.85it/s]\n20it [00:04, 4.85it/s]\n21it [00:04, 4.85it/s]\n22it [00:04, 4.86it/s]\n23it [00:04, 4.85it/s]\n24it [00:04, 4.85it/s]\n25it [00:05, 4.85it/s]\n26it [00:05, 4.85it/s]\n27it [00:05, 4.85it/s]\n28it [00:05, 4.85it/s]\n28it [00:05, 4.93it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 11.408785876, "total_time": 11.456494 }, "output": [ "https://replicate.delivery/xezq/BAEep4ou0v2GSS2FlhiyDStLJ5w6CmqPDXk9pWlHr3NSRPfTA/out-0.jpg" ], "started_at": "2024-12-25T16:45:12.788708Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xlixvhw2l6khe34o5tprjqrctlhwsodyynkghwzyp2zdzyctfxba", "get": "https://api.replicate.com/v1/predictions/dk652xa4mnrme0ckzttvqjk6aw", "cancel": "https://api.replicate.com/v1/predictions/dk652xa4mnrme0ckzttvqjk6aw/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 16:45:12.788 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:45:12.788 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2725.97it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2602.19it/s] 2024-12-25 16:45:12.905 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=30179010584576 Downloading weights 2024-12-25T16:45:12Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpllb55oh2/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-25T16:45:18Z | INFO | [ Complete ] dest=/tmp/tmpllb55oh2/weights size="172 MB" total_elapsed=5.056s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 5.11s 2024-12-25 16:45:18.017 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 16:45:18.086 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 16:45:18.086 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:45:18.086 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|████████▉ | 273/304 [00:00<00:00, 2727.89it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2603.69it/s] 2024-12-25 16:45:18.203 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 64442 0it [00:00, ?it/s] 1it [00:00, 8.40it/s] 2it [00:00, 5.88it/s] 3it [00:00, 5.37it/s] 4it [00:00, 5.15it/s] 5it [00:00, 5.04it/s] 6it [00:01, 4.97it/s] 7it [00:01, 4.93it/s] 8it [00:01, 4.90it/s] 9it [00:01, 4.89it/s] 10it [00:01, 4.88it/s] 11it [00:02, 4.87it/s] 12it [00:02, 4.87it/s] 13it [00:02, 4.86it/s] 14it [00:02, 4.86it/s] 15it [00:03, 4.85it/s] 16it [00:03, 4.84it/s] 17it [00:03, 4.85it/s] 18it [00:03, 4.85it/s] 19it [00:03, 4.85it/s] 20it [00:04, 4.85it/s] 21it [00:04, 4.85it/s] 22it [00:04, 4.86it/s] 23it [00:04, 4.85it/s] 24it [00:04, 4.85it/s] 25it [00:05, 4.85it/s] 26it [00:05, 4.85it/s] 27it [00:05, 4.85it/s] 28it [00:05, 4.85it/s] 28it [00:05, 4.93it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDpa38s86fx1rm80ckztw8p1b320StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-12-25T16:49:17.876842Z", "created_at": "2024-12-25T16:49:05Z", "data_removed": false, "error": null, "id": "pa38s86fx1rm80ckztw8p1b320", "input": { "model": "dev", "height": 1440, "prompt": "A cozy holiday portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, captured from the waist up. SYL_07_08 is wearing a festive red sweater adorned with cheerful holiday patterns, including reindeer and snowflakes. He stands in a warm, rustic setting with a brick wall in the background, decorated with glowing candles, red ornaments, and evergreen garlands. The soft, golden lighting enhances the festive ambiance, casting a warm glow on the decorations and highlighting SYL_07_08’s relaxed and cheerful expression. The scene exudes holiday joy and the charm of a classic Christmas celebration. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 16:49:05.148 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:49:05.148 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2867.10it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2804.17it/s]\n2024-12-25 16:49:05.257 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=28876373987328\nDownloading weights\n2024-12-25T16:49:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsarupxv8/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-25T16:49:11Z | INFO | [ Complete ] dest=/tmp/tmpsarupxv8/weights size=\"172 MB\" total_elapsed=6.365s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 6.39s\n2024-12-25 16:49:11.651 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 16:49:11.728 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 16:49:11.728 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:49:11.729 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2869.69it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2806.80it/s]\n2024-12-25 16:49:11.837 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 32126\n0it [00:00, ?it/s]\n1it [00:00, 8.44it/s]\n2it [00:00, 5.89it/s]\n3it [00:00, 5.37it/s]\n4it [00:00, 5.16it/s]\n5it [00:00, 5.02it/s]\n6it [00:01, 4.94it/s]\n7it [00:01, 4.90it/s]\n8it [00:01, 4.88it/s]\n9it [00:01, 4.87it/s]\n10it [00:01, 4.85it/s]\n11it [00:02, 4.84it/s]\n12it [00:02, 4.83it/s]\n13it [00:02, 4.83it/s]\n14it [00:02, 4.83it/s]\n15it [00:03, 4.83it/s]\n16it [00:03, 4.81it/s]\n17it [00:03, 4.81it/s]\n18it [00:03, 4.81it/s]\n19it [00:03, 4.81it/s]\n20it [00:04, 4.81it/s]\n21it [00:04, 4.81it/s]\n22it [00:04, 4.81it/s]\n23it [00:04, 4.82it/s]\n24it [00:04, 4.82it/s]\n25it [00:05, 4.82it/s]\n26it [00:05, 4.82it/s]\n27it [00:05, 4.81it/s]\n28it [00:05, 4.81it/s]\n28it [00:05, 4.89it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 12.727765712, "total_time": 12.876842 }, "output": [ "https://replicate.delivery/xezq/oWgtftzOzxwCCi09txNV85MyhQ16gNsJtBITcCiGzedNme8nA/out-0.jpg" ], "started_at": "2024-12-25T16:49:05.149076Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cixaikefww6kb5mtanyri735krbqnwzlqzyy357yc4i752hq3b3a", "get": "https://api.replicate.com/v1/predictions/pa38s86fx1rm80ckztw8p1b320", "cancel": "https://api.replicate.com/v1/predictions/pa38s86fx1rm80ckztw8p1b320/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 16:49:05.148 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:49:05.148 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2867.10it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2804.17it/s] 2024-12-25 16:49:05.257 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=28876373987328 Downloading weights 2024-12-25T16:49:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpsarupxv8/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-25T16:49:11Z | INFO | [ Complete ] dest=/tmp/tmpsarupxv8/weights size="172 MB" total_elapsed=6.365s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 6.39s 2024-12-25 16:49:11.651 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 16:49:11.728 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 16:49:11.728 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:49:11.729 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2869.69it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2806.80it/s] 2024-12-25 16:49:11.837 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 32126 0it [00:00, ?it/s] 1it [00:00, 8.44it/s] 2it [00:00, 5.89it/s] 3it [00:00, 5.37it/s] 4it [00:00, 5.16it/s] 5it [00:00, 5.02it/s] 6it [00:01, 4.94it/s] 7it [00:01, 4.90it/s] 8it [00:01, 4.88it/s] 9it [00:01, 4.87it/s] 10it [00:01, 4.85it/s] 11it [00:02, 4.84it/s] 12it [00:02, 4.83it/s] 13it [00:02, 4.83it/s] 14it [00:02, 4.83it/s] 15it [00:03, 4.83it/s] 16it [00:03, 4.81it/s] 17it [00:03, 4.81it/s] 18it [00:03, 4.81it/s] 19it [00:03, 4.81it/s] 20it [00:04, 4.81it/s] 21it [00:04, 4.81it/s] 22it [00:04, 4.81it/s] 23it [00:04, 4.82it/s] 24it [00:04, 4.82it/s] 25it [00:05, 4.82it/s] 26it [00:05, 4.82it/s] 27it [00:05, 4.81it/s] 28it [00:05, 4.81it/s] 28it [00:05, 4.89it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDvc07setf7srme0ckztwvzjp2c8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-12-25T16:49:48.372908Z", "created_at": "2024-12-25T16:49:37.598000Z", "data_removed": false, "error": null, "id": "vc07setf7srme0ckztwvzjp2c8", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple white T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 16:49:38.023 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:49:38.024 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2738.70it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2585.48it/s]\n2024-12-25 16:49:38.142 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\nfree=29185936949248\nDownloading weights\n2024-12-25T16:49:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4gww0wv5/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-25T16:49:42Z | INFO | [ Complete ] dest=/tmp/tmp4gww0wv5/weights size=\"172 MB\" total_elapsed=3.965s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 3.99s\n2024-12-25 16:49:42.132 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 16:49:42.204 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 16:49:42.205 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:49:42.205 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2741.49it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2588.66it/s]\n2024-12-25 16:49:42.323 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 38138\n0it [00:00, ?it/s]\n1it [00:00, 8.38it/s]\n2it [00:00, 5.85it/s]\n3it [00:00, 5.34it/s]\n4it [00:00, 5.11it/s]\n5it [00:00, 5.00it/s]\n6it [00:01, 4.92it/s]\n7it [00:01, 4.88it/s]\n8it [00:01, 4.85it/s]\n9it [00:01, 4.84it/s]\n10it [00:01, 4.83it/s]\n11it [00:02, 4.81it/s]\n12it [00:02, 4.80it/s]\n13it [00:02, 4.79it/s]\n14it [00:02, 4.80it/s]\n15it [00:03, 4.80it/s]\n16it [00:03, 4.80it/s]\n17it [00:03, 4.80it/s]\n18it [00:03, 4.80it/s]\n19it [00:03, 4.80it/s]\n20it [00:04, 4.80it/s]\n21it [00:04, 4.80it/s]\n22it [00:04, 4.80it/s]\n23it [00:04, 4.79it/s]\n24it [00:04, 4.79it/s]\n25it [00:05, 4.79it/s]\n26it [00:05, 4.80it/s]\n27it [00:05, 4.80it/s]\n28it [00:05, 4.80it/s]\n28it [00:05, 4.87it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 10.348102891, "total_time": 10.774908 }, "output": [ "https://replicate.delivery/xezq/x5XaDX2VsnZEJhXEoWr8Vmj9veeOZWza7PCawVrbdDGsme8nA/out-0.jpg" ], "started_at": "2024-12-25T16:49:38.024806Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-uv3i6k6hz7ooyrfcb6rrmqz2jogs5vuptwct63elbonpaoixsmvq", "get": "https://api.replicate.com/v1/predictions/vc07setf7srme0ckztwvzjp2c8", "cancel": "https://api.replicate.com/v1/predictions/vc07setf7srme0ckztwvzjp2c8/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 16:49:38.023 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:49:38.024 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2738.70it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2585.48it/s] 2024-12-25 16:49:38.142 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s free=29185936949248 Downloading weights 2024-12-25T16:49:38Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp4gww0wv5/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-25T16:49:42Z | INFO | [ Complete ] dest=/tmp/tmp4gww0wv5/weights size="172 MB" total_elapsed=3.965s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 3.99s 2024-12-25 16:49:42.132 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 16:49:42.204 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 16:49:42.205 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:49:42.205 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 90%|█████████ | 275/304 [00:00<00:00, 2741.49it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2588.66it/s] 2024-12-25 16:49:42.323 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 38138 0it [00:00, ?it/s] 1it [00:00, 8.38it/s] 2it [00:00, 5.85it/s] 3it [00:00, 5.34it/s] 4it [00:00, 5.11it/s] 5it [00:00, 5.00it/s] 6it [00:01, 4.92it/s] 7it [00:01, 4.88it/s] 8it [00:01, 4.85it/s] 9it [00:01, 4.84it/s] 10it [00:01, 4.83it/s] 11it [00:02, 4.81it/s] 12it [00:02, 4.80it/s] 13it [00:02, 4.79it/s] 14it [00:02, 4.80it/s] 15it [00:03, 4.80it/s] 16it [00:03, 4.80it/s] 17it [00:03, 4.80it/s] 18it [00:03, 4.80it/s] 19it [00:03, 4.80it/s] 20it [00:04, 4.80it/s] 21it [00:04, 4.80it/s] 22it [00:04, 4.80it/s] 23it [00:04, 4.79it/s] 24it [00:04, 4.79it/s] 25it [00:05, 4.79it/s] 26it [00:05, 4.80it/s] 27it [00:05, 4.80it/s] 28it [00:05, 4.80it/s] 28it [00:05, 4.87it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID6y0nsk359drme0ckztxtyd7ck4StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.5
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.5, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "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": "2024-12-25T16:52:06.228586Z", "created_at": "2024-12-25T16:51:54.315000Z", "data_removed": false, "error": null, "id": "6y0nsk359drme0ckztxtyd7ck4", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 16:51:59.887 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:51:59.888 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2766.71it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2577.31it/s]\n2024-12-25 16:52:00.006 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s\n2024-12-25 16:52:00.007 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 16:52:00.119 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 16:52:00.119 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:52:00.119 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2768.73it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2579.03it/s]\n2024-12-25 16:52:00.238 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 6146\n0it [00:00, ?it/s]\n1it [00:00, 8.46it/s]\n2it [00:00, 5.91it/s]\n3it [00:00, 5.38it/s]\n4it [00:00, 5.17it/s]\n5it [00:00, 5.05it/s]\n6it [00:01, 4.96it/s]\n7it [00:01, 4.92it/s]\n8it [00:01, 4.90it/s]\n9it [00:01, 4.89it/s]\n10it [00:01, 4.89it/s]\n11it [00:02, 4.87it/s]\n12it [00:02, 4.86it/s]\n13it [00:02, 4.86it/s]\n14it [00:02, 4.86it/s]\n15it [00:03, 4.85it/s]\n16it [00:03, 4.84it/s]\n17it [00:03, 4.84it/s]\n18it [00:03, 4.84it/s]\n19it [00:03, 4.84it/s]\n20it [00:04, 4.84it/s]\n21it [00:04, 4.84it/s]\n22it [00:04, 4.85it/s]\n23it [00:04, 4.85it/s]\n24it [00:04, 4.86it/s]\n25it [00:05, 4.85it/s]\n26it [00:05, 4.84it/s]\n27it [00:05, 4.84it/s]\n28it [00:05, 4.84it/s]\n28it [00:05, 4.92it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.339903232, "total_time": 11.913586 }, "output": [ "https://replicate.delivery/xezq/j3l7a7BHVZ64KVncu7P5tlSeZXWOVMPWMRfj1Y3yttr2oe8nA/out-0.jpg" ], "started_at": "2024-12-25T16:51:59.888682Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-cy73o7k3bgxvbkqyab744pzaqv4uqdn5novojthfivzqz6nkqnda", "get": "https://api.replicate.com/v1/predictions/6y0nsk359drme0ckztxtyd7ck4", "cancel": "https://api.replicate.com/v1/predictions/6y0nsk359drme0ckztxtyd7ck4/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 16:51:59.887 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:51:59.888 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2766.71it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2577.31it/s] 2024-12-25 16:52:00.006 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.12s 2024-12-25 16:52:00.007 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 16:52:00.119 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 16:52:00.119 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:52:00.119 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 91%|█████████▏| 278/304 [00:00<00:00, 2768.73it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2579.03it/s] 2024-12-25 16:52:00.238 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 6146 0it [00:00, ?it/s] 1it [00:00, 8.46it/s] 2it [00:00, 5.91it/s] 3it [00:00, 5.38it/s] 4it [00:00, 5.17it/s] 5it [00:00, 5.05it/s] 6it [00:01, 4.96it/s] 7it [00:01, 4.92it/s] 8it [00:01, 4.90it/s] 9it [00:01, 4.89it/s] 10it [00:01, 4.89it/s] 11it [00:02, 4.87it/s] 12it [00:02, 4.86it/s] 13it [00:02, 4.86it/s] 14it [00:02, 4.86it/s] 15it [00:03, 4.85it/s] 16it [00:03, 4.84it/s] 17it [00:03, 4.84it/s] 18it [00:03, 4.84it/s] 19it [00:03, 4.84it/s] 20it [00:04, 4.84it/s] 21it [00:04, 4.84it/s] 22it [00:04, 4.85it/s] 23it [00:04, 4.85it/s] 24it [00:04, 4.86it/s] 25it [00:05, 4.85it/s] 26it [00:05, 4.84it/s] 27it [00:05, 4.84it/s] 28it [00:05, 4.84it/s] 28it [00:05, 4.92it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDr2adqjrnz9rm80ckzty8bkgammStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.5
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.5, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "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": "2024-12-25T16:52:45.971411Z", "created_at": "2024-12-25T16:52:39.546000Z", "data_removed": false, "error": null, "id": "r2adqjrnz9rm80ckzty8bkgamm", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.5, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 16:52:39.624 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:52:39.624 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 92%|█████████▏| 279/304 [00:00<00:00, 2783.75it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2694.98it/s]\n2024-12-25 16:52:39.737 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\n2024-12-25 16:52:39.739 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 16:52:39.855 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 16:52:39.855 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 16:52:39.856 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 92%|█████████▏| 279/304 [00:00<00:00, 2789.42it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2699.82it/s]\n2024-12-25 16:52:39.968 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s\nUsing seed: 29857\n0it [00:00, ?it/s]\n1it [00:00, 8.47it/s]\n2it [00:00, 5.92it/s]\n3it [00:00, 5.39it/s]\n4it [00:00, 5.18it/s]\n5it [00:00, 5.03it/s]\n6it [00:01, 4.94it/s]\n7it [00:01, 4.92it/s]\n8it [00:01, 4.90it/s]\n9it [00:01, 4.90it/s]\n10it [00:01, 4.87it/s]\n11it [00:02, 4.85it/s]\n12it [00:02, 4.85it/s]\n13it [00:02, 4.85it/s]\n14it [00:02, 4.86it/s]\n15it [00:03, 4.86it/s]\n16it [00:03, 4.85it/s]\n17it [00:03, 4.84it/s]\n18it [00:03, 4.85it/s]\n19it [00:03, 4.85it/s]\n20it [00:04, 4.84it/s]\n21it [00:04, 4.83it/s]\n22it [00:04, 4.83it/s]\n23it [00:04, 4.83it/s]\n24it [00:04, 4.84it/s]\n25it [00:05, 4.84it/s]\n26it [00:05, 4.83it/s]\n27it [00:05, 4.83it/s]\n28it [00:05, 4.83it/s]\n28it [00:05, 4.92it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 6.346216597, "total_time": 6.425411 }, "output": [ "https://replicate.delivery/xezq/fVSeZ8BEqBkO4Eqty6nYNaK9VSlf8eFAbSNmRCJjeuirL1zfE/out-0.jpg" ], "started_at": "2024-12-25T16:52:39.625195Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-dpikjbdshafjnujizqjkndzaoj7jtc7rlqxr54azi7s6isfzppnq", "get": "https://api.replicate.com/v1/predictions/r2adqjrnz9rm80ckzty8bkgamm", "cancel": "https://api.replicate.com/v1/predictions/r2adqjrnz9rm80ckzty8bkgamm/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 16:52:39.624 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:52:39.624 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 92%|█████████▏| 279/304 [00:00<00:00, 2783.75it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2694.98it/s] 2024-12-25 16:52:39.737 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s 2024-12-25 16:52:39.739 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 16:52:39.855 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 16:52:39.855 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 16:52:39.856 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 92%|█████████▏| 279/304 [00:00<00:00, 2789.42it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2699.82it/s] 2024-12-25 16:52:39.968 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.23s Using seed: 29857 0it [00:00, ?it/s] 1it [00:00, 8.47it/s] 2it [00:00, 5.92it/s] 3it [00:00, 5.39it/s] 4it [00:00, 5.18it/s] 5it [00:00, 5.03it/s] 6it [00:01, 4.94it/s] 7it [00:01, 4.92it/s] 8it [00:01, 4.90it/s] 9it [00:01, 4.90it/s] 10it [00:01, 4.87it/s] 11it [00:02, 4.85it/s] 12it [00:02, 4.85it/s] 13it [00:02, 4.85it/s] 14it [00:02, 4.86it/s] 15it [00:03, 4.86it/s] 16it [00:03, 4.85it/s] 17it [00:03, 4.84it/s] 18it [00:03, 4.85it/s] 19it [00:03, 4.85it/s] 20it [00:04, 4.84it/s] 21it [00:04, 4.83it/s] 22it [00:04, 4.83it/s] 23it [00:04, 4.83it/s] 24it [00:04, 4.84it/s] 25it [00:05, 4.84it/s] 26it [00:05, 4.83it/s] 27it [00:05, 4.83it/s] 28it [00:05, 4.83it/s] 28it [00:05, 4.92it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cID8rfh03xsndrmc0ckzxq9gm2dcrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- height
- 1440
- prompt
- A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 3
- output_quality
- 100
- prompt_strength
- 0.6
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.6, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", height: 1440, prompt: "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 3, output_quality: 100, prompt_strength: 0.6, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.6, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.6, "extra_lora_scale": 1, "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": "2024-12-25T20:07:56.094796Z", "created_at": "2024-12-25T20:07:46.859000Z", "data_removed": false, "error": null, "id": "8rfh03xsndrmc0ckzxq9gm2dcr", "input": { "model": "dev", "height": 1440, "prompt": "A serene portrait of SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing in a golden field during sunset. A large, translucent bubble surrounds his face, catching the warm sunlight and creating soft, prismatic reflections. SYL_07_08 wears a simple black T-shirt, blending effortlessly into the dreamy, ethereal atmosphere. The warm hues of the setting sun bathe the scene in golden light, enhancing the natural beauty of the field and the gentle, surreal quality of the floating bubbles. The composition evokes a sense of tranquility and wonder. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 3, "output_quality": 100, "prompt_strength": 0.6, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-25 20:07:47.786 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 20:07:47.787 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 286/304 [00:00<00:00, 2845.17it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2809.88it/s]\n2024-12-25 20:07:47.895 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 20:07:47.896 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 54%|█████▍ | 164/304 [00:00<00:00, 1616.49it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 1871.17it/s]\n2024-12-25 20:07:48.059 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.27s\nfree=29086568550400\nDownloading weights\n2024-12-25T20:07:48Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9pg2ugeb/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-25T20:07:49Z | INFO | [ Complete ] dest=/tmp/tmp9pg2ugeb/weights size=\"172 MB\" total_elapsed=1.724s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 1.75s\n2024-12-25 20:07:49.809 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-25 20:07:49.883 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-25 20:07:49.883 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-25 20:07:49.883 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2856.23it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2829.31it/s]\n2024-12-25 20:07:49.991 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s\nUsing seed: 60511\n0it [00:00, ?it/s]\n1it [00:00, 8.34it/s]\n2it [00:00, 5.79it/s]\n3it [00:00, 5.28it/s]\n4it [00:00, 5.08it/s]\n5it [00:00, 4.95it/s]\n6it [00:01, 4.88it/s]\n7it [00:01, 4.84it/s]\n8it [00:01, 4.81it/s]\n9it [00:01, 4.80it/s]\n10it [00:02, 4.79it/s]\n11it [00:02, 4.77it/s]\n12it [00:02, 4.77it/s]\n13it [00:02, 4.77it/s]\n14it [00:02, 4.77it/s]\n15it [00:03, 4.76it/s]\n16it [00:03, 4.75it/s]\n17it [00:03, 4.76it/s]\n18it [00:03, 4.76it/s]\n19it [00:03, 4.76it/s]\n20it [00:04, 4.75it/s]\n21it [00:04, 4.75it/s]\n22it [00:04, 4.76it/s]\n23it [00:04, 4.76it/s]\n24it [00:04, 4.76it/s]\n25it [00:05, 4.75it/s]\n26it [00:05, 4.75it/s]\n27it [00:05, 4.76it/s]\n28it [00:05, 4.77it/s]\n28it [00:05, 4.83it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.306943256, "total_time": 9.235796 }, "output": [ "https://replicate.delivery/xezq/aEWlBdTi6E4LBRJyyT1JzddJd7rL4wiE5b3tncznoPCHYofJA/out-0.jpg" ], "started_at": "2024-12-25T20:07:47.787852Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ig6vk73su26zcnhzarohqdy3job5hvcq6fb27qhoaz6f3a3wgemq", "get": "https://api.replicate.com/v1/predictions/8rfh03xsndrmc0ckzxq9gm2dcr", "cancel": "https://api.replicate.com/v1/predictions/8rfh03xsndrmc0ckzxq9gm2dcr/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-25 20:07:47.786 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 20:07:47.787 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 286/304 [00:00<00:00, 2845.17it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2809.88it/s] 2024-12-25 20:07:47.895 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 20:07:47.896 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 54%|█████▍ | 164/304 [00:00<00:00, 1616.49it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 1871.17it/s] 2024-12-25 20:07:48.059 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.27s free=29086568550400 Downloading weights 2024-12-25T20:07:48Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9pg2ugeb/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-25T20:07:49Z | INFO | [ Complete ] dest=/tmp/tmp9pg2ugeb/weights size="172 MB" total_elapsed=1.724s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 1.75s 2024-12-25 20:07:49.809 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-25 20:07:49.883 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-25 20:07:49.883 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-25 20:07:49.883 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 94%|█████████▍| 287/304 [00:00<00:00, 2856.23it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2829.31it/s] 2024-12-25 20:07:49.991 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s Using seed: 60511 0it [00:00, ?it/s] 1it [00:00, 8.34it/s] 2it [00:00, 5.79it/s] 3it [00:00, 5.28it/s] 4it [00:00, 5.08it/s] 5it [00:00, 4.95it/s] 6it [00:01, 4.88it/s] 7it [00:01, 4.84it/s] 8it [00:01, 4.81it/s] 9it [00:01, 4.80it/s] 10it [00:02, 4.79it/s] 11it [00:02, 4.77it/s] 12it [00:02, 4.77it/s] 13it [00:02, 4.77it/s] 14it [00:02, 4.77it/s] 15it [00:03, 4.76it/s] 16it [00:03, 4.75it/s] 17it [00:03, 4.76it/s] 18it [00:03, 4.76it/s] 19it [00:03, 4.76it/s] 20it [00:04, 4.75it/s] 21it [00:04, 4.75it/s] 22it [00:04, 4.76it/s] 23it [00:04, 4.76it/s] 24it [00:04, 4.76it/s] 25it [00:05, 4.75it/s] 26it [00:05, 4.75it/s] 27it [00:05, 4.76it/s] 28it [00:05, 4.77it/s] 28it [00:05, 4.83it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDbtk9hsya41rmc0cm2fzrh6m7s8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 2.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 2.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-12-29T19:58:51.572075Z", "created_at": "2024-12-29T19:58:38.112000Z", "data_removed": false, "error": null, "id": "btk9hsya41rmc0cm2fzrh6m7s8", "input": { "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-29 19:58:39.026 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 19:58:39.027 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2817.61it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2737.09it/s]\n2024-12-29 19:58:39.138 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=30155757727744\nDownloading weights\n2024-12-29T19:58:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpqkbwvhi1/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-29T19:58:45Z | INFO | [ Complete ] dest=/tmp/tmpqkbwvhi1/weights size=\"172 MB\" total_elapsed=6.235s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 6.26s\n2024-12-29 19:58:45.400 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-29 19:58:45.470 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-29 19:58:45.470 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 19:58:45.471 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2816.68it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2736.17it/s]\n2024-12-29 19:58:45.582 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s\nUsing seed: 8658\n0it [00:00, ?it/s]\n1it [00:00, 8.48it/s]\n2it [00:00, 5.91it/s]\n3it [00:00, 5.40it/s]\n4it [00:00, 5.19it/s]\n5it [00:00, 5.06it/s]\n6it [00:01, 4.98it/s]\n7it [00:01, 4.93it/s]\n8it [00:01, 4.90it/s]\n9it [00:01, 4.90it/s]\n10it [00:01, 4.88it/s]\n11it [00:02, 4.86it/s]\n12it [00:02, 4.85it/s]\n13it [00:02, 4.84it/s]\n14it [00:02, 4.85it/s]\n15it [00:03, 4.85it/s]\n16it [00:03, 4.84it/s]\n17it [00:03, 4.84it/s]\n18it [00:03, 4.84it/s]\n19it [00:03, 4.85it/s]\n20it [00:04, 4.84it/s]\n21it [00:04, 4.84it/s]\n22it [00:04, 4.84it/s]\n23it [00:04, 4.86it/s]\n24it [00:04, 4.86it/s]\n25it [00:05, 4.86it/s]\n26it [00:05, 4.86it/s]\n27it [00:05, 4.87it/s]\n28it [00:05, 4.88it/s]\n28it [00:05, 4.93it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 12.545049698, "total_time": 13.460075 }, "output": [ "https://replicate.delivery/xezq/aGhd04Jxyr49PBlyiuaH9XFE9fh5b3gPrpB0mhWleh57v1fnA/out-0.jpg" ], "started_at": "2024-12-29T19:58:39.027026Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-lwnpthlsjdtxnnvvyplav3a7tqsgtq2dbcvkcrlrpyn4mjqzjkba", "get": "https://api.replicate.com/v1/predictions/btk9hsya41rmc0cm2fzrh6m7s8", "cancel": "https://api.replicate.com/v1/predictions/btk9hsya41rmc0cm2fzrh6m7s8/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-29 19:58:39.026 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 19:58:39.027 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2817.61it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2737.09it/s] 2024-12-29 19:58:39.138 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=30155757727744 Downloading weights 2024-12-29T19:58:39Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpqkbwvhi1/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-29T19:58:45Z | INFO | [ Complete ] dest=/tmp/tmpqkbwvhi1/weights size="172 MB" total_elapsed=6.235s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 6.26s 2024-12-29 19:58:45.400 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-29 19:58:45.470 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-29 19:58:45.470 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 19:58:45.471 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2816.68it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2736.17it/s] 2024-12-29 19:58:45.582 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s Using seed: 8658 0it [00:00, ?it/s] 1it [00:00, 8.48it/s] 2it [00:00, 5.91it/s] 3it [00:00, 5.40it/s] 4it [00:00, 5.19it/s] 5it [00:00, 5.06it/s] 6it [00:01, 4.98it/s] 7it [00:01, 4.93it/s] 8it [00:01, 4.90it/s] 9it [00:01, 4.90it/s] 10it [00:01, 4.88it/s] 11it [00:02, 4.86it/s] 12it [00:02, 4.85it/s] 13it [00:02, 4.84it/s] 14it [00:02, 4.85it/s] 15it [00:03, 4.85it/s] 16it [00:03, 4.84it/s] 17it [00:03, 4.84it/s] 18it [00:03, 4.84it/s] 19it [00:03, 4.85it/s] 20it [00:04, 4.84it/s] 21it [00:04, 4.84it/s] 22it [00:04, 4.84it/s] 23it [00:04, 4.86it/s] 24it [00:04, 4.86it/s] 25it [00:05, 4.86it/s] 26it [00:05, 4.86it/s] 27it [00:05, 4.87it/s] 28it [00:05, 4.88it/s] 28it [00:05, 4.93it/s] Total safe images: 1 out of 1
Prediction
sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899cIDrn7zzgx2jsrma0cm2g2vzf748gStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 1
- aspect_ratio
- 9:16
- output_format
- jpg
- guidance_scale
- 2.5
- output_quality
- 100
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", { input: { model: "dev", prompt: "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 1, aspect_ratio: "9:16", output_format: "jpg", guidance_scale: 2.5, output_quality: 100, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 sylvesteraswin/sylvester-flux-selfie using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "sylvesteraswin/sylvester-flux-selfie:866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", input={ "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run sylvesteraswin/sylvester-flux-selfie 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": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c", "input": { "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "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": "2024-12-29T20:05:09.381215Z", "created_at": "2024-12-29T20:05:01.206000Z", "data_removed": false, "error": null, "id": "rn7zzgx2jsrma0cm2g2vzf748g", "input": { "model": "dev", "prompt": "SYL_07_08, a 38-year-old Indian adult male with glasses and a man bun, standing confidently in an open, sunlit setting with tall palm trees in the background. He is dressed in a crisp, tailored ivory suit with a slightly unbuttoned white shirt underneath, exuding a sophisticated yet relaxed vibe. The sunlight casts soft shadows across his face, highlighting his distinct features and creating a polished, professional look. The natural backdrop, combined with the luxurious attire, conveys a sense of timeless elegance and effortless charm. Photorealistic, UHD –ar 9:16 –style raw –v 6.0 –stylize 500.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 1, "aspect_ratio": "9:16", "output_format": "jpg", "guidance_scale": 2.5, "output_quality": 100, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-29 20:05:01.210 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 20:05:01.211 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2695.41it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2685.57it/s]\n2024-12-29 20:05:01.324 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=29909335719936\nDownloading weights\n2024-12-29T20:05:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwohorbzr/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\n2024-12-29T20:05:03Z | INFO | [ Complete ] dest=/tmp/tmpwohorbzr/weights size=\"172 MB\" total_elapsed=1.858s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar\nDownloaded weights in 1.88s\n2024-12-29 20:05:03.207 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a\n2024-12-29 20:05:03.278 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-29 20:05:03.278 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-29 20:05:03.278 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 89%|████████▉ | 272/304 [00:00<00:00, 2716.07it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2700.63it/s]\n2024-12-29 20:05:03.391 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s\nUsing seed: 46374\n0it [00:00, ?it/s]\n1it [00:00, 8.43it/s]\n2it [00:00, 5.90it/s]\n3it [00:00, 5.39it/s]\n4it [00:00, 5.17it/s]\n5it [00:00, 5.06it/s]\n6it [00:01, 4.99it/s]\n7it [00:01, 4.95it/s]\n8it [00:01, 4.93it/s]\n9it [00:01, 4.90it/s]\n10it [00:01, 4.89it/s]\n11it [00:02, 4.88it/s]\n12it [00:02, 4.87it/s]\n13it [00:02, 4.86it/s]\n14it [00:02, 4.86it/s]\n15it [00:02, 4.86it/s]\n16it [00:03, 4.86it/s]\n17it [00:03, 4.85it/s]\n18it [00:03, 4.85it/s]\n19it [00:03, 4.86it/s]\n20it [00:04, 4.86it/s]\n21it [00:04, 4.86it/s]\n22it [00:04, 4.87it/s]\n23it [00:04, 4.86it/s]\n24it [00:04, 4.86it/s]\n25it [00:05, 4.86it/s]\n26it [00:05, 4.86it/s]\n27it [00:05, 4.87it/s]\n28it [00:05, 4.87it/s]\n28it [00:05, 4.94it/s]\nTotal safe images: 1 out of 1", "metrics": { "predict_time": 8.169737346, "total_time": 8.175215 }, "output": [ "https://replicate.delivery/xezq/0jOSlpW0WJIzCFk83ZV7OPM6pZc2Jj4yUS2Sh12POEVdd9fJA/out-0.jpg" ], "started_at": "2024-12-29T20:05:01.211478Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-awozsvbtk5nvs64fv625p7qzz7samkxl472hojebuvbjppf3nosq", "get": "https://api.replicate.com/v1/predictions/rn7zzgx2jsrma0cm2g2vzf748g", "cancel": "https://api.replicate.com/v1/predictions/rn7zzgx2jsrma0cm2g2vzf748g/cancel" }, "version": "866dec749879d1240d4bbef72b6efea5b968d845c7556bf7ba39a85dc010899c" }
Generated in2024-12-29 20:05:01.210 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 20:05:01.211 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 89%|████████▉ | 270/304 [00:00<00:00, 2695.41it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2685.57it/s] 2024-12-29 20:05:01.324 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=29909335719936 Downloading weights 2024-12-29T20:05:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpwohorbzr/weights url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar 2024-12-29T20:05:03Z | INFO | [ Complete ] dest=/tmp/tmpwohorbzr/weights size="172 MB" total_elapsed=1.858s url=https://replicate.delivery/yhqm/YI5rNpBvXk7aOZ58TsBBOvDHMTeEu13f5EGY39Gk10xho6ZTA/trained_model.tar Downloaded weights in 1.88s 2024-12-29 20:05:03.207 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/27c180b5b177085a 2024-12-29 20:05:03.278 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-29 20:05:03.278 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-29 20:05:03.278 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 89%|████████▉ | 272/304 [00:00<00:00, 2716.07it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2700.63it/s] 2024-12-29 20:05:03.391 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.18s Using seed: 46374 0it [00:00, ?it/s] 1it [00:00, 8.43it/s] 2it [00:00, 5.90it/s] 3it [00:00, 5.39it/s] 4it [00:00, 5.17it/s] 5it [00:00, 5.06it/s] 6it [00:01, 4.99it/s] 7it [00:01, 4.95it/s] 8it [00:01, 4.93it/s] 9it [00:01, 4.90it/s] 10it [00:01, 4.89it/s] 11it [00:02, 4.88it/s] 12it [00:02, 4.87it/s] 13it [00:02, 4.86it/s] 14it [00:02, 4.86it/s] 15it [00:02, 4.86it/s] 16it [00:03, 4.86it/s] 17it [00:03, 4.85it/s] 18it [00:03, 4.85it/s] 19it [00:03, 4.86it/s] 20it [00:04, 4.86it/s] 21it [00:04, 4.86it/s] 22it [00:04, 4.87it/s] 23it [00:04, 4.86it/s] 24it [00:04, 4.86it/s] 25it [00:05, 4.86it/s] 26it [00:05, 4.86it/s] 27it [00:05, 4.87it/s] 28it [00:05, 4.87it/s] 28it [00:05, 4.94it/s] Total safe images: 1 out of 1
Want to make some of these yourself?
Run this model