
corywilkerson/icons

Public
183
runs
Run corywilkerson/icons with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
prompt |
string
|
A weather app with sun and clouds
|
Description of the artwork/icon you want to generate
|
artwork_type |
None
|
artwork_only
|
Type of artwork to generate
|
style_reference_image |
string
|
Optional reference image to guide the style and aesthetic
|
|
style |
None
|
modern
|
Visual style
|
color_scheme |
None
|
vibrant
|
Color scheme preference
|
background_type |
None
|
solid
|
Background style
|
generate_variations |
boolean
|
True
|
Generate multiple variations
|
number_of_variations |
integer
|
1
Min: 1 Max: 6 |
Number of variations to generate
|
include_all_sizes |
boolean
|
True
|
Generate all iPhone icon sizes (only relevant for app_icon type)
|
{
"type": "object",
"title": "Input",
"properties": {
"style": {
"enum": [
"modern",
"minimalist",
"gradient",
"flat",
"3d",
"sketch",
"vintage"
],
"type": "string",
"title": "style",
"description": "Visual style",
"default": "modern",
"x-order": 3
},
"prompt": {
"type": "string",
"title": "Prompt",
"default": "A weather app with sun and clouds",
"x-order": 0,
"description": "Description of the artwork/icon you want to generate"
},
"artwork_type": {
"enum": [
"artwork_only",
"app_icon"
],
"type": "string",
"title": "artwork_type",
"description": "Type of artwork to generate",
"default": "artwork_only",
"x-order": 1
},
"color_scheme": {
"enum": [
"vibrant",
"pastel",
"monochrome",
"dark",
"light",
"custom"
],
"type": "string",
"title": "color_scheme",
"description": "Color scheme preference",
"default": "vibrant",
"x-order": 4
},
"background_type": {
"enum": [
"solid",
"gradient",
"pattern"
],
"type": "string",
"title": "background_type",
"description": "Background style",
"default": "solid",
"x-order": 5
},
"include_all_sizes": {
"type": "boolean",
"title": "Include All Sizes",
"default": true,
"x-order": 8,
"description": "Generate all iPhone icon sizes (only relevant for app_icon type)"
},
"generate_variations": {
"type": "boolean",
"title": "Generate Variations",
"default": true,
"x-order": 6,
"description": "Generate multiple variations"
},
"number_of_variations": {
"type": "integer",
"title": "Number Of Variations",
"default": 1,
"maximum": 6,
"minimum": 1,
"x-order": 7,
"description": "Number of variations to generate"
},
"style_reference_image": {
"type": "string",
"title": "Style Reference Image",
"format": "uri",
"x-order": 2,
"nullable": true,
"description": "Optional reference image to guide the style and aesthetic"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}
Example API response
View prediction
['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']