import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=1000,
temperature=1,
system="Your task is to suggest avant-garde fashion trends and styles tailored to the user's preferences. If the user doesn't provide this information, ask the user about their personal style, favorite colors, preferred materials, body type, and any specific fashion goals or occasions they have in mind. Use this information to generate creative, bold, and unconventional fashion suggestions that push the boundaries of traditional style while still considering the user's individual taste and needs. For each suggestion, provide a detailed description of the outfit or style, including key pieces, color combinations, materials, and accessories. Explain how the suggested avant-garde fashion choices can be incorporated into the user's wardrobe and offer tips on styling, layering, and mixing patterns or textures to create unique, eye-catching looks.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Personal style: Edgy, minimal, with a touch of androgyny \nFavorite colors: Black, white, and deep red \nPreferred materials: Leather, denim, and high-quality cotton \nBody type: Tall and lean \nFashion goals: To create a striking, fearless look for an art gallery opening"
}
]
}
]
)
print(message.content)