typetext
{
"guidance_scale": 5.5,
"image": "https://replicate.delivery/pbxt/NMwv9XpdfihyolvoSzVf5zH1q7PwxG42KajxyHeHq0ZKJEki/4ccgkq0a6xrm80cpykfszajfaw.png",
"prompt": "Change the text to \"SEEDEDIT 3 ON REPLICATE\", put her in a garden, she is making the \"ok\" sign with both hands"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_NHA**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run bytedance/seededit-3.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
guidance_scale: 5.5,
image: "https://replicate.delivery/pbxt/NMwv9XpdfihyolvoSzVf5zH1q7PwxG42KajxyHeHq0ZKJEki/4ccgkq0a6xrm80cpykfszajfaw.png",
prompt: "Change the text to \"SEEDEDIT 3 ON REPLICATE\", put her in a garden, she is making the \"ok\" sign with both hands"
};
const output = await replicate.run("bytedance/seededit-3.0", { input });
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
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=r8_NHA**********************************
This is your API token. Keep it to yourself.
import replicate
Run bytedance/seededit-3.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"bytedance/seededit-3.0",
input={
"guidance_scale": 5.5,
"image": "https://replicate.delivery/pbxt/NMwv9XpdfihyolvoSzVf5zH1q7PwxG42KajxyHeHq0ZKJEki/4ccgkq0a6xrm80cpykfszajfaw.png",
"prompt": "Change the text to \"SEEDEDIT 3 ON REPLICATE\", put her in a garden, she is making the \"ok\" sign with both hands"
}
)
# To access the file URL:
print(output.url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_NHA**********************************
This is your API token. Keep it to yourself.
Run bytedance/seededit-3.0 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 $'{
"input": {
"guidance_scale": 5.5,
"image": "https://replicate.delivery/pbxt/NMwv9XpdfihyolvoSzVf5zH1q7PwxG42KajxyHeHq0ZKJEki/4ccgkq0a6xrm80cpykfszajfaw.png",
"prompt": "Change the text to \\"SEEDEDIT 3 ON REPLICATE\\", put her in a garden, she is making the \\"ok\\" sign with both hands"
}
}' \
https://api.replicate.com/v1/models/bytedance/seededit-3.0/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "vpcqhmcw7srmc0cr2hqv0dw0bm",
"model": "bytedance/seededit-3.0",
"version": "hidden",
"input": {
"guidance_scale": 5.5,
"image": "https://replicate.delivery/pbxt/NMwv9XpdfihyolvoSzVf5zH1q7PwxG42KajxyHeHq0ZKJEki/4ccgkq0a6xrm80cpykfszajfaw.png",
"prompt": "Change the text to \"SEEDEDIT 3 ON REPLICATE\", put her in a garden, she is making the \"ok\" sign with both hands"
},
"logs": "Downloading 469609 bytes\nDownloaded 0.45MB in 2.31sec",
"output": "https://replicate.delivery/xezq/ds6T2ezcIzSQRSzrODljh5ncAmuqg2xIsmwrhrpvsLZ86sgKA/tmp90dct5to.jpg",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-07-16T18:11:55.582Z",
"started_at": "2025-07-16T18:11:55.590498Z",
"completed_at": "2025-07-16T18:12:08.683624Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/vpcqhmcw7srmc0cr2hqv0dw0bm/cancel",
"get": "https://api.replicate.com/v1/predictions/vpcqhmcw7srmc0cr2hqv0dw0bm",
"stream": "https://stream.replicate.com/v1/files/bcwr-fitrjegefqaabw3zseme3m2sq3fm7sfgend4tp42pu2zmqp6jjtq",
"web": "https://replicate.com/p/vpcqhmcw7srmc0cr2hqv0dw0bm"
},
"metrics": {
"predict_time": 13.09312537,
"total_time": 13.101624
}
}
