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:811e8565
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:811e85654fa48dff26b6b2356c98526156e13d2e3f7afd747b39f24cfcdafd16",
{
input: {
prompt: "sans serif white uppercase letter A, square corners, black weight, dynamic movement",
init_image: "https://replicate.delivery/pbxt/IkGeV2ESWqSZrkCuoB9zIU84E16IPPNr5k25nbBJn2KsxJUc/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:811e85654fa48dff26b6b2356c98526156e13d2e3f7afd747b39f24cfcdafd16",
input={
"prompt": "sans serif white uppercase letter A, square corners, black weight, dynamic movement",
"init_image": "https://replicate.delivery/pbxt/IkGeV2ESWqSZrkCuoB9zIU84E16IPPNr5k25nbBJn2KsxJUc/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:811e85654fa48dff26b6b2356c98526156e13d2e3f7afd747b39f24cfcdafd16",
"input": {
"prompt": "sans serif white uppercase letter A, square corners, black weight, dynamic movement",
"init_image": "https://replicate.delivery/pbxt/IkGeV2ESWqSZrkCuoB9zIU84E16IPPNr5k25nbBJn2KsxJUc/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-05-01T02:28:08.418253Z",
"created_at": "2023-05-01T02:27:48.344200Z",
"data_removed": false,
"error": null,
"id": "lz7cs37pargonk2hkkqdj25rem",
"input": {
"prompt": "sans serif white uppercase letter A, square corners, black weight, dynamic movement",
"init_image": "https://replicate.delivery/pbxt/IkGeV2ESWqSZrkCuoB9zIU84E16IPPNr5k25nbBJn2KsxJUc/upper_A.jpg",
"captioning_model": "blip",
"conceptual_image_strength": 0.5,
"structural_image_strength": 0.15
},
"logs": "Using seed: 43799\nInterrogating with ViT-L/14...\na mixed case font set, extended width, sharp corners, thin weight, static, a photo by Apelles, behance, video art, behance hd, angular, aftereffects\nCaptioning using blip\nImage prompt: a mixed case font set, extended width, sharp corners, thin weight, static\n0it [00:00, ?it/s]\n2it [00:00, 9.09it/s]\n3it [00:00, 7.85it/s]\n4it [00:00, 7.32it/s]\n5it [00:00, 7.05it/s]\n6it [00:00, 6.88it/s]\n7it [00:00, 6.79it/s]\n8it [00:01, 6.68it/s]\n9it [00:01, 6.69it/s]\n10it [00:01, 6.65it/s]\n11it [00:01, 6.63it/s]\n12it [00:01, 6.63it/s]\n13it [00:01, 6.61it/s]\n14it [00:02, 6.61it/s]\n15it [00:02, 6.60it/s]\n16it [00:02, 6.60it/s]\n17it [00:02, 6.58it/s]\n18it [00:02, 6.58it/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.58it/s]\n24it [00:03, 6.58it/s]\n25it [00:03, 6.57it/s]\n26it [00:03, 6.57it/s]\n27it [00:04, 6.60it/s]\n28it [00:04, 6.59it/s]\n29it [00:04, 6.60it/s]\n30it [00:04, 6.59it/s]\n31it [00:04, 6.59it/s]\n32it [00:04, 6.59it/s]\n33it [00:04, 6.59it/s]\n34it [00:05, 6.58it/s]\n35it [00:05, 6.59it/s]\n36it [00:05, 6.59it/s]\n37it [00:05, 6.58it/s]\n38it [00:05, 6.59it/s]\n39it [00:05, 6.59it/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.67it/s]",
"metrics": {
"predict_time": 19.985136,
"total_time": 20.074053
},
"output": [
"https://replicate.delivery/pbxt/0SpvfqKkpI32Kq9bD8hxvgDgWnSihvgNDYQjK7oMxNqbrmbIA/out-0.png",
"https://replicate.delivery/pbxt/Nm4arcGrwe00XCfQslfn0Hp8pn86sNcnkn5aXxIRIJOwtauhA/out-1.png",
"https://replicate.delivery/pbxt/7P1ePnrnfeXhvI5hGihwS4V2wrrfcfEfJfrraeMBLlcd4WN3QA/out-2.png",
"https://replicate.delivery/pbxt/W2krYt6ykoKaMBYyIaXwDNYqUIEhkRM9bMQNW0tJ3fQcrmbIA/out-3.png"
],
"started_at": "2023-05-01T02:27:48.433117Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/lz7cs37pargonk2hkkqdj25rem",
"cancel": "https://api.replicate.com/v1/predictions/lz7cs37pargonk2hkkqdj25rem/cancel"
},
"version": "811e85654fa48dff26b6b2356c98526156e13d2e3f7afd747b39f24cfcdafd16"
}
Using seed: 43799
Interrogating with ViT-L/14...
a mixed case font set, extended width, sharp corners, thin weight, static, a photo by Apelles, behance, video art, behance hd, angular, aftereffects
Captioning using blip
Image prompt: a mixed case font set, extended width, sharp corners, thin weight, static
0it [00:00, ?it/s]
2it [00:00, 9.09it/s]
3it [00:00, 7.85it/s]
4it [00:00, 7.32it/s]
5it [00:00, 7.05it/s]
6it [00:00, 6.88it/s]
7it [00:00, 6.79it/s]
8it [00:01, 6.68it/s]
9it [00:01, 6.69it/s]
10it [00:01, 6.65it/s]
11it [00:01, 6.63it/s]
12it [00:01, 6.63it/s]
13it [00:01, 6.61it/s]
14it [00:02, 6.61it/s]
15it [00:02, 6.60it/s]
16it [00:02, 6.60it/s]
17it [00:02, 6.58it/s]
18it [00:02, 6.58it/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.58it/s]
24it [00:03, 6.58it/s]
25it [00:03, 6.57it/s]
26it [00:03, 6.57it/s]
27it [00:04, 6.60it/s]
28it [00:04, 6.59it/s]
29it [00:04, 6.60it/s]
30it [00:04, 6.59it/s]
31it [00:04, 6.59it/s]
32it [00:04, 6.59it/s]
33it [00:04, 6.59it/s]
34it [00:05, 6.58it/s]
35it [00:05, 6.59it/s]
36it [00:05, 6.59it/s]
37it [00:05, 6.58it/s]
38it [00:05, 6.59it/s]
39it [00:05, 6.59it/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.67it/s]