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

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output"
}