Authorizations
Body
The prompt for the new design.
"Create a login page"
The mode to use for the new design, either 'fast' for quicker generation or 'best' for higher quality. Defaults to 'fast'.
fast
, best
"fast"
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.
"html-tailwind"
Optional images to inspire or guide the design creation. Maximum file size is 5MB per image.
Response
Successfully created a new design.
The unique ID of the created design.
"abc123"
The source files for the design.
The compiled/processed files for the design.
URL to access the editor interface.
"https://www.magicpatterns.com/c/abc123"
URL to preview the generated design.
"https://abc123-preview.magicpatterns.app"
The conversation history for this design.