Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run zeg06/stefbo using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"zeg06/stefbo:3abf3b9a5a07d03467ab4566e583df8633ed420bc8fb085a35c954df774f97a7",
{
input: {
model: "dev",
prompt: "Ultrarealistic photo of stefbo dressed as Spider-Man, wearing the classic red and blue suit, explicitly without the mask, revealing his face in full detail. He is captured mid-stride, sprinting at incredible speed through dark, gritty alleys with an effect of motion blur to emphasize his velocity. The setting features dim, flickering streetlights, wet pavement reflecting the light, and a menacing atmosphere of a crime-ridden urban area. Snowflakes fall lightly, adding to the cold winter ambiance. Stebo's determined expression and the dynamic sense of movement create a powerful and action-packed scene",
go_fast: false,
lora_scale: 1,
megapixels: "1",
num_outputs: 1,
aspect_ratio: "9:16",
output_format: "png",
guidance_scale: 3,
output_quality: 100,
prompt_strength: 1,
extra_lora_scale: 1,
num_inference_steps: 50
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run zeg06/stefbo using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"zeg06/stefbo:3abf3b9a5a07d03467ab4566e583df8633ed420bc8fb085a35c954df774f97a7",
input={
"model": "dev",
"prompt": "Ultrarealistic photo of stefbo dressed as Spider-Man, wearing the classic red and blue suit, explicitly without the mask, revealing his face in full detail. He is captured mid-stride, sprinting at incredible speed through dark, gritty alleys with an effect of motion blur to emphasize his velocity. The setting features dim, flickering streetlights, wet pavement reflecting the light, and a menacing atmosphere of a crime-ridden urban area. Snowflakes fall lightly, adding to the cold winter ambiance. Stebo's determined expression and the dynamic sense of movement create a powerful and action-packed scene",
"go_fast": False,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "png",
"guidance_scale": 3,
"output_quality": 100,
"prompt_strength": 1,
"extra_lora_scale": 1,
"num_inference_steps": 50
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run zeg06/stefbo 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": "zeg06/stefbo:3abf3b9a5a07d03467ab4566e583df8633ed420bc8fb085a35c954df774f97a7",
"input": {
"model": "dev",
"prompt": "Ultrarealistic photo of stefbo dressed as Spider-Man, wearing the classic red and blue suit, explicitly without the mask, revealing his face in full detail. He is captured mid-stride, sprinting at incredible speed through dark, gritty alleys with an effect of motion blur to emphasize his velocity. The setting features dim, flickering streetlights, wet pavement reflecting the light, and a menacing atmosphere of a crime-ridden urban area. Snowflakes fall lightly, adding to the cold winter ambiance. Stebo\'s determined expression and the dynamic sense of movement create a powerful and action-packed scene",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "png",
"guidance_scale": 3,
"output_quality": 100,
"prompt_strength": 1,
"extra_lora_scale": 1,
"num_inference_steps": 50
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-12-20T16:45:53.731456Z",
"created_at": "2024-12-20T16:45:42.959000Z",
"data_removed": false,
"error": null,
"id": "fg77wpqenxrma0ckwktt2gj170",
"input": {
"model": "dev",
"prompt": "Ultrarealistic photo of stefbo dressed as Spider-Man, wearing the classic red and blue suit, explicitly without the mask, revealing his face in full detail. He is captured mid-stride, sprinting at incredible speed through dark, gritty alleys with an effect of motion blur to emphasize his velocity. The setting features dim, flickering streetlights, wet pavement reflecting the light, and a menacing atmosphere of a crime-ridden urban area. Snowflakes fall lightly, adding to the cold winter ambiance. Stebo's determined expression and the dynamic sense of movement create a powerful and action-packed scene",
"go_fast": false,
"lora_scale": 1,
"megapixels": "1",
"num_outputs": 1,
"aspect_ratio": "9:16",
"output_format": "png",
"guidance_scale": 3,
"output_quality": 100,
"prompt_strength": 1,
"extra_lora_scale": 1,
"num_inference_steps": 50
},
"logs": "Lora https://replicate.delivery/xezq/eHpzbsOwkHWSQKJRoeYq2gRD0MmKjKhtYYwNGXHB7bIqU47TA/trained_model.tar already loaded\nUsing seed: 35285\n0it [00:00, ?it/s]\n1it [00:00, 8.42it/s]\n2it [00:00, 5.89it/s]\n3it [00:00, 5.39it/s]\n4it [00:00, 5.18it/s]\n5it [00:00, 5.06it/s]\n6it [00:01, 4.99it/s]\n7it [00:01, 4.96it/s]\n8it [00:01, 4.93it/s]\n9it [00:01, 4.91it/s]\n10it [00:01, 4.90it/s]\n11it [00:02, 4.89it/s]\n12it [00:02, 4.88it/s]\n13it [00:02, 4.88it/s]\n14it [00:02, 4.87it/s]\n15it [00:02, 4.87it/s]\n16it [00:03, 4.86it/s]\n17it [00:03, 4.86it/s]\n18it [00:03, 4.86it/s]\n19it [00:03, 4.87it/s]\n20it [00:04, 4.87it/s]\n21it [00:04, 4.87it/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]\n29it [00:05, 4.87it/s]\n30it [00:06, 4.86it/s]\n31it [00:06, 4.86it/s]\n32it [00:06, 4.87it/s]\n33it [00:06, 4.87it/s]\n34it [00:06, 4.86it/s]\n35it [00:07, 4.86it/s]\n36it [00:07, 4.85it/s]\n37it [00:07, 4.84it/s]\n38it [00:07, 4.84it/s]\n39it [00:07, 4.86it/s]\n40it [00:08, 4.86it/s]\n41it [00:08, 4.86it/s]\n42it [00:08, 4.86it/s]\n43it [00:08, 4.87it/s]\n44it [00:08, 4.87it/s]\n45it [00:09, 4.85it/s]\n46it [00:09, 4.85it/s]\n47it [00:09, 4.86it/s]\n48it [00:09, 4.86it/s]\n49it [00:09, 4.86it/s]\n50it [00:10, 4.86it/s]\n50it [00:10, 4.91it/s]\nTotal safe images: 1 out of 1",
"metrics": {
"predict_time": 10.7663965,
"total_time": 10.772456
},
"output": [
"https://replicate.delivery/xezq/LwLrNhIOn8LjMlYtGjCTXPeqByRwljSDZFjh8ifSDiuBF18TA/out-0.png"
],
"started_at": "2024-12-20T16:45:42.965060Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-ui4j6wliw4jko5zdys7ed5apkjvg2cannch2zebbxaduskmcat3q",
"get": "https://api.replicate.com/v1/predictions/fg77wpqenxrma0ckwktt2gj170",
"cancel": "https://api.replicate.com/v1/predictions/fg77wpqenxrma0ckwktt2gj170/cancel"
},
"version": "3abf3b9a5a07d03467ab4566e583df8633ed420bc8fb085a35c954df774f97a7"
}
Lora https://replicate.delivery/xezq/eHpzbsOwkHWSQKJRoeYq2gRD0MmKjKhtYYwNGXHB7bIqU47TA/trained_model.tar already loaded
Using seed: 35285
0it [00:00, ?it/s]
1it [00:00, 8.42it/s]
2it [00:00, 5.89it/s]
3it [00:00, 5.39it/s]
4it [00:00, 5.18it/s]
5it [00:00, 5.06it/s]
6it [00:01, 4.99it/s]
7it [00:01, 4.96it/s]
8it [00:01, 4.93it/s]
9it [00:01, 4.91it/s]
10it [00:01, 4.90it/s]
11it [00:02, 4.89it/s]
12it [00:02, 4.88it/s]
13it [00:02, 4.88it/s]
14it [00:02, 4.87it/s]
15it [00:02, 4.87it/s]
16it [00:03, 4.86it/s]
17it [00:03, 4.86it/s]
18it [00:03, 4.86it/s]
19it [00:03, 4.87it/s]
20it [00:04, 4.87it/s]
21it [00:04, 4.87it/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]
29it [00:05, 4.87it/s]
30it [00:06, 4.86it/s]
31it [00:06, 4.86it/s]
32it [00:06, 4.87it/s]
33it [00:06, 4.87it/s]
34it [00:06, 4.86it/s]
35it [00:07, 4.86it/s]
36it [00:07, 4.85it/s]
37it [00:07, 4.84it/s]
38it [00:07, 4.84it/s]
39it [00:07, 4.86it/s]
40it [00:08, 4.86it/s]
41it [00:08, 4.86it/s]
42it [00:08, 4.86it/s]
43it [00:08, 4.87it/s]
44it [00:08, 4.87it/s]
45it [00:09, 4.85it/s]
46it [00:09, 4.85it/s]
47it [00:09, 4.86it/s]
48it [00:09, 4.86it/s]
49it [00:09, 4.86it/s]
50it [00:10, 4.86it/s]
50it [00:10, 4.91it/s]
Total safe images: 1 out of 1