Create a style, attach it to a profile.
cURL
curl --request POST \ --url https://api.buybase.ai/styles/create \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "text": "<string>", "profile_id": "<string>" }'
{ "success": true, "style": { "id": "style_12345", "text": "Minimalist casual style with neutral colors like black, white, and beige. Preference for cotton fabrics, clean lines, and simple designs without logos or patterns.", "profile_id": "prof_67890", "created_at": "2023-09-15T14:22:31Z" }, "attached_profile_id": "prof_67890", "code": "STYLE_CREATED" }
STYLE_CREATED
STYLE_PROFILE_CREATION_FAILED
STYLE_EXISTS