---
title: "Propose palettes"
method: POST
path: "/api/palettes/generate"
tags: ["Palettes"]
---

# Propose palettes

`POST /api/palettes/generate`

## Request

- Base URL: `https://www.sprite-ai.art`
- URL: `https://www.sprite-ai.art/api/palettes/generate`
- Auth: HTTP bearer

A few palette options for a description, nothing saved. Save the pick with POST /api/palettes. Free.

## Request body

- object
  - `prompt` string, required
  - `count` integer
  - `options` integer

## Response `200`

The palette options.

- object

## Other responses

- `400`: The request failed validation.
- `401`: Missing or invalid API key.
- `403`: The API key is revoked or expired.
- `404`: Not found, or not yours.
- `429`: Rate limited. Retry after the Retry-After header.

---

[API](https://skmtc.dev/sprite-ai/apis/sprite-ai-api.md) · [All operations](https://skmtc.dev/sprite-ai/apis/sprite-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sprite-ai/apis/sprite-ai-api/revisions/2c1231b72433?raw)
