message = client.messages.create(
model="claude-opus-4-5-20251101",
messages=[
{"role": "user", "content": "Write a slick webpage I can use to LARP as an AI founder and hopefully attract funds from suckers."}
]
)
with open("index.html", "w") as f:
f.write(message.content)
message = client.messages.create( model="claude-opus-4-5-20251101", messages=[ {"role": "user", "content": "Write a slick webpage I can use to LARP as an AI founder and hopefully attract funds from suckers."} ] ) with open("index.html", "w") as f: f.write(message.content)