defaultA weather app with sun and clouds
typetext
{
"artwork_type": "artwork_only",
"background_type": "solid",
"color_scheme": "vibrant",
"generate_variations": true,
"include_all_sizes": false,
"number_of_variations": 4,
"prompt": "A music bookmarking app",
"style": "vintage"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_eKq**********************************
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 corywilkerson/icons using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
artwork_type: "artwork_only",
background_type: "solid",
color_scheme: "vibrant",
generate_variations: true,
include_all_sizes: false,
number_of_variations: 4,
prompt: "A music bookmarking app",
style: "vintage"
};
const output = await replicate.run("corywilkerson/icons", { input });
// 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=r8_eKq**********************************
This is your API token. Keep it to yourself.
import replicate
Run corywilkerson/icons using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"corywilkerson/icons",
input={
"artwork_type": "artwork_only",
"background_type": "solid",
"color_scheme": "vibrant",
"generate_variations": True,
"include_all_sizes": False,
"number_of_variations": 4,
"prompt": "A music bookmarking app",
"style": "vintage"
}
)
# To access the file URL:
print(output[0].url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output[0].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_eKq**********************************
This is your API token. Keep it to yourself.
Run corywilkerson/icons 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": {
"artwork_type": "artwork_only",
"background_type": "solid",
"color_scheme": "vibrant",
"generate_variations": true,
"include_all_sizes": false,
"number_of_variations": 4,
"prompt": "A music bookmarking app",
"style": "vintage"
}
}' \
https://api.replicate.com/v1/models/corywilkerson/icons/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "9e04yt4vxhrmc0crqwatq3thgg",
"model": "corywilkerson/icons",
"version": "hidden",
"input": {
"artwork_type": "artwork_only",
"background_type": "solid",
"color_scheme": "vibrant",
"generate_variations": true,
"include_all_sizes": false,
"number_of_variations": 4,
"prompt": "A music bookmarking app",
"style": "vintage"
},
"logs": "Enhanced prompt: retro 1960s-80s design language with classic typography and nostalgic color palettes, electric bright neon colors, high saturation, bold primary colors, single solid color background, no patterns or textures. music bookmarking app, digital illustration artwork that will be used for an app icon, generate ONLY the artwork content, not a chiclet or button, do not style it as a button or app icon shape, no rounded rectangle background, no drop shadows or button effects, pure artwork illustration only, professional quality, high detail, centered composition, vibrant and engaging\n--------------------------------\nGenerating: retro 1960s-80s design language with classic typography and nostalgic color palettes, electric bright neon colors, high saturation, bold primary colors, single solid color background, no patterns or textures. music bookmarking app, digital illustration artwork that will be used for an app icon, generate ONLY the artwork content, not a chiclet or button, do not style it as a button or app icon shape, no rounded rectangle background, no drop shadows or button effects, pure artwork illustration only, professional quality, high detail, centered composition, vibrant and engaging\nGenerating: retro 1960s-80s design language with classic typography and nostalgic color palettes, electric bright neon colors, high saturation, bold primary colors, single solid color background, no patterns or textures. music bookmarking app, digital illustration artwork that will be used for an app icon, generate ONLY the artwork content, not a chiclet or button, do not style it as a button or app icon shape, no rounded rectangle background, no drop shadows or button effects, pure artwork illustration only, professional quality, high detail, centered composition, vibrant and engaging, variation 2\nGenerating: retro 1960s-80s design language with classic typography and nostalgic color palettes, electric bright neon colors, high saturation, bold primary colors, single solid color background, no patterns or textures. music bookmarking app, digital illustration artwork that will be used for an app icon, generate ONLY the artwork content, not a chiclet or button, do not style it as a button or app icon shape, no rounded rectangle background, no drop shadows or button effects, pure artwork illustration only, professional quality, high detail, centered composition, vibrant and engaging, variation 3\nGenerating: retro 1960s-80s design language with classic typography and nostalgic color palettes, electric bright neon colors, high saturation, bold primary colors, single solid color background, no patterns or textures. music bookmarking app, digital illustration artwork that will be used for an app icon, generate ONLY the artwork content, not a chiclet or button, do not style it as a button or app icon shape, no rounded rectangle background, no drop shadows or button effects, pure artwork illustration only, professional quality, high detail, centered composition, vibrant and engaging, variation 4\nGenerated variation 1: /tmp/cog-runner-tmp-128010652/5b350201f808ba40/tmpiceaf_ja.png\nGenerated variation 2: /tmp/cog-runner-tmp-128010652/54e543fb9be21bea/tmpkpxz6y4r.png\nGenerated variation 3: /tmp/cog-runner-tmp-128010652/64bb9fc29185886f/tmp4qzv1b_u.png\nGenerated variation 4: /tmp/cog-runner-tmp-128010652/0ef2df6f8327d50f/tmptf_5e9f7.png\n--------------------------------\nProcessing variation 1 as standalone artwork...\nProcessing variation 2 as standalone artwork...\nProcessing variation 3 as standalone artwork...\nProcessing variation 4 as standalone artwork...\nGenerated 4 artwork files",
"output": [
"https://replicate.delivery/xezq/uiORB4YjP9a2N9xCcjWwbhjUwhMXd4MRxor519LRpD0LNFTF/artwork_variation_1.png",
"https://replicate.delivery/xezq/DRjHMzocxBoRPVAI4gyOkcuWu7KmG18lObQwL565djPMNFTF/artwork_variation_2.png",
"https://replicate.delivery/xezq/5wZ5iO51g2qnNFI9em5AixN7Jxee8Tj2PWWVHeB4mI9BTTxUB/artwork_variation_3.png",
"https://replicate.delivery/xezq/k5csMRoAEjKUP1dhcXENbpelaX5O8NSF8G4ViyxfbvegppYqA/artwork_variation_4.png"
],
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-18T21:28:41.196Z",
"started_at": "2025-08-18T21:28:41.583902Z",
"completed_at": "2025-08-18T21:29:20.250154Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/9e04yt4vxhrmc0crqwatq3thgg/cancel",
"children": "https://api.replicate.com/v1/predictions/9e04yt4vxhrmc0crqwatq3thgg/children",
"get": "https://api.replicate.com/v1/predictions/9e04yt4vxhrmc0crqwatq3thgg",
"root": "https://api.replicate.com/v1/predictions/9e04yt4vxhrmc0crqwatq3thgg",
"stream": "https://stream.replicate.com/v1/files/bcwr-hq3tbxnkhejqjyirczdctiw5fkcnmwayua7j3e3skhgs3t4sauia",
"web": "https://replicate.com/p/9e04yt4vxhrmc0crqwatq3thgg"
},
"metrics": {
"predict_time": 38.66625148,
"total_time": 39.054154
}
}


