API
Create a new design (V2)
Creates a new design based on the provided prompt and optional images. This version supports both default and custom preset configurations.
POST
Authorizations
Body
multipart/form-data
The prompt for the new design.
If nothing is provided, then html-tailwind is used. Can be either a default combination ('html-tailwind', 'shadcn-tailwind', 'chakraUi-inline', 'mantine-inline') or a custom configuration ID.
Optional images to inspire or guide the design creation. Maximum file size is 5MB per image.
Response
200
application/json
Successfully created a new design.
The unique ID of the created design.
The source files for the design.
The compiled/processed files for the design.
URL to access the editor interface.
URL to preview the generated design.
The conversation history for this design.
Was this page helpful?