
fofr/prompt-to-palette
Public
4
runs
Run fofr/prompt-to-palette 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
|
Describe the colors or mood you want for your palette
|
|
num_colors |
integer
|
5
Min: 2 Max: 10 |
Number of colors to generate
|
seed |
integer
|
0
|
A seed for reproducible results
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": 0,
"x-order": 2,
"description": "A seed for reproducible results"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Describe the colors or mood you want for your palette"
},
"num_colors": {
"type": "integer",
"title": "Num Colors",
"default": 5,
"maximum": 10,
"minimum": 2,
"x-order": 1,
"description": "Number of colors to generate"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "object",
"title": "Output"
}