POST
/
generate

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
visibility
enum<string>
required

Visibility of the generated component.

Available options:
PUBLIC,
PRIVATE
prompt
string

The description for generating the UI component.

image
string

A URL of an image (supported types png, jpg, jpeg, webp). Max file size is 15mb

Response

200 - text/plain

The response is of type string.