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.
bbrldev /sd-font-artist-blip:9f4d905e
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 bbrldev/sd-font-artist-blip using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"bbrldev/sd-font-artist-blip:9f4d905ee4b80389aec37b7953311b74e1d7fbb4551b4447e90d1bd36646bc9d",
{
input: {
seed: 1312,
prompt: "white serif uppercase letter A on a black background, dynamic movement, square corners, black weight",
init_image: "https://replicate.delivery/pbxt/IkD79Cue8yRUQNN4RgbV2LV62qSVKCNCUIqXEF15QmuhMs5I/upper_A.jpg",
captioning_model: "blip",
conceptual_image_strength: 0.5,
structural_image_strength: 0.15
}
}
);
// 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 bbrldev/sd-font-artist-blip using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"bbrldev/sd-font-artist-blip:9f4d905ee4b80389aec37b7953311b74e1d7fbb4551b4447e90d1bd36646bc9d",
input={
"seed": 1312,
"prompt": "white serif uppercase letter A on a black background, dynamic movement, square corners, black weight",
"init_image": "https://replicate.delivery/pbxt/IkD79Cue8yRUQNN4RgbV2LV62qSVKCNCUIqXEF15QmuhMs5I/upper_A.jpg",
"captioning_model": "blip",
"conceptual_image_strength": 0.5,
"structural_image_strength": 0.15
}
)
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 bbrldev/sd-font-artist-blip 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": "bbrldev/sd-font-artist-blip:9f4d905ee4b80389aec37b7953311b74e1d7fbb4551b4447e90d1bd36646bc9d",
"input": {
"seed": 1312,
"prompt": "white serif uppercase letter A on a black background, dynamic movement, square corners, black weight",
"init_image": "https://replicate.delivery/pbxt/IkD79Cue8yRUQNN4RgbV2LV62qSVKCNCUIqXEF15QmuhMs5I/upper_A.jpg",
"captioning_model": "blip",
"conceptual_image_strength": 0.5,
"structural_image_strength": 0.15
}
}' \
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": "2023-04-30T22:36:37.673652Z",
"created_at": "2023-04-30T22:36:17.644448Z",
"data_removed": false,
"error": null,
"id": "4gteqzczojgvphrso2onul7qjq",
"input": {
"seed": 1312,
"prompt": "white serif uppercase letter A on a black background, dynamic movement, square corners, black weight",
"init_image": "https://replicate.delivery/pbxt/IkD79Cue8yRUQNN4RgbV2LV62qSVKCNCUIqXEF15QmuhMs5I/upper_A.jpg",
"captioning_model": "blip",
"conceptual_image_strength": 0.5,
"structural_image_strength": 0.15
},
"logs": "Using seed: 1312\nInterrogating with ViT-L/14...\na mixed case font set on a black background, from a mixed case font set, a photo by Apelles, behance, video art, behance hd, angular, aftereffects\nCaptioning using blip\nImage prompt: a mixed case font set on a black background, from a mixed case font set\n0it [00:00, ?it/s]\n2it [00:00, 9.11it/s]\n3it [00:00, 7.87it/s]\n4it [00:00, 7.34it/s]\n5it [00:00, 7.06it/s]\n6it [00:00, 6.90it/s]\n7it [00:00, 6.80it/s]\n8it [00:01, 6.73it/s]\n9it [00:01, 6.69it/s]\n10it [00:01, 6.66it/s]\n11it [00:01, 6.64it/s]\n12it [00:01, 6.53it/s]\n13it [00:01, 6.64it/s]\n14it [00:02, 6.62it/s]\n15it [00:02, 6.62it/s]\n16it [00:02, 6.61it/s]\n17it [00:02, 6.61it/s]\n18it [00:02, 6.60it/s]\n19it [00:02, 6.58it/s]\n20it [00:02, 6.60it/s]\n21it [00:03, 6.60it/s]\n22it [00:03, 6.59it/s]\n23it [00:03, 6.59it/s]\n24it [00:03, 6.59it/s]\n25it [00:03, 6.59it/s]\n26it [00:03, 6.59it/s]\n27it [00:04, 6.60it/s]\n28it [00:04, 6.58it/s]\n29it [00:04, 6.59it/s]\n30it [00:04, 6.58it/s]\n31it [00:04, 6.60it/s]\n32it [00:04, 6.59it/s]\n33it [00:04, 6.59it/s]\n34it [00:05, 6.59it/s]\n35it [00:05, 6.59it/s]\n36it [00:05, 6.56it/s]\n37it [00:05, 6.60it/s]\n38it [00:05, 6.60it/s]\n39it [00:05, 6.60it/s]\n40it [00:05, 6.59it/s]\n41it [00:06, 6.59it/s]\n42it [00:06, 6.59it/s]\n43it [00:06, 6.59it/s]\n43it [00:06, 6.68it/s]",
"metrics": {
"predict_time": 19.940922,
"total_time": 20.029204
},
"output": [
"https://replicate.delivery/pbxt/78a55eZTX32OEqeeliiTlNJP5e0whBZhhMHZaK6k2PHV3ncDB/out-0.png",
"https://replicate.delivery/pbxt/XWgRzzPCkXLhOVXauYR1npEyoEkmfv2wVFrgDbps7Pq6eJ3QA/out-1.png",
"https://replicate.delivery/pbxt/kf7ysxL6dw3cKC34CEygSK7wNjMMxT2yoq0J62ELWbm6eJ3QA/out-2.png",
"https://replicate.delivery/pbxt/09oIlM4rZ1YuN5NU9nMNFCSgicSi5XsYlC6BtqWssDSdfkbIA/out-3.png"
],
"started_at": "2023-04-30T22:36:17.732730Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/4gteqzczojgvphrso2onul7qjq",
"cancel": "https://api.replicate.com/v1/predictions/4gteqzczojgvphrso2onul7qjq/cancel"
},
"version": "9f4d905ee4b80389aec37b7953311b74e1d7fbb4551b4447e90d1bd36646bc9d"
}
Using seed: 1312
Interrogating with ViT-L/14...
a mixed case font set on a black background, from a mixed case font set, a photo by Apelles, behance, video art, behance hd, angular, aftereffects
Captioning using blip
Image prompt: a mixed case font set on a black background, from a mixed case font set
0it [00:00, ?it/s]
2it [00:00, 9.11it/s]
3it [00:00, 7.87it/s]
4it [00:00, 7.34it/s]
5it [00:00, 7.06it/s]
6it [00:00, 6.90it/s]
7it [00:00, 6.80it/s]
8it [00:01, 6.73it/s]
9it [00:01, 6.69it/s]
10it [00:01, 6.66it/s]
11it [00:01, 6.64it/s]
12it [00:01, 6.53it/s]
13it [00:01, 6.64it/s]
14it [00:02, 6.62it/s]
15it [00:02, 6.62it/s]
16it [00:02, 6.61it/s]
17it [00:02, 6.61it/s]
18it [00:02, 6.60it/s]
19it [00:02, 6.58it/s]
20it [00:02, 6.60it/s]
21it [00:03, 6.60it/s]
22it [00:03, 6.59it/s]
23it [00:03, 6.59it/s]
24it [00:03, 6.59it/s]
25it [00:03, 6.59it/s]
26it [00:03, 6.59it/s]
27it [00:04, 6.60it/s]
28it [00:04, 6.58it/s]
29it [00:04, 6.59it/s]
30it [00:04, 6.58it/s]
31it [00:04, 6.60it/s]
32it [00:04, 6.59it/s]
33it [00:04, 6.59it/s]
34it [00:05, 6.59it/s]
35it [00:05, 6.59it/s]
36it [00:05, 6.56it/s]
37it [00:05, 6.60it/s]
38it [00:05, 6.60it/s]
39it [00:05, 6.60it/s]
40it [00:05, 6.59it/s]
41it [00:06, 6.59it/s]
42it [00:06, 6.59it/s]
43it [00:06, 6.59it/s]
43it [00:06, 6.68it/s]