Skip to main content
POST
/
api
/
generate-avatar
Decorative generation
curl --request POST \
  --url https://api.compose.market/api/generate-avatar \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "description": "<string>"
}
'
{
  "imageUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.compose.market/llms.txt

Use this file to discover all available pages before exploring further.

These routes generate UI artwork with the configured image model. They are not the general-purpose image generation API; use /v1/images/generations for product inference calls.

Routes

MethodPathDescription
POST/api/generate-avatarGenerates a square avatar image.
POST/api/generate-bannerGenerates a wide banner image.

Body

title
string
required
Agent name for avatars or workflow title for banners.
description
string
required
Text used to guide image generation.

Response

imageUrl
string
Data URL or remote image URL returned by the generation adapter.